CN102238053A - Controller area network (CAN) bus interference generator - Google Patents

Controller area network (CAN) bus interference generator Download PDF

Info

Publication number
CN102238053A
CN102238053A CN2010101680339A CN201010168033A CN102238053A CN 102238053 A CN102238053 A CN 102238053A CN 2010101680339 A CN2010101680339 A CN 2010101680339A CN 201010168033 A CN201010168033 A CN 201010168033A CN 102238053 A CN102238053 A CN 102238053A
Authority
CN
China
Prior art keywords
bus
resistance
can1
interference
capacitance
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.)
Pending
Application number
CN2010101680339A
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.)
SHANGHAI GUTAI TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI GUTAI 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 SHANGHAI GUTAI TECHNOLOGY Co Ltd filed Critical SHANGHAI GUTAI TECHNOLOGY Co Ltd
Priority to CN2010101680339A priority Critical patent/CN102238053A/en
Publication of CN102238053A publication Critical patent/CN102238053A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a controller area network (CAN) bus interference generator, which aims to the service conditions of a CAN bus node or a CAN bus system under the conditions of digital interference, logic errors, analogue interference and physical layer failures and the capability of recovery of the CAN bus node or the CAN bus system from various errors or failures. The CAN bus interference generator consists of three parts which are a bit stream resolution part, a digital interference injection circuit and a resistance capacitance matrix respectively. The CAN bus digital interference injection circuit in the CAN bus interference generator realizes the injection of each kind of digital logic interference into a CAN bus by the series connection of a pair of triodes and the parallel connection of the pair of triodes with CAN transceivers CAN_H and CAN_L. The resistance capacitance matrix in the CAN bus interference generator stimulates the physical layer failures such as the short-circuiting of the CAN_H and the CAN_L, the circuit-breaking of one or two certain lines in the CAN bus, the load increasing of the bus, the short-circuiting of a certain line in the CAN bus with battery voltage, and the like by the various of resistance values and capacitance values in the resistance capacitance matrix.

Description

A kind of CAN bus interferance generator
Affiliated technical field:
The present invention relates to a kind of CAN of being used for (Controller Area Network controller local area network) bus test process and produce digital interference and logic error, and the physical layer fault that the CAN bus is applied the various CAN bus protocol regulations of simulation interference simulation, be used for investigating CAN bus node or CAN bus system in digital interference and logic error, and simulation disturbs and the physical layer fault, working condition under the situation and the CAN bus interferance generator of recovery capability under various mistakes and the malfunction.
Background technology:
The CAN bus is because its high-performance and reliability are widely used in aspects such as industrial automation, boats and ships, Medical Devices.Especially at vehicle electric field, the CAN bus often is used as in the dynamical system network directly related with safety, and is therefore, particularly important for the testing authentication work of CAN bus system and CAN bus node.For the reliability of testing, verify designed CAN bus system or CAN bus node and in the logic error of various CAN bus standard defineds and the working condition under the physical layer failure condition, with the ability of recovering down from mistake or failure condition, need a kind of CAN bus interferance generator of design to come that tested CAN bus system or CAN bus node are injected configurable digital interference and simulation interference and go to simulate and realize different mistakes and malfunction.
Summary of the invention:
In order to realize injection to CAN bus system or CAN bus node simulation interference and Digital Logic interference, the designed a kind of CAN bus interferance generator of the present invention mainly constitutes (as Fig. 1) by three parts, promptly be used to resolve bit stream that transmits on the bus and the bit stream that carries out the interference triggered condition judgment and resolve part, be used to apply the digital interference injection circuit that Digital Logic is disturbed, and be used for applying the resistance capacitance matrix that simulation disturbs can regulating circuit resistance capacitance value simulates the different physical layer faults of CAN bus protocol defined.
CAN bus digital interference injection circuit among the present invention as shown in Figure 2, the series connection by a pair of triode also realizes injection that the various Digital Logic of CAN bus are disturbed with CAN transceiver CAN_H and CAN_L in parallel.
Resistance capacitance matrix among the present invention as shown in Figure 3, by the variation of resistance value, capacitance in the resistance capacitance matrix, remove to simulate in CAN_H and CAN_L short circuit, the CAN bus a certain line or certain two line opens circuit, bus load increases, physical layer fault such as a certain line and cell voltage short circuit in the CAN bus.
Description of drawings:
Fig. 1 CAN bus interferance generator structured flowchart.
Fig. 2 CAN bus digital interference injection circuit schematic diagram.
Fig. 3 resistance capacitance matrix circuit schematic diagram.
Fig. 4 resistance capacitance resistance matrix constitutes schematic diagram.
Fig. 5 resistance capacitance matrix electric capacity constitutes schematic diagram
Embodiment:
The designed a kind of CAN bus interferance generator of the present invention is resolved part by being used to resolve bit stream that transmits on the bus and the bit stream that carries out the interference triggered condition judgment, be used to apply the digital interference injection circuit that Digital Logic is disturbed, and be used for applying resistance capacitance matrix three parts that simulation disturbs can regulating circuit resistance capacitance value simulates the different physical layer faults of CAN bus protocol defined and form (as Fig. 1).
The circuit theory diagrams of the digital interference among the present invention as shown in Figure 2, Q1, Q2 are that a pair of triode of NPN and PNP that is respectively is to pipe among the figure, their emitter directly links to each other and links to each other with the 2.5V power supply, the collector electrode of Q1 and Q2 respectively with the CAN_H pin and the parallel connection of CAN_L pin of CAN transceiver, insert CAN_H and CAN_L line in the CAN network after the parallel connection respectively, by combination, the CAN bus is forced to write logic " height " and logic " low " or the CAN bus is presented " high resistant " state the high low value of logic level of the TXD pin of CAN transceiver and Q1, Q2 base stage.
Resistance capacitance matrix circuit schematic diagram among the present invention as shown in Figure 3, among the figure can connect and insert in the tested CAN network in CAN1, CAN2 place, each resistance among the figure all is composed in series as behind a series of switches (relay) of Fig. 4 and respective resistance values resistance in parallel, is formed in parallel after the capacitances in series of the variable capacitance CHL among Fig. 3 by a series of switches (relay) among Fig. 5 and corresponding capacitance value.In Fig. 4, the resistance R of single resistance i=R Step-length* 2 i(wherein i=0~10), thus among Fig. 3 the resistance of each resistance can by among Fig. 4 to the control break of relay, its excursion is 0~(2 I+1-1) * R Step-length, the resistance change step-length is R Step-lengthIn Fig. 5, the capacitance of single electric capacity is C i=C Step-length* 2 i(wherein i=0~5) are so the capacitance scope of the capacitor C HL among Fig. 3 is 0~(2 I+1-1) * C Step-length, the capacitance variation step-length is C Step-length
The course of work of a kind of CAN bus interferance generator that the present invention is designed is: CAN bus interferance generator is resolved part by its bit stream and in real time the bit stream that is transmitted on the CAN bus is resolved to logical message, in case institute's information transmitted satisfies the interference triggered condition that the user disposes on the bus, CAN bus interferance generator just is applied to pre-configured interference sequence on the tested bus by digital interference injection circuit or resistance capacitance matrix.

Claims (3)

1. CAN bus interferance generator, it is characterized in that: it is made up of the parsing of CAN bus bit stream, digital interference injection circuit, resistance capacitance matrix three parts.
2. according to claim 1 the digital interference injection circuit is described, it is characterized in that: a pair of NPN and PNP triode are directly connected on the 2.5V power supply the emitter of pipe, and the collector electrode of NPN triode and PNP triode is connected with CAN L pin with the CAN H pin of CAN transceiver respectively.TXD pin by the CAN transceiver and two triodes are realized the CAN bus is forced to write logic " height ", logic " low " and the CAN bus is presented high-impedance state to the combination of pipe base stage logic level height.
3. according to claim 1 the resistance capacitance matrix is described, it is characterized in that: the resistance capacitance matrix externally has two interfaces of CAN1, CAN2, each interface has two lines to pick out, and is respectively CAN1_H, CAN1_L and CAN2_H, CAN2_L, is connected variable resistor R between CAN1_H and power supply or the ground H, be connected variable resistor R between CAN1_H and the CAN2_H SH, be connected variable resistor R between CAN1_H and the CAN1_L HL, be connected variable resistor R between CAN1_L and power supply or the ground L, be connected variable resistor R between CAN1_L and the CAN2_L SL, connect variable capacitance C between CAN2_H and the CAN2_L HLEach variable resistor in the resistance capacitance matrix is composed in series the resistance R of single resistance again by behind a series of switches (relay) and respective resistance values resistance in parallel i=R Step-length* 2 i(wherein i is a nonnegative integer), wherein R Step-lengthBe any resistance value.Variable capacitance in the resistance capacitance matrix composes in parallel the capacitance C of single electric capacity again by after the connecting of the electric capacity of a series of switches (relay) and corresponding capacitance value i=C Step-length* 2 i(wherein i is a nonnegative integer), wherein C Step-lengthBe any capacitance.
CN2010101680339A 2010-05-06 2010-05-06 Controller area network (CAN) bus interference generator Pending CN102238053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101680339A CN102238053A (en) 2010-05-06 2010-05-06 Controller area network (CAN) bus interference generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101680339A CN102238053A (en) 2010-05-06 2010-05-06 Controller area network (CAN) bus interference generator

Publications (1)

Publication Number Publication Date
CN102238053A true CN102238053A (en) 2011-11-09

Family

ID=44888297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101680339A Pending CN102238053A (en) 2010-05-06 2010-05-06 Controller area network (CAN) bus interference generator

Country Status (1)

Country Link
CN (1) CN102238053A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750216A (en) * 2012-03-01 2012-10-24 浙江吉利汽车研究院有限公司 Fault injection system for intelligent bus
CN105319474A (en) * 2014-05-27 2016-02-10 通用汽车环球科技运作有限责任公司 Method and apparatus for short fault detection in a controller area network
CN106209410A (en) * 2014-12-08 2016-12-07 现代自动车株式会社 Gateway is used to repair the method and system of communication disruption
CN106908748A (en) * 2015-12-22 2017-06-30 北京科易动力科技有限公司 A kind of program-controlled resistor coupled capacitor simulator
CN109714113A (en) * 2019-01-02 2019-05-03 南京金龙客车制造有限公司 A kind of CAN bus interference injection circuit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1888920A (en) * 2006-07-17 2007-01-03 中国科学院电工研究所 Method and apparatus for testing CAN bus antielectromagnetic interference ability
US7523245B1 (en) * 1996-02-06 2009-04-21 Opti, Inc. Compact ISA-bus interface
CN201741143U (en) * 2010-03-09 2011-02-09 上海固泰科技有限公司 Can bus digital interference injection circuit
CN201804269U (en) * 2010-03-09 2011-04-20 上海固泰科技有限公司 Resistor and capacitor matrix

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7523245B1 (en) * 1996-02-06 2009-04-21 Opti, Inc. Compact ISA-bus interface
CN1888920A (en) * 2006-07-17 2007-01-03 中国科学院电工研究所 Method and apparatus for testing CAN bus antielectromagnetic interference ability
CN201741143U (en) * 2010-03-09 2011-02-09 上海固泰科技有限公司 Can bus digital interference injection circuit
CN201804269U (en) * 2010-03-09 2011-04-20 上海固泰科技有限公司 Resistor and capacitor matrix

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗峰等: "CAN总线干扰发生器研制", 《2009年安捷伦科技节论文集》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750216A (en) * 2012-03-01 2012-10-24 浙江吉利汽车研究院有限公司 Fault injection system for intelligent bus
CN105319474A (en) * 2014-05-27 2016-02-10 通用汽车环球科技运作有限责任公司 Method and apparatus for short fault detection in a controller area network
CN105319474B (en) * 2014-05-27 2019-12-31 通用汽车环球科技运作有限责任公司 Method and apparatus for short circuit fault detection in controller area networks
CN106209410A (en) * 2014-12-08 2016-12-07 现代自动车株式会社 Gateway is used to repair the method and system of communication disruption
CN106209410B (en) * 2014-12-08 2020-02-18 现代自动车株式会社 Method and device for repairing communication interruption by using gateway and intelligent joint block
CN106908748A (en) * 2015-12-22 2017-06-30 北京科易动力科技有限公司 A kind of program-controlled resistor coupled capacitor simulator
CN109714113A (en) * 2019-01-02 2019-05-03 南京金龙客车制造有限公司 A kind of CAN bus interference injection circuit

Similar Documents

Publication Publication Date Title
CN102238053A (en) Controller area network (CAN) bus interference generator
CN202649810U (en) Equipment used for automotive electronic control module CAN network integration test
CN105182151A (en) Vmethod and apparatus for open-wire fault detection and diagnosis in a controller area network
CN106081046B (en) A kind of double remaining aerostatics measure and control devices
CN101631058A (en) Method for detecting fault on data line
CN102981495B (en) A kind of multiple faults injection device for detecting aeromotor ECU signaling interface
CN102931971B (en) Three-state control signal input/output (IO) circuit
CN103281226A (en) MVB bus device address configuration system and method based on TCN
CN201804269U (en) Resistor and capacitor matrix
CN103543379A (en) Circuit fault simulation device of vehicle engine management system
CN101833491A (en) Method for realizing design and FPGA of link detection circuit in node interconnection system
CN105425773B (en) The relay output channel diagnostic device and method of a kind of control system
CN102608990A (en) ECU (Electronic Control Unit) actuator control signal fault injection device for engine HILS (Hardware-In-the-Loop Simulation) system
CN102404679B (en) Headset detection circuit and electronic equipment
CN102169161B (en) Method for testing capacitive touch chip
CN112327211B (en) Vehicle-mounted microphone power supply connection state monitoring circuit and method
CN103546138A (en) Touch key control circuit
CN108965118B (en) DP-to-FF communication gateway and DP-to-FF method
CN104535887B (en) A kind of output switch parameter circuit breaking diagnostic system and switching value output module
CN202172398U (en) Output circuit of two-wire system 4-20mA current loop
CN105116866A (en) PLC (Programmable Logic Controller)-based production workshop equipment operation monitoring device
CN205017297U (en) Serial port communication's level shifting circuit
CN104731745B (en) Dynamic threshold comparison circuit applied to the communication of M BUS interfaces
CN203386013U (en) Redundancy output device
CN115840408A (en) Control system with error detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 200092 Shanghai city Yangpu District Guokang Road No. 46 Tongji Science and Technology Building Room 406

Applicant after: Shanghai Gutai Technology Co., Ltd.

Address before: 200092 room 510, science and Technology Park, Tongji University, 65 Chifeng Road, Shanghai, Yangpu District

Applicant before: Shanghai Gutai Technology Co., Ltd.

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111109