CN107783871B - USB signal consistency code type switcher and testing system - Google Patents

USB signal consistency code type switcher and testing system Download PDF

Info

Publication number
CN107783871B
CN107783871B CN201710977546.6A CN201710977546A CN107783871B CN 107783871 B CN107783871 B CN 107783871B CN 201710977546 A CN201710977546 A CN 201710977546A CN 107783871 B CN107783871 B CN 107783871B
Authority
CN
China
Prior art keywords
signal
cable
oscilloscope
usb
load
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
CN201710977546.6A
Other languages
Chinese (zh)
Other versions
CN107783871A (en
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 Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710977546.6A priority Critical patent/CN107783871B/en
Publication of CN107783871A publication Critical patent/CN107783871A/en
Application granted granted Critical
Publication of CN107783871B publication Critical patent/CN107783871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/82Solving problems relating to consistency

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention relates to a USB signal consistency code pattern switcher and a test system, which are characterized by comprising a tested load, a code pattern switcher and an oscilloscope, wherein the tested load is provided with a USB interface; the pattern switcher includes: the device comprises a board card, a first cable and a second cable; a spring switch is fixed on the board card; one end of the first cable is provided with an SMA interface, and the other end of the first cable is connected to the first end of the spring switch; one end of the second cable is provided with a USB interface, and the other end of the second cable is connected to the second end of the spring switch; the load to be tested is respectively connected with the oscilloscope and the code type switcher through the USB interface; the code type switcher is connected with the oscilloscope. And an RX + signal interface of a second cable with a USB interface is connected to a second end of the spring switch to realize signal communication, and the spring switch is pressed to trigger signals. And test acquisition software is installed in the oscilloscope and used for acquiring the code pattern signals in the test process.

Description

USB signal consistency code type switcher and testing system
Technical Field
The invention belongs to the technical field of signal verification, and particularly relates to a USB signal consistency code type switcher and a testing system.
Background
USB is an abbreviation for Universal Serial Bus (USB), which is an external Bus standard used to specify the connection and communication between a host and an external device. History of USB protocol development: USB1.0, USB1.1, USB2.0, USB 3.0. The USB3.0 interface technology has begun to be popularized in the IT industry, and becomes the mainstream of applications of products related to the USB interface (including the USB disk). The USB3.0 is a new generation USB interface, and is characterized in that the transmission rate is very High, theoretically reaching 5Gbps, which is 10 times faster than the current 480Mbps High Speed USB (USB 2.0 for short), the appearance is basically consistent with the current USB interface, and the USB3.0 is compatible with USB1.1 equipment. USB3.0 is the latest USB specification, which is initiated by large companies such as Intel. At present, the USB3.0 is generally accepted by PC manufacturers, and the interface becomes a necessary interface for hardware manufacturers. Therefore, the quality problem of the electrical parameters of the USB3.0 needs to be tested accordingly. The link connection consistency mode (compatibility mode) of USB3.0 is mainly used for testing the transmitter physical layer signal of the host of USB 3.0. In the actual test process, how to enable the DUT to enter the corresponding test mode smoothly is the key to achieve the success of the USB3.0 test.
In the USB3.0 transmitter conformance test, the DUT to be tested needs to send out corresponding test patterns according to different test items. For example, CP0 is a random pattern used for eye pattern and overall jitter TJ testing. CP1 is a clock-like hopping data pattern used for testing spread spectrum clock SSC and random jitter RJ. In the prior art, the code type package tool software commonly used by us is Phyton or PLEVT.
When using the existing PLEVT package sending software, firstly, a USB flash disk is prepared, and the PLEVT package sending tool is copied into the USB flash disk to be operated. Secondly, the PLEVT can operate only in an environment that the BIOS supports UEFI mode and shell instructions, and has certain limitation in use. When only one USB port is arranged on the DUT, the tested port is occupied, and the performance of the packet sending test is influenced.
When the existing cable line switched by another code pattern is used, when test software prompts that the code pattern needs to be switched, the cable needs to be continuously plugged into and pulled out of a USB port of the test fixture to be triggered, the test fixture is damaged due to repeated plugging and pulling, and the operation is inconvenient. This is a disadvantage of the prior art.
Disclosure of Invention
The present invention is directed to a USB signal conformance pattern switch and a testing system, which are designed to solve the above-mentioned problems.
In order to achieve the purpose, the technical scheme of the invention is as follows:
a USB signal conformance pattern switch, comprising: the device comprises a board card, a first cable and a second cable;
a spring switch is fixed on the board card;
one end of the first cable is provided with an SMA interface, and the other end of the first cable is connected to the first end of the spring switch;
one end of the second cable is provided with a USB interface, and the other end of the second cable is connected to the second end of the spring switch.
Furthermore, an RX + signal interface of a second cable with a USB interface is connected to a second end of the spring switch to realize signal communication, and the spring switch is pressed to trigger signals.
A USB signal consistency test system comprises a tested load, a code type switcher and an oscilloscope
The load to be tested is provided with a USB interface;
the pattern switcher includes: the device comprises a board card, a first cable and a second cable;
a spring switch is fixed on the board card;
one end of the first cable is provided with an SMA interface, and the other end of the first cable is connected to the first end of the spring switch;
one end of the second cable is provided with a USB interface, and the other end of the second cable is connected to the second end of the spring switch;
the load to be tested is respectively connected with the oscilloscope and the code type switcher through the USB interface;
the code type switcher is connected with the oscilloscope.
Furthermore, an RX + signal interface of a second cable with a USB interface is connected to a second end of the spring switch to realize signal communication, and the spring switch is pressed to trigger signals.
Furthermore, a USB interface of the tested load RX + signal is connected with a USB interface of the code type switcher;
the tested load TX-signal interface is connected with a test terminal of an oscilloscope CH 1;
the tested load TX + signal interface is connected with a test terminal of an oscilloscope CH 2;
and the SMA interface of the code type switcher is connected with a FAST EDGE terminal of the oscilloscope.
Furthermore, the oscilloscope is internally provided with test acquisition software for acquiring code pattern signals in the test process.
Further, the process of testing the USB signal consistency testing system includes:
starting a load to be tested, and acquiring a CP0 code pattern signal by acquisition software;
triggering the spring switch, acquiring a CPI code pattern signal by acquisition software, and switching the code pattern of the load to be measured according to the sequence of CP0 → CP1 → CP2 → CP3 → CP4 → CP5 → CP6 → CP7 → CP8 → CP0 → … … once the spring switch is triggered.
The invention has the advantages that the invention does not need to manufacture the USB flash disk for testing the packet, does not depend on the running environment of the packet sending software, and is not limited by the number of the USB ports of the DUT. And manually triggering the required test code pattern according to the test requirement. The method can simplify the number of devices required in the USB3.0 test, overcomes the defects of the existing code pattern switching tool, is simple, convenient and quick to operate, and greatly improves the test efficiency.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
Fig. 1 is a schematic connection diagram of a transcoder according to embodiment 1 of the present invention.
Fig. 2 is a schematic connection diagram of a USB signal conformance testing system according to embodiment 2 of the present invention.
The device comprises a board card 1, a spring switch 2, a second cable 3, a first cable 4, an oscilloscope 5 and a tested load 6.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings by way of specific examples, which are illustrative of the present invention and are not limited to the following embodiments.
As shown in fig. 1, an embodiment 1 provides a USB signal consistency pattern switch, which includes: the integrated circuit board comprises a board card 1, a first cable 4 and a second cable 3;
a spring switch 2 is fixed on the board card 1;
one end of the first cable 4 is provided with an SMA interface, and the other end is connected to the first end of the spring switch 2;
the second cable 3 has a USB port at one end and is connected to the second end of the spring switch 2 at the other end.
And an RX + signal interface of a second cable 3 with a USB interface is connected to a second end of the spring switch 2 to realize signal communication, and the spring switch 2 is pressed to trigger signals.
As shown in fig. 2, the USB signal consistency testing system provided in embodiment 2 includes a load 6 to be tested, a code type switch, and an oscilloscope 5;
the load 6 to be tested is provided with a USB interface;
the integrated circuit board comprises a board card 1, a first cable 4 and a second cable 3;
a spring switch 2 is fixed on the board card 1;
one end of the first cable 4 is provided with an SMA interface, and the other end is connected to the first end of the spring switch 2;
the second cable 3 has a USB port at one end and is connected to the second end of the spring switch 2 at the other end.
The load 6 to be tested is respectively connected with the oscilloscope 5 and the code type switcher through USB interfaces;
the code pattern switcher is connected to the oscilloscope 5.
And an RX + signal interface of a second cable 3 with a USB interface is connected to a second end of the spring switch 2 to realize signal communication, and the spring switch 2 is pressed to trigger signals.
The RX + signal USB interface of the tested load 6 is plugged with the USB interface of the code type switcher;
the TX-signal interface of the load to be tested 6 is connected with a CH1 test terminal of the oscilloscope 5;
the TX + signal interface of the load to be tested 6 is connected with a CH2 test terminal of the oscilloscope 5;
the SMA interface of the code type switcher is connected to the FAST EDGE terminal of the oscilloscope 5.
And test acquisition software is installed in the oscilloscope 5 and used for acquiring code pattern signals in the test process.
The process of testing the USB signal consistency testing system comprises the following steps:
starting the load 6 to be tested, and acquiring a CP0 code pattern signal by acquisition software;
triggering the spring switch 2, acquiring a CPI code pattern signal by acquisition software, and switching the code pattern of the load 6 to be measured of the spring switch 2 once according to the sequence of CP0 → CP1 → CP2 → CP3 → CP4 → CP5 → CP6 → CP7 → CP8 → CP0 → … ….
The USB3.0 sending terminal consistency test, after the USB3.0 equipment is connected to the oscilloscope 5 through the code pattern switcher and powered on, because the oscilloscope terminal 50 omega termination resistance exists, the load 6 to be tested will send the negotiation code pattern signal of the LFPS first, and will enter the test mode and start sending the test code pattern after receiving no response from the opposite terminal.
The signal pattern of Ping.LFPS is driven into the RX end of the load to be measured, and the pattern of the load to be measured is switched once according to the sequence of CP0 → CP1 → CP2 → CP3 → CP4 → CP5 → CP6 → CP7 → CP8 → CP0 → … … when receiving a group of Ping.LFPS patterns. The USB3.0 device uses the output of FAST EDGE terminal of oscilloscope 5 to control the state switching of the tested load 6, when the tested load 6 needs to send out corresponding code pattern such as CP1 in the consistency test, the FAST EDGE of oscilloscope 5 is connected to RX + signal terminal of USB port of USB3.0 code type switcher, and then the trigger is carried out by pressing spring switch 2 of the code type switcher, so as to obtain the corresponding CP1 code pattern. Since the spring switch 2 is used, after the signal is switched by one click, the link of the pattern switch is in a disconnected state, so that the RX end does not receive the pulse signal any more and keeps in a CP1 pattern state. After the USB3.0 consistency test software acquires the LFPS and CP0 signals, the USB3.0 consistency test software prompts that the tested load 6 is required to send out a CP1 code pattern, the CP1 code pattern is triggered according to the design operation and is confirmed to be consistent with the code pattern of the specification, and then the OK is clicked, so that the CP1 code pattern is successfully acquired, and the test is completed.
The above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.

Claims (5)

1. A USB signal conformance code pattern switch, comprising: the device comprises a board card, a first cable and a second cable;
a spring switch is fixed on the board card;
one end of the first cable is provided with an SMA interface, and the other end of the first cable is connected to the first end of the spring switch;
one end of the second cable is provided with a USB interface, and the other end of the second cable is connected to the second end of the spring switch;
an RX + signal interface of a second cable with a USB interface is connected to a second end of the spring switch to realize signal communication, and the spring switch is pressed to trigger a signal;
the use process of the code pattern switcher is as follows:
after the USB3.0 device is connected to the oscilloscope 5 through the code type switch and powered on, due to the existence of the 50 Ω termination resistor at the oscilloscope end, the load 6 to be tested will send the negotiation code type signal of the LFPS first, and when the opposite end response is not received, the test mode will be entered and the test code type will be sent.
2. A USB signal consistency test system is characterized by comprising a tested load, a code type switcher and an oscilloscope;
the load to be tested is provided with a USB interface;
the pattern switch of claim 1;
the load to be tested is respectively connected with the oscilloscope and the code type switcher through the USB interface;
the code type switcher is connected with the oscilloscope.
3. The system of claim 2, wherein the USB interface of the RX + signal under test is connected to the USB interface of the transcoder;
the tested load TX-signal interface is connected with a test terminal of an oscilloscope CH 1;
the tested load TX + signal interface is connected with a test terminal of an oscilloscope CH 2;
and the SMA interface of the code type switcher is connected with a FAST EDGE terminal of the oscilloscope.
4. The USB signal consistency test system according to claim 3, wherein the oscilloscope is provided with test acquisition software for acquiring the code pattern signal during the test process.
5. The USB signal conformance testing system of claim 4, wherein the process of testing the USB signal conformance testing system comprises:
starting a load to be tested, and acquiring a CP0 code pattern signal by acquisition software;
triggering the spring switch, acquiring a CPI code pattern signal by acquisition software, and switching the code pattern of the load to be measured according to the sequence of CP0 → CP1 → CP2 → CP3 → CP4 → CP5 → CP6 → CP7 → CP8 → CP0 → … … once the spring switch is triggered.
CN201710977546.6A 2017-10-19 2017-10-19 USB signal consistency code type switcher and testing system Active CN107783871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710977546.6A CN107783871B (en) 2017-10-19 2017-10-19 USB signal consistency code type switcher and testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710977546.6A CN107783871B (en) 2017-10-19 2017-10-19 USB signal consistency code type switcher and testing system

Publications (2)

Publication Number Publication Date
CN107783871A CN107783871A (en) 2018-03-09
CN107783871B true CN107783871B (en) 2021-06-11

Family

ID=61434681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710977546.6A Active CN107783871B (en) 2017-10-19 2017-10-19 USB signal consistency code type switcher and testing system

Country Status (1)

Country Link
CN (1) CN107783871B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008102B (en) * 2019-10-18 2023-01-10 苏州浪潮智能科技有限公司 FPGA accelerator card high-speed interface SI test control device, system and method
CN111367730A (en) * 2020-02-20 2020-07-03 浪潮商用机器有限公司 USB interface test system and code pattern switching device thereof
CN111737066A (en) * 2020-05-29 2020-10-02 浪潮电子信息产业股份有限公司 USB signal testing system and method
CN111737070A (en) * 2020-06-19 2020-10-02 浪潮电子信息产业股份有限公司 USB3.0 interface signal test system and method
CN114006631B (en) * 2021-09-17 2023-04-07 苏州浪潮智能科技有限公司 Cable testing device and method based on code pattern signal verification
CN115202948B (en) * 2022-09-15 2022-11-15 深圳市鼎阳科技股份有限公司 Electrical consistency testing device of USB2.0 interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1317798A (en) * 2000-03-23 2001-10-17 因芬尼昂技术股份公司 Integrated memory with bit lead reference voltage and method for generating such voltage
CN101470191A (en) * 2007-12-26 2009-07-01 精工爱普生株式会社 Multipath signal judging method, program, and multipath signal judging device
CN102722951A (en) * 2012-05-30 2012-10-10 深圳光启创新技术有限公司 LED lamp intrusion alarm based on visible light communication
CN103368727A (en) * 2013-06-28 2013-10-23 安徽量子通信技术有限公司 Portable automatic calibration system and method for position of light source

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8824838B2 (en) * 2010-12-07 2014-09-02 Corning Cable Systems Llc Integrated circuit for facilitating optical communication between electronic devices
CN202167730U (en) * 2011-06-24 2012-03-14 惠州Tcl移动通信有限公司 USB switching device used for test
BR102012012062A2 (en) * 2012-05-21 2015-04-14 Hit Tecnologia Em Saúde Ltda Me Elotromedical equipment for automated newborn screening with possible congenital heart disease
TWI624755B (en) * 2012-09-11 2018-05-21 安格科技股份有限公司 Method of getting out from error entering to test mode in usb apparatus
CN103885861A (en) * 2012-12-22 2014-06-25 鸿富锦精密工业(武汉)有限公司 Testing device for start-up test of electronic device
CN103778672A (en) * 2013-04-15 2014-05-07 深圳市金溢科技有限公司 Communication performance test method and general-purpose tester
CN104090198B (en) * 2014-07-02 2017-01-04 长芯盛(武汉)科技有限公司 A kind of USB 3.0 testing lines method and test device thereof
CN204831768U (en) * 2015-08-10 2015-12-02 东莞联洲电子科技有限公司 Reliability testing machine of port socket of USB wire rod
CN105335274B (en) * 2015-10-15 2018-06-19 上海斐讯数据通信技术有限公司 Automate USB control systems
CN206402245U (en) * 2017-02-03 2017-08-11 北京经纬恒润科技有限公司 A kind of test board

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1317798A (en) * 2000-03-23 2001-10-17 因芬尼昂技术股份公司 Integrated memory with bit lead reference voltage and method for generating such voltage
CN101470191A (en) * 2007-12-26 2009-07-01 精工爱普生株式会社 Multipath signal judging method, program, and multipath signal judging device
CN102722951A (en) * 2012-05-30 2012-10-10 深圳光启创新技术有限公司 LED lamp intrusion alarm based on visible light communication
CN103368727A (en) * 2013-06-28 2013-10-23 安徽量子通信技术有限公司 Portable automatic calibration system and method for position of light source

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
USB3.0及测试解决方案;安捷伦科技;《电子产品世界》;20100304;第17卷(第3期);56-58页 *

Also Published As

Publication number Publication date
CN107783871A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
CN107783871B (en) USB signal consistency code type switcher and testing system
CN109885434B (en) Integrated test system and method for FPGA high-speed SerDes interface
CN104778109B (en) Program downloading system and method of PCIE/PCIX external plug-in card
CN110515788B (en) Testing device for data interface
EP2449391A1 (en) Programmable protocol generator
JP2013507610A5 (en)
CN102981916B (en) A kind of mobile terminal and control method thereof and device
CN105302750A (en) Interface function configuration method and electronic equipment
CN113014339B (en) Quality test method, device and equipment for PCIe external plug-in card receiving channel
CN105372619A (en) Safe chip power-down testing equipment
CN211062033U (en) Test adapter and test equipment
TW201528833A (en) System and method for testing data packet transceivers having varied performance characteristics and requirements using standard test equipment
CN101750578A (en) Automatic test system for integrated circuit board electrodes
CN103048559A (en) Method for testing USB (universal serial bus) equipment and ATE (automatic test equipment)
CN210742925U (en) Simulator interface switching circuit board and development test system
CN102411528A (en) MXM (Mobile PCI-Express Module)-interface testing-connecting card and testing system provided with same
CN103810068A (en) SD card slot based debugging equipment, system and method
CN113949654A (en) Test fixture for M.2 interface and use method thereof
TWI709851B (en) Usb port test system and method for dynamically testing usb port
CN107391405A (en) Usb circuit and USB device
CN115202948B (en) Electrical consistency testing device of USB2.0 interface
CN104460375A (en) Multi-signal generation device and method used for combined grade product debugging
CN219657814U (en) USB3.0PHY chip verification test board
CN109388528A (en) The test fixture of USB test method and USB device
CN215006630U (en) Clock trigger board, device and system for PCIe rate switching

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
GR01 Patent grant
GR01 Patent grant