CN114374630A - CAN physical layer test system, CAN tester and power supply oscilloscope - Google Patents

CAN physical layer test system, CAN tester and power supply oscilloscope Download PDF

Info

Publication number
CN114374630A
CN114374630A CN202111194349.XA CN202111194349A CN114374630A CN 114374630 A CN114374630 A CN 114374630A CN 202111194349 A CN202111194349 A CN 202111194349A CN 114374630 A CN114374630 A CN 114374630A
Authority
CN
China
Prior art keywords
module
control module
control
test
physical layer
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
CN202111194349.XA
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.)
Inbo Supercomputing Nanjing Technology Co Ltd
Original Assignee
Inbo Supercomputing Nanjing 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 Inbo Supercomputing Nanjing Technology Co Ltd filed Critical Inbo Supercomputing Nanjing Technology Co Ltd
Priority to CN202111194349.XA priority Critical patent/CN114374630A/en
Publication of CN114374630A publication Critical patent/CN114374630A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Abstract

The invention discloses a CAN physical layer test system, which comprises a device to be tested DTU, a control module, a display module, a power supply module, a control button and an adjusting module, and comprises the following components: the control module mainly performs various data operations, and the control module is interconnected with a CAN bus of the DTU through a CANPHY chip; transmitting and receiving communication of the CAN is carried out; the control module samples the CAN bus and the power supply by using a sampling module in the control module, acquires sampling information 1 of the CAN bus and the power supply, and calculates voltage values of all signals, namely a sampling result 1; then sampling the high-precision ADC of the CAN bus, and drawing a oscillogram, namely a sampling result 2 according to the sampled information 2; and carrying out various test items according to the control button module, and outputting corresponding test results. The invention has lower cost than the market products; the test speed is higher than that of the self-built environment; the device has multiple functions, and one product CAN be used as a CAN test instrument and a power supply oscilloscope.

Description

