NCUC adapter plate for converting CAN communication into optical fiber communication

By designing the NCUC adapter board for converting CAN communication to optical fiber communication, the problem that the traditional CAN bus cannot meet the transmission of large amounts of data is solved, the communication rate of vehicle-mounted equipment is improved, and the need for future intelligent and autonomous driving is adapted.

CN221669887UActive Publication Date: 2024-09-06WUHAN HUAZHONG NUMERICAL CONTROL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323194162.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-23
Publication Date
2024-09-06
Estimated Expiration
2033-11-23

AI Technical Summary

Technical Problem

The traditional CAN bus cannot meet the large data transmission needs of vehicle-mounted equipment in the context of future autonomous driving and intelligence.

Method used

An NCUC adapter board for converting CAN communication to optical fiber communication is designed. It converts CAN bus communication into optical fiber communication through CAN communication module, microcontroller, digital processing module, optical module group and power module, and uses SPI messages and optical modules. Data transfer.

Benefits of technology

It improves the communication rate between vehicle-mounted devices and can effectively meet the demand for increased data volume brought about by future vehicle-mounted device intelligence and autonomous driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221669887U
    Figure CN221669887U
Patent Text Reader

Abstract

The utility model relates to an NCUC adapter plate for converting CAN communication into optical fiber communication. The NCUC adapter plate comprises a CAN communication module, a microcontroller MCU, a digital processing module, an optical module group and a power supply module. According to the NCUC adapter plate for converting CAN communication into optical fiber communication, a CAN bus communication mode with a slow communication rate is converted into an optical fiber communication mode by using the NCUC adapter plate, so that the communication rate between vehicle-mounted equipment is improved, and the problem that a traditional CAN bus cannot meet the transmission requirement of large data volume is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of communication, in particular to an NCUC adapter board for converting CAN communication to optical fiber communication. Background Art

[0002] Currently, the CAN bus occupies a dominant position in the vehicle bus. With the increasing demand for intelligent and information-based vehicle equipment, and the popularization of autonomous driving in the future, the number of vehicle body sensors will increase and the amount of data carried on the bus will further increase. The traditional CAN bus can no longer meet the transmission requirements of large amounts of data. Utility Model Content

[0003] The utility model aims at the technical problems existing in the prior art and provides an NCUC adapter board for converting CAN communication to optical fiber communication. By converting the CAN bus communication mode into optical fiber communication using the NCUC adapter board, the problem that the traditional CAN bus can no longer meet the transmission requirements of large amounts of data is solved.

[0004] The technical solution of the utility model to solve the above technical problems is as follows:

[0005] A NCUC adapter board for CAN communication to optical fiber communication, comprising a CAN communication module 1, a microcontroller MCU2, a digital processing module 3, an optical module group 4 and a power module 5, wherein the vehicle-mounted equipment is connected to the NCUC master station via the CAN communication module 1, the microcontroller MCU2, the digital processing module 3 and the optical module group 4 in sequence, and the power module 5 is connected to the CAN communication module 1, the microcontroller MCU2, the digital processing module 3 and the optical module group 4 respectively;

[0006] The vehicle-mounted device sends the first CAN message to the CAN communication module 1 through the CAN bus, and the CAN communication module 1 forwards the first CAN message to the microcontroller MCU2, and the microcontroller MCU2 converts the first CAN message into an SPI message, and writes the SPI message into the register of the digital processing module 3, so that the NCUC master station reads the SPI message in the register through the optical module group 4;

[0007] The NCUC master station writes the NCUC data frame into the register of the digital processing module 3 through the optical module group 4, and the microcontroller MCU2 obtains the NCUC data frame in the register by sending an SPI query message and an SPI register read message to the digital processing module 3, converts the NCUC data frame into a second CAN message, and forwards the CAN message to the vehicle-mounted device.

[0008] On the basis of the above technical solution, the present invention can also be improved as follows.

[0009] Preferably, the power module 5 includes: a connector P1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a resistor R12, a diode D1, a diode D2, a diode D3, a transient suppression diode TVS1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, a capacitor C10, a capacitor C11, a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C16, a capacitor C17, a capacitor C18, a capacitor C19, a capacitor C20, a voltage regulator U1, a voltage regulator U2, a voltage regulator U3, and a voltage regulator U4 , VBAT+ terminal, +24V terminal, +24V_OUT terminal, +5VD terminal, +3V3D terminal, +1VD terminal and +2V5D terminal, pin 3 of the connector P1 is connected to the VBT+ terminal, pin 2 of the connector P1 and one end of the resistor R1 are connected to the negative electrode of the power supply, the other end of the resistor R1 is respectively connected to one end of the transient suppression diode TVS1, the negative electrode of the capacitor C3, one end of the capacitor C4, the negative electrode of the capacitor C1 and one end of the capacitor C2 are connected to the digital ground, the other end of the transient suppressor diode TVS1 and the positive electrode of the diode D1 are connected to the VBT+ terminal, the negative electrode of the diode D1 and the positive electrode of the capacitor C3 are connected The positive electrode of the capacitor C13, one end of the capacitor C14, one end of the resistor R4 and the 2nd pin of the voltage regulator U1 are connected to the +24V terminal, the other end of the inductor L1, the positive electrode of the capacitor C1 and the other end of the capacitor C2 are connected to the +24V_OUT terminal, the +24V terminal is connected to the positive electrode of the capacitor C13, one end of the capacitor C14, one end of the resistor R4 and the 2nd pin of the voltage regulator U1 through the inductor L3, the negative electrode of the capacitor C13, the other end of the capacitor C14, one end of the resistor R7, one end of the resistor R8, one end of the resistor R9 and the 0th pin of the voltage regulator U1 are connected to the digital ground, the other end of the resistor R4 and the other end of the resistor R7 are connected to the 3rd pin of the voltage regulator U1 The other end of the resistor R8 is connected to the 4th pin of the voltage regulator U1, the other end of the resistor R9 and the 5th pin of the voltage regulator U1 are connected to the +5VD terminal through the resistor R6, the 1st pin of the voltage regulator U1 is respectively connected to the 8th pin of the voltage regulator U1, the cathode of the diode D2 and one end of the inductor L2 through the capacitor C5, the anode of the diode D2 is respectively connected to the 7th pin of the voltage regulator U1, one end of the capacitor C6, one end of the capacitor C7, one end of the capacitor C8, one end of the capacitor C11, one end of the capacitor C12, the cathode of the diode D3, the 1st pin of the voltage regulator U2, one end of the capacitor C9 and one end of the capacitor C10 are connected to the digital ground,The other end of the inductor L2 is connected to the other end of the capacitor C6, the other end of the capacitor C7, the other end of the capacitor C8, one end of the resistor R3, one end of the resistor R2 and the +5VD terminal respectively, the 6th pin of the voltage regulator U1 is connected to one end of the resistor R5 and the other end of the capacitor C12 respectively, the other end of the resistor R5 is connected to the other end of the capacitor C11, the other end of the resistor R3 is connected to the positive electrode of the diode D3, the other end of the resistor R2 is connected to the 3rd pin of the voltage regulator U2, the 2nd pin and the 4th pin of the voltage regulator U2 are connected to the other end of the capacitor C9, the other end of the capacitor C10 and the +3V3D terminal, the +5VD terminal is connected to one end of the capacitor C21, one end of the capacitor C22, the 5th pin and the 8th pin of the voltage regulator U4 respectively through the resistor R10, the other end of the capacitor C21 and the other end of the capacitor C22 are connected to the digital ground respectively, Pins 4, 6 and 7 of the voltage regulator U4 are connected to the digital ground, pins 3 and 9 of the voltage regulator U4 are connected to the digital ground, pin 1 of the voltage regulator U4 is respectively connected to one end of the resistor R11, one end of the capacitor C19, one end of the capacitor C20 and the +1VD terminal, the other end of the resistor R11 and pin 2 of the voltage regulator U4 are connected to the digital ground through the resistor R12, the other end of the capacitor C19 and the other end of the capacitor C20 are connected to the digital ground, and the The terminal +5VD is connected to one end of the capacitor C15, one end of the capacitor C16, and pins 1 and 3 of the voltage regulator U3 respectively. The other end of the capacitor C15, the other end of the capacitor C16, and pin 2 of the voltage regulator U3 are connected to the digital ground. Pin 5 of the voltage regulator U3 is connected to one end of the capacitor C17, one end of the capacitor C18, and the +2V5D terminal respectively. The other end of the capacitor C17 and the other end of the capacitor C18 are connected to the digital ground.

[0010] Preferably, the CAN communication module 1 includes: a CAN bus transceiver chip U5, a capacitor C23, a capacitor C24, a capacitor C25, a capacitor C26, a resistor R13, a resistor R14, a resistor R15, a filter L4, an electrostatic protection diode U6, a connector P2, an STB terminal, a CAN_TX terminal and a CAN_RX terminal, wherein the 8th, 1st and 4th pins of the CAN bus transceiver chip U5 are respectively connected to the STB terminal, the CAN_TX terminal and the CAN_RX terminal, the 2nd pin of the CAN bus transceiver chip U5 is connected to the digital ground, the 3rd pin of the CAN bus transceiver chip U5 and one end of the capacitor C23 are connected to the +5VD terminal, the other end of the capacitor C23 is connected to the digital ground, the 5th pin of the CAN bus transceiver chip U5 is respectively connected to one end of the capacitor C25 and one end of the resistor R15, the other end of the capacitor C25 is connected to the digital ground, and the other end of the resistor R15 is connected to the + The 3V3D terminal is connected, the 6th pin of the CAN bus transceiver chip U5 is respectively connected to one end of the resistor R14 and the 2nd pin of the filter L4, the 7th pin of the CAN bus transceiver chip U5 is respectively connected to the other end of the resistor R14 and the 1st pin of the filter L4, the 3rd pin of the filter L4 is respectively connected to one end of the capacitor C24, the 2nd pin of the electrostatic protection diode U6 and the 6th pin of the connector P2, the other end of the capacitor C24 is connected to the digital ground, the 4th pin of the filter L4 is respectively connected to one end of the capacitor C26, the 1st pin of the electrostatic protection diode U6 and the 5th pin of the connector, the other end of the capacitor C26 is connected to the digital ground, the 3rd pin of the electrostatic protection diode U6 is connected to the digital ground, the 4th pin of the connector P2 and one end of the resistor R13 are connected to the protection ground together, the 2nd pin of the connector P2 and the other end of the resistor R13 are connected to the negative pole of the power supply, and the 1st pin of the connector P2 is connected to the +24V_OUT terminal.

[0011] Preferably, the optical module group 4 includes at least two groups of optical modules, namely a first optical module and a second optical module;

[0012] Each optical module includes a fiber optic transceiver U7, a capacitor C27, a capacitor C28, a capacitor C29, a capacitor C33, a capacitor C34, a capacitor C35, an inductor L5, an inductor L7, a resistor R16, a resistor R18, a resistor R20, a resistor R22, a resistor R24, a resistor R26, a resistor R28, a NCUC20_TD_N terminal, a NCUC20_TD_P terminal, a NCUC20_RD_N terminal and a NCUC20_RD_P terminal. Pins 1, 8 and 12 of the fiber optic transceiver U7 are connected to the digital ground respectively, pins 4 and 6 of the fiber optic transceiver U7 are connected to the digital ground together, pin 5 of the fiber optic transceiver U7 is connected to one end of the capacitor C27, one end of the capacitor C28 and one end of the inductor L5 respectively, the other end of the capacitor C27 and the other end of the capacitor C28 are connected to the digital ground together, the other end of the inductor L5 and the +3V3D terminal are connected to the digital ground through the capacitor C29, and pin 9 of the fiber optic transceiver U7 is connected to the digital ground through the capacitor C29. The resistor R22 is connected to the +3V3D terminal, the 7th pin of the optical fiber transceiver U7 is connected to the capacitor C33, the capacitor C34 and one end of the inductor L7 respectively, the other end of the capacitor C33 and the other end of the capacitor C34 are connected to the digital ground, the other end of the inductor L7 and the +3V3D terminal are connected to the digital ground through the capacitor C35, the 2nd pin of the optical fiber transceiver U7 and one end of the resistor R18 are connected to the NCUC20_ through the resistor R16 The 3rd pin of the optical fiber transceiver U7 and the other end of the resistor R18 are connected to the NCUC20_TD_P terminal through the resistor R20, the 10th pin of the optical fiber transceiver U7 is connected to one end of the resistor R26 and the NCUC20_RD_N terminal through the resistor R24, and the 11th pin of the optical fiber transceiver U7 is connected to the other end of the resistor R26 and the NCUC20_RD_P terminal through the resistor R28.

[0013] Preferably, the microcontroller MCU2 includes an MCU chip U9, a capacitor C39, a capacitor C40, a capacitor C41, a capacitor C42, a capacitor C43, a capacitor C44, a capacitor C45, a capacitor C46, ​​a capacitor C47, a capacitor C48, a resistor R30, a resistor R31, a resistor R32, a resistor R33, a resistor R34, a resistor R35, a resistor R36, a resistor R41, a crystal oscillator Y1, a diode D4, a diode D5, a diode D6 and a connector P3, the +3V3D terminal is connected to the digital ground through the capacitor C40, the capacitor C41, the capacitor C42, the capacitor C43, the capacitor C44 and the capacitor C45, and the MC Pin 1, 19, 32, 48 and 64 of the U chip U9 are connected to the +3V3D terminal respectively, pin 12, 18, 31 and 63 of the MCU chip U9 are connected to the digital ground respectively, pin 5 of the MCU chip U9, one end of the resistor R31 and pin 1 of the crystal oscillator Y1 are connected to the digital ground through the capacitor C39, pin 6 of the MCU chip U9, the other end of the resistor R31 and pin 3 of the crystal oscillator Y1 are connected to the digital ground through the capacitor C46, ​​pin 4 and pin 2 of the crystal oscillator Y1 are connected to the digital ground, pin 7 of the MCU chip U9 is connected to one end of the resistor R34, the positive electrode of the diode D6 and one end of the capacitor C47 respectively. The other end of the resistor R34 and the cathode of the diode D6 are connected to the +3V3D terminal, the other end of the capacitor C47 is connected to the digital ground, the 13th pin of the MCU chip U9 and one end of the capacitor C48 are connected to the +3V3D terminal through the resistor R36, the other end of the capacitor C48 is grounded, the 28th pin of the MCU chip U9 is connected to the digital ground through the resistor R41, the 60th pin of the MCU chip U9 is connected to the digital ground through the resistor R35, the 62nd pin, the 61st pin and the 59th pin of the MCU chip U9 are respectively connected to the CAN_TX terminal, the CAN_RX terminal and the STB terminal, and the MCU chip Pin 56 of U9 is connected to the cathode of the diode D4, the anode of the diode D4 is connected to one end of the resistor R32 and the +3V3D terminal through the resistor R30, pin 55 of the MCU chip U9 is connected to the cathode of the diode D5, the anode of the diode D5 is connected to the other end of the resistor R32, pin 49 of the MCU chip U9 is connected to pin 3 of the connector P3, pin 46 of the MCU chip U9 and one end of the resistor R33 are connected to pin 2 of the connector P3, the other end of the resistor R33 and pin 1 of the connector P3 are connected to the +3V3D terminal, and pin 4 of the connector P3 is connected to the digital ground.

[0014] Preferably, the digital processing module 3 includes capacitor C49, capacitor C50, capacitor C51, capacitor C52, capacitor C53, capacitor C54, capacitor C55, capacitor C56, capacitor C57, capacitor C58, capacitor C59, capacitor C60, capacitor C61, capacitor C62, capacitor C63, capacitor C64, capacitor C65, capacitor C66, capacitor C67, resistor R42, resistor R43, resistor R44, resistor R45, resistor R46, resistor R47, resistor R48, resistor R49, resistor R50, resistor R51, resistor R52, resistor R53, magnetic beads FB1, magnetic beads FB2, magnetic beads FB3, magnetic beads FB4, FPGA chip U10, JTAG interface P5, oscillator The +1VD terminal is connected to the +1V terminal through the magnetic bead FB1, and the +1V terminal is connected to the digital ground through the capacitor C49, the capacitor C50, the capacitor C51, the capacitor C52, the capacitor C53, the capacitor C54, the capacitor C55 and the capacitor C56, respectively; the +3V3D terminal is connected to the +3V3 terminal through the magnetic bead FB2, and the +3V3 terminal is connected to the digital ground through the capacitor C57, the capacitor C58, the capacitor C59, the capacitor C60, the capacitor C61, the capacitor C62 and the capacitor C63, respectively; the +2 The V5D terminal is connected to the +2V5 terminal through the magnetic bead FB3, the +2V5 terminal is connected to one end of the resistor R42, one end of the capacitor C64 and one end of the capacitor C65, the other end of the capacitor C64 and the other end of the capacitor C65 are connected to the digital ground, the other end of the resistor R42 is connected to the +3V3 terminal, the 86th, 85th, 84th and 83rd pins of the FPGA chip U10 are respectively connected to the NCUC20_RD_P terminal, NCUC20_RD_N terminal, NCUC20_TD_P terminal and NCUC20_TD_N terminal of the first optical module, the 77th and 76th pins of the FPGA chip U10 are respectively connected to the NCUC20_RD_P terminal, NCUC20_RD_N terminal, NCUC20_TD_P terminal and NCUC20_TD_N terminal of the first optical module, and the 77th and 76th pins of the FPGA chip U10 are respectively connected to the NCUC20_RD_P terminal, NCUC20_RD_N terminal, NCUC20_TD_P terminal and NCUC20_TD_N terminal of the first optical module. , 73 and 72 are respectively connected to the NCUC20_RD_P terminal, NCUC20_RD_N terminal, NCUC20_TD_P terminal and NCUC20_TD_N terminal of the second optical module, the 8th pin of the FPGA chip U10 is connected to the 5th pin of the JTAG interface P5 through the resistor R46, the 5th pin of the FPGA chip U10 is connected to the 9th pin of the JTAG interface P5 through the resistor R47, the 6th pin of the FPGA chip U10 is respectively connected to one end of the resistor R44 and one end of the resistor R48, the other end of the resistor R44 is connected to the 1st pin of the JTAG interface P5, and the other end of the resistor R48 is connected to the digital ground,Pin 7 of the FPGA chip U10 is connected to pin 3 of the JTAG interface P5 through the resistor R45, pins 2 and 3 of the JTAG interface P5 and one end of the capacitor C66 are connected to the digital ground, pin 6 of the JTAG interface P5 and the other end of the capacitor C66 are connected to the +3V3D terminal, pins 88 and 87 of the FPGA chip U10 are connected to the digital ground through the resistor R50 and the resistor R51 respectively, and pin 9 of the FPGA chip U10 is connected to the + The FPGA chip U10 is connected to the +3V3 terminal, the 47th pin of the FPGA chip U10 is connected to the digital ground through the resistor R43, the 1st pin, the 22nd pin, the 45th pin and the 66th pin of the FPGA chip U10 are connected to the +1V terminal, the 78th pin and the 67th pin of the FPGA chip U10 are connected to the +2V5 terminal, the 58th pin, the 44th pin, the 23rd pin and the 3rd pin of the FPGA chip U10 are connected to the +3V3 terminal, the 14th pin and the 50th pin of the FPGA chip U10 are connected to the +1V terminal, Pins 12 and 64 of the FPGA chip U10 are connected to the +3V3 terminal together, pin 30 of the FPGA chip U10 and one end of the resistor R49 are connected to pin 37 of the MCU chip U9, the other end of the resistor R49 is connected to the +3V3 terminal, and pins 33, 34, 35, 36, 25, 26, 27 and 28 of the FPGA chip U10 are connected to pins 23, 22, 21, 20, 36, 35, 34 and 36 of the MCU chip U9 respectively. Pin 33 is connected, Pin 10 of the FPGA chip U10 is connected to Pin 3 of the oscillator Y2 through the resistor R53, Pin 2 of the oscillator Y2 is connected to digital ground, Pin 1 and Pin 4 of the oscillator Y2 are respectively connected to one end of the capacitor C67 and one end of the magnetic bead FB4, the other end of the capacitor C67 is connected to digital ground, the other end of the magnetic bead FB4 is connected to the +3V3 terminal, Pin 2, Pin 21, Pin 2443, Pin 46, Pin 65, Pin 68 and Pin 89 of the FPGA chip U10 are connected to digital ground.

[0015] Preferably, the model of the MCU chip U9 is GD32F303RGT6.

[0016] Preferably, the model of the FPGA chip U10 is GW2A-LV18QN88C7 / I6.

[0017] The beneficial effects of the utility model are as follows: the NCUC adapter board for CAN communication to optical fiber communication of the utility model improves the communication rate between vehicle-mounted devices by converting the CAN bus communication mode with a slower communication rate into an optical fiber communication mode using the NCUC adapter board, thereby solving the problem that the traditional CAN bus can no longer meet the transmission requirements of large amounts of data. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is the overall principle block diagram of the utility model;

[0019] Figure 2 This is the circuit schematic diagram of the power module of the utility model;

[0020] Figure 3 This is the circuit schematic diagram of the CAN communication module of the utility model;

[0021] Figure 4 and Figure 5 This is the circuit schematic diagram of the optical module group of the utility model;

[0022] Figure 6 This is the circuit schematic diagram of the microcontroller MCU of the utility model;

[0023] Figure 7 This is a schematic diagram of the principle of the TYPE-C interface of the microcontroller MCU of the utility model;

[0024] Figure 8a , Figure 8b and Figure 8c This is a schematic diagram of the circuit principle of the digital processing module of the utility model. DETAILED DESCRIPTION

[0025] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0026] This embodiment provides a NCUC adapter board for converting CAN communication to optical fiber communication, such as Figure 1 As shown in the principle block diagram, the NCUC adapter board for CAN communication to optical fiber communication includes a CAN communication module 1, a microcontroller MCU2, a digital processing module 3, an optical module group 4 and a power module 5. The on-board equipment is connected to the NCUC master station through the CAN communication module 1, the microcontroller MCU2, the digital processing module 3 and the optical module group 4 in sequence, and the power module 5 is connected to the CAN communication module 1, the microcontroller MCU2, the digital processing module 3 and the optical module group 4 respectively.

[0027] Among them, the on-board equipment sends the first CAN message to the CAN communication module 1 through the CAN bus, the CAN communication module 1 forwards the first CAN message to the microcontroller MCU2, the microcontroller MCU2 converts the first CAN message into an SPI message, and writes the SPI message into the register of the digital processing module 3, so that the NCUC master station reads the SPI message in the register through the optical module group 4;

[0028] The NCUC master station writes the NCUC data frame into the register of the digital processing module 3 through the optical module group 4, and the microcontroller MCU2 obtains the NCUC data frame in the register by sending an SPI query message and an SPI register read message to the digital processing module 3, converts the NCUC data frame into a second CAN message, and forwards the CAN message to the vehicle-mounted device.

[0029] The NCUC adapter board for CAN communication to fiber optic communication in this embodiment forwards the parsed CAN message to the FPGA via SPI communication, which is parsed by the FPGA and sent to the NCUC bus via the optical module based on the NCUC protocol. It can also read the messages on the NCUC bus and parse them into CAN messages and send them to the vehicle-mounted equipment. Among them, the adapter board program is mainly composed of SPI driver, CAN driver and 4 threads. CAN receiving thread: judge whether there is CAN message by reading the corresponding flag bit in the single-chip microcomputer. If there is CAN message, the CAN ID, data bit length and data in the CAN message are converted into corresponding SPI messages and stored in the SPI queue data structure; CAN sending thread: judge whether there is data in the CAN message queue, if there is data, the CAN message is sent to the vehicle-mounted device; SPI receiving thread: query whether there is NCUC data frame in the FPGA register reception by sending SPI message, if there is, send SPI register read message, read NCUC data frame, and convert it into CAN message and store it in the CAN message queue; SPI sending thread: judge whether there is data in the SPI message queue, if there is data, write the data into the FPGA sending register through SPI; the master station program is mainly responsible for managing each adapter board on the NCUC bus, polling whether there is data in the FPGA sending register of each adapter board, if there is data, forward the data to the corresponding vehicle-mounted device according to CAN ID and vehicle protocol. The utility model can improve the communication rate between vehicle-mounted devices and can support more vehicle-mounted devices to be mounted on the bus, which can effectively meet the needs of increasing the number of vehicle-mounted devices and the amount of data brought about by the future intelligent vehicle-mounted devices and automatic driving.

