Scalable internal combustion engine rapid control prototyping architecture
By using a scalable internal combustion engine rapid control prototype architecture, the problem of existing systems being unable to flexibly expand the number of drive boards was solved. Modular processing and precise timing control were achieved, reducing development cycle and expansion costs, improving system reliability and scalability, and supporting the control of multiple fuel supply systems.
Patent Information
- Application Number
- CN202211078472.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-05
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2042-09-05
AI Technical Summary
Existing rapid prototyping systems cannot flexibly expand the number of driver boards after configuration. The controller lacks modularity, has poor scalability, and low hardware and software reusability. This results in rapid controller upgrades and replacements, long development cycles, and high demands on human and material resources. It is also difficult to meet the problems of precise timing control of multi-module driver circuits and large data volume of communication buses.
A scalable internal combustion engine rapid control prototype architecture is adopted. The upper computer and the rapid prototyping control system work together to achieve modular processing. The main computing unit, FPGA unit, communication unit and data acquisition unit are interconnected. The actuator drive unit is connected through CAN bus and serial bus. The main computing unit processes the input data and calculates the injection timing and pulse width. The FPGA unit performs engine speed signal acquisition and synchronization processing. The communication unit handles data communication. The actuator drive unit performs precise timing and pulse width drive control. The dual communication of CAN communication and TTL trigger signal ensures reliability and scalability.
It enables rapid control of the engine electronic control system, reduces development cycle and expansion costs, improves the reliability and scalability of the control system, can detect design defects in the early stages of design, supports the control of multiple fuel supply systems, and reduces maintenance costs.
Smart Images