CAN physical layer test system, CAN tester and power supply oscilloscope
Technical Field
The invention relates to the technical field of CAN physical layer testing, in particular to a CAN physical layer testing system, a CAN tester and a power supply oscilloscope.
Background
The CAN bus is widely used in the fields of industry, automobiles and the like, because the CAN bus is generally provided with a plurality of nodes, the signal quality of each node is inconsistent, the abnormity of the whole link CAN be caused, and in order to solve the problem, the test of a physical layer and a data link layer of the CAN bus is introduced.
The current test of the physical layer and the data link layer of the CAN bus has the following problems:
(1) using a special test instrument: the price is high, and is hundreds of thousands;
(2) and building an environment: the device can be built by professional people, and the reliability is low.
In order to solve the above technical problems, a CAN physical layer test system, a CAN tester and a power supply oscilloscope are provided.
Disclosure of Invention
The invention provides a CAN physical layer test system, a CAN tester and a power supply oscilloscope, which aim to solve the problem that the prior test for the physical layer and the data link layer of a CAN bus proposed in the background technology uses a special test instrument: the price is high, and is hundreds of thousands; building an environment: can be built by professional people, and has low reliability.
In order to achieve the purpose, the invention adopts the following technical scheme:
the utility model provides a CAN physical layer test system, includes equipment to be tested DTU, control module, display module, power module, control button and adjusting module, includes following:
the control module mainly performs various data operations, and the control module is interconnected with a CAN bus of the DTU through a CAN PHY chip (CAN _ H and CAN _ L); transmitting and receiving communication of the CAN is carried out;
the control module uses an internal sampling module to sample CAN buses (CAN _ H and CAN _ L) and power supplies (PWR + and PWR-), obtains sampling information 1 of the CAN buses and the power supplies, and calculates voltage values of all signals, namely sampling result 1;
the control module samples the high-precision ADC of the CAN buses (CAN _ H and CAN _ L) by using a sampling module in the control module, and draws a waveform diagram (a time domain diagram) according to the sampled information 2, namely a sampling result 2;
and carrying out various test items according to the control button module, and outputting corresponding test results.
As a further scheme of the invention: the control module further includes a control power module that regulates an output voltage PWR + of the power supply and regulates an output voltage PWR-of the power supply.
As a further scheme of the invention: the display module is used for outputting a test result;
displaying a sampling result 1 of the control module, namely voltage values of a power supply and the CAN;
displaying a sampling result 2 of the control module, namely a waveform diagram of the CAN;
and displaying the test results.
As a further scheme of the invention: the power supply module is used for supplying power to the whole system;
controlling the output voltage of the PWR +/PWR-according to the information of the adjusting module;
and controlling the output voltage of the PWR +/PWR-according to an instruction sent by the control module.
As a further scheme of the invention: and the control button is used for switching the modes of the system and controlling the whole system to be powered on or powered off.
As a further scheme of the invention: the mode switching of the system comprises the following steps:
oscilloscope mode: the function of an oscilloscope can be realized, and the waveforms of the channel 1 and the channel 2 are output;
after the control module acquires the information of the control button, sampling calculation is carried out on the channels 1 and 2, corresponding results are taken out, and the results are displayed through the display module;
short/open test mode: the CAN short circuit to the ground, the power short circuit, the CAN _ H and CAN _ L short circuit test, the ground drop, the power failure and the CAN _ L/H open circuit test of the CAN CAN be realized; after the control module acquires the information of the control button, the control module correspondingly controls the selection module, and respectively performs CAN ground short circuit, power supply short circuit, CAN _ H and CAN _ L short circuit tests, and CAN ground drop, power failure and CAN _ L/H open circuit tests;
ground drift test mode: after the control module acquires the information of the control button, corresponding control is carried out on the adjusting module 1, and ground drift test is carried out;
undervoltage and overvoltage test modes: after the control module acquires the information of the control button, the corresponding control is carried out on the adjusting module 2, and undervoltage and overvoltage tests are carried out;
power mode: the output is adjustable direct current; the voltage setting is performed by the adjusting module 1 and the adjusting module 2.
As a further scheme of the invention: the adjusting module: and the adjustment of the output voltage is realized.
As a further scheme of the invention: a CAN tester is applied to the manufacture of the CAN physical layer test system.
As a further scheme of the invention: a power supply oscilloscope is applied to the manufacture of the CAN physical layer test system.
The invention has the beneficial effects that:
1. compared with the product in the market, the cost is low;
2. the test speed is higher than that of the self-built environment;
3. the device has multiple functions, and one product CAN be used as a CAN test instrument and a power supply oscilloscope.
In summary, the present invention provides a test scheme of CAN physics, which CAN realize the following tests of CAN physical layer, such as dominant output voltage, invisible output voltage, bit rising/falling time (bit time precision), ground drift, under-voltage and over-voltage tests, ground drop, power failure, CAN open circuit, CAN short circuit to ground, power short circuit, CAN _ H and CAN _ L short circuit, etc.
Drawings
Fig. 1 is a system block diagram of a CAN physical layer test system provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Example 1
Referring to fig. 1, the present invention provides the following technical solutions: the utility model provides a CAN physical layer test system, includes equipment to be tested DTU, control module, display module, power module, control button and adjusting module, includes following:
the control module mainly performs various data operations, and the control module is interconnected with a CAN bus of the DTU through a CAN PHY chip (CAN _ H and CAN _ L); transmitting and receiving communication of the CAN is carried out;
the control module uses an internal sampling module to sample CAN buses (CAN _ H and CAN _ L) and power supplies (PWR + and PWR-), obtains sampling information 1 of the CAN buses and the power supplies, and calculates voltage values of all signals, namely sampling result 1;
the control module samples the high-precision ADC of the CAN buses (CAN _ H and CAN _ L) by using a sampling module in the control module, and draws a waveform diagram (a time domain diagram) according to the sampled information 2, namely a sampling result 2;
and carrying out various test items according to the control button module, and outputting corresponding test results.
The control module further includes a control power module that regulates an output voltage PWR + of the power supply and regulates an output voltage PWR-of the power supply.
The display module is used for outputting a test result;
displaying a sampling result 1 of the control module, namely voltage values of a power supply and the CAN;
displaying a sampling result 2 of the control module, namely a waveform diagram of the CAN;
and displaying the test results.
The power supply module is used for supplying power to the whole system;
controlling the output voltage of the PWR +/PWR-according to the information of the adjusting module;
and controlling the output voltage of the PWR +/PWR-according to an instruction sent by the control module.
And the control button is used for switching the modes of the system and controlling the whole system to be powered on or powered off.
The mode switching of the system comprises the following steps:
oscilloscope mode: the function of an oscilloscope can be realized, and the waveforms of the channel 1 and the channel 2 are output;
after the control module acquires the information of the control button, sampling calculation is carried out on the channels 1 and 2, corresponding results are taken out, and the results are displayed through the display module;
short/open test mode: the CAN short circuit to the ground, the power short circuit, the CAN _ H and CAN _ L short circuit test, the ground drop, the power failure and the CAN _ L/H open circuit test of the CAN CAN be realized; after the control module acquires the information of the control button, the control module correspondingly controls the selection module, and respectively performs CAN ground short circuit, power supply short circuit, CAN _ H and CAN _ L short circuit tests, and CAN ground drop, power failure and CAN _ L/H open circuit tests;
ground drift test mode: after the control module acquires the information of the control button, corresponding control is carried out on the adjusting module 1, and ground drift test is carried out;
undervoltage and overvoltage test modes: after the control module acquires the information of the control button, the corresponding control is carried out on the adjusting module 2, and undervoltage and overvoltage tests are carried out;
power mode: the output is adjustable direct current; the voltage setting is performed by the adjusting module 1 and the adjusting module 2.
The adjusting module: and the adjustment of the output voltage is realized.
Example 2
The CAN physical layer testing system is applied to the CAN physical layer testing system and provides a CAN tester.
Example 3
The power supply oscilloscope is applied to the CAN physical layer test system.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (9)

1. The utility model provides a CAN physical layer test system, includes equipment to be tested DTU, control module, display module, power module, control button and adjusting module, its characterized in that includes following:
the control module mainly performs various data operations, and the control module is interconnected with a CAN bus of the DTU through a CAN PHY chip (CAN _ H and CAN _ L); transmitting and receiving communication of the CAN is carried out;
the control module uses an internal sampling module to sample CAN buses (CAN _ H and CAN _ L) and power supplies (PWR + and PWR-), obtains sampling information 1 of the CAN buses and the power supplies, and calculates voltage values of all signals, namely sampling result 1;
the control module samples the high-precision ADC of the CAN buses (CAN _ H and CAN _ L) by using a sampling module in the control module, and draws a waveform diagram (a time domain diagram) according to the sampled information 2, namely a sampling result 2;
and carrying out various test items according to the control button module, and outputting corresponding test results.
2. The CAN physical layer test system of claim 1 wherein the control module further comprises a control power module that regulates the output voltage PWR + of the power supply and regulates the output voltage PWR-of the power supply.
3. The CAN physical layer test system of claim 1, wherein the display module is configured to output a test result;
displaying a sampling result 1 of the control module, namely voltage values of a power supply and the CAN;
displaying a sampling result 2 of the control module, namely a waveform diagram of the CAN;
and displaying the test results.
4. The CAN physical layer test system of claim 1 wherein the power module provides power to the entire system;
controlling the output voltage of the PWR +/PWR-according to the information of the adjusting module;
and controlling the output voltage of the PWR +/PWR-according to an instruction sent by the control module.
5. The CAN physical layer test system of claim 1, wherein the control button is used for switching system modes to control the whole system to power on and off.
6. The CAN physical layer test system of claim 5 wherein the mode switching of the system comprises:
oscilloscope mode: the function of an oscilloscope can be realized, and the waveforms of the channel 1 and the channel 2 are output;
after the control module acquires the information of the control button, sampling calculation is carried out on the channels 1 and 2, corresponding results are taken out, and the results are displayed through the display module;
short/open test mode: the CAN short circuit to the ground, the power short circuit, the CAN _ H and CAN _ L short circuit test, the ground drop, the power failure and the CAN _ L/H open circuit test of the CAN CAN be realized; after the control module acquires the information of the control button, the control module correspondingly controls the selection module, and respectively performs CAN ground short circuit, power supply short circuit, CAN _ H and CAN _ L short circuit tests, and CAN ground drop, power failure and CAN _ L/H open circuit tests;
ground drift test mode: after the control module acquires the information of the control button, corresponding control is carried out on the adjusting module 1, and ground drift test is carried out;
undervoltage and overvoltage test modes: after the control module acquires the information of the control button, the corresponding control is carried out on the adjusting module 2, and undervoltage and overvoltage tests are carried out;
power mode: the output is adjustable direct current; the voltage setting is performed by the adjusting module 1 and the adjusting module 2.
7. The CAN physical layer test system of claim 1 wherein the conditioning module: and the adjustment of the output voltage is realized.
8. A CAN tester manufactured by applying the CAN physical layer test system of any one of claims 1 to 7.
9. A power oscilloscope manufactured by applying the CAN physical layer test system according to any one of claims 1 to 7.
CN202111194349.XA 2021-10-13 2021-10-13 CAN physical layer test system, CAN tester and power supply oscilloscope Pending CN114374630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111194349.XA CN114374630A (en) 2021-10-13 2021-10-13 CAN physical layer test system, CAN tester and power supply oscilloscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111194349.XA CN114374630A (en) 2021-10-13 2021-10-13 CAN physical layer test system, CAN tester and power supply oscilloscope

Publications (1)

Publication Number Publication Date
CN114374630A true CN114374630A (en) 2022-04-19

Family

ID=81138170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111194349.XA Pending CN114374630A (en) 2021-10-13 2021-10-13 CAN physical layer test system, CAN tester and power supply oscilloscope

Country Status (1)

Country Link
CN (1) CN114374630A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298224A (en) * 2014-09-12 2015-01-21 中国第一汽车股份有限公司 Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system
KR101552714B1 (en) * 2015-05-11 2015-09-14 비티에스테크놀로지스(주) method and system for analyzing automatically physical layer in car communication
CN111694337A (en) * 2019-03-14 2020-09-22 上海锐勤电子科技有限公司 ECU network automatic test system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298224A (en) * 2014-09-12 2015-01-21 中国第一汽车股份有限公司 Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system
KR101552714B1 (en) * 2015-05-11 2015-09-14 비티에스테크놀로지스(주) method and system for analyzing automatically physical layer in car communication
CN111694337A (en) * 2019-03-14 2020-09-22 上海锐勤电子科技有限公司 ECU network automatic test system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
代寿刚,干莽,宋占伟: "基于FPGA的CAN总线故障分析仪", 《吉林大学学报(信息科学版)》, pages 1 - 2 *
杨法松: "CAN总线测试自动化研究", 《汽车实用技术》, pages 1 - 2 *

Similar Documents

Publication Publication Date Title
CN103345163B (en) Based on battery management system Testing Platform and the method for testing of hardware-in-the-loop simulation
US20070248122A1 (en) Methods and systems relating to distributed time markers
EP1123513B1 (en) Integrated multi-channel analog test instrument architecture
US20070258378A1 (en) Methods and systems relating to distributed time markers
CN204832351U (en) Small resistance and insulation resistance's integrated tester
CN111142008B (en) Circuit board power parameter testing system and method
CN100383535C (en) Method and device for calibrating wide-band sampling oscillograph
US7266463B2 (en) Signal identification method and apparatus for analogue electrical systems
CN113156242A (en) Relay protection outlet matrix detection equipment
CN114374630A (en) CAN physical layer test system, CAN tester and power supply oscilloscope
CN211878121U (en) Circuit board power parameter testing equipment and system
CN211044008U (en) BMS slave control test aging system
CN107167686B (en) Intelligent substation merging cells tests supporting device
CN218470956U (en) Novel calibration device for high-voltage switch mechanical characteristic tester
Meyer et al. An energy measurement system for characterization of energy harvesting systems
CN115032520A (en) Automatic remote measurement and control system for testing power management chip
CN210604819U (en) Test system for LoRa wireless data collector
CN103675470A (en) N*M dimension resistor network measuring device
CN211123153U (en) Simple triode amplifying circuit parameter and fault testing device
CN209895333U (en) Power supply testing device for hard disk backboard of server
CN109061524B (en) Power supply test circuit and method
CN114039902A (en) CAN bus test system capable of realizing automatic test
CN113504447A (en) Semiconductor device parameter testing device
US6795787B2 (en) Method and apparatus for calibrating a sampling circuit
CN102185739A (en) Device for testing Ethernet network cable connection diagram

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination