CN102238046A - CAN (Controller Area Network) bus physical layer testing method - Google Patents

CAN (Controller Area Network) bus physical layer testing method Download PDF

Info

Publication number
CN102238046A
CN102238046A CN2010101680451A CN201010168045A CN102238046A CN 102238046 A CN102238046 A CN 102238046A CN 2010101680451 A CN2010101680451 A CN 2010101680451A CN 201010168045 A CN201010168045 A CN 201010168045A CN 102238046 A CN102238046 A CN 102238046A
Authority
CN
China
Prior art keywords
testing
network
test
physical layer
node
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
CN2010101680451A
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 CN2010101680451A priority Critical patent/CN102238046A/en
Publication of CN102238046A publication Critical patent/CN102238046A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a CAN (Controller Area Network) bus physical layer testing method combining a local testing method and a collaborative testing method in order to inspect whether the physical layer of a CAN bus system or CAN bus node satisfies the consistency of CAN protocol. An upper computer and a plurality of testing CAN node respectively constitute a testing CAN and a tested CAN through USB-to-CAN (or device with similar functions) so as to construct a CAN bus physical layer testing platform. The upper computer downloads a test case and a test command to the testing CAN node through the testing CAN, and obtains the test result by contrasting and analyzing the communication contents on the testing network and tested network.

Description

A kind of CAN bus physical layer method of testing
Technical field
The present invention relates to the method for a kind of CAN of being used for (Controller Area Network controller local area network) bus physical layer test, this method is used for checking tested CAN node or CAN bus system physical layer whether to satisfy the coherence request of CAN agreement.
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, owing to exist subjective factor for understanding by the described CAN agreement of natural language, therefore, particularly important for the testing protocol consistency checking work of CAN bus system and CAN bus node.In order to check CAN node or CAN bus system physical layer whether to satisfy the coherence request of CAN agreement, need to propose a kind of CAN bus physical layer method of testing.
Summary of the invention
For whether the physical layer of checking CAN bus system or CAN node satisfies the requirement of CAN protocol conformance, the present invention proposes the CAN bus physical layer method of testing of a kind of local test method in conjunction with collaborative method of testing.Host computer and several testing CAN nodes are formed a testing CAN network and a tested CAN network respectively by USB-to-CAN (the perhaps equipment of similar functions), make up a CAN bus physical layer test platform (as shown in Figure 1).Host computer draws test result by Content of Communication and tested network communication content on contrast, the judgement test network.Test command and test case arrive test node by the testing CAN network download.Wherein each testing CAN node all has microcontroller and 2 road CAN communication systems, wherein one the road is connected to the testing CAN network, and another road is connected to tested CAN network.
Description of drawings
Accompanying drawing 1 is a kind of CAN bus physical layer test principle figure, wherein:
1. be host computer PC;
2. be the testing CAN network;
3. be tested CAN network;
4., 5. ... 6. be respectively CAN node 0, CAN node 1 ... CAN node n-1.
Embodiment
A kind of CAN bus physical layer of the present invention method of testing, utilize host computer and several testing CAN nodes to form a testing CAN network and a tested CAN network respectively, make up a CAN bus physical layer test platform (as shown in Figure 1) by USB-to-CAN (the perhaps equipment of similar functions).Wherein each testing CAN node all has microcontroller and 2 road CAN communication systems, wherein one the road is connected to the testing CAN network, and another road is connected to tested CAN network.
Wherein test network is the passage of testing CAN node and host computer.To the testing CAN node, the correlation behavior information of each testing CAN node is also returned host computer by this network by this network download for all test commands of host computer and test case.
Microcontroller is the processing center of testing CAN node, the main information of handling from test network, carry out the order of dependence test use-case, explain the test case order and monitor the relevant information that lower floor is provided with service and handles the CAN controller, comprise CAN Frame and CAN controller state.Monitoring, be embodied as tested CAN physical layer operational environment and network failure service are set.
Host computer is responsible for coordinating the work of whole test platform, and by to the analysis from the testing CAN network and the tested CAN network information, draws the CAN bus node tested or the result of CAN bus system physical layer test.This judge conclusion comprises 3 kinds of situations:
(1) passes through
Observed result satisfies test purpose, meets coherence request fully.
(2) failure
Observed result does not satisfy coherence request.Failure can be divided three classes: observed result does not reach test purpose; Test result satisfies test purpose but has mistake; Uncertainly whether satisfy test purpose.
(3) uncertain
Observed result satisfies coherence request, but does not determine whether to reach test purpose.

Claims (2)

1. CAN bus physical layer method of testing, it is characterized in that: this method is that the local test method is in conjunction with collaborative method of testing, utilize host computer and several testing CAN nodes to form a testing CAN network and a tested CAN network respectively, make up a CAN bus physical layer test platform by USB-to-CAN (the perhaps equipment of similar functions).Host computer draws test result by Content of Communication and tested network communication content on contrast, the judgement test network.Test command and test case arrive test node by the testing CAN network download.
2. according to the described testing CAN node of claim 1, it is characterized in that: each testing CAN node all has microcontroller and 2 road CAN communication systems, wherein one the road is connected to the testing CAN network, and another road is connected to tested CAN network.
CN2010101680451A 2010-05-06 2010-05-06 CAN (Controller Area Network) bus physical layer testing method Pending CN102238046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101680451A CN102238046A (en) 2010-05-06 2010-05-06 CAN (Controller Area Network) bus physical layer testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101680451A CN102238046A (en) 2010-05-06 2010-05-06 CAN (Controller Area Network) bus physical layer testing method

Publications (1)

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

Family

ID=44888291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101680451A Pending CN102238046A (en) 2010-05-06 2010-05-06 CAN (Controller Area Network) bus physical layer testing method

Country Status (1)

Country Link
CN (1) CN102238046A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037001A (en) * 2012-12-21 2013-04-10 北京时代凌宇科技有限公司 Standard signal acquisition device and corresponding test method and system
CN103324557A (en) * 2013-04-09 2013-09-25 浙江吉利汽车研究院有限公司杭州分公司 CAN bus testing system and method
CN103368786A (en) * 2012-04-10 2013-10-23 珠海格力电器股份有限公司 Test method and test device of controller area network bus data
CN103873310A (en) * 2012-12-10 2014-06-18 北汽福田汽车股份有限公司 Gateway testing method and system for CAN network
CN104483042A (en) * 2014-12-31 2015-04-01 四川金网通电子科技有限公司 Cloud-based sensor numerical value demarcation system and method
CN105515911A (en) * 2015-12-21 2016-04-20 惠州市德赛西威汽车电子股份有限公司 Gateway automatic test system and method of CAN network
CN106019006A (en) * 2016-05-17 2016-10-12 深圳市航盛电子股份有限公司 System and method for testing CAN physical layer indexes
CN106773778A (en) * 2016-11-21 2017-05-31 北京汽车股份有限公司 Automobile CAN-bus physical layer simulation testing device and method
CN111314275A (en) * 2019-11-09 2020-06-19 南京金龙客车制造有限公司 Method for encrypting CAN (controller area network) of drive-by-wire chassis
CN114095903A (en) * 2021-11-11 2022-02-25 盐城市华悦汽车部件有限公司 Construction method of automobile electrical appliance network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1631698A (en) * 2003-12-23 2005-06-29 上海燃料电池汽车动力系统有限公司 Data acquisition control system based on CAN bus
US20060101317A1 (en) * 2004-11-05 2006-05-11 Renesas Technology Corp. CAN system
CN101051954A (en) * 2007-04-26 2007-10-10 天津大学 Detecting system and method for radio sensor network algorithm
CN101520661A (en) * 2009-02-27 2009-09-02 株洲南车时代电气股份有限公司 Method and device for testing microcomputer control system of diesel locomotive

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1631698A (en) * 2003-12-23 2005-06-29 上海燃料电池汽车动力系统有限公司 Data acquisition control system based on CAN bus
US20060101317A1 (en) * 2004-11-05 2006-05-11 Renesas Technology Corp. CAN system
CN101051954A (en) * 2007-04-26 2007-10-10 天津大学 Detecting system and method for radio sensor network algorithm
CN101520661A (en) * 2009-02-27 2009-09-02 株洲南车时代电气股份有限公司 Method and device for testing microcomputer control system of diesel locomotive

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜开: "基于CAN总线的测试系统研究与设计", 《中国优秀硕士学位论文全文数据库》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368786A (en) * 2012-04-10 2013-10-23 珠海格力电器股份有限公司 Test method and test device of controller area network bus data
CN103368786B (en) * 2012-04-10 2016-03-30 珠海格力电器股份有限公司 The method of testing of CAN bus data and device
CN103873310A (en) * 2012-12-10 2014-06-18 北汽福田汽车股份有限公司 Gateway testing method and system for CAN network
CN103037001B (en) * 2012-12-21 2016-07-13 北京时代凌宇科技有限公司 A kind of standard signal acquisition device and accordingly method of testing and system
CN103037001A (en) * 2012-12-21 2013-04-10 北京时代凌宇科技有限公司 Standard signal acquisition device and corresponding test method and system
CN103324557A (en) * 2013-04-09 2013-09-25 浙江吉利汽车研究院有限公司杭州分公司 CAN bus testing system and method
CN104483042A (en) * 2014-12-31 2015-04-01 四川金网通电子科技有限公司 Cloud-based sensor numerical value demarcation system and method
CN105515911A (en) * 2015-12-21 2016-04-20 惠州市德赛西威汽车电子股份有限公司 Gateway automatic test system and method of CAN network
CN106019006A (en) * 2016-05-17 2016-10-12 深圳市航盛电子股份有限公司 System and method for testing CAN physical layer indexes
CN106773778A (en) * 2016-11-21 2017-05-31 北京汽车股份有限公司 Automobile CAN-bus physical layer simulation testing device and method
CN111314275A (en) * 2019-11-09 2020-06-19 南京金龙客车制造有限公司 Method for encrypting CAN (controller area network) of drive-by-wire chassis
CN114095903A (en) * 2021-11-11 2022-02-25 盐城市华悦汽车部件有限公司 Construction method of automobile electrical appliance network
CN114095903B (en) * 2021-11-11 2024-05-14 盐城市华悦汽车部件有限公司 Construction method of automobile electrical network

Similar Documents

Publication Publication Date Title
CN102238046A (en) CAN (Controller Area Network) bus physical layer testing method
Hawkridge et al. Monitoring on a shoestring: Low cost solutions for digital manufacturing
JP2019212279A (en) Method and device for operating smart network interface card
CN105912413B (en) Method and device for evaluating the availability of a system, in particular a safety-critical system
CN103678130A (en) Automated performance test method and platform
Giménez et al. SWE Simulation and Testing for the IoT
CN102830694A (en) Automatic fault inspection system and client monitoring terminal
CN111272452A (en) Network safety detection system for high-speed train brake test bed
CN107219805A (en) A kind of device diagnosis device and method, circuit board based on wireless telecommunications
CN113572726A (en) Multi-mode network control-data plane consistency verification method and device
Yue et al. Understanding digital twins for cyber-physical systems: A conceptual model
CN104022899A (en) Three-dimensional assessment method for network management system and system
CN207318605U (en) Automobile bus radiated immunity test system
CN102801571A (en) FlexRay bus physical layer test method
CN102411312A (en) Sensor simulator and satellite closed loop simulation system
KR20200119359A (en) Apparatus for Monitoring Facilities with Mixed Reality
US10713111B2 (en) Damage detection system
CN102801572A (en) LIN (Local Interconnect Network) bus physical layer testing method
CN102843268A (en) MOST bus physical layer testing method
CN104683183B (en) A kind of investigating method and system
CN203775231U (en) Test equipment
CN108124442A (en) A kind of elevator elements parameter calibrating method, device, equipment and storage medium
CN104503902B (en) The method of testing of DF files based on ARINC661 specifications
CN102332752A (en) Detection platform and method capable of carrying out remote pretesting and self-evaluation on transformer substation automatic system
CN103869218B (en) The method of prediction cable and junction malfunction and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Shanghai Gutai Technology Co., Ltd.

Document name: the First Notification of an Office Action

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