CN216449938U - CAN gateway for three-electricity HiL joint debugging system - Google Patents

CAN gateway for three-electricity HiL joint debugging system Download PDF

Info

Publication number
CN216449938U
CN216449938U CN202122997785.2U CN202122997785U CN216449938U CN 216449938 U CN216449938 U CN 216449938U CN 202122997785 U CN202122997785 U CN 202122997785U CN 216449938 U CN216449938 U CN 216449938U
Authority
CN
China
Prior art keywords
card
debugging
gateway
hil
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202122997785.2U
Other languages
Chinese (zh)
Inventor
史国军
冯金泉
张彩霞
赵庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yiang New Energy Automobile Technology Co ltd
Original Assignee
Zhengzhou Yiang New Energy Automobile Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yiang New Energy Automobile Technology Co ltd filed Critical Zhengzhou Yiang New Energy Automobile Technology Co ltd
Priority to CN202122997785.2U priority Critical patent/CN216449938U/en
Application granted granted Critical
Publication of CN216449938U publication Critical patent/CN216449938U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The utility model discloses a CAN gateway for a three-electricity HiL joint debugging system, which relates to the field of development of new energy automobile controllers and comprises a debugging module which is arranged between an automobile controller and a three-electricity joint debugging CAN network in series, wherein the debugging module comprises a debugging module shell, a first CAN card and a second CAN card which are mutually connected in series in the debugging module shell, the data input end of the first CAN card is connected with the data output end of the automobile controller, the data output end of the second CAN card is connected with the three-electricity joint debugging CAN network, a singlechip module for falsely simulating an environmental condition signal is also arranged between the first CAN card and the second CAN card, message tampering CAN be realized by adding a gateway between two nodes, message tampering CAN also be realized by adding a gateway between multiple nodes, and simultaneously, program control switching between adding and not adding the gateway CAN be realized, so that the test coverage degree is greatly improved, the method has very strong practical significance for three-electric HiL test verification.

Description

CAN gateway for three-electricity HiL joint debugging system
Technical Field
The utility model relates to the field of development of new energy automobile controllers, in particular to a CAN gateway for a three-power HiL joint debugging system.
Background
1. The control algorithm of the VCU/BMS/MCU of the new energy automobile needs to be verified in the development process, so that hardware-in-the-loop test needs to be carried out, and in the test process, the joint debugging of multiple controllers needs to be carried out, so that a virtual operation environment needs to be set up to meet the real-time simulation of the three-electric controller.
2. At present, hardware-in-loop experiments of new energy automobile controllers are carried out in various large new energy automobile host factories, three-electricity joint debugging is carried out based on real automobile realization, and therefore three-electricity laboratory joint debugging needs to be carried out, and verification needs to be carried out by three-electricity HiL joint debugging equipment.
3. The existing three-power HiL joint debugging can only modify environmental conditions except the controller, such as sensor signal simulation and fault injection, actuator signal simulation and fault injection, and bus signal simulation and fault injection of other virtual nodes, and can not realize more test condition verification by tampering messages of VCU/BMS/MCU in real time.
SUMMERY OF THE UTILITY MODEL
The utility model aims to solve the defect problem of the debugging of the existing three-power HiL joint debugging system, and provides a CAN gateway of the three-power HiL joint debugging system, which CAN realize message tampering by adding a gateway between two nodes, CAN also realize message tampering by adding a gateway between multiple nodes, and CAN realize program control switching between adding and not adding the gateway, thereby greatly improving the test coverage and having very strong practical significance for the three-power HiL test verification.
In order to achieve the purpose, the utility model provides the following technical scheme:
the utility model provides a CAN gateway for three electricity HiL allies oneself with transfers system, sets up the debugging module between car machine controller and three electricity allies oneself with transfers CAN network including establishing ties, the debugging module is including debugging module casing, the CAN card of establishing ties each other in the debugging module casing is one, CAN card two, the data input part of CAN card one links to each other with car machine controller's data output end, the data output part of CAN card two links to each other with three electricity allies oneself with transfers CAN network, still be provided with the single chip module who is used for false simulation environmental condition signal between CAN card one, the CAN card two.
In order to further optimize the present invention, the following technical solutions may be preferably selected:
preferably, the CAN1 and the CAN2 card are both NI-PXI 8512.
Preferably, the vehicle controller includes one or more of VCU, BMS, MCU, ECU, GCU, CCU, and TCU.
Preferably, the number of the debugging modules is three, the debugging modules are correspondingly arranged between the VCU and the three-power joint debugging CAN network, between the BMS and the three-power joint debugging CAN network and between the MCU and the three-power joint debugging CAN network, and the debugging modules are provided with data transmission interfaces electrically connected with the VCU, the BMS, the MCU and the three-power joint debugging CAN network.
Preferably, the debugging module is further provided with a program-controlled change-over switch.
The utility model has the beneficial effects that:
1. the utility model can realize message tampering by adding the gateway between two nodes, can also realize message tampering by adding the gateway between multiple nodes, and can realize program control switching between adding and not adding the gateway, thereby greatly improving the test coverage, having very strong practical significance for the HiL test verification of three-power systems, realizing false message access of single node and multiple nodes through the gateway, perfecting the test scene, more easily verifying the response mechanism of each controller when other nodes work abnormally, greatly improving the test coverage, and increasing the reliability and functional safety of a core three-power system of a new energy automobile.
Drawings
FIG. 1 is a multi-node flow diagram;
FIG. 2 is a single node flow diagram;
fig. 3 is a BMS gateway connection diagram.
The system comprises a vehicle machine controller 1, a debugging module 2 and a three-in-one CAN network.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the utility model and are not to be construed as limiting the utility model.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the device or element so referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; may be mechanically coupled, may be electrically coupled or may be in communication with each other; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Example 1:
the MCU is a special core power electronic unit of the new energy automobile, controls the motor to output specified torque and rotating speed by receiving a vehicle running control instruction of the VCU, drives the vehicle to run, converts direct current electric energy of the power battery into required high-voltage alternating current, drives the motor body to output mechanical energy, and has the functions of motor system fault diagnosis protection and storage.
The VCU is a core electronic control unit for realizing the control decision of the whole vehicle, and is generally only equipped for new energy vehicles, the conventional fuel vehicle does not need to be changed, and the VCU judges the driving intention of a driver by acquiring signals of an accelerator pedal, a gear, a brake pedal and the like; by monitoring the vehicle state (speed, temperature and the like) information, after the information is judged and processed by the VCU, the VCU sends the running state instruction of the vehicle to the power system and the power battery system, and simultaneously controls the working mode of the vehicle-mounted accessory power system, and the VCU has the functions of fault diagnosis, protection and storage of the whole vehicle system.
The BMS is the most critical part of the battery pack, is similar to the VCU, and is composed of a hardware circuit, bottom layer software and application layer software as core components for detecting the voltage and the current of a single battery and balancing control; the mainboard mounting position is more flexible, is used for relay control, state of charge value estimation, electric injury protection and the like.
As shown in fig. 1-3, a CAN gateway for a three-electric HiL joint debugging system includes a debugging module 2 serially connected between a car controller 1 and a three-electric joint debugging CAN network, the debugging module includes a debugging module housing, a first CAN card and a second CAN card serially connected with each other in the debugging module housing, a data input end of the first CAN card is connected with a data output end of the car controller, a data output end of the second CAN card is connected with the three-electric joint debugging CAN network 3, and a single chip microcomputer module for artificially simulating an environmental condition signal is further provided between the first CAN card and the second CAN card, wherein the models of the first CAN card 1 and the second CAN card 2 are NI-PXI8512, and the NI-PXI-8512 CAN interface module allows an i chassis to be connected to a controller area network bus for parallel communication. The NIPXI-8512CAN interface module uses an onboard transceiver for high speed/flexible data rate, low speed/fault tolerant and/or single wire CAN communication, and may also use any external transceiver for communication. Using the NI-XNET driver, applications CAN be created that require hundreds of CAN frames and signals to be operated in real time, at high speed. Signals for FIBEX and DBC files CAN be imported, edited and used in the integrated CAN database. The DMA engine driven by the NI-XNET device enables the onboard processor to move CAN frames and signals between the interface and the user program without CPU interrupts, thereby greatly reducing message latency and freeing up host processor time.
Preferably, the vehicle controller comprises one or more of VCU, BMS, MCU, ECU, GCU, CCU and TCU.
Preferably, this embodiment focuses on three main core controllers VCU, BMS, MCU, and its debugging module is provided with three, and corresponds the setting respectively between VCU and three electricity allies oneself with transfers between the CAN network, BMS and three electricity allies oneself with transfers between the CAN network, MCU and three electricity allies oneself with transfers between the CAN network, is provided with the data transmission interface that is connected with VCU, BMS, MCU, three electricity allies oneself with transfers CAN network electricity on the debugging module.
Preferably, the debugging module is further provided with a program-controlled change-over switch, and one-key program-controlled switching between single-node gateway adding and non-gateway adding is realized through the program-controlled change-over switch.
The gateway realizes message tampering by adding the gateway between two nodes of the car machine controller and the three-electricity joint debugging CAN network, CAN also realize message tampering by adding the gateway between multiple nodes, and CAN also realize program control switching between adding and not adding the gateway, thereby greatly improving the test coverage, having very strong practical significance for testing and verifying the three-electricity HiL.
It will be evident to those skilled in the art that the utility model is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the utility model being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (5)

1. The utility model provides a CAN gateway that is used for three electricity HiL allies oneself with accent system which characterized in that: the debugging module that sets up between car machine controller and three electricity allies oneself with transfers CAN network including establishing ties, the debugging module is including debugging module casing, the CAN card of mutual series connection in the debugging module casing is one, CAN card two, the data input part of CAN card one links to each other with car machine controller's data output end, the data output part of CAN card two links to each other with three electricity allies oneself with transfers CAN network, still be provided with the single chip module who is used for the false simulation environmental condition signal between CAN card one, the CAN card two.
2. The CAN gateway for a three-electric HiL joint debugging system of claim 1, wherein: the CAN1 and the CAN2 card are both NI-PXI 8512.
3. The CAN gateway for a three-electric HiL joint debugging system of claim 1, wherein: the vehicle-mounted machine controller comprises one or more of VCU, BMS, MCU, ECU, GCU, CCU and TCU.
4. The CAN gateway for a three-electric HiL joint debugging system of claim 3, wherein: the debugging module is provided with three modules which are respectively and correspondingly arranged between the VCU and the three-power joint debugging CAN network, between the BMS and the three-power joint debugging CAN network and between the MCU and the three-power joint debugging CAN network, and the debugging module is provided with a CAN-H interface and a CAN-L interface which are electrically connected with the VCU, the BMS, the MCU and the three-power joint debugging CAN network.
5. The CAN gateway for a three-electric HiL joint debugging system of claim 1, wherein: and the debugging module is also provided with a program control change-over switch.
CN202122997785.2U 2021-11-30 2021-11-30 CAN gateway for three-electricity HiL joint debugging system Active CN216449938U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122997785.2U CN216449938U (en) 2021-11-30 2021-11-30 CAN gateway for three-electricity HiL joint debugging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122997785.2U CN216449938U (en) 2021-11-30 2021-11-30 CAN gateway for three-electricity HiL joint debugging system

Publications (1)

Publication Number Publication Date
CN216449938U true CN216449938U (en) 2022-05-06

Family

ID=81354716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122997785.2U Active CN216449938U (en) 2021-11-30 2021-11-30 CAN gateway for three-electricity HiL joint debugging system

Country Status (1)

Country Link
CN (1) CN216449938U (en)

Similar Documents

Publication Publication Date Title
CN102390331B (en) Entire vehicle controller integrated with battery management system for pure electric automobile
CN105159188B (en) A kind of new energy vehicle heterogeneous network emulator and control method
CN104635690B (en) Vehicle control unit of pure electric vehicle integrating gateway function
CN205853917U (en) The control system of vehicle and vehicle
CN110233768B (en) UDS-based CAN bus test system and CAN bus test method
CN101603843B (en) Testing system for CAN bus digital instrument of passenger vehicle
CN201114146Y (en) Tandem type mixing power automobile control system
CN103010127B (en) Electrical vehicle network networked control systems
CN201769764U (en) Novel vehicle-mounted bus network system
CN216449938U (en) CAN gateway for three-electricity HiL joint debugging system
CN201435007Y (en) Testing system for CAN bus digital instruments in passenger vehicles
CN210405350U (en) Network system for commercial vehicle
CN105059121A (en) Vehicle control method for solar electric vehicle
Perişoară et al. Instrument clusters for monitoring electric vehicles
Perişoară et al. Virtual instruments cluster for monitoring of electric vehicle testing platform
CN114184875B (en) Whole vehicle test system, method and test bench
CN103592937A (en) Fault detection system of vehicle body control modules
CN208888649U (en) The emulation test system of three electric system combined debugging of electric car
CN104391462B (en) Joint debugging control method for whole vehicle rack of pure electric vehicle
CN112272131B (en) Gateway routing method compatible with TBOX remote diagnosis and real vehicle diagnostic instrument diagnosis
CN115027324A (en) Battery management system of intelligent delivery vehicle
CN105599709B (en) Safety device and method for automotive bus system
CN111907445A (en) CAN bus arrangement structure based on electric light truck
CN107664992A (en) A kind of new energy vehicle controller
US11079438B2 (en) Circuitry for monitoring battery systems

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant