Distributed control system for new energy automobile

By simulating attacks by sending messages at different rates, error frames, etc., it detects and protects against DOS attacks in new energy vehicle CAN networks, solving the problem of difficulty in improving network security and stability in existing technologies, and realizing the protection against malicious attacks. timely detection and protection.

CN118713850APending Publication Date: 2024-09-27CAS NEW ENERGY TECH CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410556271.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively improve the security and stability of new energy vehicle CAN networks, especially when facing malicious attacks, it is difficult to detect and avoid risks in a timely manner.

Method used

By sending messages with different rates, error frames, non-standard frames, etc., simulate the attack network, analyze the message cycle and data segment content sent by the ECU, determine the network status, and verify whether the messages are normal after the attack is removed, to achieve Detection and protection of DOS attacks.

Benefits of technology

Effectively detects and protects against DOS attacks in CAN networks, improves network security and stability of new energy vehicles, and ensures that the system can quickly resume normal operation after being attacked.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118713850A
    Figure CN118713850A
Patent Text Reader

Abstract

The invention provides a distributed control system for a new energy automobile, messages with different rates are sent to attack a network, and test control steps are as follows: step A, a whole automobile is powered on, test equipment is accessed, a CAN signal transceiver unit is used to receive whole automobile messages, and a communication rate used on a bus at the moment is judged; b, a CAN signal transceiving unit is used for sending a communication rate sending message different from that of a network segment; step C, analyzing whether the message period and the data segment content sent by the ECU in the state of the network at the moment are the same as those before the attack or not through a CAN bus anomaly analysis unit; and if not, judging whether the property of the numerical value is an invariable numerical value or a variable numerical value and whether the change rule is the same or not. According to the method, the ECU is abnormal under the conditions of sending error frames, abnormal frames, non-standard frames and the like, so that the whole vehicle is abnormal, and the aim of attacking is fulfilled.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of application number 2023107958256, application date June 30, 2023, and invention name "Distributed drive new energy vehicle control method based on multi-module division". Technical Field

[0002] The present invention relates to the technical field of new energy vehicle testing, and in particular to a distributed control system for new energy vehicles. Background Art

[0003] CAN is a serial communication protocol bus used for real-time applications and effectively supports distributed control systems. It is one of the most widely used field buses in the world. The bus has high real-time performance and strong anti-interference ability, and is suitable for automotive and industrial control applications.

[0004] With the development of Internet of Vehicles technology, the security of vehicle-mounted networks has received more and more attention. The security of vehicle-mounted network systems is related to the safety of users' lives and property. If they are attacked maliciously, the entire system network will inevitably fail to work properly, causing corporate customers to suffer heavy losses. In order to improve the security and stability of the CAN network, it is necessary to discover problems through various network attack methods and take timely measures to avoid risks. Summary of the invention

[0005] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a distributed control system for new energy vehicles.

[0006] In order to achieve the above-mentioned object of the present invention, the present invention provides a distributed control system for new energy vehicles, sending messages with different rates to attack the network, and the test control steps are as follows:

[0007] Step A: Power on the vehicle, connect to the test equipment, use the CAN signal transceiver unit to receive the vehicle message, and determine the communication rate used on the bus at this time;

[0008] Step B: Use the CAN signal transceiver unit to send a message at a communication rate different from the network segment;

[0009] Step C: Analyze the network status at this time through the CAN bus abnormality analysis unit to see whether the message cycle and data segment content sent by the ECU are the same as before the attack; if different, determine whether the value is a constant value or a changing value, and whether the changing pattern is the same;

[0010] Step D: Stop the DOS attack, use the CAN signal transceiver unit to receive the vehicle message, and use the CAN bus anomaly analysis unit to check whether the message sent by the ECU is normal after the attack is removed.

[0011] The present invention also discloses a distributed control system for new energy vehicles, using a CAN signal transceiver unit to send an error frame, and the test control steps are as follows:

[0012] Step A: Connect the test equipment and use the CAN signal transceiver unit to receive vehicle messages. The vehicle is powered on and the messages sent normally by the vehicle ECU are collected.

[0013] Step B: Use the CAN signal transceiver unit to send error frames, and the number of error frames gradually increases until the CAN bus abnormality analysis unit analyzes whether the message cycle and data segment content sent by the network status ECU at this time are different from those before the attack; or the attack time reaches the set value, then stop the attack;

[0014] Step C: Stop the DOS attack, use the CAN signal transceiver unit to receive the vehicle message, and use the CAN bus abnormality analysis unit to analyze whether the message sent by the ECU is normal after the attack is removed.

[0015] In summary, due to the adoption of the above technical solution, the present invention causes the ECU to behave abnormally under these circumstances by sending error frames, abnormal frames, non-standard frames, etc., thereby causing the entire vehicle to behave abnormally, thereby achieving the purpose of the attack.

[0016] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0018] Figure 1 It is a schematic block diagram of the process of the present invention.

[0019] Figure 2 It is a schematic block diagram of the connection of the present invention.

[0020] Figure 3 It is a circuit connection diagram of the USB data transmission module of the present invention.

[0021] Figure 4 It is a circuit connection diagram of a CAN data transmission module of the present invention.

[0022] Figure 5 It is a circuit connection diagram of the RS232 data transmission module of the present invention.

[0023] Figure 6 It is a schematic diagram of the circuit connection of the data switching module of the present invention.

[0024] Figure 7It is a schematic diagram of the circuit connection of the key group module of the present invention.

[0025] Figure 8 It is a schematic diagram of the circuit connection of the indicator light group module of the present invention.

[0026] Fig. 9 It is a circuit connection diagram of the test module of the present invention.

[0027] Fig.10 It is a schematic diagram of the connection of the microcontroller circuit of the present invention. DETAILED DESCRIPTION

[0028] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0029] The present invention discloses a distributed control system for new energy vehicles, which sends messages with different rates to attack the network. The test control steps are as follows:

[0030] Step A: Power on the vehicle, connect to the test equipment, use the CAN signal transceiver unit to receive the vehicle message, and determine the communication rate used on the bus at this time;

[0031] Step B: Use the CAN signal transceiver unit to send a message at a communication rate different from the network segment;

[0032] Step C: Analyze the network status at this time through the CAN bus abnormality analysis unit to see whether the message cycle and data segment content sent by the ECU are the same as before the attack; if different, determine whether the value is a constant value or a changing value, and whether the changing pattern is the same;

[0033] Step D: Stop the DOS attack, use the CAN signal transceiver unit to receive the vehicle message, and use the CAN bus anomaly analysis unit to check whether the message sent by the ECU is normal after the attack is removed.

[0034] The present invention also discloses a distributed control system for new energy vehicles, using a CAN signal transceiver unit to send an error frame, such as Figure 1 As shown, the test control steps are as follows:

[0035] Step A: Connect the test equipment and use the CAN signal transceiver unit to receive vehicle messages. The vehicle is powered on and the messages sent normally by the vehicle ECU are collected.

[0036] Step B: Use the CAN signal transceiver unit to send error frames, and the number of error frames gradually increases until the CAN bus abnormality analysis unit analyzes whether the message cycle and data segment content sent by the network status ECU at this time are different from those before the attack; or the attack time reaches the set value, then stop the attack;

[0037] Step C: Stop the DOS attack, use the CAN signal transceiver unit to receive the vehicle message, and use the CAN bus abnormality analysis unit to analyze whether the message sent by the ECU is normal after the attack is removed.

[0038] The present invention also discloses a distributed control system for new energy vehicles, which creates a DOS attack by sending non-standard frames. The test control steps are as follows:

[0039] Step A: Connect the test equipment and use the CAN signal transceiver unit to receive vehicle messages. The vehicle is powered on. Collect the messages normally sent by the vehicle ECU at this time and determine the frame type used on the bus at this time. The frame type includes standard frame and / or extended frame.

[0040] Step B: The vehicle status remains unchanged, and the CAN signal transceiver unit is used to periodically send data frames of other types that are not of this network segment frame type;

[0041] Step C: Analyze the message cycle and data segment content sent by the ECU at this time through the CAN bus abnormality analysis unit to see whether they are the same as before the attack; if they are different, determine whether the value is a constant value or a changing value, and whether the changing pattern is the same;

[0042] Step D: Stop the DOS attack, use the CAN signal transceiver unit to receive the vehicle message, and use the CAN bus abnormality analysis unit to analyze whether the message sent by the ECU is normal after the attack is removed.

[0043] The present invention also discloses a distributed control system for new energy vehicles, using a CAN signal transceiver unit to send a message with a data length different from a normal message of the whole vehicle, and the test control steps are as follows:

[0044] Step A: Connect the test equipment and use the CAN signal transceiver unit to receive vehicle messages. The vehicle is powered on and the messages sent normally by the vehicle ECU are collected.

[0045] Step B: Use the CAN bus signal analysis unit to analyze the length of each message, and then use the CAN signal transceiver unit to send an abnormal message that is different from the normal message length;

[0046] Step C: Use the CAN bus abnormality analysis unit to analyze whether the message cycle and data segment content sent by the network status ECU at this time are different from those before the attack; or if the attack time reaches the set value, stop the attack;

[0047] Step D: Stop the DOS attack, use the CAN signal transceiver unit to receive the vehicle message, and use the CAN bus abnormality analysis unit to analyze whether the message sent by the ECU is normal after the attack is removed.

[0048] In a preferred embodiment of the present invention, while executing the above test control steps, the following operations are also performed:

[0049] Observe the current state of the vehicle under test and determine whether the current state obtained is consistent with the expected state. If so, no further determination is made. Otherwise, it is determined that the state of the CAN vehicle under test has changed due to the aggressive test.

[0050] The present invention also discloses a test platform for a distributed control system of a new energy vehicle, the test platform comprising a vehicle to be diagnosed and a test device for a distributed control system of a new energy vehicle;

[0051] The test equipment for the distributed control system of new energy vehicles is connected to the vehicle to be diagnosed through the CAN bus; the USB interface JP4 is connected to the +5V power connector, and the +5V power is input to the USB interface JP4.

[0052] It also includes a CAN signal transceiver unit and a CAN bus abnormality analysis unit;

[0053] Among them, the CAN signal transceiver unit is used to send the designed attack-related messages;

[0054] The CAN bus abnormality analysis unit is used to analyze and locate abnormalities.

[0055] In a preferred embodiment of the present invention, the test equipment for the distributed control system of the new energy vehicle comprises a test box, in which a PCB diagnostic circuit board fixing mounting seat for fixing and mounting the PCB diagnostic circuit board is arranged, and the PCB diagnostic circuit board is fixedly mounted on the PCB diagnostic circuit board fixing mounting seat, such as Figures 2 to 10 As shown, a microcontroller U1, a USB data transmission module, a CAN data transmission module, an RS232 data transmission module, a button group module and an indicator light group module are arranged on the PCB diagnostic circuit board;

[0056] A touch screen fixed mounting seat for fixedly mounting the touch screen, a button group mounting seat for fixedly mounting the button group, and an indicator light group mounting seat for fixedly mounting the indicator light group are arranged on the front of the test box. The touch screen is fixedly mounted on the touch screen fixed mounting seat, the button group is fixedly mounted on the button group mounting seat, and the indicator light group is fixedly mounted on the indicator light group mounting seat; a USB interface mounting seat for fixedly mounting the USB interface JP4 is arranged on the left side of the test box, and the USB interface JP4 is fixedly mounted on the USB interface mounting seat; a CAN interface mounting seat for fixedly mounting the CAN interface JP1 and the CAN interface JP2 is arranged on the right side of the test box, and the CAN interface JP1 and the CAN interface JP2 are fixedly mounted on the CAN interface mounting seat; an RS232 interface mounting seat for fixedly mounting the RS232 interface JP6 is arranged on the front side of the test box, and the RS232 interface JP6 is fixedly mounted on the RS232 interface mounting seat; a test interface mounting seat for fixedly mounting the test interface JP1 is arranged on the rear side of the test box, and the test interface JP1 is fixedly mounted on the test interface mounting seat;

[0057] The USB data transmission end of the microcontroller U1 is connected to the data transmission end of the USB data transmission module, the CAN data transmission end of the microcontroller U1 is connected to the data transmission end of the CAN data transmission module, the RS232 data transmission end of the microcontroller U1 is connected to the data transmission end of the RS232 data transmission module, the key group end of the microcontroller U1 is connected to the key end of the key group module, the indicator light group end of the microcontroller U1 is connected to the indicator end of the indicator light group module; the touch display end of the microcontroller U1 is connected to the touch display end of the touch display screen.

[0058] In a preferred embodiment of the present invention, the USB data transmission module includes: the power output end of the USB interface JP4 is respectively connected to the first end of the fuse FUSE1 and the first end of the capacitor C23, the power output end of the USB interface JP4 outputs the power USB_VCC, the second end of the fuse FUSE1 is respectively connected to the first end of the capacitor C27 and the power input end IN of the buck chip U2, the second end of the fuse FUSE1 outputs the power +5V, the second end of the capacitor C27 is connected to the power ground, the power ground end GND of the buck chip U2 is connected to the power ground, the power output end of the buck chip U2 is respectively connected to the first end of the capacitor C26, the first end of the capacitor C28 and the first end of the fuse FUSE2, the second end of the fuse FUSE2 outputs the power 3V3, the first end of the capacitor C26 and the first end of the capacitor C28 are respectively connected to the power ground;

[0059] The power output ground terminal of the USB interface JP4 and the second end of the capacitor C23 are respectively connected to the power ground, the data USB negative terminal of the USB interface JP4 is connected to the first end of the resistor R6, the second end of the resistor R6 is respectively connected to the first end of the capacitor C24 and the USB data negative terminal DDM of the microcontroller U1, the data USB positive terminal of the USB interface JP4 is respectively connected to the first end of the resistor R5 and the first end of the resistor R7, the second end of the resistor R7 is respectively connected to the first end of the capacitor C25 and the USB data positive terminal DDP of the microcontroller U1, the second end of the capacitor C24 and the second end of the capacitor C25 are respectively connected to the power ground, the second end of the resistor R5 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is respectively connected to the power supply 3V3 and the first end of the resistor R16, the second end of the resistor R16 and the second end of the resistor R17 are respectively connected to the USB control enable terminal PA8 / RTSI / SPI0_NPCS3 of the microcontroller U1. Among them, the resistance value of resistor R16 is 47K, the resistance value of resistor R17 is 1.2K, the model of transistor Q1 is 8550S, the resistance value of resistor R5 is 1.5K, the resistance values ​​of resistors R6 and R7 are 25Ω, the capacitance values ​​of capacitors C24 and C25 are 15pF, the capacitance value of capacitor C23 is 100nF, the capacitance value of capacitors C27 and C28 is 47uF, the capacitance value of capacitor C26 is 0.1F, and the model of step-down chip U2 is REG1117-3.3.

[0060] In a preferred embodiment of the present invention, the CAN data transmission module includes: a data receiving terminal RXD of the CAN transceiver U7 is respectively connected to the first end of the resistor R3 and the CAN data transmitting terminal PA19 / CANRX of the microcontroller U1, and a data transmitting terminal TXD of the CAN transceiver U7 is connected to the CAN data receiving terminal PA20 / CANTX of the microcontroller U1;

[0061] The power supply terminal VCC of the CAN transceiver U7 is respectively connected to the power supply +5V, the first end of the capacitor C21 and the first end of the capacitor C22, the second end of the capacitor C21 and the second end of the capacitor C22 are respectively connected to the power ground, the ground terminal GND of the CAN transceiver U7 is connected to the power ground, and the mode terminal RS of the CAN transceiver U7 is connected to the CAN mode terminal PA18 / SPI0_SPCK of the microcontroller U1;

[0062] The CAN data high end CANH of the CAN transceiver U7 is connected to the data high end of the CAN interface JP1 and the data high end of the CAN interface JP2 respectively, the CAN data low end CANL of the CAN transceiver U7 is connected to the data low end of the CAN interface JP2 and the first end of the adjustable terminal resistor R4 respectively, and the second end of the adjustable terminal resistor R4 is connected to the data low end of the CAN interface JP1. Among them, the resistance value of the resistor R3 is 1.5K, the model of the CAN transceiver U7 is TJA1050, the capacitor C21 is a 104 capacitor, the capacitance value of the capacitor C22 is 10uF, and the resistance value of the adjustable terminal resistor R4 is 120Ω.

[0063] In a preferred embodiment of the present invention, the RS232 data transmission module includes: the charge pump terminal V+ of the RS232 chip U3 is connected to the first end of the capacitor C30, the second end of the capacitor C30 is connected to the power ground, the voltage doubling capacitor positive terminal C1+ of the RS232 chip U3 is connected to the first end of the capacitor C32, the voltage doubling capacitor negative terminal C1- of the RS232 chip U3 is connected to the second end of the capacitor C32, the transmitter input terminal T1in of the RS232 chip U3 is connected to the data terminal PA1 / TXD0 of the microcontroller U1, The receiver output terminal R1out of the RS232 chip U3 is connected to the data terminal PA0 / RXD0 of the microcontroller U1, the transmitter input terminal T2in of the RS232 chip U3 is connected to the data terminal PA28 / DTXD of the microcontroller U1, the receiver output terminal R2out of the RS232 chip U3 is connected to the data terminal PA27 / DRXD / PCK3 of the microcontroller U1, the charge pump terminal V- of the RS232 chip U3 is connected to the first terminal of the capacitor C33, and the second terminal of the capacitor C33 is connected to the power ground;

[0064] The power supply terminal VCC of the RS232 chip U3 is connected to the power supply 3V3 and the first end of the capacitor C29 respectively, the second end of the capacitor C29 is connected to the power ground, the negative end C2- of the voltage doubling capacitor of the RS232 chip U3 is connected to the first end of the capacitor C31, the positive end C2+ of the voltage doubling capacitor of the RS232 chip U3 is connected to the second end of the capacitor C31, the transmitter output terminal T1out of the RS232 chip U3 is connected to the data receiving end of the RS232 interface JP6, the receiver input terminal R1out of the RS232 chip U3 is connected to the data sending end of the RS232 interface JP6, the ground end of the RS232 interface JP6 is connected to the power ground, the transmitter output terminal T2out of the RS232 chip U3 is connected to the data receiving end of the RS232 interface JP7, the receiver input terminal R2out of the RS232 chip U3 is connected to the data sending end of the RS232 interface JP7, and the ground end of the RS232 interface JP7 is connected to the power ground; the ground terminal GND of the RS232 chip U3 is connected to the power ground. Among them, the capacitance of capacitor C29, capacitor C30, capacitor C31, capacitor C32, and capacitor C33 is 120nF, and the model of RS232 chip U3 is MAX3232.

[0065] In a preferred embodiment of the present invention, a data switching module is further included, and the data switching module includes: a data output terminal of the data switching chip U6 is connected to a data receiving terminal PA5 / RXD1 of the microcontroller U1, a data input terminal of the data switching chip U6 is connected to a data transmitting terminal PA6 / TXD1 of the microcontroller U1, and a ground terminal GND of the data switching chip U6 is connected to a power ground;

[0066] The power supply end of the data switching chip U6 is respectively connected to the power supply +5V and the first end of the capacitor C34, and the second end of the capacitor C34 is connected to the power ground; the receiver data positive end of the data switching chip U6 is respectively connected to the first end of the resistor R9, the input end VIN2 of the transient suppressor U4 and the first positive end of the data of the interface JP5, and the second end of the resistor R9 is connected to the power ground; the receiver data negative end of the data switching chip U6 is respectively connected to the first end of the resistor R8, the input end VIN1 of the transient suppressor U4 and the first negative end of the data of the interface JP5, the second end of the resistor R8 is connected to the power ground, and the ground end of the transient suppressor U4 is connected to the power ground;

[0067] The data negative terminal of the transmitter of the data switching chip U6 is connected to the input terminal VIN1 of the transient suppressor U5 and the second negative terminal of the data of the interface JP5, respectively, the data positive terminal of the transmitter of the data switching chip U6 is connected to the input terminal VIN2 of the transient suppressor U5 and the second positive terminal of the data of the interface JP5, respectively, and the ground terminal of the transient suppressor U5 is connected to the power ground. Among them, the model of the data switching chip U6 is MAX488, the capacitance of the capacitor C34 is 100nF, the resistance of the resistor R8 and the resistor R9 is 3.3K, and the model of the transient suppressor U4 and the transient suppressor U5 is SM712.

[0068] In a preferred embodiment of the present invention, the button group module includes: the first end of button S4 is connected to the first end of power supply 3V3, the second end of button S4 is connected to the erase terminal ERASE of microcontroller U1, the first end of button S2 is connected to the power ground, the second end of button S2 is connected to the button terminal PA11 / TWCK of microcontroller U1, the first end of button S3 is connected to the power ground, the second end of button S3 is connected to the button terminal PA10 / TWD of microcontroller U1, the first end of button S5 is connected to the power ground, and the second end of button S5 is connected to the reset terminal NRST of microcontroller U1. Among them, the model of data switching chip U6 is MAX488, the capacitance of capacitor C34 is 100nF, the resistance of resistors R8 and R9 is 3.3K,

[0069] In a preferred embodiment of the present invention, the indicator light group module includes: the cathode of the power indicator light LED3 is connected to the power ground, the anode of the power indicator light LED3 is connected to the first end of the resistor R10, and the second end of the resistor R10 is connected to the power supply 3V3; the cathode of the indicator light LED11 is connected to the power ground, the anode of the indicator light LED11 is connected to the first end of the resistor R13, and the second end of the resistor R13 is connected to the indication terminal PA13 / SPI0_NPCS1 / PCK1 of the microcontroller U1; the cathode of the indicator light LED22 is connected to the power ground, the anode of the indicator light LED22 is connected to the first end of the resistor R14, and the second end of the resistor R14 is connected to the indication terminal PA12 / SPI0_NPCS0 of the microcontroller U1; the cathode of the indicator light LED44 is connected to the power ground, the anode of the indicator light LED44 is connected to the first end of the resistor R11, and the second end of the resistor R11 is connected to the indication terminal PA7 / SCK1 / SPI0_NPCS1 of the microcontroller U1. Among them, the resistance values ​​of resistors R10, R11, R13 and R14 are 2.2K.

[0070] In a preferred embodiment of the present invention, a test module is also included, and the test module includes: a test data input terminal TDI of the microcontroller U1 is respectively connected to the first end of the resistor R55 and the test data output terminal of the test interface JP1, and the second end of the resistor R55 is connected to the power supply 3V3; a test mode selection terminal TMS of the microcontroller U1 is respectively connected to the first end of the resistor R53 and the test mode selection terminal of the test interface JP1, and the second end of the resistor R53 is connected to the power supply 3V3; a test clock terminal TCK of the microcontroller U1 is respectively connected to the first end of the resistor R51 and the test mode selection terminal of the test interface JP1. The clock terminal is connected, the second end of the resistor R51 is connected to the power supply 3V3; the test data output terminal of the microcontroller U1 is connected to the test data input terminal of the test interface JP1; the erase terminal NRST of the microcontroller U1 is respectively connected to the first end of the resistor R15 and the erase terminal of the test interface JP1, and the second end of the resistor R15 is connected to the power supply 3V3; the power supply 3V3 is connected to the first end of the resistor R57, the second end of the resistor R51 is connected to the test first end of the test interface JP1, the power supply 3V3 is connected to the test second end of the test interface JP1, and the grounding terminal of the test interface JP1 is connected to the power ground. Among them, the resistance value of the resistor R15 is 10K, and the resistance values ​​of the resistors R51, R53, R55, and R57 are 4.7K.

[0071] In a preferred embodiment of the present invention, the voltage-stabilized output terminal VDDOUT of the microcontroller U1 is respectively connected to the power supply terminal VDDCORE of the microcontroller U1, the first end of the capacitor C3, the first end of the capacitor C4, the first end of the capacitor C5, the first end of the capacitor C6 and the first end of the capacitor C18, and the second end of the capacitor C3, the second end of the capacitor C4, the second end of the capacitor C5, the second end of the capacitor C6 and the second end of the capacitor C18 are respectively connected to the power supply ground; the power supply terminal VDDIO of the microcontroller U1 is respectively connected to the first end of the capacitor C7, the first end of the capacitor C8 , the first end of capacitor C9, the first end of capacitor C10, the first end of capacitor C11 are connected to the power supply 3V3, the second end of capacitor C7, the second end of capacitor C8, the second end of capacitor C9, the second end of capacitor C10, the second end of capacitor C11 are respectively connected to the power ground; the ground terminal of the microcontroller U1 is connected to the power ground; the crystal oscillator terminal XIN of the microcontroller U1 is respectively connected to the first end of capacitor C12 and the first end of crystal oscillator Y1, the crystal oscillator terminal XOUT of the microcontroller U1 is respectively connected to the first end of capacitor C13 and the second end of crystal oscillator Y1, the second end of capacitor C12 and The second end of the capacitor C13 is connected to the power ground respectively; the power supply terminal VDDPLL of the microcontroller U1 is connected to the first end of the capacitor C14 and the voltage stabilizing output terminal VDDOUT of the microcontroller U1 respectively, and the second end of the capacitor C14 is connected to the power ground; the filter end of the microcontroller U1 is connected to the first end of the capacitor C15 and the first end of the resistor R2 respectively, the second end of the resistor R2 is connected to the first end of the capacitor C16, and the second end of the capacitor C15 and the second end of the capacitor C16 are connected to the power ground respectively; the power supply terminal VDDIN of the microcontroller U1 is connected to the power supply 3V3, the capacitor C 1 is connected to the first end of capacitor C17, and the second end of capacitor C1 and the second end of capacitor C17 are respectively connected to the power ground; the power supply terminal VDDFLASH of the microcontroller U1 is respectively connected to the power supply 3V3 and the first end of capacitor C2, and the second end of capacitor C2 is respectively connected to the power ground; the analog-to-digital voltage reference terminal of the microcontroller U1 is respectively connected to the first end of capacitor C19 and the first end of inductor L1, the second end of inductor L1 is respectively connected to the first end of capacitor C20 and the power supply 3V3, and the second end of capacitor C19 and the second end of capacitor C20 are respectively connected to the power ground. Among them, the capacitance of capacitor C18 is 10uF, the capacitance of capacitors C3 to C11 is 100nF, the capacitance of capacitors C12 and C13 is 10pF, the frequency of crystal oscillator Y1 is 18.4MHZ, the capacitance of capacitor C15 is 1nF, the capacitance of capacitors C1, C2, C14, C17, C19 and C20 is 100nF, the capacitance of capacitor C16 is 10nF, and the model of microcontroller U1 is ATM89C52.

[0072] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A distributed control system for new energy vehicles, It is characterized in that Send messages of different rates to attack the network. The test control steps are as follows: Step A: Power on the vehicle, connect to the test equipment, use the CAN signal transceiver unit to receive the vehicle message, and determine the communication rate used on the bus at this time; Step B: Use the CAN signal transceiver unit to send a message at a communication rate different from the network segment; Step C: Analyze the network status at this time through the CAN bus abnormality analysis unit to see whether the message cycle and data segment content sent by the ECU are the same as before the attack; if different, determine whether the value is a constant value or a changing value, and whether the changing pattern is the same; Step D: Stop the DOS attack, use the CAN signal transceiver unit to receive the vehicle message, and use the CAN bus anomaly analysis unit to check whether the message sent by the ECU is normal after the attack is removed.

2. The distributed control system for new energy vehicles according to claim 1, It is characterized in that Use the CAN signal transceiver unit to send an error frame. The test control steps are as follows: Step A: Connect the test equipment and use the CAN signal transceiver unit to receive vehicle messages. The vehicle is powered on and the messages sent normally by the vehicle ECU are collected. Step B: Use the CAN signal transceiver unit to send error frames, and the number of error frames gradually increases until the CAN bus abnormality analysis unit analyzes the network status at this time. Whether the message cycle and data segment content sent by the ECU are different from those before the attack; or the attack time reaches the set value, the attack is stopped; Step C: Stop the DOS attack, use the CAN signal transceiver unit to receive the vehicle message, and use the CAN bus abnormality analysis unit to analyze whether the message sent by the ECU is normal after the attack is removed.

Citation Information

Cited By

  • Diagnostic service attack test method and system based on vehicle control local area network

    CN121441570A