CN116467762A - Method and device for producing test protection computer USB interface - Google Patents

Method and device for producing test protection computer USB interface Download PDF

Info

Publication number
CN116467762A
CN116467762A CN202310451611.7A CN202310451611A CN116467762A CN 116467762 A CN116467762 A CN 116467762A CN 202310451611 A CN202310451611 A CN 202310451611A CN 116467762 A CN116467762 A CN 116467762A
Authority
CN
China
Prior art keywords
usb
voltage
current
power supply
usb interface
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
CN202310451611.7A
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.)
Shenzhen Xfanic Technology Co Ltd
Original Assignee
Shenzhen Xfanic 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 Shenzhen Xfanic Technology Co Ltd filed Critical Shenzhen Xfanic Technology Co Ltd
Priority to CN202310451611.7A priority Critical patent/CN116467762A/en
Publication of CN116467762A publication Critical patent/CN116467762A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/85Protecting input, output or interconnection devices interconnection devices, e.g. bus-connected or in-line devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Manufacturing & Machinery (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a method for producing a test protection computer USB interface, which is applied to a USB interface device circuit and comprises the steps of initializing a chip, and setting current-limiting and voltage-limiting initialization; receiving signals of USB external equipment and a PC end; reading the current and voltage transmitted by the power supply, and effectively protecting the damage of a USB A or USB C interface of a PC or notebook computer through voltage and current control; processing and outputting the obtained USB TX/RX signal, ending the test, and reducing the damage risk of the PC or notebook computer interface by the method; the invention also discloses a device for producing, testing and protecting the computer USB interface, which prolongs the service life of the computer USB interface.

Description

Method and device for producing test protection computer USB interface
Technical Field
The invention relates to the technical field of USB interfaces, in particular to a method and a device for producing, testing and protecting a computer USB interface.
Background
Along with the increasing popularization and application of the USB data transmission technology, more and more electronic devices and communication devices select to configure a USB interface to realize data transmission with external devices, and at present, the USB a or USB C interface of a computer or a notebook computer is easily damaged in the process of plugging and unplugging a USB product in production and test, so that the phenomena of high production efficiency and high maintenance cost are affected. When the tablet personal computer is subjected to charging test, the tablet personal computer is required to be connected with a host computer through a USB data line, and power supply and data interaction are performed. However, during the testing process, due to unexpected falling or special conditions caused by external force, when the USB data line needs to be plugged again, the data contact on the tablet computer or the host computer is damaged by the electrostatic surge voltage on the USB data line, so that the normal use of the tablet computer and the host computer is affected.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a method and a device for producing, testing and protecting a computer USB interface, which can improve the production efficiency and reduce the maintenance cost.
The aim of the invention is realized by the following technical scheme:
a method for producing a test protected computer USB interface, the USB interface method being applied to a USB interface device circuit, comprising:
initializing a chip, and setting current-limiting and voltage-limiting initialization; receiving signals of USB external equipment and a PC end; reading the current and the voltage transmitted by the power supply, judging whether the current does not exceed a set current threshold value or not, and judging whether the voltage does not exceed a set voltage threshold value or not; when the current threshold value and the voltage threshold value are not exceeded, controlling the product of the current value and the voltage value output by the power supply to be maximum; when the current is lower than the set current threshold or the voltage is lower than the set voltage threshold, restarting the transmission of the current and the voltage, and stopping the transmission of the current and the voltage; and acquiring a USB TX/RX signal, converting the USBTX/RX signal to obtain a converted data signal, outputting the converted data signal to a downlink port, and ending the test.
Further, after the control of the power supply part comprises the USB VBUS voltage input, judging whether the voltage exceeds a control range value or not through a voltage detection circuit, judging the output voltage when the control range value is 5 V+/-10%, and otherwise, automatically disconnecting the no-voltage output;
after USB VBUS current is input, whether the current exceeds a control range value is judged through a current detection circuit, the output current is judged when the control range value is 1.5 A+/-10%, otherwise, no current output is automatically disconnected, the USB VBUS adjusts the electronic switch device into an input voltage, and then the DCAC and DCDC voltage conversion, the output voltage adjustment and the active voltage are realized.
Further, the processing of the USB TX/RX signal includes the USB male head outputting the USB TX/RX signal to the USB female head, and then determining the signal integrity through the chip U1, and converting the signal integrity to the downstream port J1 for outputting.
Further, when judging whether the current threshold value is exceeded, performing an electronic load capacity test on the USB interface, and judging whether the USB interface is tested normally comprises the following steps:
regulating an electronic load, measuring the output voltage of a power supply, confirming whether the no-load/load voltage output by the power supply is within a specification value range, and listening to have noise within a test distance of 30 cm;
if the no-load/load voltage output by the power supply is within the specification value range and no noise is heard within the inspection distance of 30cm, the test is normal;
if the no load/load voltage of the power supply output is out of range of specification values and/or if noise is heard within 30cm of the test distance, the test is abnormal.
The USB interface device for producing, testing and protecting the computer comprises a USB male head and a USB female head connected with the USB male head, wherein the USB female head is used for receiving signals, the USB female head is connected with a chip, the integrity of the chip judgment signals is converted into a downlink port J1, the USB interface further comprises a power supply processing functional module and a chip processing module, and the power supply processing module comprises a voltage detection module and is used for detecting that the voltage of the USB VBUS is controlled at a standard voltage value;
the current detection module is used for detecting that the current of the downlink port exceeds the maximum value or is automatically disconnected for protection when the current is short-circuited;
the chip processing module is connected with the USB female head, USB data signals are input to the chip, and then the chip processing module controls the processing, conversion and output;
the power supply processing functional module controls the current threshold value and the voltage threshold value setting unit to set the current voltage value, the power supply processing functional module and the USB current voltage switching unit are interacted through a chip, and the USB current voltage switching unit is used for controlling the transmission of current voltage.
Further, the USB interface device includes a USB 3.0 interface, configured to connect with a USB 3.0 device, and pins for establishing a USB 3.0 link include: the ultra-high speed receiving differential pair pins, the ultra-high speed transmitting differential pair pins, the power supply return ground pins and the signal return ground pins.
Further, the USB interface device further includes a USB 2.0 interface, configured to connect with a USB 2.0 device, and pins for establishing a USB 2.0 link include: the ultra-high speed receiving differential pair pins, the ultra-high speed transmitting differential pair pins, the power supply return ground pins and the signal return ground pins.
Further, the current detection module and the voltage detection module detect the voltage and the current of the USB female pin, wherein the USB female pin comprises a VCC pin, a D-pin, a D+ pin, a GND pin, a TXN pin, a TXP pin, a RXN pin and a RXP pin.
Further, the interface device also comprises an alarm module, the alarm module obtains a Fault signal according to the USB data signal detected by the chip processing module, alarms the main processor through the Fault signal, and prompts warning information to a user to require checking or maintenance.
Compared with the prior art, the invention has the following advantages:
according to the invention, the current and the voltage in the device are obtained and controlled, so that the damage risk of a PC (personal computer) or a notebook computer interface is reduced, the production efficiency is improved, the maintenance cost is reduced, and the overall test efficiency can be further improved; one-time connection and multiple-time measurement can be realized, and the loss of the connector is reduced; the computer USB interface is protected through production test, and the device improves the protection performance and prolongs the service life of the computer USB interface.
Drawings
FIG. 1 is a flow chart of a method for producing a test protected computer USB interface implementing the method;
FIG. 2 is a block diagram of a method for implementing a production test protection computer USB interface device;
FIG. 3 is a circuit diagram of a USB interface device for a production test protection computer for implementing the method.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The technical solutions of 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 apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It is noted that the terms "comprising," "including," and "having," and any variations thereof, in the description and claims of the invention and in the foregoing figures, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. In the claims, specification, and drawings of the present invention, relational terms such as "first" and "second", and the like are used solely to distinguish one entity/operation/object from another entity/operation/object without necessarily requiring or implying any actual such relationship or order between such entities/operations/objects.
As shown in FIG. 1, the method for producing the USB interface of the test protection computer is applied to a USB interface device circuit and comprises the steps of initializing a chip and setting current-limiting and voltage-limiting initialization; receiving signals of USB external equipment and a PC end; reading the current and the voltage transmitted by the power supply, judging whether the current does not exceed a set current threshold value or not, and judging whether the voltage does not exceed a set voltage threshold value or not; when the current threshold value and the voltage threshold value are not exceeded, controlling the product of the current value and the voltage value output by the power supply to be maximum; when the current is lower than the set current threshold or the voltage is lower than the set voltage threshold, restarting the transmission of the current and the voltage, and stopping the transmission of the current and the voltage; and acquiring a USB TX/RX signal, converting the USB BTX/RX signal to obtain a converted data signal, outputting the converted data signal to a downlink port, ending the test, and effectively protecting the damage of a USB A or USB C interface of a PC or a notebook computer through voltage and current control.
After the control of the power supply part comprises the input of USB VBUS voltage, judging whether the voltage exceeds a control range value by a voltage detection circuit, judging the output voltage when the control range value is 5 V+/-10%, and otherwise, automatically disconnecting the no-voltage output;
after USB VBUS current is input, whether the current exceeds a control range value is judged through a current detection circuit, the output current is judged when the control range value is 1.5 A+/-10%, otherwise, no current output is automatically disconnected, the safety of the device is timely protected, the service life of the device is prolonged, the USB VBUS adjusts the electronic switch equipment into input voltage, and then the DCAC and DCDC voltage conversion, the output voltage adjustment and the active voltage are realized. The processing of the USB TX/RX signal comprises that after the USB male head outputs the USB TX/RX signal to the USB female head, the signal integrity is judged through the chip U1 and then is converted to the downlink port J1 for output.
When judging whether the current threshold value is exceeded, carrying out an electronic load capacity test on the USB interface, and judging whether the USB interface is tested normally or not, wherein the steps are as follows:
regulating an electronic load, measuring the output voltage of a power supply, confirming whether the no-load/load voltage output by the power supply is within a specification value range, and listening to have noise within a test distance of 30 cm; if the no-load/load voltage output by the power supply is within the specification value range and no noise is heard within the inspection distance of 30cm, the test is normal; if the no load/load voltage of the power supply output is out of range of specification values and/or if noise is heard within 30cm of the test distance, the test is abnormal.
As shown in fig. 2, the USB interface device for producing, testing and protecting a computer according to an implementation method includes a USB male connector and a USB female connector connected to the USB male connector, the USB female connector is used for receiving signals, the USB female connector is connected with a chip SOT23-5, the integrity of the chip judgment signals is converted to a downstream port J1, the USB interface further includes a power supply processing function module and a chip processing module, the power supply processing module includes a voltage detection module, and is used for detecting that the voltage of the USB VBUS is controlled at a standard voltage value; the current detection module is used for detecting that the current of the downlink port exceeds the maximum value or is automatically disconnected for protection when the current is short-circuited; the chip processing module is connected with the USB female head, USB data signals are input to the chip, and then the chip processing module controls the processing, conversion and output; the power supply processing functional module controls the current threshold value and the voltage threshold value setting unit to set the current voltage value, the power supply processing functional module and the USB current voltage switching unit are interacted through a chip, the USB current voltage switching unit is used for controlling the transmission of current and voltage, the chip is connected with a resistor R3 and a resistor R1, two resistors are used for limiting the current 2A, the chip is connected with a downlink port J1, and 5V voltage and 2A current are input.
As shown in fig. 3, one embodiment is as follows: the USB interface device comprises a USB 3.0 interface for connecting with a USB 3.0 device, and pins for establishing a USB 3.0 link comprise: the ultra-high speed receiving differential pair pins, the ultra-high speed transmitting differential pair pins, the power supply return ground pins and the signal return ground pins. The USB interface apparatus further includes a USB 2.0 interface for connecting with a USB 2.0 device, and pins for establishing a USB 2.0 link include: the ultra-high speed receiving differential pair pins, the ultra-high speed transmitting differential pair pins, the power supply return ground pins and the signal return ground pins.
The current detection module and the voltage detection module detect the voltage and the current of a USB female pin, wherein the USB female pin comprises a VCC pin, a D-pin, a D+ pin, a GND pin, a TXN pin, a TXP pin, a RXN pin and a RXP pin. The interface device also comprises an alarm module, the alarm module obtains a Fault signal according to the USB data signal detected by the chip processing module, alarms to the main processor through the Fault signal, prompts warning information to a user, and requires to check or maintain, and the Fault signal can prompt at the fastest speed to discover faults in time so as to solve the faults.
It should be noted that the above-mentioned embodiments are merely preferred examples of the present invention and the technical principles applied, and any changes, modifications, substitutions, combinations and simplifications made by those skilled in the art without departing from the spirit and principles of the present invention should be equivalent substitution manner within the scope of the present invention.

Claims (9)

1. A method for producing a test protected computer USB interface, the USB interface method being applied to a USB interface device circuit, comprising:
initializing a chip, and setting current-limiting and voltage-limiting initialization;
receiving signals of USB external equipment and a PC end;
reading the current and the voltage transmitted by the power supply, judging whether the current does not exceed a set current threshold value or not, and judging whether the voltage does not exceed a set voltage threshold value or not;
when the current threshold value and the voltage threshold value are not exceeded, controlling the product of the current value and the voltage value output by the power supply to be maximum;
when the current is lower than the set current threshold or the voltage is lower than the set voltage threshold, restarting the transmission of the current and the voltage, and stopping the transmission of the current and the voltage;
and acquiring a USB TX/RX signal, converting the USBTX/RX signal to obtain a converted data signal, and outputting the converted data signal to a downlink port.
2. The method for producing a test protected computer USB interface of claim 1, wherein: after the control of the power supply part comprises the input of USB VBUS voltage, judging whether the voltage exceeds a control range value or not through a voltage detection circuit, judging the output voltage when the control range value is 5 V+/-10%, and otherwise, automatically disconnecting the voltage-free output;
after the USB VBUS current is input, judging whether the current exceeds a control range value by a current detection circuit, judging that the current is output when the control range value is 1.5 A+/-10%, and otherwise, automatically cutting off the no-current output.
3. The method for producing a test protected computer USB interface of claim 1, wherein: the processing of the USB TX/RX signal comprises that after the USB male head outputs the USB TX/RX signal to the USB female head, the signal integrity is judged through the chip U1 and then is converted to the downlink port J1 for output.
4. The method for producing a test protected computer USB interface of claim 1, wherein: when judging whether the current threshold value is exceeded, carrying out an electronic load capacity test on the USB interface, and judging whether the USB interface is tested normally or not, wherein the steps are as follows:
regulating an electronic load, measuring the output voltage of a power supply, confirming whether the no-load/load voltage output by the power supply is within a specification value range, and listening to have noise within a test distance of 30 cm;
if the no-load/load voltage output by the power supply is within the specification value range and no noise is heard within the inspection distance of 30cm, the test is normal;
if the no load/load voltage of the power supply output is out of range of specification values and/or if noise is heard within 30cm of the test distance, the test is abnormal.
5. A USB interface device for production test protection computer implementing the method of any one of claims 1-4, characterized in that: the USB interface also comprises a power supply processing function module and a chip processing module, wherein the power supply processing module comprises a voltage detection module and is used for detecting that the voltage of the USB VBUS is controlled at a standard voltage value;
the current detection module is used for detecting that the current of the downlink port exceeds the maximum value or is automatically disconnected for protection when the current is short-circuited;
the chip processing module is connected with the USB female head, USB data signals are input to the chip, and then the chip processing module controls the processing, conversion and output;
the power supply processing functional module controls the current threshold value and the voltage threshold value setting unit to set the current voltage value, the power supply processing functional module and the USB current voltage switching unit are interacted through a chip, and the USB current voltage switching unit is used for controlling the transmission of current voltage.
6. The apparatus for manufacturing a test protected computer USB interface as defined in claim 5, wherein: the USB interface device comprises a USB 3.0 interface, is used for being connected with USB 3.0 equipment, and pins for establishing a USB 3.0 link comprise: the ultra-high speed receiving differential pair pins, the ultra-high speed transmitting differential pair pins, the power supply return ground pins and the signal return ground pins.
7. The apparatus for manufacturing a test protected computer USB interface as defined in claim 5, wherein: the USB interface device further comprises a USB 2.0 interface, which is used for being connected with USB 2.0 equipment, and pins used for establishing a USB 2.0 link comprise: the ultra-high speed receiving differential pair pins, the ultra-high speed transmitting differential pair pins, the power supply return ground pins and the signal return ground pins.
8. The apparatus for manufacturing a test protected computer USB interface as defined in claim 5, wherein: the current detection module and the voltage detection module detect the voltage and the current of the USB female pin, and the USB female pin comprises a VCC pin, a D-pin, a D+ pin, a GND pin, a TXN pin, a TXP pin, a RXN pin and a RXP pin.
9. The apparatus for manufacturing a test protected computer USB interface as defined in claim 5, wherein: the interface device also comprises an alarm module, wherein the alarm module obtains a Fault signal according to the USB data signal detected by the chip processing module, alarms the main processor through the Fault signal, and prompts warning information to a user to require checking or maintenance.
CN202310451611.7A 2023-04-17 2023-04-17 Method and device for producing test protection computer USB interface Pending CN116467762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310451611.7A CN116467762A (en) 2023-04-17 2023-04-17 Method and device for producing test protection computer USB interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310451611.7A CN116467762A (en) 2023-04-17 2023-04-17 Method and device for producing test protection computer USB interface

Publications (1)

Publication Number Publication Date
CN116467762A true CN116467762A (en) 2023-07-21

Family

ID=87175107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310451611.7A Pending CN116467762A (en) 2023-04-17 2023-04-17 Method and device for producing test protection computer USB interface

Country Status (1)

Country Link
CN (1) CN116467762A (en)

Similar Documents

Publication Publication Date Title
CN101860443B (en) POE load detecting method and power supply terminal equipment
CN100549973C (en) A kind of usb bus interface detection apparatus and detection method thereof
CN101944074B (en) Method and device for realizing OTG based on USB socket
CN103198033A (en) Apparatus and method of identifying a USB or an MHL device
EP3382594B1 (en) Emarker and associated cable and method
CN101769977A (en) Connector detection system
CN112367127B (en) Antenna detection circuit, electronic device, and antenna control method
CN109714235B (en) Non-polar RS485 communication interface and method for realizing non-polar RS485 communication
US20110113178A1 (en) Computer device and control method for the same
US11894673B2 (en) Electrostatic discharge (ESD) protection circuit with disable feature based on hot-plug condition detection
JP2022060365A (en) State notification method in usb type-c interface circuit, device including usb type-c interface circuit, and information processing system
CN114039400B (en) Electronic equipment
US8842983B2 (en) Data transmission systems and methods
US10965131B2 (en) Charging protection device and method thereof
CN213122241U (en) Automatic test system for testing USB3.0 interface
WO2018192440A1 (en) Charging control method, power adapter and mobile terminal
US7986159B1 (en) Method and apparatus for detecting a cable in a redriver
TW202249375A (en) Power delivery system and related method of detecting overcurrent and failure
CN116467762A (en) Method and device for producing test protection computer USB interface
CN104280189A (en) Pressure sensor fault hardware detection method and device
CN216350976U (en) Fault detection circuit, direct current power supply system and direct current equipment
US20240030915A1 (en) Interface circuit, interface circuit protection method, and terminal device
US11334506B2 (en) Interface connection device, system and method thereof
CN211426669U (en) Device for monitoring power cable aging
WO2020048276A1 (en) Charging interface protection method and charging device

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