[0030] On the basis of the above technical solution, the present invention can also be improved as follows.

[0031] See also Figure 2 , Figure 2The power module circuit schematic diagram of this embodiment, the power module 5 includes: a connector P1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a resistor R12, a diode D1, a diode D2, a diode D3, a transient suppression diode TVS1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, a capacitor C10, a capacitor C11, a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C16, a capacitor C17, a capacitor C18, capacitor C19, capacitor C20, voltage regulator U1, voltage regulator U2, voltage regulator U3, voltage regulator U4, VBAT+ terminal, +24V terminal, +24V_OUT terminal, +5VD terminal, +3V3D terminal, +1VD terminal and +2V5D terminal, pin 3 of the connector P1 is connected to the VBT+ terminal, pin 2 of the connector P1 and one end of the resistor R1 are connected to the negative electrode of the power supply, and the other end of the resistor R1 is respectively connected to one end of the transient suppression diode TVS1, the negative electrode of the capacitor C3, one end of the capacitor C4, the negative electrode of the capacitor C1 and one end of the capacitor C2. The digital ground is terminated, the other end of the transient suppressor diode TVS1 and the positive electrode of the diode D1 are connected to the VBT+ terminal, the cathode of the diode D1 and the positive electrode of the capacitor C3, the other end of the capacitor C4 and one end of the inductor L1 are connected to the +24V terminal, the other end of the inductor L1, the positive electrode of the capacitor C1 and the other end of the capacitor C2 are connected to the +24V_OUT terminal, the +24V terminal is respectively connected to the positive electrode of the capacitor C13, one end of the capacitor C14, one end of the resistor R4 and the 2nd pin of the regulator U1 through the inductor L3, the capacitor C The negative electrode of 13, the other end of the capacitor C14, one end of the resistor R7, one end of the resistor R8, one end of the resistor R9 and the 0th pin of the voltage regulator U1 are connected to the digital ground together, the other end of the resistor R4 and the other end of the resistor R7 are connected to the 3rd pin of the voltage regulator U1, the other end of the resistor R8 is connected to the 4th pin of the voltage regulator U1, the other end of the resistor R9 and the 5th pin of the voltage regulator U1 are connected to the +5VD terminal through the resistor R6, and the 1st pin of the voltage regulator U1 is respectively connected to the 8th pin of the voltage regulator U1, the negative electrode of the diode D2 and one end of the inductor L2 through the capacitor C5,The anode of the diode D2 is connected to the 7th pin of the voltage regulator U1, one end of the capacitor C6, one end of the capacitor C7, one end of the capacitor C8, one end of the capacitor C11, one end of the capacitor C12, the cathode of the diode D3, the 1st pin of the voltage regulator U2, one end of the capacitor C9 and one end of the capacitor C10, respectively, and the other end of the inductor L2 is connected to the other end of the capacitor C6, the other end of the capacitor C7, the other end of the capacitor C8, one end of the resistor R3, one end of the resistor R2 and the +5VD connection. The 6th pin of the voltage regulator U1 is connected to one end of the resistor R5 and the other end of the capacitor C12 respectively, the other end of the resistor R5 is connected to the other end of the capacitor C11, the other end of the resistor R3 is connected to the positive electrode of the diode D3, the other end of the resistor R2 is connected to the 3rd pin of the voltage regulator U2, the 2nd and 4th pins of the voltage regulator U2 are connected to the other end of the capacitor C9, the other end of the capacitor C10 and the +3V3D terminal, and the +5VD terminal is connected to one end of the capacitor C21 through the resistor R10. , one end of the capacitor C22 is connected to the 5th and 8th pins of the voltage regulator U4, the other end of the capacitor C21 and the other end of the capacitor C22 are connected to the digital ground respectively, the 4th, 6th and 7th pins of the voltage regulator U4 are connected to the digital ground together, the 3rd and 9th pins of the voltage regulator U4 are connected to the digital ground together, the 1st pin of the voltage regulator U4 is connected to one end of the resistor R11, one end of the capacitor C19, one end of the capacitor C20 and the +1VD terminal respectively, the other end of the resistor R11 and the 2nd pin of the voltage regulator U4 are connected to the digital ground through the resistor R12, the The other end of capacitor C19 and the other end of capacitor C20 are connected to digital ground, the terminal +5VD is connected to one end of capacitor C15, one end of capacitor C16, and pin 1 and pin 3 of voltage regulator U3, the other end of capacitor C15, the other end of capacitor C16 and pin 2 of voltage regulator U3 are connected to digital ground, the pin 5 of voltage regulator U3 is connected to one end of capacitor C17, one end of capacitor C18 and the +2V5D terminal, and the other end of capacitor C17 and the other end of capacitor C18 are connected to digital ground.

[0032] See also Figure 3 , Figure 3The utility model CAN communication module circuit schematic diagram, the CAN communication module 1 includes: a CAN bus transceiver chip U5, a capacitor C23, a capacitor C24, a capacitor C25, a capacitor C26, a resistor R13, a resistor R14, a resistor R15, a filter L4, an electrostatic protection diode U6, a connector P2, a STB terminal, a CAN_TX terminal and a CAN_RX terminal, the 8th foot, the 1st foot and the 4th foot of the CAN bus transceiver chip U5 are respectively connected to the STB terminal, the CAN_TX terminal and the CAN_RX terminal, the 2nd foot of the CAN bus transceiver chip U5 is connected to the digital ground, the 3rd foot of the CAN bus transceiver chip U5 and one end of the capacitor C23 are connected to the +5VD terminal, the other end of the capacitor C23 is connected to the digital ground, the 5th foot of the CAN bus transceiver chip U5 is respectively connected to one end of the capacitor C25 and one end of the resistor R15, the other end of the capacitor C25 is connected to the digital ground, the resistor R15 The other end of the CAN bus transceiver chip U5 is connected to the +3V3D terminal, the 6th pin of the CAN bus transceiver chip U5 is respectively connected to one end of the resistor R14 and the 2nd pin of the filter L4, the 7th pin of the CAN bus transceiver chip U5 is respectively connected to the other end of the resistor R14 and the 1st pin of the filter L4, the 3rd pin of the filter L4 is respectively connected to one end of the capacitor C24, the 2nd pin of the electrostatic protection diode U6 and the 6th pin of the connector P2, the other end of the capacitor C24 is connected to the digital ground, the 4th pin of the filter L4 is respectively connected to one end of the capacitor C26, the 1st pin of the electrostatic protection diode U6 and the 5th pin of the connector, the other end of the capacitor C26 is connected to the digital ground, the 3rd pin of the electrostatic protection diode U6 is connected to the digital ground, the 4th pin of the connector P2 and one end of the resistor R13 are connected to the protection ground together, the 2nd pin of the connector P2 and the other end of the resistor R13 are connected to the negative pole of the power supply, and the 1st pin of the connector P2 is connected to the +24V_OUT terminal.

[0033] See also Figure 4 and Figure 5 , Figure 4 and Figure 5The schematic diagram of the optical module group circuit of the utility model, the optical module group 4 includes at least two groups of optical modules, namely the first optical module and the second optical module; each group of optical modules includes an optical fiber transceiver U7, a capacitor C27, a capacitor C28, a capacitor C29, a capacitor C33, a capacitor C34, a capacitor C35, an inductor L5, an inductor L7, a resistor R16, a resistor R18, a resistor R20, a resistor R22, a resistor R24, a resistor R26, a resistor R28, a NCUC20_TD_N terminal, a NCUC20_TD_P terminal, and a N CUC20_RD_N terminal and NCUC20_RD_P terminal, pin 1, pin 8 and pin 12 of the fiber optic transceiver U7 are connected to the digital ground respectively, pin 4 and pin 6 of the fiber optic transceiver U7 are connected to the digital ground together, pin 5 of the fiber optic transceiver U7 is connected to one end of the capacitor C27, one end of the capacitor C28 and one end of the inductor L5 respectively, the other end of the capacitor C27 and the other end of the capacitor C28 are connected to the digital ground together, the other end of the inductor L5 and the +3V3D terminal are connected through the capacitor C29 is connected to digital ground, pin 9 of the optical fiber transceiver U7 is connected to the +3V3D terminal through the resistor R22, pin 7 of the optical fiber transceiver U7 is respectively connected to the capacitor C33, the capacitor C34 and one end of the inductor L7, the other end of the capacitor C33 and the other end of the capacitor C34 are connected to digital ground together, the other end of the inductor L7 and the +3V3D terminal are connected to digital ground through the capacitor C35, pin 2 of the optical fiber transceiver U7 and one end of the resistor R18 are connected to digital ground through the resistor R 16 is connected to the NCUC20_TD_N terminal, the 3rd pin of the optical fiber transceiver U7 and the other end of the resistor R18 are connected to the NCUC20_TD_P terminal through the resistor R20, the 10th pin of the optical fiber transceiver U7 is connected to one end of the resistor R26 and the NCUC20_RD_N terminal through the resistor R24, and the 11th pin of the optical fiber transceiver U7 is connected to the other end of the resistor R26 and the NCUC20_RD_P terminal through the resistor R28. Among them, the terminals in the first optical module are NCUC20_1TD_N terminal, NCUC20_1TD_P terminal, NCUC20_1RD_N terminal and NCUC20_1RD_P terminal, and the terminals in the second optical module are NCUC20_2TD_N terminal, NCUC20_2TD_P terminal, NCUC20_2RD_N terminal and NCUC20_2RD_P terminal.

[0034] Exemplarily, the model of the MCU chip U9 is GD32F303RGT6.

[0035] See also Figure 6 and Figure 7 , Figure 6The circuit schematic diagram of the microcontroller MCU of the utility model, the microcontroller MCU2 includes an MCU chip U9, a capacitor C39, a capacitor C40, a capacitor C41, a capacitor C42, a capacitor C43, a capacitor C44, a capacitor C45, a capacitor C46, ​​a capacitor C47, a capacitor C48, a resistor R30, a resistor R31, a resistor R32, a resistor R33, a resistor R34, a resistor R35, a resistor R36, a resistor R37, a resistor R38, a resistor R39, a resistor R40, a resistor R41, a crystal oscillator Y1, a diode D4, a diode D5, a diode D6, an electrostatic diode ESD1, an electrostatic diode ESD2, a connector P3 and a connector P4, and the +3V3D terminal is respectively connected through the capacitor C40 , the capacitor C41, the capacitor C42, the capacitor C43, the capacitor C44 and the capacitor C45 are connected to the digital ground, the pin 1, pin 19, pin 32, pin 48 and pin 64 of the MCU chip U9 are respectively connected to the +3V3D terminal, the pin 12, pin 18, pin 31 and pin 63 of the MCU chip U9 are respectively connected to the digital ground, the pin 5 of the MCU chip U9, one end of the resistor R31 and the pin 1 of the crystal oscillator Y1 are connected to the digital ground through the capacitor C39, the pin 6 of the MCU chip U9, the other end of the resistor R31 and the pin 3 of the crystal oscillator Y1 are connected to the digital ground through the capacitor C46, ​​the pin 4 and pin 2 of the crystal oscillator Y1 are connected to the digital ground, and the pin 7 of the MCU chip U9 is respectively connected to the One end of the resistor R34, the positive electrode of the diode D6 and one end of the capacitor C47 are connected, the other end of the resistor R34 and the negative electrode of the diode D6 are connected to the +3V3D terminal, the other end of the capacitor C47 is connected to the digital ground, the 13th pin of the MCU chip U9 and one end of the capacitor C48 are connected to the +3V3D terminal through the resistor R36, the other end of the capacitor C48 is grounded, the 28th pin of the MCU chip U9 is connected to the digital ground through the resistor R41, the 60th pin of the MCU chip U9 is connected to the digital ground through the resistor R35, the 62nd pin, the 61st pin and the 59th pin of the MCU chip U9 are respectively connected to the CAN_TX terminal, the CAN_RX terminal and The MCU chip U9 is connected to the STB terminal, the 56th pin of the MCU chip U9 is connected to the cathode of the diode D4, the anode of the diode D4 is connected to one end of the resistor R32 and the +3V3D terminal through the resistor R30, the 55th pin of the MCU chip U9 is connected to the cathode of the diode D5, the anode of the diode D5 is connected to the other end of the resistor R32, the 49th pin of the MCU chip U9 is connected to the 3rd pin of the connector P3, the 46th pin of the MCU chip U9 and one end of the resistor R33 are connected to the 2nd pin of the connector P3, the other end of the resistor R33 and the 1st pin of the connector P3 are connected to the +3V3D terminal, and the 4th pin of the connector P3 is connected to the digital ground.The 45th pin of the MCU chip U9 is connected to the A6th pin and the B6th pin of the connector P4 respectively, the 44th pin of the MCU chip U9 is connected to the A7th pin and the B7th pin of the connector P4 respectively, the A1th pin and the B1th pin of the connector P4 are connected to the digital ground respectively, the A5th pin of the connector P4 is connected to the digital ground through the resistor R40, the A4th pin and the B4th pin of the connector P4 are connected to the external 5V power supply respectively, the B4th pin of the connector P4 is connected to the +5VD terminal through the resistor R37, the B5th pin of the connector P4 is connected to the digital ground through the resistor R39, the B6th pin of the connector P4 is connected to one end of the resistor R38 and one end of the electrostatic diode ESD1 respectively, the other end of the resistor R38 is connected to the +3V3D terminal, the B7th pin of the connector P4 is connected to one end of the electrostatic diode ESD2, and the other end of the electrostatic diode ESD1 and the other end of the electrostatic diode ESD2 are connected to the digital ground together. ,

[0036] See also Figure 8a , Figure 8b and Figure 8c, the digital processing module 3 includes capacitor C49, capacitor C50, capacitor C51, capacitor C52, capacitor C53, capacitor C54, capacitor C55, capacitor C56, capacitor C57, capacitor C58, capacitor C59, capacitor C60, capacitor C61, capacitor C62, capacitor C63, capacitor C64, capacitor C65, capacitor C66, capacitor C67, capacitor C68, resistor R42, resistor R43, resistor R44, resistor R45, resistor R46, resistor R47, resistor R48, resistor R49, resistor R50, resistor R51, resistor R52, resistor R53, resistor R54, resistor R55, resistor R56, resistor R57, resistor R58, resistor R59, magnetic bead FB1, Magnetic beads FB2, Magnetic beads FB3, Magnetic beads FB4, FPGA chip U10, JTAG interface P5, oscillator Y2, flash memory chip U11, +1V terminal, +3V3 terminal and +2V5 terminal, the +1VD terminal is connected to the +1V terminal through the magnetic bead FB1, the +1V terminal is connected to the digital ground through the capacitor C49, the capacitor C50, the capacitor C51, the capacitor C52, the capacitor C53, the capacitor C54, the capacitor C55 and the capacitor C56 respectively, the +3V3D terminal is connected to the +3V3 terminal through the magnetic bead FB2, the +3V3 terminal is connected to the digital ground through the capacitor C57, the capacitor C58, the capacitor C59, the capacitor C60, the capacitor C61, the capacitor C62, the capacitor C63, the capacitor C64, the capacitor C65 and the capacitor C66 respectively. The capacitor C59, the capacitor C60, the capacitor C61, the capacitor C62 and the capacitor C63 are connected to the digital ground, the +2V5D terminal is connected to the +2V5 terminal through the magnetic bead FB3, the +2V5 terminal is connected to one end of the resistor R42, one end of the capacitor C64 and one end of the capacitor C65, the other end of the capacitor C64 and the other end of the capacitor C65 are connected to the digital ground, the other end of the resistor R42 is connected to the +3V3 terminal, the 86th, 85th, 84th and 83rd pins of the FPGA chip U10 are respectively connected to the NCUC20_RD_P terminal, the NCUC20_RD_N terminal, and the NCUC20_RD_N terminal of the first optical module. The 8th pin of the FPGA chip U10 is connected to the 5th pin of the JTAG interface P5 through the resistor R46, the 5th pin of the FPGA chip U10 is connected to the 9th pin of the JTAG interface P5 through the resistor R47, and the 6th pin of the FPGA chip U10 is connected to one end of the resistor R44 and one end of the resistor R48 respectively.The other end of the resistor R44 is connected to pin 1 of the JTAG interface P5, the other end of the resistor R48 is connected to the digital ground, pin 7 of the FPGA chip U10 is connected to pin 3 of the JTAG interface P5 through the resistor R45, pins 2 and 3 of the JTAG interface P5 and one end of the capacitor C66 are connected to the digital ground, pin 6 of the JTAG interface P5 and the other end of the capacitor C66 are connected to the +3V3D terminal, pins 88 and 87 of the FPGA chip U10 are connected to the digital ground through the resistor R50 and the resistor R51 respectively, pin 9 of the FPGA chip U10 is connected to the +3V3 terminal through the resistor R52, and the FPGA chip U The 62nd pin of the FPGA chip U10 is connected to the 2nd pin of the flash memory chip U11 through the resistor R56, the 61st pin of the FPGA chip U10 is connected to the 5th pin of the flash memory chip U11 through the resistor R58, the 60th pin of the FPGA chip U10 is connected to the 1st pin of the flash memory chip U11 and one end of the resistor R54 through the resistor R55, the other end of the resistor R54 is connected to the +3V3 terminal, the 59th pin of the FPGA chip U10 is connected to the 6th pin of the flash memory chip U11 and one end of the resistor R59 through the resistor R57, the other end of the resistor R59 is connected to the digital ground, the 4th pin of the flash memory chip U11 is connected to the digital ground, the 8th pin of the flash memory chip U11 is connected to the capacitor C One end of the capacitor C68 is connected to the +3V3 terminal, the other end of the capacitor C68 is connected to the digital ground, the 47th pin of the FPGA chip U10 is connected to the digital ground through the resistor R43, the 1st pin, the 22nd pin, the 45th pin and the 66th pin of the FPGA chip U10 are connected to the +1V terminal, the 78th pin and the 67th pin of the FPGA chip U10 are connected to the +2V5 terminal, the 58th pin, the 44th pin, the 23rd pin and the 3rd pin of the FPGA chip U10 are connected to the +3V3 terminal, the 14th pin and the 50th pin of the FPGA chip U10 are connected to the +1V terminal, the 12th pin and the 64th pin of the FPGA chip U10 are connected to the +3V3 terminal, and the Pin 30 of the FPGA chip U10 and one end of the resistor R49 are connected to pin 37 of the MCU chip U9, the other end of the resistor R49 is connected to the +3V3 terminal, pins 33, 34, 35, 36, 25, 26, 27 and 28 of the FPGA chip U10 are respectively connected to pins 23, 22, 21, 20, 36, 35, 34 and 33 of the MCU chip U9, pin 10 of the FPGA chip U10 is connected to pin 3 of the oscillator Y2 through the resistor R53, pin 2 of the oscillator Y2 is connected to digital ground, pins 1 and 4 of the oscillator Y2 are respectively connected to one end of the capacitor C67 and one end of the magnetic bead FB4,The other end of the capacitor C67 is connected to the digital ground, the other end of the magnetic bead FB4 is connected to the +3V3 terminal, and the 2nd, 21st, 2443rd, 46th, 65th, 68th and 89th pins of the FPGA chip U10 are connected to the digital ground.

[0037] Exemplarily, the model of the FPGA chip U10 is GW2A-LV18QN88C7 / I6.

[0038] Working principle:

[0039] The NCUC adapter board for CAN communication to optical fiber communication provided in this embodiment forwards the parsed CAN message to the FPGA through SPI communication, and the FPGA parses and sends it to the NCUC bus through the optical module based on the NCUC protocol, and can also read the message on the NCUC bus and parse it into a CAN message and send it to the vehicle-mounted device. The circuit structure of the NCUC adapter board for CAN communication to optical fiber communication of the utility model is simple, and the communication rate between vehicle-mounted devices is improved, and the problem that the traditional CAN bus can no longer meet the transmission requirements of large amounts of data is solved, and it is worth promoting.

[0040] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A NCUC adapter board for converting CAN communication to optical fiber communication, characterized in that: include: A CAN communication module (1), a microcontroller MCU (2), a digital processing module (3), an optical module group (4) and a power module (5), wherein the vehicle-mounted device is connected to the NCUC main station via the CAN communication module (1), the microcontroller MCU (2), the digital processing module (3) and the optical module group (4) in sequence, and the power module (5) is connected to the CAN communication module (1), the microcontroller MCU (2), the digital processing module (3) and the optical module group (4) respectively; The vehicle-mounted device sends a first CAN message to the CAN communication module (1) via a CAN bus; the CAN communication module (1) forwards the first CAN message to the microcontroller MCU (2); the microcontroller MCU (2) converts the first CAN message into an SPI message and writes the SPI message into a register of the digital processing module (3), so that the NCUC master station reads the SPI message in the register via the optical module group (4); The NCUC master station writes the NCUC data frame into the register of the digital processing module (3) through the optical module group (4); the microcontroller MCU (2) obtains the NCUC data frame in the register by sending an SPI query message and an SPI register read message to the digital processing module (3), converts the NCUC data frame into a second CAN message, and forwards the CAN message to the vehicle-mounted device.

2. The NCUC adapter board for CAN communication to optical fiber communication according to claim 1, characterized in that: The power module (5) comprises: a connector P1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a resistor R12, a diode D1, a diode D2, a diode D3, a transient suppression diode TVS1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, a capacitor C10, a capacitor C11, a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C16, a capacitor C17, a capacitor C18, a capacitor C19, a capacitor C20, a voltage stabilizer U1, a voltage stabilizer U2, a voltage stabilizer U3, a voltage stabilizer U4, VBAT+ terminal, +24V terminal, +24V_OUT terminal, +5VD terminal, +3V3D terminal, +1VD terminal and +2V5D terminal, pin 3 of the connector P1 is connected to the VBAT+ terminal, pin 2 of the connector P1 and one end of the resistor R1 are connected to the negative electrode of the power supply, the other end of the resistor R1 is respectively connected to one end of the transient suppression diode TVS1, the negative electrode of the capacitor C3, one end of the capacitor C4, the negative electrode of the capacitor C1 and one end of the capacitor C2 are connected to the digital ground, the other end of the transient suppression diode TVS1 and the positive electrode of the diode D1 are connected to the VBAT+ terminal, the negative electrode of the diode D1 and the capacitor C3 are connected to the digital ground, the positive electrode of the diode D1 and the positive electrode of the capacitor C2 are connected to the digital ground, the positive electrode of the diode D1 and the positive electrode of the capacitor C3 are connected to the digital ground, the positive electrode of the diode D1 and the positive electrode of the capacitor C2 are connected to the digital ground, the positive electrode of the diode D1 and the positive electrode of the capacitor C3 are connected to the digital ground, the positive electrode of the diode D1 and the positive electrode of the capacitor C2 are connected to the digital ground, the positive electrode of the diode D1 and the positive electrode of the capacitor C2 are connected to the digital ground, the positive electrode of the capacitor C3 and the negative ... capacitor C3 and the negative electrode of the capacitor C3 are connected to the digital ground, the positive electrode of the diode D1 and the positive electrode of the capacitor C2 are connected to the digital ground, the positive electrode of the diode D1 and the positive electrode of the capacitor C2 are connected The positive electrode of the capacitor C13, the other end of the capacitor C14, and one end of the inductor L1 are connected to the +24V terminal, the other end of the inductor L1, the positive electrode of the capacitor C1 and the other end of the capacitor C2 are connected to the +24V_OUT terminal, the +24V terminal is connected to the positive electrode of the capacitor C13, one end of the capacitor C14, one end of the resistor R4 and the 2nd pin of the voltage regulator U1 through the inductor L3, the negative electrode of the capacitor C13, the other end of the capacitor C14, one end of the resistor R7, one end of the resistor R8, one end of the resistor R9 and the 0th pin of the voltage regulator U1 are connected to the digital ground, the other end of the resistor R4 and the other end of the resistor R7 are connected to the 3rd pin of the voltage regulator U1 The other end of the resistor R8 is connected to the 4th pin of the voltage regulator U1, the other end of the resistor R9 and the 5th pin of the voltage regulator U1 are connected to the +5VD terminal through the resistor R6, the 1st pin of the voltage regulator U1 is respectively connected to the 8th pin of the voltage regulator U1, the cathode of the diode D2 and one end of the inductor L2 through the capacitor C5, the anode of the diode D2 is respectively connected to the 7th pin of the voltage regulator U1, one end of the capacitor C6, one end of the capacitor C7, one end of the capacitor C8, one end of the capacitor C11, one end of the capacitor C12, the cathode of the diode D3, the 1st pin of the voltage regulator U2, one end of the capacitor C9 and one end of the capacitor C10 are connected to the digital ground,The other end of the inductor L2 is connected to the other end of the capacitor C6, the other end of the capacitor C7, the other end of the capacitor C8, one end of the resistor R3, one end of the resistor R2 and the +5VD terminal respectively, the 6th pin of the voltage regulator U1 is connected to one end of the resistor R5 and the other end of the capacitor C12 respectively, the other end of the resistor R5 is connected to the other end of the capacitor C11, the other end of the resistor R3 is connected to the positive electrode of the diode D3, the other end of the resistor R2 is connected to the 3rd pin of the voltage regulator U2, the 2nd pin and the 4th pin of the voltage regulator U2 are connected to the other end of the capacitor C9, the other end of the capacitor C10 and the +3V3D terminal, the +5VD terminal is connected to one end of the capacitor C21, one end of the capacitor C22, the 5th pin and the 8th pin of the voltage regulator U4 respectively through the resistor R10, the other end of the capacitor C21 and the other end of the capacitor C22 are connected to the digital ground respectively, Pins 4, 6 and 7 of the voltage regulator U4 are connected to the digital ground, pins 3 and 9 of the voltage regulator U4 are connected to the digital ground, pin 1 of the voltage regulator U4 is respectively connected to one end of the resistor R11, one end of the capacitor C19, one end of the capacitor C20 and the +1VD terminal, the other end of the resistor R11 and pin 2 of the voltage regulator U4 are connected to the digital ground through the resistor R12, the other end of the capacitor C19 and the other end of the capacitor C20 are connected to the digital ground, and the The terminal +5VD is connected to one end of the capacitor C15, one end of the capacitor C16, and pins 1 and 3 of the voltage regulator U3 respectively. The other end of the capacitor C15, the other end of the capacitor C16, and pin 2 of the voltage regulator U3 are connected to the digital ground. Pin 5 of the voltage regulator U3 is connected to one end of the capacitor C17, one end of the capacitor C18, and the +2V5D terminal respectively. The other end of the capacitor C17 and the other end of the capacitor C18 are connected to the digital ground.

3. The NCUC adapter board for CAN communication to optical fiber communication according to claim 2, characterized in that: The CAN communication module (1) comprises: a CAN bus transceiver chip U5, a capacitor C23, a capacitor C24, a capacitor C25, a capacitor C26, a resistor R13, a resistor R14, a resistor R15, a filter L4, an electrostatic protection diode U6, a connector P2, a STB terminal, a CAN_TX terminal and a CAN_RX terminal, wherein the 8th, 1st and 4th pins of the CAN bus transceiver chip U5 are respectively connected to the STB terminal, the CAN_TX terminal and the CAN_RX terminal, the 2nd pin of the CAN bus transceiver chip U5 is connected to a digital ground, the 3rd pin of the CAN bus transceiver chip U5 and one end of the capacitor C23 are connected to the +5VD terminal, the other end of the capacitor C23 is connected to the digital ground, the 5th pin of the CAN bus transceiver chip U5 is respectively connected to one end of the capacitor C25 and one end of the resistor R15, the other end of the capacitor C25 is connected to the digital ground, the other end of the resistor R15 is connected to the +3 The CAN bus transceiver chip U5 is connected to the V3D terminal, the 6th pin of the CAN bus transceiver chip U5 is respectively connected to one end of the resistor R14 and the 2nd pin of the filter L4, the 7th pin of the CAN bus transceiver chip U5 is respectively connected to the other end of the resistor R14 and the 1st pin of the filter L4, the 3rd pin of the filter L4 is respectively connected to one end of the capacitor C24, the 2nd pin of the electrostatic protection diode U6 and the 6th pin of the connector P2, the other end of the capacitor C24 is connected to the digital ground, the 4th pin of the filter L4 is respectively connected to one end of the capacitor C26, the 1st pin of the electrostatic protection diode U6 and the 5th pin of the connector, the other end of the capacitor C26 is connected to the digital ground, the 3rd pin of the electrostatic protection diode U6 is connected to the digital ground, the 4th pin of the connector P2 and one end of the resistor R13 are connected to the protection ground together, the 2nd pin of the connector P2 and the other end of the resistor R13 are connected to the negative pole of the power supply, and the 1st pin of the connector P2 is connected to the +24V_OUT terminal.

4. The NCUC adapter board for converting CAN communication to optical fiber communication according to claim 3, characterized in that: The optical module group (4) comprises at least two groups of optical modules, namely a first optical module and a second optical module; Each optical module includes a fiber optic transceiver U7, a capacitor C27, a capacitor C28, a capacitor C29, a capacitor C33, a capacitor C34, a capacitor C35, an inductor L5, an inductor L7, a resistor R16, a resistor R18, a resistor R20, a resistor R22, a resistor R24, a resistor R26, a resistor R28, a NCUC20_TD_N terminal, a NCUC20_TD_P terminal, a NCUC20_RD_N terminal and a NCUC20_RD_P terminal. Pins 1, 8 and 12 of the fiber optic transceiver U7 are connected to the digital ground respectively, pins 4 and 6 of the fiber optic transceiver U7 are connected to the digital ground together, pin 5 of the fiber optic transceiver U7 is connected to one end of the capacitor C27, one end of the capacitor C28 and one end of the inductor L5 respectively, the other end of the capacitor C27 and the other end of the capacitor C28 are connected to the digital ground together, the other end of the inductor L5 and the +3V3D terminal are connected to the digital ground through the capacitor C29, and pin 9 of the fiber optic transceiver U7 is connected to the digital ground through the capacitor C29. The resistor R22 is connected to the +3V3D terminal, the 7th pin of the optical fiber transceiver U7 is connected to the capacitor C33, the capacitor C34 and one end of the inductor L7 respectively, the other end of the capacitor C33 and the other end of the capacitor C34 are connected to the digital ground, the other end of the inductor L7 and the +3V3D terminal are connected to the digital ground through the capacitor C35, the 2nd pin of the optical fiber transceiver U7 and one end of the resistor R18 are connected to the NCUC20_ through the resistor R16 The 3rd pin of the optical fiber transceiver U7 and the other end of the resistor R18 are connected to the NCUC20_TD_P terminal through the resistor R20, the 10th pin of the optical fiber transceiver U7 is connected to one end of the resistor R26 and the NCUC20_RD_N terminal through the resistor R24, and the 11th pin of the optical fiber transceiver U7 is connected to the other end of the resistor R26 and the NCUC20_RD_P terminal through the resistor R28.

5. The NCUC adapter board for converting CAN communication to optical fiber communication according to claim 4, characterized in that: The microcontroller MCU (2) comprises an MCU chip U9, a capacitor C39, a capacitor C40, a capacitor C41, a capacitor C42, a capacitor C43, a capacitor C44, a capacitor C45, a capacitor C46, ​​a capacitor C47, a capacitor C48, a resistor R30, a resistor R31, a resistor R32, a resistor R33, a resistor R34, a resistor R35, a resistor R36, a resistor R41, a crystal oscillator Y1, a diode D4, a diode D5, a diode D6 and a connector P3, the +3V3D terminal is connected to a digital ground through the capacitor C40, the capacitor C41, the capacitor C42, the capacitor C43, the capacitor C44 and the capacitor C45 respectively, the MCU chip Pin 1, pin 19, pin 32, pin 48 and pin 64 of the chip U9 are connected to the +3V3D terminal respectively, pin 12, pin 18, pin 31 and pin 63 of the MCU chip U9 are connected to the digital ground respectively, pin 5 of the MCU chip U9, one end of the resistor R31 and pin 1 of the crystal oscillator Y1 are connected to the digital ground through the capacitor C39, pin 6 of the MCU chip U9, the other end of the resistor R31 and pin 3 of the crystal oscillator Y1 are connected to the digital ground through the capacitor C46, ​​pin 4 and pin 2 of the crystal oscillator Y1 are connected to the digital ground, and pin 7 of the MCU chip U9 is connected to one end of the resistor R34, the positive electrode of the diode D6 and one end of the capacitor C47 respectively. , the other end of the resistor R34 and the cathode of the diode D6 are connected to the +3V3D terminal, the other end of the capacitor C47 is connected to the digital ground, the 13th pin of the MCU chip U9 and one end of the capacitor C48 are connected to the +3V3D terminal through the resistor R36, the other end of the capacitor C48 is grounded, the 28th pin of the MCU chip U9 is connected to the digital ground through the resistor R41, the 60th pin of the MCU chip U9 is connected to the digital ground through the resistor R35, the 62nd pin, the 61st pin and the 59th pin of the MCU chip U9 are respectively connected to the CAN_TX terminal, the CAN_RX terminal and the STB terminal, and the MCU chip U Pin 56 of MCU chip U9 is connected to the cathode of the diode D4, the anode of the diode D4 is connected to one end of the resistor R32 and the +3V3D terminal through the resistor R30, pin 55 of the MCU chip U9 is connected to the cathode of the diode D5, the anode of the diode D5 is connected to the other end of the resistor R32, pin 49 of the MCU chip U9 is connected to pin 3 of the connector P3, pin 46 of the MCU chip U9 and one end of the resistor R33 are connected to pin 2 of the connector P3, the other end of the resistor R33 and pin 1 of the connector P3 are connected to the +3V3D terminal, and pin 4 of the connector P3 is connected to the digital ground.

6. The NCUC adapter board for converting CAN communication to optical fiber communication according to claim 5, characterized in that: The digital processing module (3) comprises a capacitor C49, a capacitor C50, a capacitor C51, a capacitor C52, a capacitor C53, a capacitor C54, a capacitor C55, a capacitor C56, a capacitor C57, a capacitor C58, a capacitor C59, a capacitor C60, a capacitor C61, a capacitor C62, a capacitor C63, a capacitor C64, a capacitor C65, a capacitor C66, a capacitor C67, a resistor R42, a resistor R43, a resistor R44, a resistor R45, a resistor R46, a resistor R47, a resistor R48, a resistor R49, a resistor R50, a resistor R51, a resistor R52, a resistor R53, a magnetic bead FB1, a magnetic bead FB2, a magnetic bead FB3, a magnetic bead FB4, an FPGA chip U10, a JTAG interface P5, and an oscillator. Y2, +1V terminal, +3V3 terminal and +2V5 terminal, the +1VD terminal is connected to the +1V terminal through the magnetic bead FB1, the +1V terminal is connected to the digital ground through the capacitor C49, the capacitor C50, the capacitor C51, the capacitor C52, the capacitor C53, the capacitor C54, the capacitor C55 and the capacitor C56 respectively, the +3V3D terminal is connected to the +3V3 terminal through the magnetic bead FB2, the +3V3 terminal is connected to the digital ground through the capacitor C57, the capacitor C58, the capacitor C59, the capacitor C60, the capacitor C61, the capacitor C62 and the capacitor C63 respectively, the +2V The 5D terminal is connected to the +2V5 terminal through the magnetic bead FB3, the +2V5 terminal is connected to one end of the resistor R42, one end of the capacitor C64 and one end of the capacitor C65, the other end of the capacitor C64 and the other end of the capacitor C65 are connected to the digital ground, the other end of the resistor R42 is connected to the +3V3 terminal, the 86th, 85th, 84th and 83rd pins of the FPGA chip U10 are respectively connected to the NCUC20_RD_P terminal, NCUC20_RD_N terminal, NCUC20_TD_P terminal and NCUC20_TD_N terminal of the first optical module, the 77th and 76th pins of the FPGA chip U10 are respectively connected to the NCUC20_RD_P terminal, NCUC20_RD_N terminal, NCUC20_TD_P terminal and NCUC20_TD_N terminal of the first optical module, and the 77th and 76th pins of the FPGA chip U10 are respectively connected to the NCUC20_RD_P terminal, NCUC20_RD_N terminal, NCUC20_TD_P terminal and NCUC20_TD_N terminal of the first optical module. , 73 and 72 are respectively connected to the NCUC20_RD_P terminal, NCUC20_RD_N terminal, NCUC20_TD_P terminal and NCUC20_TD_N terminal of the second optical module, the 8th pin of the FPGA chip U10 is connected to the 5th pin of the JTAG interface P5 through the resistor R46, the 5th pin of the FPGA chip U10 is connected to the 9th pin of the JTAG interface P5 through the resistor R47, the 6th pin of the FPGA chip U10 is respectively connected to one end of the resistor R44 and one end of the resistor R48, the other end of the resistor R44 is connected to the 1st pin of the JTAG interface P5, and the other end of the resistor R48 is connected to the digital ground,Pin 7 of the FPGA chip U10 is connected to pin 3 of the JTAG interface P5 through the resistor R45, pins 2 and 3 of the JTAG interface P5 and one end of the capacitor C66 are connected to the digital ground, pin 6 of the JTAG interface P5 and the other end of the capacitor C66 are connected to the +3V3D terminal, pins 88 and 87 of the FPGA chip U10 are connected to the digital ground through the resistor R50 and the resistor R51 respectively, and pin 9 of the FPGA chip U10 is connected to the + The FPGA chip U10 is connected to the +3V3 terminal, the 47th pin of the FPGA chip U10 is connected to the digital ground through the resistor R43, the 1st pin, the 22nd pin, the 45th pin and the 66th pin of the FPGA chip U10 are connected to the +1V terminal, the 78th pin and the 67th pin of the FPGA chip U10 are connected to the +2V5 terminal, the 58th pin, the 44th pin, the 23rd pin and the 3rd pin of the FPGA chip U10 are connected to the +3V3 terminal, the 14th pin and the 50th pin of the FPGA chip U10 are connected to the +1V terminal, Pins 12 and 64 of the FPGA chip U10 are connected to the +3V3 terminal together, pin 30 of the FPGA chip U10 and one end of the resistor R49 are connected to pin 37 of the MCU chip U9, the other end of the resistor R49 is connected to the +3V3 terminal, and pins 33, 34, 35, 36, 25, 26, 27 and 28 of the FPGA chip U10 are connected to pins 23, 22, 21, 20, 36, 35, 34 and 36 of the MCU chip U9 respectively. Pin 33 is connected, Pin 10 of the FPGA chip U10 is connected to Pin 3 of the oscillator Y2 through the resistor R53, Pin 2 of the oscillator Y2 is connected to digital ground, Pin 1 and Pin 4 of the oscillator Y2 are respectively connected to one end of the capacitor C67 and one end of the magnetic bead FB4, the other end of the capacitor C67 is connected to digital ground, the other end of the magnetic bead FB4 is connected to the +3V3 terminal, Pin 2, Pin 21, Pin 2443, Pin 46, Pin 65, Pin 68 and Pin 89 of the FPGA chip U10 are connected to digital ground.

7. The NCUC adapter board for converting CAN communication to optical fiber communication according to claim 5, characterized in that: The model of the MCU chip U9 is GD32F303RGT6.

8. The NCUC adapter board for converting CAN communication to optical fiber communication according to claim 6, characterized in that: The model of the FPGA chip U10 is GW2A-LV18QN88C7 / I6.