Ammonia hydrogen engine controller
By designing an ammonia hydrogen engine controller with integrated multi-function modules, the existing controllers have solved the problems of insufficient sensor signal processing, anti-electromagnetic interference, hardware resource configuration and communication capabilities, and achieved efficient and accurate control and communication capabilities, adapted to The demand for complex systems and reduces system costs and volume.
Patent Information
- Application Number
- CN202411073160.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-11-22
AI Technical Summary
The existing ammonia hydrogen engine controllers have shortcomings in sensor signal processing, anti-electromagnetic interference, hardware resource configuration, communication capabilities and electromagnetic compatibility, which cannot meet the control needs of complex systems, and are costly and bulky.
Designed an ammonia hydrogen engine controller with integrated multifunctional modules, including microprocessor module, power module, CAN communication module, LIN communication module, Ethernet communication module, analog signal detection module, digital signal detection module, Peak&Hold output module , high-side & H bridge output module, low-side & ignition & digital output module and sensor signal acquisition module, supports analog quantity, digital quantity, SENT signal reception, CAN and LIN signal transmission and reception, and has multiple high-power and high-frequency outputs. It also has current detection function to improve anti-interference ability and system reliability.
It realizes accurate collection and processing of different types of sensor signals, improves the anti-electromagnetic interference performance and control accuracy of the system, reduces the system size and cost, and supports multiple communication methods to adapt to the control needs of complex systems, and meets the future overall The development direction of vehicle network.
Smart Images

Figure CN118997933A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of control of an ammonia-hydrogen engine system, and in particular relates to an ammonia-hydrogen engine controller. Background Art
[0002] With the continuous development of the economy and society, environmental problems are becoming increasingly prominent. The development of clean energy technologies is crucial to achieving sustainable social development. Ammonia and hydrogen, as carbon-free, clean and renewable energy sources, can replace traditional fossil energy to meet the needs of large-scale energy consumption and reduce greenhouse gas emissions. Ammonia is the world's second largest synthetic industrial chemical, with an annual global output of about 200 million tons, and a complete related infrastructure and industrial chain. Ammonia can not only be used as a carrier of hydrogen energy for hydrogen production, but also its physical and chemical properties determine that it can be used as an alternative fuel for engines. Like hydrogen, ammonia can also be produced from various resources of renewable energy. As an internal combustion engine fuel, compared with hydrogen, ammonia has a volume energy density of 14.9mJ / m 3 , which is higher than the volume energy density of hydrogen, 10.7mJ / m 3 Moreover, ammonia becomes liquid at -33℃ under normal pressure, which makes it easy to store and carry, and has long driving range. At the same time, ammonia has high auto-ignition temperature and minimum ignition capacity, small flammable range, and is safe and reliable to use.
[0003] The ammonia-hydrogen engine system is a complex system involving multiple disciplines such as chemical reaction dynamics, fluid dynamics, thermodynamics, electrical engineering and automatic control. During the operation of the system, many physical quantities and parameters need to be adjusted and controlled. In order to ensure the safe and reliable operation of the ammonia-hydrogen engine system, a controller must be configured to manage and control it. The ammonia-hydrogen engine controller needs to have strong computing and processing capabilities and rich peripheral resource interfaces to effectively manage and coordinate various parameters and control execution components during the operation of the system, to ensure that the ammonia-hydrogen engine can work normally without abnormal combustion.
[0004] The ammonia-hydrogen engine controller needs to continuously monitor and control the normal operation of the engine, and test and calculate the required air-fuel ratio and engine ignition advance angle based on the input data of various sensors to achieve high efficiency and high power output and suppress knock. The ammonia-hydrogen engine controller involves the management, coordination, monitoring and communication of various links to ensure the reliable and efficient operation of the system, including gas circuit management, water and heat management, electrical management, data communication and fault diagnosis.
[0005] However, the existing ammonia hydrogen engine controller still has the following disadvantages:
[0006] (1) It supports only a few sensor signal types and cannot receive or process certain sensor signals, resulting in low versatility.
[0007] (2) Some channels have low output power and low frequency, no load monitoring, and cannot quickly switch actuators.
[0008] (3) Poor anti-electromagnetic interference performance, easily affected by external electromagnetic radiation.
[0009] (4) The sensor signal acquisition accuracy is low and the error is large, which makes it impossible to accurately control fuel injection and there is a risk of abnormal combustion.
[0010] (5) The hardware resources are occupied at a high level. Some functional modules have a small number of channels and can only meet the current functional requirements. Subsequent functional expansion is difficult and cannot meet the control needs of increasingly complex systems.
[0011] (6) The hardware circuit structure is complex, large in size and high in cost.
[0012] (7) Some channels have single functions and cannot be flexibly configured to adapt to different application scenarios.
[0013] (8) Without an Ethernet communication module, it is impossible to cope with the development trend of future vehicle networks.
[0014] To this end, it is necessary to develop a more accurate, safe, reliable and multifunctional ammonia-hydrogen engine controller to meet the control needs of the increasingly complex ammonia-hydrogen engine system. Summary of the invention
[0015] In view of the above-mentioned technical problems existing in the existing ammonia-hydrogen engine controller, the present invention provides an ammonia-hydrogen engine controller, and designs various functional modules and implementation circuits, so that the controller can support analog quantity, digital quantity, SENT signal reception, and CAN, LIN signal reception and transmission, and efficiently and quickly transmit external signals to meet the signal transmission requirements of various sensors. Among them, the Ethernet module provides fast remote, high-speed signal transmission, and provides a convenient interface for remote updates. The controller has multiple high-power, high-frequency high-side, low-side, and H-bridge power outputs, and performs current detection on part of the power output, so that the load status can be understood in real time when multiple loads are driven. It can also provide a high-power fast start signal output, so that solenoid valve loads can respond quickly, thereby ensuring accurate control. The integrated design of various functional modules reduces the system volume and cost, while improving the system reliability. Its specific technical solution is as follows:
[0016] An ammonia hydrogen engine controller, the controller includes a microprocessor module and a power module, the microprocessor module is connected to the power module, and the microprocessor module and the power module are respectively connected to functional modules, the functional modules include a CAN communication module, a LIN communication module, an Ethernet communication module, an analog signal detection module, a digital signal detection module, a Peak & Hold output module, a high side & H bridge output module, a low side & ignition & digital output module and a sensor signal acquisition module; the power module supplies power to the microprocessor module and each functional module; the microprocessor module is the carrier of the controller's algorithm and control strategy; the CAN communication module is used for the controller to communicate with an external controller and to send and receive CAN signals; the The LIN communication module communicates with the slave nodes as the master node of the LIN bus; the Ethernet communication module is used to expand the communication mode to Ethernet communication; the analog signal detection module is used for real-time monitoring of external analog signals and internal power supply voltage; the digital signal detection module is used to process the external input digital signal and transmit it to the microprocessor module; the Peak&Hold output module is used to drive the solenoid valve to speed up the opening speed of the solenoid valve; the high-side&H-bridge output module is used to output the drive signal; the low-side&ignition&digital output module is used to drive the device; the sensor signal acquisition module is used to collect knock sensor signals, oxygen sensor signals, camshaft sensor signals and crankshaft sensor signals.
[0017] In the above technical solution, the microprocessor module includes a microprocessor chip, and the microprocessor chip is connected with a clock signal circuit, an air pressure monitoring circuit, a JTAG interface circuit, and a power supply interface circuit; the clock signal source of the clock signal circuit uses a 20M passive crystal oscillator, and two capacitors are connected in parallel to form two output signals directly connected to the clock pin of the microprocessor chip; the chip of the air pressure monitoring circuit is connected to the I2C pin of the microprocessor chip through the I2C bus, which is used to monitor the air pressure state in real time, so that the external equipment can make reasonable adjustments under different air pressure values to ensure that the ammonia hydrogen engine controller and the external system can work stably; the JTAG interface circuit is directly led out from the pin of the microprocessor chip to the 8-Pin On the JTAG contact, a 10K resistor is connected in series to pull up to 5V or pull down to ground to realize the download and debugging functions of the program; the power supply interface circuit connects a decoupling capacitor to the power supply pin of the microprocessor chip to filter out the noise interference of the power supply line so that the microprocessor chip can work stably. The power supply voltage comes from the 5V and 3.3V power supply of the power module. Each power supply line of the microprocessor chip is externally connected to a decoupling capacitor, and an anti-vibration capacitor is additionally added at the source of 5V and 3.3V to ensure voltage stability and filter out low-frequency interference.
[0018] In the above technical solution, the power module adopts a car-specific power supply BUCK1 chip, a switch IC1 chip, an LDO1 chip, an LDO2 chip, an LDO3 chip, an LDO4 chip and an LDO5 chip; the power supply range of the BUCK1 chip is 4.5V to 40V, and a 7V voltage rail is generated as a switch IC1 chip, an LDO1 chip, an LDO3 chip, an LDO4 chip and an LD The power supply input of the O5 chip and the power supply input of the Peak&Hold output module; the switch IC1 chip provides a 24V voltage output for external power supply; four LDO1 chips are used to output four 5V voltage outputs as external sensor power supply, and each 5V voltage output provides 400mA current for external sensors; the LDO2 chip outputs a 5V voltage, two LDO3 chips both output a 5V voltage, the LDO4 chip outputs a 3.3V voltage, and the LDO5 chip outputs a 5V voltage as the internal chip power supply of the controller, where the LDO2 power supply comes from the output of the power supply filter circuit, and the LDO3 chip, LDO4 chip and LDO5 chip are powered by the 7V voltage rail output by the BUCK1 chip; the enable pin of the BUCK1 chip is connected to the output end of the wake-up signal input circuit, supporting multiple wake-up signal inputs and wake-up source detection functions;
[0019] Among them, the layout of the power supply filter circuit is to connect a TVS protection diode, three 4.7uf capacitors, and a 100nF capacitor in parallel to the connector port, and then connect a common mode inductor and a diode in series in sequence, then connect a 680uF electrolytic capacitor and a 10uF capacitor in parallel, then connect a magnetic bead in series, and finally connect a 10uf capacitor and a 100nF capacitor in parallel to form a power supply filter circuit;
[0020] Among them, the wake-up signal input circuit is divided into two parts: wake-up signal input and wake-up signal recovery. In the wake-up signal input part, each wake-up signal is connected in series with a diode to prevent crosstalk from other wake-up signals causing inaccurate wake-up signal recognition. In the wake-up signal recovery part, each signal line of the wake-up signal input part is directly led out, and is connected to the pin of the microprocessor chip after being divided by 100K and 10K resistors. At the same time, a diode is connected in series at the voltage dividing point to pull it up to 3V3, and a 100nF capacitor is connected in series to the ground, which plays a role in protecting the safety of the microprocessor chip and filtering out false alarms of wake-up signals caused by external interference.
[0021] In the above technical scheme, the CAN communication module is based on 6 CAN transceivers as the core, among which the first 3 CAN transceivers have enable and disable control functions, and also have a wake-up function, and the wake-up signal emitted is one of the wake-up sources of the power module; one end of each CAN transceiver is connected to the CAN controller carried by the microprocessor chip, and the other end of each CAN transceiver is connected to a CAN bus interface circuit, and each CAN bus interface circuit is implemented in the same way, that is, a common-mode choke, a bypass capacitor and a balancing resistor are connected in series to the two differential signals at the output end.
[0022] In the above technical solution, the LIN communication module is used for the master node of the LIN bus to communicate with the slave node and receive the LIN signal sent by the slave node; the LIN communication module adopts a LIN communication chip, that is, a LIN transceiver, and a diode is connected in series between the INH pin and the LIN pin of the LIN communication chip, and a 2K resistor is connected in series in parallel to realize the active working mode of the LIN communication module.
[0023] In the above technical solution, the analog signal detection module provides 34 external analog signal input detection channels and 6 5V power supply output detection channels; among them, 30 external analog signal input detection channels can be converted into voltage-type detection or resistance-type detection according to specific needs to meet different detection needs, and 4 external analog signal input detection channels are resistance-type temperature acquisition detection, which collect the actual measurement value of the external sensor through a differential circuit gain of 10 times; each external analog signal input detection channel is provided with a protection circuit, which can protect the safety of the analog signal detection module when the voltage exceeds 5V or the high-voltage pulse signal interferes, and protect the microprocessor chip from damage, thereby improving the system reliability.
[0024] In the above technical solution, the digital signal detection module includes: 20 digital signal detection circuits, 4 SENT signal detection circuits, and 4 frequency signal detection circuits; the digital signal input by the digital signal detection circuit is transmitted to the microprocessor module through the voltage divider circuit, the filter circuit, and the protection circuit, and can be configured as low effective or high effective by adding or removing pull-up components; the frequency signal input by the frequency signal detection circuit is transmitted to the microprocessor for processing through the signal processing circuit and the filter circuit; the SENT signal detection circuit can process the signal output by the special sensor and can process the external sensor signal in a wide range; each signal processing port is equipped with a protection circuit to ensure that the ammonia hydrogen engine controller is not damaged and improve the system safety.
[0025] In the above technical solution, the Ethernet communication module adopts an Ethernet chip and matches the peripheral circuit to improve the working stability of the chip.
[0026] In the above technical solution, the Peak&Hold output module provides 18 channels and provides an output with a peak power of less than 200W, which is used to drive a high-power solenoid valve. A high current of 18A is provided within 50μs from the start of driving to speed up the opening speed of the solenoid valve by no more than 200μs. After reaching the working point, the current is reduced to 1A~10A to maintain the open state, thereby improving the sensitivity and response speed of the high-power solenoid valve control, and thus improving the instantaneous response capability of the ammonia hydrogen engine; the Peak&Hold output module takes the Peak&Hold dedicated chip as the core, matches the peripheral circuit, and provides output; an interface protection circuit is provided at the port of the Peak&Hold output module to ensure stable output and protect the Peak&Hold output module from interference or damage.
[0027] In the above technical solution, the high-side & H-bridge output module is composed of 2 high-side output circuits and 2 H-bridge output circuits; the high-side output circuit adopts 2 high-side output chips, each chip provides 2 high-side output channels, and a total of 4 high-side output channels are provided, and a single output current is 1.5A, supporting overvoltage, overcurrent, overtemperature, and short-circuit protection functions, and has a current detection function; the H-bridge output circuit adopts 2 H-bridge output chips, each chip provides 2 H-bridge output channels, and a total of 4 H-bridge output channels are provided, and a single output current is 10A; H The chip control end of the bridge output circuit controls the working state of the chip by the enable pin. The control method uses the SPI serial bus to send commands to control the opening or closing of the 4 H-bridge output channels, and pulls up the data input line and chip select signal of the SPI bus to prevent the control signal and data of the microprocessor module from being disturbed and distorted during transmission, causing unexpected control actions; the chip of the H-bridge output circuit itself has an overcurrent protection mechanism. When the output current exceeds the threshold that the chip can withstand, the chip automatically shuts down the output internally, thereby protecting the chip and preventing overcurrent damage.
[0028] In the above technical solution, the low-side & ignition & digital output module is composed of 4 low-side output circuits, 1 gate drive circuit and 3 ignition drive circuits; the low-side output circuit provides a total of 24 low-side outputs; the 1st to 4th low-side outputs are provided by 1 L9362013 chip, with an output current of 3A, supporting overcurrent and overtemperature functions, and compatible with PWM output, of which 4 have current detection function; the 5th to 8th low-side outputs are provided by 1 L9362013 chip, with an output current of 3A, supporting overcurrent and overtemperature functions, and compatible with PWM output; the 9th to 16th low-side outputs are provided by 1 74HCT244 chip and 8 MOS tubes, with an output current of 2A, supporting overcurrent, overtemperature and clamping protection functions, and compatible with PWM output, of which 2 have current detection function; the 17th to 24th low-side outputs are provided by 1 L9301 chip, with an output current of 2A, with SPI protection and diagnosis functions; the control mode of each low-side output adopts SPI serial bus to send commands to control the opening or closing of the channel, and pulls up the data input line and chip select signal of the SPI bus to prevent the control signal and data of the microprocessor module from being disturbed and distorted during the transmission process, causing unexpected control actions; the low-side output chip itself has an overcurrent protection mechanism. When the output current exceeds the threshold that the low-side output chip can withstand, the internal low-side output automatically shuts down the output, thereby protecting the low-side output chip from overcurrent damage; 3 ignition drive circuits provide a total of 6 outputs, each ignition drive circuit uses 1 ignition drive chip, providing 2 outputs, and the design is compatible with both the external coil self-drive and the external coil without drive, improving the adaptability to the ignition coil; the gate drive circuit adopts a gate drive chip, and the digital signal output is directly output through the gate drive circuit;
[0029] Among them, in the 9th to 16th low-side output circuits, two low-side outputs are selected to add current detection function to monitor the load condition in real time; the 8th pin (OUT pin) of the INA240 current detection chip is connected in series with a 100R resistor as a signal output; the 4th pin (GND pin) and the 7th pin (REF1 pin) are connected to the ground; the 5th pin (VS pin) and the 6th pin (REF2 pin) are connected to the 5V power supply, and the 5th pin (VS pin) is connected in series with a 100nF capacitor to the ground; the 2nd pin (IN+ pin) and the 3rd pin (IN- pin) are used as current sampling input pins, and after being connected in series with a 10R resistor respectively, they are connected in series with a 15mR sampling resistor to form a loop, and the 15mR sampling resistor is connected in series to the main loop of the low-side output to be measured.
[0030] In the above technical solution, the sensor signal acquisition module includes a knock sensor signal acquisition circuit, an oxygen sensor signal acquisition circuit, a magnetoelectric camshaft & crankshaft sensor signal acquisition circuit, and a Hall type camshaft & crankshaft sensor signal acquisition circuit; the knock sensor signal acquisition circuit adopts a knock sensor interface chip and uses an SPI serial bus to read data; the knock sensor signal is adjusted by the knock sensor interface chip to filter out the noise in the signal, and then the signal is rectified and integrated, so that the microprocessor module can accurately determine whether knock occurs when monitoring the signal; the oxygen sensor signal acquisition circuit is divided into a front oxygen sensor signal acquisition circuit and a rear oxygen sensor signal acquisition circuit, and the front oxygen sensor signal acquisition circuit can output 0V to 5V The continuous linear voltage signal is used to indirectly reflect the air-fuel ratio of the mixture. The microprocessor module reads the air-fuel ratio data through the SPI bus, and then accurately controls the injection volume to make the mixture reach the optimal air-fuel ratio; the rear oxygen sensor signal acquisition circuit is equipped with a filter circuit, a protection circuit and a comparison circuit to ensure the signal acquisition accuracy and the controller is not damaged, thereby improving the system safety; the magnetoelectric camshaft & crankshaft sensor signal acquisition circuit has a dual-channel variable reluctance interface, which can convert the input sinusoidal wave signal into a square wave signal output with the same frequency, ensuring that the microprocessor chip can collect and process it; the acquisition port of the Hall-type camshaft & crankshaft sensor signal acquisition circuit is equipped with a filter device and a protection device to ensure the signal acquisition accuracy and the controller is not damaged, thereby improving the system safety.
[0031] Compared with the prior art, the ammonia hydrogen engine controller of the present invention has the following beneficial effects:
[0032] 1. The microprocessor module of the ammonia hydrogen engine controller adopts a high-performance 6-core 300MHz chip with rich on-chip resources, powerful computing power and high security.
[0033] 2. The design of the sensor signal acquisition module realizes the support for different types of sensors and solves the problem of being unable to receive and process certain sensor signals and low versatility.
[0034] 3. The Peak&Hold output module design improves the high-power and high-frequency output capabilities of the power circuit, thereby improving the agility of actuator control and enabling rapid switching of actuators. Some channels also have a load monitoring function, solving the problem of existing controllers having no load monitoring and causing circuit damage when overloaded.
[0035] 4. The working environment of the power module is very harsh, the external power supply voltage range is large, and sometimes it has to face the impact of surge current on the power module. Therefore, the power module is designed to have a wide power input and a high-stability and high-reliability power output. It achieves high-stability and wide-range power supply, can withstand the impact of surge voltage and current, and ensures the stability, reliability and safety of the system.
[0036] The selection of peripheral components of the power chip has been continuously tested, optimized and adjusted to form a unique design, which greatly improves the working stability of this module. The battery voltage, external sensor power supply voltage and internal 5V power supply voltage monitoring circuit are also specially designed. The above power supply voltages are monitored through the analog signal detection module to ensure that the system can obtain the current values of these power supply voltages in real time. The power supply filter circuit is added to the power input end to filter out the interference signals on the power supply line and the impact of surge voltage and current on the stability of the power chip on the one hand, and to filter out the external electromagnetic interference signals generated by the power chip on the other hand.
[0037] 5. The design of analog signal detection module and digital signal detection module realizes high-precision external signal detection, and can accurately collect analog signals, digital signals, frequency signals and various external sensor signals, providing a reliable data source for control strategies and improving system reliability.
[0038] 6. The functional modules have numerous hardware resource channels with various specifications. Some channels can be flexibly configured and adopt redundant design. They have strong compatibility and can adapt well to different application requirements.
[0039] 7. The ammonia-hydrogen engine controller can support multiple communication methods, meet the communication needs of various external devices, and is easy to integrate into the customer system. In particular, a forward-looking Ethernet module has been added to support low-latency, high-speed, and large-capacity data transmission, which is in line with the development direction of the future vehicle network architecture.
[0040] 8. All electronic components are automotive grade. At the same time, the PCB design of the hardware circuit uses electronic expertise and a lot of practical experience to achieve good electromagnetic compatibility and has good EMC anti-interference ability, which greatly improves the stability and safety of the hardware circuit.
[0041] 9. Through the integrated design of high and low side output, H-bridge, and Peak & Hold functions, the beneficial effects of high power, low cost, and small size are achieved.
[0042] 10. The high-side & H-bridge output module and the Peak & Hold output module use multi-channel, high-power, and high-current chips as core components, which can output drive signals safely and stably, including driving relays, solenoid valves, and motor equipment.
[0043] 11. The low-side & ignition & digital output module uses a multi-channel, high-power, high-current low-side switch chip as the core device. The control end has a dedicated enable pin to control the working state of the chip, which can safely and stably drive equipment, including vehicle water pumps and fans. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a schematic diagram of the hardware architecture of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0045] Figure 2 This is a schematic diagram of the architecture of a microprocessor module of an ammonia-hydrogen engine controller and the connection between the microprocessor module and the power module according to Embodiment 1 of the present invention;
[0046] Figure 3 A clock signal circuit in a microprocessor module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention, and a connection circuit diagram of the clock signal circuit and a microprocessor chip (partial interface);
[0047] Figure 4 This is a circuit diagram of a gas pressure monitoring circuit in a microprocessor module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0048] Figure 5 A JTAG interface circuit in a microprocessor module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention, and a connection circuit diagram of the JTAG interface circuit and a microprocessor chip (partial interface);
[0049] Figure 6 A power supply interface circuit and a connection circuit diagram between the power supply interface circuit and a microprocessor chip (partial interface) in a microprocessor module of an ammonia hydrogen engine controller according to Embodiment 1 of the present invention;
[0050] Figure 7 This is a schematic diagram of the architecture of a power module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0051] Figure 8 This is a circuit diagram of the BUCK1 chip in a power module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0052] Fig. 9 This is a circuit diagram of a switch IC1 chip in a power module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0053] Fig.10 This is a circuit diagram of the LDO1 chip in a power module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0054] Fig.11 This is a circuit diagram of the LDO2 chip in a power module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0055] Fig.12 This is a circuit diagram of the LDO3 chip in a power module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0056] Fig.13This is a circuit diagram of the LDO4 chip in a power module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0057] Fig.14 This is a circuit diagram of the LDO5 chip in a power module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0058] Fig.15 This is a circuit diagram of a power supply filter circuit in a power module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0059] Fig.16 This is a circuit diagram of a wake-up signal input circuit in a power module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0060] Fig.17 This is a schematic diagram of the architecture of a CAN communication module of an ammonia-hydrogen engine controller and the connection between the CAN communication module, the microprocessor module and the power module according to Embodiment 1 of the present invention;
[0061] Fig.18 This is a circuit diagram of 1-way to 3-way CAN transceivers in a CAN communication module of an ammonia-hydrogen engine controller in embodiment 1 of the present invention;
[0062] Fig.19 This is a circuit diagram of 4-channel to 6-channel CAN transceivers in a CAN communication module of an ammonia-hydrogen engine controller in Example 1 of the present invention;
[0063] Fig. 20 This is a schematic diagram of the architecture of a LIN communication module of an ammonia-hydrogen engine controller and the connection between the LIN communication module, the microprocessor module and the power module according to Embodiment 1 of the present invention;
[0064] Fig.21 This is a circuit diagram of a LIN communication module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0065] Fig. 22 This is a schematic diagram of an analog signal detection module of an ammonia-hydrogen engine controller and an architecture in which the analog signal detection module is connected to a microprocessor module and a power supply module according to Embodiment 1 of the present invention;
[0066] Fig.23 A circuit diagram of any one of the 1st to 30th external analog signal input detection channels in an analog signal detection module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0067] Fig.24 A circuit diagram of any one of the 31st to 34th external analog signal input detection channels in an analog signal detection module of an ammonia-hydrogen engine controller in Embodiment 1 of the present invention;
[0068] Fig.25 A circuit diagram of any one of 1 to 6 5V power supply output detection channels in an analog signal detection module of an ammonia-hydrogen engine controller in Embodiment 1 of the present invention;
[0069] Fig.26 This is a schematic diagram of the architecture of a digital signal detection module of an ammonia-hydrogen engine controller and the connection between the digital signal detection module and the microprocessor module according to Embodiment 1 of the present invention;
[0070] Fig. 27 A circuit diagram of any one of 1 to 20 digital signal detection circuits in a digital signal detection module of an ammonia-hydrogen engine controller in Embodiment 1 of the present invention;
[0071] Fig.28 A circuit diagram of any one of 1 to 4 Sense signal detection circuits in a digital signal detection module of an ammonia-hydrogen engine controller in Embodiment 1 of the present invention;
[0072] Fig.29 This is a circuit diagram of a frequency signal detection circuit in a digital signal detection module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0073] Fig.30 This is a schematic diagram of an Ethernet communication module of an ammonia-hydrogen engine controller and a connection architecture of the Ethernet communication module and a microprocessor module according to Embodiment 1 of the present invention;
[0074] Fig.31 This is a circuit diagram of an Ethernet communication module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0075] Fig.32 for Fig.31 Enlarged view of part A in the middle;
[0076] Fig.33 for Fig.31 Enlarged view of middle part B;
[0077] Fig.34 A Peak & Hold output module of an ammonia-hydrogen engine controller and a schematic diagram of the architecture of the connection between the Peak & Hold output module and a microprocessor module according to Embodiment 1 of the present invention;
[0078] Fig.35 This is a circuit diagram of a Peak & Hold output module of an ammonia-hydrogen engine controller according to Embodiment 1 of the present invention;
[0079] Fig.36 for Fig.35 Enlarged view of part A in the middle;
[0080] Fig.37 for Fig.35 Enlarged view of middle part B;
[0081] Fig.38 for Fig.35 Enlarged view of middle C;
[0082] Fig.39 for Fig.35 Enlarged view of the middle D part;
[0083] Fig.40 This is a schematic diagram of the architecture of a high-side & H-bridge output module of an ammonia-hydrogen engine controller and the connection between the high-side & H-bridge output module and the microprocessor module in Embodiment 1 of the present invention;
[0084] Fig.41 A circuit diagram of any one of the two high-side output circuits in a high-side & H-bridge output module of an ammonia-hydrogen engine controller in Embodiment 1 of the present invention (each high-side output circuit provides two outputs);
[0085] Fig.42 A circuit diagram of any one of the two H-bridge output circuits in a high-side & H-bridge output module of an ammonia-hydrogen engine controller in Example 1 of the present invention (each H-bridge output circuit provides two outputs);
[0086] Fig.43 for Fig.42 Enlarged view of part A in the middle;
[0087] Fig.44 for Fig.42 Enlarged view of middle part B;
[0088] Fig.45 for Fig.42 Enlarged view of middle C;
[0089] Fig.46 for Fig.42 Enlarged view of the middle D part;
[0090] Fig.47 This is a schematic diagram of a low-side & ignition & digital output module of an ammonia-hydrogen engine controller and a schematic diagram of an architecture in which the low-side & ignition & digital output module is connected to a microprocessor module in accordance with Embodiment 1 of the present invention;
[0091] Fig.48 This is a circuit diagram of the 1st to 4th low-side output circuits of the low-side output circuit in a low-side & ignition & digital output module of an ammonia-hydrogen engine controller in Embodiment 1 of the present invention;
[0092] Fig.49 This is a circuit diagram of the 5th to 8th low-side output circuit of the low-side output circuit in the low-side & ignition & digital output module of an ammonia-hydrogen engine controller in embodiment 1 of the present invention;
[0093] Fig.50 This is a circuit diagram of the 9th to 16th low-side output circuits of the low-side output circuit in a low-side & ignition & digital output module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0094] Fig.51 for Fig.50 Enlarged view of part A in the middle;
[0095] Fig.52 for Fig.50 Enlarged view of middle part B;
[0096] Fig.53 for Fig.50 Enlarged view of middle C;
[0097] Fig.54 for Fig.50 Enlarged view of the middle D part;
[0098] Fig.55 This is a circuit diagram of the 17th to 24th low-side output circuits of the low-side output circuit in a low-side & ignition & digital output module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0099] Fig.56 A circuit diagram of any one of the three ignition drive circuits in a low-side & ignition & digital output module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention (each ignition drive circuit provides two outputs);
[0100] Fig.57 This is a circuit diagram of a gate drive circuit in a low-side & ignition & digital output module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0101] Fig.58 This is a schematic diagram of a sensor signal acquisition module of an ammonia-hydrogen engine controller and a structure in which the sensor signal acquisition module is connected to a microprocessor module in accordance with Embodiment 1 of the present invention;
[0102] Fig.59 A circuit diagram of a knock sensor signal acquisition circuit in a sensor signal acquisition module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0103] Fig.60 This is a circuit diagram of a front oxygen sensor signal acquisition circuit in a sensor signal acquisition module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0104] Fig.61 This is a circuit diagram of a rear oxygen sensor signal acquisition circuit in a sensor signal acquisition module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0105] Fig.62This is a circuit diagram of a magnetoelectric camshaft & crankshaft sensor signal acquisition circuit in a sensor signal acquisition module of an ammonia-hydrogen engine controller according to embodiment 1 of the present invention;
[0106] Fig.63 This is a circuit diagram of a Hall-type camshaft & crankshaft sensor signal acquisition circuit in a sensor signal acquisition module of an ammonia-hydrogen engine controller according to Example 1 of the present invention. DETAILED DESCRIPTION
[0107] The following is a combination of specific implementation cases and attached Figure 1 to Figure 63 The present invention is further described below, but the present invention is not limited to these embodiments.
[0108] Example 1
[0109] An ammonia hydrogen engine controller, the controller includes a microprocessor module and a power module, the microprocessor module is connected to the power module, and the microprocessor module and the power module are respectively connected to functional modules, the functional modules include a CAN communication module, a LIN communication module, an Ethernet communication module, an analog signal detection module, a digital signal detection module, a Peak & Hold output module, a high side & H bridge output module, a low side & ignition & digital output module and a sensor signal acquisition module; the power module supplies power to the microprocessor module and each functional module; the microprocessor module is the carrier of the controller's algorithm and control strategy; the CAN communication module is used for the controller to communicate with an external controller and to send and receive CAN signals; the LIN communication module is used as a LIN bus The master node communicates with the slave node; the Ethernet communication module is used to expand the communication mode to Ethernet communication; the analog signal detection module is used for real-time monitoring of external analog signals and internal power supply voltage; the digital signal detection module is used to process the external input digital signal and transmit it to the microprocessor module; the Peak&Hold output module is used to drive the solenoid valve to speed up the opening speed of the solenoid valve; the high-side&H-bridge output module is used to output drive signals (including drive relays, solenoid valves and motor equipment); the low-side&ignition&digital output module is used to drive equipment (including vehicle water pumps and fans); the sensor signal acquisition module is used to collect knock sensor signals, oxygen sensor signals, camshaft sensor signals and crankshaft sensor signals. The hardware architecture diagram of the controller is shown below. Figure 1 shown.
[0110] The microprocessor module includes a microprocessor chip. The model of the microprocessor chip is TC399XX, which is a 6-core 300M Hz chip. The microprocessor chip is connected to a clock signal circuit, an air pressure monitoring circuit, a JTAG interface circuit, and a power supply interface circuit; the clock signal source of the clock signal circuit uses a 20M passive crystal oscillator, and two capacitors are connected in parallel to form two output signals directly connected to the clock pin of the microprocessor chip; the chip of the air pressure monitoring circuit is connected to the I2C pin of the microprocessor chip through the I2C bus, which is used to monitor the air pressure state in real time, so that the external equipment can make reasonable adjustments under different air pressure values to ensure that the ammonia hydrogen engine controller and the external system can work stably; the JTAG interface circuit is directly led out from the pin of the microprocessor chip to the 8-Pin On the JTAG contact, a 10K resistor is connected in series to pull up to 5V or pull down to ground to realize the download and debugging functions of the program; the power supply interface circuit is to connect a decoupling capacitor to the power supply pin of the microprocessor chip to filter out the noise interference of the power supply line so that the microprocessor chip can work stably. The power supply voltage comes from the 5V and 3.3V power supply of the power module. Each power supply line of the microprocessor chip is externally connected to a decoupling capacitor, and an anti-vibration capacitor is additionally added at the source of 5V and 3.3V to ensure voltage stability and filter out low-frequency interference. The architecture diagram of the microprocessor module is as follows Figure 2 As shown; the clock signal circuit is as follows Figure 3 As shown; the air pressure monitoring circuit is as follows Figure 4 As shown; JTAG interface circuit as Figure 5 As shown; the power supply interface circuit is as follows Figure 6 shown.
[0111] The power module adopts a car-specific power supply BUCK1 chip, a switch IC1 chip, an LDO1 chip, an LDO2 chip, an LDO3 chip, an LDO4 chip and an LDO5 chip; the power supply range of the BUCK1 chip is 4.5V to 40V, and a 7V voltage rail is generated as the power supply input of the switch IC1 chip, the LDO1 chip, the LDO3 chip, the LDO4 chip and the LDO5 chip, and as the power supply input of the Peak&Hold output module; the switch IC1 chip provides a 24V voltage output for external power supply (mainly for external switches, such as a clutch switch, a neutral switch, a main brake switch, etc.); four LDO1 chips are used to output four 5V voltage outputs as power supplies for external sensors (including humidity sensors). Sensor, vehicle speed sensor, hand throttle position sensor, accelerator pedal position sensor, exhaust temperature sensor, gas pressure temperature sensor, etc.), each 5V voltage output provides 400mA current for external sensors; LDO2 chip outputs 5V voltage, 2 LDO3 chips both output 5V voltage, LDO4 chip outputs 3.3V voltage, LDO5 chip outputs 5V voltage, as the controller's internal chip power supply, where LDO2 power supply comes from the output of the power supply filter circuit, LDO3 chip, LDO4 chip and LDO5 chip power supply comes from the 7V voltage rail output by the BUCK1 chip; the enable pin of the BUCK1 chip is connected to the output end of the wake-up signal input circuit, supporting multiple wake-up signal inputs and wake-up source detection functions. The schematic diagram of the power module is as follows Figure 7 As shown; the circuit of BUCK1 chip is as follows Figure 8 As shown; the circuit of the switch IC1 chip is as follows Fig. 9 As shown; the circuit of LDO1 chip is as follows Fig.10 As shown; the circuit of LDO2 chip is as follows Fig.11 As shown; the circuit of LDO3 chip is as follows Fig.12 As shown; the circuit of LDO4 chip is as follows Fig.13 As shown; the circuit of LDO5 chip is as follows Fig.14 As shown; the power supply filter circuit is as follows Fig.15 As shown; the wake-up signal input circuit is as follows Fig.16 shown.
[0112] Among them, Fig.15 As shown, the layout of the power supply filter circuit is to connect a TVS protection diode, three 4.7uf capacitors, and a 100nF capacitor in parallel to the connector port, and then connect a common mode inductor and a diode in series in sequence, then connect a 680uF electrolytic capacitor and a 10uF capacitor in parallel, then connect a magnetic bead in series, and finally connect a 10uf capacitor and a 100nF capacitor in parallel to form a power supply filter circuit;
[0113] Among them, Fig.16As shown, the wake-up signal input circuit is divided into two parts: the wake-up signal input and the wake-up signal recovery. In the wake-up signal input part, each wake-up signal is connected in series with a diode to prevent crosstalk from other wake-up signals resulting in inaccurate wake-up signal recognition. In the wake-up signal recovery part, each signal line of the wake-up signal input part is directly led out, and is connected to the pin of the microprocessor chip after being divided by 100K and 10K resistors. At the same time, a diode is connected in series at the voltage dividing point to pull it up to 3V3, and a 100nF capacitor is connected in series to the ground, which plays a role in protecting the safety of the microprocessor chip and filtering out false alarms of the wake-up signal caused by external interference.
[0114] The CAN communication module is based on 6 CAN transceivers, of which the first 3 CAN transceivers have enable and disable control functions, and also have a wake-up function. The wake-up signal sent is one of the wake-up sources of the power module. One end of each CAN transceiver is connected to the CAN controller on the microprocessor chip, and the other end of each CAN transceiver is connected to a CAN bus interface circuit. The implementation method of each CAN bus interface circuit is the same, which is to connect a common mode choke, a bypass capacitor and a balancing resistor in series on the two differential signals at the output end. The architecture diagram of the CAN communication module is shown in the figure below. Fig.17 As shown; 1-way to 3-way CAN transceiver circuit diagram as shown Fig.18 As shown; 4-way to 6-way CAN transceiver circuit diagram as shown Fig.19 shown.
[0115] The LIN communication module is used for the master node of the LIN bus to communicate with the slave node and receive the LIN signal sent by the slave node; the LIN communication module uses a LIN communication chip, namely a LIN transceiver, and a diode is connected in series between the INH pin and the LIN pin of the LIN communication chip, and a 2K resistor is connected in series in parallel to realize the active working mode of the LIN communication module. The schematic diagram of the LIN communication module is shown in the figure. Fig. 20 As shown; the circuit diagram of the LIN communication module is as follows Fig.21 shown.
[0116] The analog signal detection module provides 34 external analog signal input detection channels and 6 5V power supply output detection channels; among them, 30 external analog signal input detection channels can be transformed into voltage-type detection or resistance-type detection according to specific needs to meet different detection needs, and 4 external analog signal input detection channels are resistance-type temperature acquisition detection, which collects the actual measurement value of the external sensor through a differential circuit gain of 10 times; each external analog signal input detection channel is provided with a protection circuit, which can protect the safety of the analog signal detection module when the voltage exceeds 5V or high-voltage pulse signal interference occurs, and protect the microprocessor chip from damage, thereby improving system reliability. The schematic diagram of the architecture of the analog signal detection module is shown below. Fig. 22As shown; the circuit diagram of 1 to 30 external analog signal input detection channels is as follows Fig.23 As shown; the circuit diagram of 31 to 34 external analog signal input detection channels is as follows Fig.24 As shown; the circuit diagram of 1 to 6 5V power output detection channels is as follows Fig.25 shown.
[0117] The digital signal detection module includes: 20 digital signal detection circuits, 4 SENT signal detection circuits, and 4 frequency signal detection circuits; the digital signal input by the digital signal detection circuit is transmitted to the microprocessor module through the voltage divider circuit, the filter circuit, and the protection circuit, and can be configured as low effective or high effective by adding or removing pull-up components; the frequency signal input by the frequency signal detection circuit is transmitted to the microprocessor for processing through the signal processing circuit and the filter circuit; the SENT signal detection circuit can process the signal output by special sensors (special sensors include PFM sensors, i.e., intake flow sensors), and can process external sensor signals over a wide range; each signal processing port is equipped with a protection circuit to ensure that the ammonia hydrogen engine controller is not damaged and to improve system safety. The architectural diagram of the digital signal detection module is shown below. Fig.26 As shown; the circuit diagram of any one of the 1-way to 20-way digital signal detection circuits is as shown Fig. 27 As shown; the circuit diagram of any one of the 1st to 4th SENT signal detection circuits is as shown Fig.28 As shown; the frequency signal detection circuit is as follows Fig.29 shown.
[0118] The Ethernet communication module uses a dedicated Ethernet chip, model RTL9010, which matches the peripheral circuit to improve the working stability of the chip. Fig.30 As shown; the circuit diagram of the Ethernet communication module is as follows Figure 31-Figure 33 shown.
[0119] The Peak&Hold output module provides 18 channels and provides an output with a peak power of less than 200W, which is used to drive high-power solenoid valves (high-power solenoid valves with a peak power of less than 200W). A high current of 18A is provided within 50μs from the start of driving to speed up the opening speed of the solenoid valve by no more than 200μs. After reaching the working point, the current is reduced to 1A~10A to maintain the open state, thereby improving the sensitivity and response speed of the high-power solenoid valve control, and thus improving the instantaneous response capability of the ammonia hydrogen engine; the Peak&Hold output module is based on the Peak&Hold dedicated chip, model MC33PT2000, which matches the peripheral circuit and provides output; an interface protection circuit is provided at the port of the Peak&Hold output module to ensure stable output and protect the Peak&Hold output module from interference or damage. The architectural diagram of the Peak&Hold output module is shown as follows. Fig.34 The circuit diagram of the Peak & Hold output module is shown in Figure 35-Figure 39 shown.
[0120] The high-side & H-bridge output module is composed of 2 high-side output circuits and 2 H-bridge output circuits; the high-side output circuit uses 2 chips of model VND5T100, each chip provides 2 high-side output channels, a total of 4 high-side output channels, a single output current of 1.5A, supports overvoltage, overcurrent, overtemperature, short circuit protection functions, and has a current detection function; the H-bridge output circuit uses 2 chips of model L9945, each chip provides 2 H-bridge output channels, a total of 4 H-bridge output channels, a single output current of 10A; the chip control of the H-bridge output circuit The enable pin (the enable pin is pin 16 of L9945, i.e., the DIS pin) controls the working state of the chip. The control method uses the SPI serial bus to send commands to control the opening or closing of the 4 H-bridge output channels. The data input line and chip select signal of the SPI bus are pulled up to prevent the control signal and data of the microprocessor module from being disturbed and distorted during transmission, causing unexpected control actions. The chip of the H-bridge output circuit itself has an overcurrent protection mechanism. When the output current exceeds the threshold that the chip can withstand, the chip automatically shuts down the output to protect the chip from overcurrent damage. The architecture diagram of the high-side & H-bridge output module is shown below. Fig.40 As shown; the high-side output circuit is as follows Fig.41 As shown; the H-bridge output circuit is as follows Figure 42-46 shown.
[0121] The low-side & ignition & digital output module is composed of 4 low-side output circuits, 1 gate drive circuit and 3 ignition drive circuits; the low-side output circuit provides a total of 24 low-side outputs; the 1st to 4th low-side outputs are provided by an L9362013 chip, with an output current of 3A, supporting over-current and over-temperature functions, and compatible with PWM output, of which 4 have current detection function; the 5th to 8th low-side outputs are provided by an L9362013 chip, with an output current of 3A, supporting over-current and over-temperature functions, and compatible with PWM output; the 9th to 16th low-side outputs are provided by a 74HCT244 chip and 8 MOS tubes, with an output current of 2A, supporting over-current, over-temperature and clamping protection functions, and compatible with PWM output, of which 2 have It has current detection function; the 17th to 24th low-side outputs are provided by an L9301 chip, with an output current of 2A and SPI protection and diagnosis functions; the control method of each low-side output adopts the SPI serial bus to send commands to control the opening or closing of the channel, and the data input line and chip select signal of the SPI bus are pulled up to prevent the control signal and data of the microprocessor module from being disturbed and distorted during the transmission process, causing unexpected control actions; the low-side output chip itself has an overcurrent protection mechanism. When the output current exceeds the threshold that the low-side output chip can withstand, the internal low-side output automatically shuts down the output, thereby protecting the low-side output chip from overcurrent damage; the three ignition drive circuits provide a total of 6 outputs, each ignition drive circuit uses a driver chip model I XDD604, provides 2 outputs, and is designed to be compatible with both external coil self-drive and external coil no drive, improving the adaptability to the ignition coil; the gate drive circuit uses a chip model TC4432, and the digital signal output is directly output through the gate drive circuit. The architecture diagram of the low-side & ignition & digital output module is as follows Fig.47 As shown; the 1st to 4th low-side output circuits of the low-side output circuit are as shown Fig.48 As shown; the 5th to 8th low-side output circuits of the low-side output circuit are as shown Fig.49 As shown; the 9th to 16th low-side output circuits of the low-side output circuit are as shown Figure 50 to Figure 54 As shown; the 17th to 24th low-side output circuits of the low-side output circuit are as shown Fig.55 As shown; the ignition drive circuit is as follows Fig.56 As shown; the gate drive circuit is as Fig.57 shown.
[0122] Among them, Figure 50 to Figure 54As shown, in the 9th to 16th low-side output circuits, two low-side outputs (the 15th and 16th low-side outputs) are selected to add a current detection function to monitor the load condition in real time; the 8th pin (OUT pin) of the INA240 current detection chip is connected in series with a 100R resistor as a signal output; the 4th pin (GND pin) and the 7th pin (REF1 pin) are connected to the ground; the 5th pin (VS pin) and the 6th pin (REF2 pin) are connected to a 5V power supply, and the 5th pin (VS pin) is connected in series with a 100nF capacitor to the ground; the 2nd pin (IN+ pin) and the 3rd pin (IN- pin) are used as current sampling input pins, and after being connected in series with a 10R resistor respectively, they are connected in series with a 15mR sampling resistor to form a loop, and the 15mR sampling resistor is connected in series to the main loop of the low-side output to be measured.
[0123] The sensor signal acquisition module includes a knock sensor signal acquisition circuit, an oxygen sensor signal acquisition circuit, a magnetoelectric camshaft & crankshaft sensor signal acquisition circuit, and a Hall camshaft & crankshaft sensor signal acquisition circuit; the knock sensor signal acquisition circuit adopts a knock sensor interface chip of model TPIC8101, and uses an SPI serial bus to read data; the knock sensor signal is adjusted by the knock sensor interface chip to filter out the noise in the signal, and then the signal is rectified and integrated, so that the microprocessor module can accurately determine whether knock occurs when monitoring the signal; the oxygen sensor signal acquisition circuit is divided into a front oxygen sensor signal acquisition circuit and a rear oxygen sensor signal acquisition circuit. The front oxygen sensor signal acquisition circuit adopts a chip of model CJ135, which can output a continuous linear output of 0V to 5V The voltage signal is used to indirectly reflect the air-fuel ratio of the mixture. The microprocessor module reads the air-fuel ratio data through the SPI bus, and then accurately controls the injection volume to make the mixture reach the optimal air-fuel ratio. The rear oxygen sensor signal acquisition circuit is equipped with a filter circuit, a protection circuit and a comparison circuit to ensure the signal acquisition accuracy and the controller is not damaged, thereby improving the safety of the system. The magnetoelectric camshaft & crankshaft sensor signal acquisition circuit uses a dedicated sensor signal interface chip, model NCV1124, which has a dual-channel variable reluctance interface and can convert the input sinusoidal wave signal into a square wave signal output of the same frequency, ensuring that the microprocessor chip can collect and process it. The acquisition port of the Hall-type camshaft & crankshaft sensor signal acquisition circuit is equipped with a filter device and a protection device to ensure the signal acquisition accuracy and the controller is not damaged, thereby improving the safety of the system. The architecture diagram of the sensor signal acquisition module is shown below. Fig.58 As shown; the knock sensor signal acquisition circuit is as follows Fig.59 As shown; the front oxygen sensor signal acquisition circuit is as follows Fig.60 As shown; the rear oxygen sensor signal acquisition circuit is as follows Fig.61 As shown; the magnetoelectric camshaft & crankshaft sensor signal acquisition circuit is as follows Fig.62As shown; Hall type camshaft & crankshaft sensor signal acquisition circuit as shown Fig.63 shown.
[0124] The ammonia-hydrogen engine controller of this embodiment has been installed in the vehicle for trial use, and has a good control effect on the ammonia-hydrogen engine. It can support analog quantity, digital quantity, SENT signal reception, and CAN, LIN signal reception and transmission, and can efficiently and quickly transmit external signals to meet the signal transmission requirements of various sensors. It has multiple high-power, high-frequency high-side, low-side, and H-bridge power outputs, and performs current detection on some power outputs, so that the load status can be understood in real time when multiple loads are driven. It can also provide high-power fast start signal output, so that solenoid valve loads can respond quickly, thereby ensuring accurate control; it has good anti-electromagnetic interference performance and will not be interfered by external electromagnetic radiation; it can accurately control fuel injection without abnormal combustion; the integrated design of various functional modules reduces the system volume and cost, while improving the system reliability; it can be flexibly configured to adapt to different application scenarios. It also has an Ethernet communication module, which can cope with the development trend of future vehicle networks.
Claims
1. An ammonia hydrogen engine controller, characterized in that: The controller includes a microprocessor module and a power module. The microprocessor module is connected to the power module, and the microprocessor module and the power module are respectively connected to the functional modules. The functional modules include a CAN communication module, a LIN communication module, an Ethernet communication module, an analog signal detection module, a digital signal detection module, a Peak&Hold output module, a high-side&H-bridge output module, a low-side&ignition&digital output module and a sensor signal acquisition module; the power module supplies power to the microprocessor module and each functional module; the microprocessor module is the carrier of the algorithm and control strategy of the controller; the CAN communication module is used for the controller to communicate with an external controller and to send and receive CAN signals; the LIN communication module communicates with the slave node as the master node of the LIN bus; The Ethernet communication module is used to expand the communication mode to Ethernet communication; the analog signal detection module is used for real-time monitoring of external analog signals and internal power supply voltage; the digital signal detection module is used to process the external input digital signal and transmit it to the microprocessor module; the Peak&Hold output module is used to drive the solenoid valve to speed up the opening speed of the solenoid valve; the high-side&H-bridge output module is used to output the drive signal; the low-side&ignition&digital output module is used to drive the device; the sensor signal acquisition module is used to collect knock sensor signals, oxygen sensor signals, camshaft sensor signals and crankshaft sensor signals.
2. The ammonia-hydrogen engine controller according to claim 1, characterized in that: The microprocessor module includes a microprocessor chip, which is connected to a clock signal circuit, an air pressure monitoring circuit, a JTAG interface circuit, and a power supply interface circuit; the clock signal source of the clock signal circuit uses a 20M passive crystal oscillator, which is connected in parallel with two capacitors to form two output signals directly connected to the clock pin of the microprocessor chip; the chip of the air pressure monitoring circuit is connected to the I2C pin of the microprocessor chip through the I2C bus, which is used to monitor the air pressure state in real time, so that the external equipment can make reasonable adjustments under different air pressure values to ensure that the ammonia hydrogen engine controller and the external system can work stably; the JTAG interface circuit is directly led out from the pin of the microprocessor chip to the 8-Pin On the JTAG contact, a 10K resistor is connected in series to pull up to 5V or pull down to ground to realize the download and debugging functions of the program; the power supply interface circuit connects a decoupling capacitor to the power supply pin of the microprocessor chip to filter out the noise interference of the power supply line so that the microprocessor chip can work stably. The power supply voltage comes from the 5V and 3.3V power supply of the power module. Each power supply line of the microprocessor chip is externally connected to a decoupling capacitor, and an anti-vibration capacitor is additionally added at the source of 5V and 3.3V to ensure voltage stability and filter out low-frequency interference.
3. The ammonia hydrogen engine controller according to claim 2, characterized in that: The power module adopts a car-specific power supply BUCK1 chip, a switch IC1 chip, an LDO1 chip, an LDO2 chip, an LDO3 chip, an LDO4 chip and an LDO5 chip; the power supply range of the BUCK1 chip is 4.5V to 40V, and a 7V voltage rail is generated as the power supply input of the switch IC1 chip, the LDO1 chip, the LDO3 chip, the LDO4 chip and the LDO5 chip, and as the Peak & Hole d output module power input; switch IC1 chip provides 24V voltage output for external power supply; 4 LDO1 chips are used to output 4 5V voltage outputs as external sensor power supply, and each 5V voltage output provides 400mA current for external sensors; LDO2 chip outputs 5V voltage, 2 LDO3 chips both output 5V voltage, LDO4 chip outputs 3.3V voltage, and LDO5 chip outputs 5V voltage as the internal chip power supply of the controller, among which LDO2 power supply comes from the output of the power supply filter circuit, and LDO3 chip, LDO4 chip and LDO5 chip power supply comes from the 7V voltage rail output by BUCK1 chip; the enable pin of BUCK1 chip is connected to the output end of the wake-up signal input circuit, supporting multiple wake-up signal inputs and wake-up source detection functions; Among them, the layout of the power supply filter circuit is to connect a TVS protection diode, three 4.7uf capacitors, and a 100nF capacitor in parallel to the connector port, and then connect a common mode inductor and a diode in series in sequence, then connect a 680uF electrolytic capacitor and a 10uF capacitor in parallel, then connect a magnetic bead in series, and finally connect a 10uf capacitor and a 100nF capacitor in parallel to form a power supply filter circuit; Among them, the wake-up signal input circuit is divided into two parts: wake-up signal input and wake-up signal recovery. In the wake-up signal input part, each wake-up signal is connected in series with a diode to prevent crosstalk from other wake-up signals causing inaccurate wake-up signal recognition. In the wake-up signal recovery part, each signal line of the wake-up signal input part is directly led out, and is connected to the pin of the microprocessor chip after being divided by 100K and 10K resistors. At the same time, a diode is connected in series at the voltage dividing point to pull it up to 3V3, and a 100nF capacitor is connected in series to the ground, which plays a role in protecting the safety of the microprocessor chip and filtering out false alarms of wake-up signals caused by external interference.
4. The ammonia hydrogen engine controller according to claim 2, characterized in that: The CAN communication module is based on 6 CAN transceivers, among which the first 3 CAN transceivers have enable and disable control functions and a wake-up function, and the wake-up signal sent is one of the wake-up sources of the power module; one end of each CAN transceiver is connected to the CAN controller carried by the microprocessor chip, and the other end of each CAN transceiver is connected to a CAN bus interface circuit, and each CAN bus interface circuit is implemented in the same way, that is, a common mode choke, a bypass capacitor and a balancing resistor are connected in series to the two differential signals at the output end; The LIN communication module is used for the master node and slave node of the LIN bus to communicate and receive LIN signals sent by the slave node; the LIN communication module adopts a LIN communication chip, namely a LIN transceiver, and a diode is connected in series between the INH pin and the LIN pin of the LIN communication chip, and a 2K resistor is connected in series in parallel to realize the active working mode of the LIN communication module.
5. The ammonia hydrogen engine controller according to claim 2, characterized in that: The analog signal detection module provides 34 external analog signal input detection channels and 6 5V power supply output detection channels; among them, 30 external analog signal input detection channels can be converted into voltage-type detection or resistance-type detection according to specific needs to meet different detection needs, and 4 external analog signal input detection channels are resistance-type temperature acquisition detection, which collect the actual measurement value of the external sensor through a differential circuit gain of 10 times; each external analog signal input detection channel is provided with a protection circuit, which can protect the safety of the analog signal detection module when the voltage exceeds 5V or the high-voltage pulse signal interferes, and protect the microprocessor chip from damage, thereby improving the system reliability.
6. The ammonia hydrogen engine controller according to claim 2, characterized in that: The digital signal detection module includes: 20 digital signal detection circuits, 4 SENT signal detection circuits, and 4 frequency signal detection circuits; the digital signal input by the digital signal detection circuit is transmitted to the microprocessor module through a voltage divider circuit, a filter circuit, and a protection circuit, and can be configured as low effective or high effective by adding or removing pull-up components; the frequency signal input by the frequency signal detection circuit is transmitted to the microprocessor for processing through a signal processing circuit and a filter circuit; the SENT signal detection circuit can process the signal output by a special sensor and can process external sensor signals in a wide range; each signal processing port is equipped with a protection circuit to ensure that the ammonia hydrogen engine controller is not damaged and improve the system safety; The Ethernet communication module adopts an Ethernet chip and matches the peripheral circuit to improve the working stability of the chip.
7. The ammonia-hydrogen engine controller according to claim 2, characterized in that: The Peak&Hold output module provides 18 channels and outputs with a peak power of less than 200W for driving high-power solenoid valves. A high current of 18A is provided within 50μs from the start of driving to speed up the opening speed of the solenoid valve by no more than 200μs. After reaching the working point, the current is reduced to 1A-10A to maintain the open state, thereby improving the sensitivity and response speed of the high-power solenoid valve control, and thus improving the instantaneous response capability of the ammonia-hydrogen engine; the Peak&Hold output module uses the Peak&Hold dedicated chip as the core, matches the peripheral circuit, and provides output; an interface protection circuit is provided at the port of the Peak&Hold output module to ensure stable output and protect the Peak&Hold output module from interference or damage.
8. The ammonia-hydrogen engine controller according to claim 2, characterized in that: The high-side & H-bridge output module is composed of 2 high-side output circuits and 2 H-bridge output circuits; the high-side output circuit uses 2 high-side output chips, each chip provides 2 high-side output channels, and a total of 4 high-side output channels are provided, and a single output current is 1.5A, supporting overvoltage, overcurrent, overtemperature, and short-circuit protection functions, and has a current detection function; the H-bridge output circuit uses 2 H-bridge output chips, each chip provides 2 H-bridge output channels, and a total of 4 H-bridge output channels are provided, and a single output current is 10A; The chip control end of the H-bridge output circuit controls the working state of the chip by the enable pin. The control method uses the SPI serial bus to send commands to control the opening or closing of the 4 H-bridge output channels, and pulls up the data input line and chip select signal of the SPI bus to prevent the control signal and data of the microprocessor module from being disturbed and distorted during transmission, causing unexpected control actions; the chip of the H-bridge output circuit itself has an overcurrent protection mechanism. When the output current exceeds the threshold that the chip can withstand, the chip automatically shuts down the output internally, thereby protecting the chip and preventing overcurrent damage.
9. The ammonia-hydrogen engine controller according to claim 2, characterized in that: The low-side & ignition & digital output module is composed of 4 low-side output circuits, 1 gate drive circuit and 3 ignition drive circuits; the low-side output circuit provides a total of 24 low-side outputs; the 1st to 4th low-side outputs are provided by an L9362013 chip, with an output current of 3A, supporting over-current and over-temperature functions, and compatible with PWM output, of which 4 have a current detection function; the 5th to 8th low-side outputs are provided by an L9362013 chip, with an output current of 3A, supporting over-current and over-temperature functions, and compatible with PWM output; the 9th to 16th low-side outputs are provided by a 74HCT244 chip and 8 MOS tubes, with an output current of 2A, supporting over-current, over-temperature and clamping protection functions, and compatible with PWM output, of which 2 have a current detection function; the 17th to 24th low-side outputs are provided by an L9 301 chip is provided, with an output current of 2A and SPI protection and diagnosis functions; the control method of each low-side output adopts SPI serial bus to send commands to control the opening or closing of the channel, and the data input line and chip select signal of the SPI bus are pulled up to prevent the control signal and data of the microprocessor module from being disturbed and distorted during the transmission process, causing unexpected control actions; the chip of the low-side output has its own overcurrent protection mechanism. When the output current exceeds the threshold that the chip of the low-side output can withstand, the internal low-side output automatically shuts down the output, thereby protecting the chip of the low-side output and preventing overcurrent damage; 3 ignition drive circuits provide a total of 6 outputs, each ignition drive circuit uses 1 ignition drive chip, provides 2 outputs, and is designed to be compatible with both the external coil self-drive and the external coil without drive, thereby improving the adaptability to the ignition coil; The gate drive circuit uses a gate drive chip, and the digital signal output is directly output through the gate drive circuit; Among them, in the 9th to 16th low-side output circuits, two low-side outputs are selected to add current detection function to monitor the load condition in real time; the OUT pin of the INA240 current detection chip is connected in series with a 100R resistor as a signal output; the GND pin and the REF1 pin are connected to the ground; the VS pin and the REF2 pin are connected to a 5V power supply, and the VS pin is connected in series with a 100nF capacitor to the ground; the IN+ pin and the IN- pin are used as current sampling input pins, and after being connected in series with a 10R resistor respectively, they are connected in series with a 15mR sampling resistor to form a loop, and the 15mR sampling resistor is connected in series to the main loop of the low-side output to be measured.
10. The ammonia hydrogen engine controller according to claim 2, characterized in that: The sensor signal acquisition module includes a knock sensor signal acquisition circuit, an oxygen sensor signal acquisition circuit, a magnetoelectric camshaft & crankshaft sensor signal acquisition circuit, and a Hall camshaft & crankshaft sensor signal acquisition circuit; the knock sensor signal acquisition circuit adopts a knock sensor interface chip and uses an SPI serial bus to read data; the knock sensor signal is adjusted by the knock sensor interface chip to filter out the noise in the signal, and then the signal is rectified and integrated, so that the microprocessor module can accurately determine whether knock occurs when monitoring the signal; the oxygen sensor signal acquisition circuit is divided into a front oxygen sensor signal acquisition circuit and a rear oxygen sensor signal acquisition circuit, and the front oxygen sensor signal acquisition circuit can output a continuous linear output of 0V to 5V The voltage signal is used to indirectly reflect the air-fuel ratio of the mixture. The microprocessor module reads the air-fuel ratio data through the SPI bus, and then accurately controls the injection volume to make the mixture reach the optimal air-fuel ratio; the rear oxygen sensor signal acquisition circuit is equipped with a filter circuit, a protection circuit and a comparison circuit to ensure the signal acquisition accuracy and the controller is not damaged, thereby improving the system safety; the magnetoelectric camshaft & crankshaft sensor signal acquisition circuit has a dual-channel variable reluctance interface, which can convert the input sinusoidal wave signal into a square wave signal of the same frequency for output, ensuring that the microprocessor chip can collect and process it; the acquisition port of the Hall-type camshaft & crankshaft sensor signal acquisition circuit is equipped with a filter device and a protection device to ensure the signal acquisition accuracy and the controller is not damaged, thereby improving the system safety.
Citation Information
Cited By
Power exchange station thermal management controller based on single-chip microcomputer
CN119668164A
Driving control circuit and system and mechanical equipment
CN120462299A