Figure CN115657510B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of engine control system, in particular to a scalable fast control prototype architecture of internal combustion engine. BACKGROUND
[0002] NI CompactRIO is an embedded controller device developed by NI Company in the United States for user-defined development, which is a solid, reliable and high-performance industrial embedded controller with industry standard certification, and is suitable for applications requiring waveform acquisition, high-speed control or signal processing, fast hardware algorithm development, hardware reliability tasks or unique timing and triggering.
[0003] The MC9S12XEP100 single-chip microcomputer has a built-in USB-to-BDM interface for online debugging, a CAN connector with a transceiver, a connector with MCU signals, an optional 4MHz crystal oscillator and an oscillator module, and is suitable for being connected to a main computing unit system and applied to a fast prototype architecture.
[0004] Fast prototype technology is applied between the algorithm design stage and the specific implementation stage of the control system product development, and the fast control prototype is to download the developed algorithm to a certain computer hardware platform, which runs in real time, simulates the controller, connects the actual I / O device with the controlled object, and verifies the reliability and accuracy of the control strategy algorithm. In order to realize the fast control prototype, a modeling, design, offline simulation, real-time development and testing tool with good integration and easy use is required. The real-time system selected by the user allows repeated modification of the model design, offline and real-time simulation, reduces design errors and reduces design costs.
[0005] In the development process of the electronic control system of the diesel engine, multiple steps such as analysis and design, modeling and simulation, code generation and real-time testing are required. Modern control system development requires that the product be reliable and stable while the development time is as short as possible. The traditional electronic control system development and debugging technology cannot meet the comprehensive development requirements. The fast prototype architecture developed based on the main computing unit system can compile the control system model developed in the host computer into the architecture, and drive the actuator with the simulation results. In the simulation process, model errors are found, and design errors are eliminated in the testing stage. With the increasing speed of the development of the engine industry and the frequent updating of products, a scalable fast control prototype architecture can greatly shorten the development cycle of the controller.
[0006] The existing fast prototype system cannot flexibly configure the number of driving circuit hardware in the subsequent application process after configuration. Based on this problem, the present application mainly solves the problem of flexible expansion of the number of driving boards after the configuration of the basic computing hardware is completed.
[0007] Through the above analysis, the problems and defects of the prior art are: the controller is upgraded and replaced quickly, the development cycle is long, and the manpower and material resources are required; the controller is not modular enough, the expansion is poor, the new technology needs to develop a new controller, and the program reuse rate is low; after the controller changes the fuel and injection strategy, the software and hardware reusability is poor.
[0008] The difficulty of solving the above problems and defects is: considering the control requirements of multiple injection driving circuits, meeting the PWM driving, H-bridge driving, and considering different hardware driving waveforms, the system development difficulty is large, and it is difficult to meet the general requirements; the precise timing control of the multi-module driving circuit, the timing error needs to be less than 1ms; after the multi-module integration, the communication bus data volume is large, and it is necessary to ensure that each drive injection timing and drive command are accurately matched to prevent misfire, misfire and other events.
[0009] The significance of solving the above problems and defects is: the fuel supply driving of the internal combustion engine of the multi-fuel supply system can be effectively realized; the development and expansion cost of the engine control system is reduced, and the rapid development of the control system of the multi-fuel supply system is realized; the maintenance cost after the fuel injection system is damaged is reduced. SUMMARY
[0010] According to the above problems, the present application provides a scalable internal combustion engine rapid control prototype architecture.
[0011] The present application realizes the debugging process from controller design to specific implementation stage through the cooperative driving operation control of the upper computer and the rapid prototype control system, eliminates the control system error, and reduces the design cost when increasing or reducing the function.
[0012] The technical scheme of the present application is:
[0013] A scalable internal combustion engine rapid control prototype architecture, comprising an upper computer and a lower computer, the upper computer interacts with the rapid control prototype system through Ethernet, the upper computer is modularized according to the rapid control prototype architecture, and the monitoring interface can be added to expand the data monitored by the lower computer;
[0014] The rapid control prototype system comprises a main computing unit, an FPGA unit, a communication unit, a data acquisition unit and an actuator driving unit;
[0015] The main computing unit, the FPGA unit, the communication unit and the data acquisition unit are connected with each other by using PCI bus;
[0016] The actuator driving unit is arranged on a driving circuit board and is connected with the main computing unit and the communication unit through CAN bus and serial bus;
[0017] The data acquisition unit is connected with the actuator driving unit through a communication bus and a timing bus;
[0018] The main computing unit is used for processing input data, importing corresponding control strategy and algorithm, and quickly calculating fuel injection timing, pulse width and fuel injection amount;
[0019] The FPGA unit is used for collecting and timing synchronously processing engine speed signals;
[0020] The communication unit comprises an internal communication module and an external communication module, the internal communication module processes data communication between the rapid control prototype system, and the external communication module processes data communication between the rapid control prototype system and external devices;
[0021] The data acquisition unit is used for collecting temperature and pressure of the engine, collecting analog signals of the speed sensor, and collecting digital signals of the control switch;
[0022] The actuator driving unit drives and controls the actuator with precise timing and pulse width, and expands the number of driving according to the number of driving execution targets.
[0023] Preferably, the main computing unit comprises an engine timing synchronization module and a control strategy algorithm module;
[0024] The engine timing synchronization module is used for processing position information of the engine;
[0025] The control strategy algorithm module imports and compiles strategy algorithm, quickly calculates fuel injection timing, pulse width and fuel injection amount of the engine, and sends the same to the actuator driving unit through the communication unit.
[0026] Further preferably, the feature judgment of the FPGA unit is achieved by calculating rising edge distance of the crankshaft and camshaft speed signals of the engine, determining current tooth number, tooth addition and tooth loss positions, counting current crank angle, judging current position of the engine, and realizing real-time updating of state parameters of the engine.
[0027] Further preferably, the communication mode used by the communication unit between the main computing unit and the actuator driving unit comprises CAN communication and TTL trigger signal double communication;
[0028] The CAN communication mode is used for data transmission of the internal communication module, different nodes are carried on the CAN bus, and the expansion capability of the rapid control prototype system is improved;
[0029] The TTL trigger signal double communication is used for data transmission with high real-time and large signal transmission amount, and TTL high-speed digital signals are sent from the main computing unit to trigger signals.
[0030] Further preferably, the CAN communication message transmission characteristic data contains the current injection logic cylinder number, injection timing signal and injection pulse width signal.
[0031] Further preferably, the actuator driving unit receives the TTL trigger signal sent by the main computing unit, detects the rising edge of the TTL trigger signal, triggers the injection sequence function, and determines the current injection cylinder number according to the injection logic cylinder number delivered by the CAN communication, and executes the injection function program.
[0032] Further preferably, the CAN communication frame data transmission time is calibrated according to the actual extended rapid control prototype system, and the more data is sent, the longer the TTL trigger signal time is advanced at the start of the CAN communication message data transmission.
[0033] Further preferably, the main computing unit transmits the filtered and shaped speed sensor signal through a digital I / O channel, and compensates for the timing synchronization error by setting a communication delay compensation value in the main computing unit.
[0034] Further preferably, the communication delay compensation value can be dynamically compensated by the FPGA unit, and the current injection cylinder number, start angle and duration parameters are delivered to the actuator driving unit through CAN communication.
[0035] Preferably, the main computing unit and the actuator driving unit are powered by a distributed power supply, the main computing unit is powered by a small current, the actuator driving unit is powered by a large current capacity power supply, the actuator driving unit is expandable, and the power supply capacity is expanded with the expansion of the number of actuator driving units.
[0036] The beneficial effects of the present application are:
[0037] The main computing unit realizes the rapid control prototype architecture of the engine electronic control system, the main computing unit and the actuator driving unit jointly operate to realize the engine actuator driving, effectively realize the physical isolation of high power modules and low power modules, and reduce the replacement cost after system damage.
[0038] The rapid control prototype architecture can find design defects of the control system at the early stage of design, the main computing unit system has good integration, convenient to use modeling, design, offline simulation, real-time development, and is suitable as a virtual electronic control system in the rapid prototype development process.
[0039] The two communication modes of the main computing unit and the actuator driving unit can ensure the reliability of communication and reduce the communication delay, the editability of the driving program ensures the scalability of the whole architecture, and the use of the above architecture can realize the development of the model-based control strategy using various commercial software, thereby ensuring the diversity of software use. The monitoring software developed by LabVIEW monitors the whole simulation process, thereby ensuring the stability and reliability of the simulation process. BRIEF DESCRIPTION OF DRAWINGS
[0040] The technical solutions of the present application will be further described in detail below in combination with the drawings and embodiments, but it should be understood that these drawings are designed only for the purpose of explanation, and therefore do not limit the scope of the present application. In addition, unless specifically indicated, these drawings are only intended to conceptually illustrate the structural configuration described herein, and do not necessarily be drawn in proportion.
[0041] Figure 1 The overall structure of the system in the present application;
[0042] Figure 2 The expansion intention of the system in the present application;
[0043] Figure 3 The waveform of the driving current of a single actuator in the present application;
[0044] Figure 4 The waveform of the driving current of multiple actuators in the present application;
[0045] Figure 5 The application logic block diagram in the present application. DETAILED DESCRIPTION
[0046] First of all, it should be noted that the specific structure, features and advantages of the present application will be specifically described below in an exemplary manner, however, all the descriptions are only used for illustration, and should not be understood as any limitation on the present application. In addition, any single technical feature described or implied in each embodiment mentioned in the present application, or any single technical feature shown or implied in each drawing, can still be combined or deleted between these technical features (or their equivalents), thereby obtaining more other embodiments of the present application which can not be directly mentioned in the present application. In addition, in order to simplify the drawing, the same or similar technical features can be marked only in one place in the same drawing.
[0047] In the present application, unless otherwise explicitly specified and limited, the terms "mounting", "arrangement", "connection", "fixing", "screw connection" and the like should be understood in a broad sense, for example, can be fixed connection, or detachable connection, or integral; can be mechanical connection, or electrical connection; can be directly connected, or indirectly connected through an intermediate medium, can be the internal communication of two elements or the interaction relationship of two elements, unless otherwise explicitly limited, the above-mentioned terms in the present application can be understood according to the specific meaning of the specific circumstances for the person skilled in the art.
[0048] The accompanying drawings are referred to in the following description of the application Figures 1-5 The present application is specifically described. Embodiments
[0049] An extendable quick control prototype architecture of internal combustion engine comprises an upper computer and a lower computer, the upper computer is in data interaction with a quick control prototype system through Ethernet, the upper computer is processed modularly according to the quick control prototype architecture, and the monitoring interface can be increased to extend the data monitored by the lower computer;
[0050] The quick control prototype system comprises a main computing unit, an FPGA unit, a communication unit, a data acquisition unit and an actuator driving unit;
[0051] The main computing unit, the FPGA unit, the communication unit and the data acquisition unit are connected with each other by using PCI bus;
[0052] The actuator driving unit is arranged on a driving circuit board and is connected with the main computing unit and the communication unit by using CAN bus and serial bus;
[0053] The data acquisition unit is connected with the actuator driving unit by using communication bus and timing bus;
[0054] The main computing unit is used for processing input data, importing corresponding control strategy and algorithm, and quickly calculating injection timing, pulse width and injection quantity;
[0055] The FPGA unit is used for collecting engine speed signal and processing timing synchronization;
[0056] The communication unit comprises an internal communication module and an external communication module, the internal communication module processes data communication between the internal parts of the quick control prototype system, and the external communication module processes data communication between the quick control prototype system and external devices;
[0057] The data acquisition unit is used for collecting temperature and pressure of the engine, collecting analog signals of the speed sensor, and collecting digital signals of the control switch;
[0058] The actuator driving unit drives the actuator with accurate timing and pulse width, and the number of driving is expanded according to the number of driving execution targets.
[0059] In the embodiment, the control strategy and algorithm development software can be loaded into the NI CompactRIO hardware platform through VeriStand software in any way that can generate a DLL file through compilation, and the software includes but is not limited to Simulink, Amesim, Labview, etc.
[0060] In order to expand the driving capacity of the system, the MC9S12EP100 is used to develop a driving circuit board alone, which includes Hall sensor signal processing, magneto-electric sensor processing, CAN communication, DC-DC voltage boost, PWM driving, and Peak-Hold driving capacity, wherein the voltage boost is adjustable, and the specific voltage boost value can be determined according to the required driving actuator.
[0061] The architecture realizes engine speed signal synchronization and engine injection amount and injection timing calculation based on the main computing unit, realizes communication with the actuator driving unit through the CAN communication protocol and synchronous driving timing signal, and realizes communication between the main computing unit, the actuator driving unit and the upper computer through two-way CAN communication, which has good device independence and high scalability.
[0062] Meanwhile, the actuator driving unit can be expanded multiple times to drive the actuator with accurate timing and pulse width, and the main computing unit function implementation is monitored by the upper computer monitoring software, and the timing signal, pulse and driving program are monitored in real time by the driving circuit board through the monitoring software.
[0063] Further, in the embodiment, the main computing unit includes an engine timing synchronization module and a control strategy algorithm module.
[0064] The engine timing synchronization module is used to process the position information of the engine.
[0065] The control strategy algorithm module imports and compiles the strategy algorithm to quickly calculate the engine injection timing, pulse width and injection amount, and sends them to the actuator driving unit through the communication unit.
[0066] The main computing unit is responsible for executing the control strategy algorithm module, and the FPGA unit is responsible for engine timing synchronization.
[0067] The FPGA unit in the main computing unit calculates the timing synchronization program of the engine, and the single-chip microcomputer controls the actuator driving unit. The FPGA unit processes the timing synchronization data of the engine position, judges the characteristics of the collected crankshaft and camshaft speed signals, and processes the cooling water temperature, intake temperature and pressure, oil temperature and pressure, and engine sensor signals collected by the data acquisition unit, and provides them to the control strategy algorithm module.
[0068] Furthermore, in the embodiment, the FPGA unit can determine the current tooth number, add tooth and missing tooth positions by calculating the rising edge distance of the crankshaft and camshaft speed signals of the engine, count the current crank angle, judge the current position of the engine, and realize real-time updating of the state parameters of the engine.
[0069] Furthermore, in the embodiment, the communication mode used by the communication unit between the main computing unit and the actuator driving unit includes CAN communication and TTL trigger signal dual communication.
[0070] The CAN communication mode is used for data transmission of the internal communication module, and different nodes are carried on the CAN bus to improve the expansion capability of the rapid control prototype system.
[0071] The TTL trigger signal dual communication is used for data transmission with high real-time performance and large signal transmission amount, and the TTL high-speed digital signal is triggered from the main computing unit.
[0072] The dual communication mode of CAN communication and TTL trigger signal between the main computing unit system and the actuator driving unit brings double insurance to the communication process, and any missing signal will cause the system to fail to work, which is good in reliability and can better meet the communication needs in various situations.
[0073] The internal communication module uses high-baud-rate CAN, different nodes are carried on the internal CAN bus to improve the expansion capability of the rapid control prototype system, and the feature data in the main computing unit is transmitted to the driving circuit board in more than 2ms and less than 10ms before the TTL trigger signal.
[0074] In order to improve the expansibility of the whole system and reduce the interference between signals, the data acquisition module and the actuator driving unit are separated from each other in the rapid control prototype architecture, and the specific separation method is to use two independent hardware parts to realize the connection between independent modules through a communication bus and a timing bus.
[0075] The actuator driving unit is not installed on the main computing unit and the FPGA unit, but the data in the main computing unit is transmitted out through the communication module in the form of CAN communication and the TTL trigger signal is transmitted to the actuator driving unit in the form of serial communication in the form of digital quantity.
[0076] Further, in the embodiment, the message transmission characteristic data of the CAN communication can include the current injection logic cylinder number, the injection timing signal and the injection pulse width signal.
[0077] Further, in the embodiment, the actuator driving unit receives the TTL trigger signal sent by the main computing unit, detects the rising edge of the TTL trigger signal, triggers the injection sequence function, and determines the current injection cylinder number according to the injection logic cylinder number transmitted by the CAN communication, and executes the injection function program.
[0078] The actuator driving unit first opens the oil injector by supplying 48V, 19-21A power, then switches the voltage to 24V, 18-20A to maintain the opening of the oil injector, then adjusts the power supply to 24V, 10 to close the oil injector. Finally, the power supply is turned off, and the execution driving function of this stage is completed.
[0079] Further, in the embodiment, the frame data transmission time of the CAN communication is calibrated according to the actual extended rapid control prototype system, and the more data is transmitted, the longer the time of the TTL trigger signal is advanced.
[0080] The specific time value is related to the engine speed n (r / min) and the number of cylinders Cn and the number of strokes S, and generally follows, , it is recommended that the maximum duration does not exceed 30ms, and absolutely cannot block the adjacent two communications, affecting the data of the last TTL trigger signal.
[0081] Further, in the embodiment, the main computing unit transmits the filtered and shaped speed sensor signal through the digital I / O channel, and compensates for the timing synchronization error by setting the communication delay compensation value in the main computing unit.
[0082] Further, in the embodiment, the communication delay compensation value can be dynamically compensated by the FPGA unit, and the current injection cylinder number, the starting angle and the duration parameter are transmitted to the actuator driving unit through the CAN communication.
[0083] The main computing unit communicates with the actuator driving control system in two ways: CAN communication and digital I / O interface. The digital I / O interface uses digital I / O channels to transmit the filtered and shaped speed sensor signals. The fuel injection trigger signal is output to the input capture channel of the actuator driving unit through the NI CompactRIO digital I / O module 9401, and enters the real-time interrupt through the input capture to perform the injection task.
[0084] The CAN communication message is sent 2-10 ms before the fuel injection trigger signal. The specific advance time needs to be calibrated according to the actual expansion requirements. After excluding the communication delay, it is ensured that the CAN message can accurately deliver the next cylinder injection information to the fuel injector before the injection is performed.
[0085] Due to the advance of communication and the fuel injection trigger through input capture, the power supply delay is controlled at the microsecond level caused by hardware, and this delay can be dynamically compensated by the FPGA unit. The fuel injection start angle, duration, and cylinder number are transmitted to the actuator driving unit through CAN communication.
[0086] Through the two communication methods of digital I / O trigger and CAN communication, the mutual verification of the injection enable signal is realized. If any one of the signals is missing, the system will not perform fuel injection driving control. The use of redundancy ensures the safety and reliability of the system.
[0087] The driving circuit board has single-board 8-way fuel injector / air valve driving capability and 4-way PWM driving capability.
[0088] Optionally, the injection capacity expansion is realized. The system uses TTL digital circuit serial communication (timing bus) and CAN bus communication method, occupies less hardware resources, and has fast and simple wiring, allowing fast expansion of multiple driving circuit boards.
[0089] Further, in the embodiments, the host computer of the system can monitor the implementation of the main computing unit system functions, and through the monitoring software, the timing signal and pulse, CAN message information, and driving program execution are monitored in real time, data is recorded, etc., enhancing the monitorability and reliability of the system.
[0090] Further, in the embodiments, the embedded execution system driving circuit can adopt a dual-voltage time-sharing driving mode, using 24V low voltage and configurable high voltage for control. The high voltage is used for opening and driving to improve the opening speed of the electromagnetic valve. The driving current of the fuel injector actuator is divided into five segments for driving control, and the high and low levels of the switches are controlled according to different stages. The specific injection waveform can be controlled by the main computing unit or the driving control circuit board individually programmed, or a hybrid control can be realized.
[0091] Working process:
[0092] Figure 5 The application logic block diagram for the rapid prototyping architecture.
[0093] Based on the overall architecture, in this embodiment, the NI CompactRIO 9047 is used as the main computing unit, the NI 9041 board card is used as the TTL trigger signal transmitting end, and the NI 9862 board card is used as the internal CAN device.
[0094] The single-chip microcomputer used for the drive circuit board is the MC9S12XEP100 single-chip microcomputer, and the circuit board uses Schmidt trigger inverter, KEMET capacitor, aluminum electrolytic capacitor, common mode circuit filter, large-capacitance inductor, differential, thermocouple amplifier, switching power rectifier and other components to realize functions such as filtering, voltage boosting, CAN signal processing, current driving and the like.
[0095] The drive circuit board has 2-way PWM driving function, 2-way H-bridge driving function, meets the control of EGR valve, throttle valve, PCV valve and VCV valve in general internal combustion engine, rotation speed signal filtering function, rising edge capture function, CAN communication function and PIT timing function.
[0096] The cRIO main computing unit can be developed in various ways, and the control strategy model, Labview bottom layer driver, CompactRIO function design and FPGA function are designed and compiled in the host computer.
[0097] All functions are integrated through the Veristand host computer software, the program is downloaded into the CompactRIO main computing unit through the VeriStand communication interface, and the rotation speed signal timing synchronization, fuel injection pulse width and fuel injection timing are calculated.
[0098] The actuator driving unit program is downloaded through BDM / Bootloader, the lower computer monitoring and debugging is realized through the CCP of Bootloader, and after the program development is completed, the lower computer does not need to be monitored, and the built-in program is automatically executed after power-on.
[0099] The calculation result of the injection sequence is transmitted to the actuator driving unit through the internal CAN bus, the fuel injection timing driving enable signal is transmitted to the actuator driving unit through the TTL trigger signal, and the fuel injector is precisely timed and pulse width driven and controlled.
[0100] When the lower computer receives the trigger signal, the lower computer actively enters the injection state, and performs injection driving according to the data stored in the current CAN register variable, and the injection driving execution process does not need the participation of the host computer.
[0101] In order to ensure the safety of the control process, the monitoring software written by LabVIEW in the host computer is used to monitor the rapid control prototype system through the front panel of VeriStand, and the CompactRIO main computing unit and the embedded execution driving system are powered by different power supplies to reduce hardware interference, produce hardware isolation, and ensure system safety.
[0102] The CompactRIO is powered by a 24V, 3A power supply, and the driving unit is powered by a 24V, 15A capacity power supply. When the driving unit starts to expand, the driving unit power supply capacity should be expanded, but it does not need to be multiplied. The specific expansion capacity is determined according to the load.
[0103] The speed signal timing synchronization position tracking function is realized based on the FPGA unit in the CompactRIO. The FPGA unit determines the position of the multi-tooth and the missing tooth by calculating the rising edge time interval of the crankshaft camshaft speed signal, thereby judging the current position of the engine, and realizing engine synchronization.
[0104] The fuel injection pulse width and fuel injection timing calculation strategy program in the CompactRIO main computing unit is loaded into the control strategy and algorithm module by compiling it into a SO file, and then the current state of the engine is judged according to the actual engine speed, cooling water temperature, common rail pipe pressure, intake pipe pressure temperature, ignition signal, etc. The engine fuel injection quantity and fuel injection timing are calculated through the control algorithm.
[0105] The driving circuit board has 4 paths and 8 fuel injection solenoid valve driving circuits. In the later stage, the number of driving actuators can be increased or decreased by changing the driving program, thereby ensuring the scalability of the system architecture.
[0106] With the increase of control requirements, new driving units can be added. The CAN channel of the actuator driving unit can be configured to quickly realize the expansion of the driving unit through the rising edge capture channel.
[0107] The monitoring software is imported into the Workspace toolbar in VeriStand after being written by LabVIEW, and the state quantity change is observed through the parameter monitoring channel reserved by the existing control model module of VeriStand. It can also realize the functions of starting control simulation, changing simulation parameters, monitoring simulation results, etc. The driving circuit board can send parameters to the host computer monitoring software through CAN communication and monitor the driving control system through the chart.
[0108] Figure 2In order to expand the system, two communication modes and the actuator drive unit expansion mode are adopted, and the overall architecture of the system is realized based on the two communication modes. In the CompactRIO main computing unit, the fuel injection timing trigger signal is directly transmitted to the actuator drive unit through the digital I / O interface to reduce the communication delay caused by the digital-to-analog conversion.
[0109] The current injection cylinder number, starting angle, and duration parameters are transmitted to the actuator drive unit through CAN communication to ensure data reliability and scalability. In CAN communication, a separate check bit can be added to ensure data accuracy during system transmission and prevent data loss caused by CAN communication from causing control strategy algorithm errors. Moreover, using two different communication modes also ensures the safety redundancy of the control process. If any signal is missing, the system will not perform fuel injection drive control.
[0110] Figure 3 、 Figure 4 The waveform of the actuator drive current is shown in FIG. 6.
[0111] The drive current is divided into five stages: the rising stage, the peak stage (high level maintenance stage), the falling stage, the low voltage maintenance stage, and the closing stage. The drive current is implemented using double voltage time-sharing driving, and 24V voltage and high voltage are used for driving control. In the rising stage, the high level is turned on, the high voltage generates the drive current, and the fuel injector actuator is quickly opened. When the fuel injector is fully opened, the air gap of the magnetic circuit is reduced, and the magnetic resistance is lowered, so only a small current is needed to maintain the open state. Therefore, after reaching the peak, the high level is maintained for a very short time and then closed, entering the falling stage. In the falling stage, when the current threshold value is reached, the 24V voltage is used to drive the current, and the current is maintained at a stable stage through the current comparison switch level, reducing power loss. After the fuel injection duration, the closing stage is entered to close the high and low levels.
[0112] The injection drive current can be driven by changing the interrupt count value in the driver program and configuring the corresponding parameters in the CompactRIO main computing unit to configure the drive current waveform.
[0113] The injection waveform configuration parameters can be calculated by the control strategy and algorithm module in CompactRIO, and the duration configuration parameters of each process are transmitted to the actuator drive unit through CAN communication for execution. Alternatively, the execution time of each segment can be set in the driver circuit board program. Most fast control prototype development and verification are performed by setting some configuration parameters as fixed values in the driver circuit board program, and the other part is transmitted through CAN communication for execution.
[0114] The drive circuit board has single-board 8-way oil ejector / jet valve driving capacity, and 2-way PWM driving capacity, 2-way H-bridge driving capacity. Optionally, the jetting capacity is expanded, and the system occupies less hardware resources and has fast and simple wiring due to the use of TTL digital circuit serial communication (timing bus) and CAN bus communication mode, allowing fast expansion of multiple drive circuit boards.
[0115] The embedded system drive circuit adopts a double-voltage time-sharing drive mode, and is controlled by 24V low voltage and configurable high voltage. The high voltage is used for opening drive to improve the opening speed of the gas valve. The drive current of the actuator is divided into 5 segments for driving control, and the high and low levels of the switches are controlled according to different stages. The specific jetting waveform can be controlled by the main computing unit or the drive control circuit board alone, or a hybrid control can be achieved.
[0116] In addition to the timing trigger-based drive mode, the actuator drive unit also supports a timing interrupt-based periodic drive trigger mode, which can realize the periodic drive of devices such as rail pressure, throttle, and EGR valve. The drive period and drive position are calculated by the upper computer, and all data are transmitted to the lower computer in the form of internal CAN bus. The lower computer is controlled by the XEP100 chip to execute. Embodiment
[0117] On the basis of embodiment 1, the main computing unit and the actuator drive unit are further improved.
[0118] Further, in the embodiment, the main computing unit and the actuator drive unit can be powered by a distributed power supply. The main computing unit is powered by a small current, and the actuator drive unit is powered by a large current capacity power supply. The actuator drive unit can be expanded, and the power supply capacity can be expanded with the expansion of the number of actuator drive units.
[0119] To ensure system safety, the main computing unit and the actuator drive unit are powered by different power supplies. The actuator drive unit is independent of the main computing unit, and the drive circuit board is powered by a separate power supply. The performance failure of the drive circuit board will not affect the main computing unit, and the drive unit can be expanded by increasing the number of drive boards to increase the number of drive actuators.
[0120] The main computing unit is powered by DC 24V / 3A small current, and the drive circuit is powered by DC 24V / 20A large current. The physical isolation between the hardware circuits is realized to prevent the drive circuit board from damaging the main computing unit.
[0121] The expandability of the drive circuit board can be expanded with the required adaptation to different engine models, the number of drive circuit boards can be added or changed according to the actual control requirements of the engine, and the hardware and software configuration of the drive circuit board has the universality characteristics of the electromagnetic valve drive.
[0122] In summary, the application provides a scalable quick control prototype architecture of internal combustion engine, and the controller designed by the framework can realize the control of the dual-fuel engine of diesel and natural gas after the diesel engine is added with a natural gas supply system and an additional actuator drive module is added under the original control framework. The bottom hardware only expands the drive module, and the expanded module is connected to the communication module through the CAN bus and the serial bus. Only the control strategy in the main control unit needs to be changed to realize the adjustment of multiple fuels and multiple injection times. The framework has universality and expandability.
[0123] The above embodiments have been described in detail, but the content described is only the preferred embodiment of the application and cannot be considered as limiting the scope of the implementation of the application. Any equivalent changes and improvements made according to the scope of the application should still belong to the patent coverage range of the application.
Claims
1. A scalable fast control prototyping architecture for internal combustion engines, comprising an upper machine and a lower machine, characterized in that: The host computer exchanges data with the rapid control prototype system through Ethernet, and the host computer processes data in a modular manner according to the rapid control prototype architecture, so that the monitored data of the lower computer can be expanded through the monitoring interface; The rapid control prototype system comprises a main computing unit, an FPGA unit, a communication unit, a data acquisition unit and an actuator driving unit; The main computing unit, the FPGA unit, the communication unit and the data acquisition unit are connected with each other by using a PCI bus; The actuator driving unit is arranged on a driving circuit board and is connected with the main computing unit and the communication unit by using a CAN bus and a serial bus; The data acquisition unit is connected with the actuator driving unit by using a communication bus and a timing bus; The main computing unit is used for processing input data, importing corresponding control strategies and algorithms, and quickly calculating fuel injection timing, pulse width and fuel injection quantity; The FPGA unit is used for collecting engine speed signals and performing timing synchronization processing; The communication unit comprises an internal communication module and an external communication module, the internal communication module processes data communication between the rapid control prototype system, and the external communication module processes data communication between the rapid control prototype system and external devices; The data acquisition unit is used for collecting temperature and pressure of the engine, collecting analog signals of a speed sensor and collecting digital signals of a control switch; The actuator driving unit drives the actuator with precise timing and pulse width, and the number of driving is expanded according to the number of driving execution targets; The main computing unit and the actuator driving unit use a communication mode of the communication unit, which comprises CAN communication and TTL trigger signal double communication; The CAN communication mode is used for data transmission of the internal communication module, different nodes are loaded on the CAN bus to improve the expansion capability of the rapid control prototype system; The TTL trigger signal double communication is used for data transmission with high real-time performance and large signal transmission amount, and a TTL high-speed digital signal is sent from the main computing unit to trigger the signal; The actuator driving unit receives the TTL trigger signal sent from the main computing unit, detects the rising edge of the TTL trigger signal, triggers a jet sequence function, and executes a jet function program according to the current jet cylinder number determined by the jet logic cylinder number transmitted by the CAN communication; The main computing unit and the actuator driving unit adopt distributed power supply, the main computing unit adopts small-current power supply, the actuator driving unit adopts large-current capacity power supply, and the actuator driving unit can be expanded, and the power supply capacity is expanded with the expansion of the number of actuator driving units.
2. An extensible internal combustion engine rapid control prototyping architecture according to claim 1, characterized in that: The main computing unit comprises an engine timing synchronization module and a control strategy algorithm module; The engine timing synchronization module is used for processing position information of the engine; The control strategy algorithm module imports a compiled strategy algorithm, quickly calculates engine fuel injection timing, pulse width and fuel injection quantity, and sends the data to the actuator driving unit through the communication unit.
3. An extensible internal combustion engine rapid control prototyping architecture according to claim 2, characterized in that: The feature judgment of the FPGA unit is to determine the current gear number, gear addition and gear loss position by calculating the rising edge distance of the engine crankshaft and camshaft speed signal, count the current crank angle to judge the current position of the engine, and realize the real-time update of the state parameters of the engine.
4. An extensible internal combustion engine rapid control prototyping architecture according to claim 1, characterized by: The message transmission characteristic data of CAN communication includes the current injection logic cylinder number, injection timing signal and injection pulse width signal.
5. An extensible internal combustion engine rapid control prototyping architecture according to claim 1, characterized by: The frame data sending time of CAN communication is calibrated according to the actual extended rapid control prototype system, the more data sent, the longer the time of TTL trigger signal before the start of CAN communication message data sending.
6. An extensible internal combustion engine rapid control prototyping architecture according to claim 5, wherein: The main computing unit transmits the filtered and shaped speed sensor signal through digital I / O channel, and compensates for the timing synchronization error by setting the communication delay compensation value in the main computing unit.
7. An extensible internal combustion engine rapid control prototyping architecture according to claim 6, characterized in that: The communication delay compensation value can be dynamically compensated by the FPGA unit, and the current injection cylinder number, starting angle and duration parameters are transmitted to the actuator driving unit through CAN communication.
Citation Information
Patent Citations
System and method for implementing speed control of diesel engine on basis of multiple CAN communication protocols
CN105587421A
Engine control system capable of accelerating ECU development
CN111271182A