An exemplary load circuit includes a switch unit and a current dividing circuit. The switch unit includes a number of switches. The current dividing circuit includes a number of sub-circuits. A terminal of a resistance module of each of the sub-circuits is connected to both a power terminal and a terminal of a corresponding one of the switches. The other terminal of the resistance module of each of the sub-circuits is connected to a drain of a transistor of each of the sub-circuits. A source of the transistor is connected to ground. A gate of the transistor is connected to ground, and is also connected to another terminal of the corresponding switch.
|
13. A load circuit, comprising:
a switch unit comprising a plurality of switches; and
a current dividing circuit comprising a plurality of sub-circuits;
wherein each of the sub-circuits is connectable to at least one Universal Serial Bus (USB) port and connected to a corresponding one of the switches;
each of the sub-circuits is configured to draw a respective load current from the at least one USB port when the sub-circuit is connected to the at least one USB port and the corresponding switch is turned on; and
when a selected one or a selected plurality of the switches is or are turned on, the corresponding one sub-circuit or corresponding plurality of sub-circuits is or are connected to the at least one USB port, and the corresponding one sub-circuit or corresponding plurality of sub-circuits draw a desired load current from the at least one USB port.
1. A load circuit for simulating different standard load currents for different kinds of Universal Serial Bus (USB) ports, each of the USB ports comprising a power terminal; the load circuit comprising:
a switch unit comprising a plurality of switches; and
a current dividing circuit comprising a plurality of sub-circuits, each of the sub-circuits comprising a resistance module and a transistor, wherein a terminal of the resistance module of each of the sub-circuits is connected to both the power terminal and a terminal of a corresponding one of the switches, another terminal of the resistance module of each of the sub-circuits is connected to a drain of the transistor, a source of the transistor is connected to ground, and a gate of the transistor is connected to ground through a resistor and is also connected to another terminal of the corresponding switch through another resistor.
2. The load circuit of
3. The load circuit of
4. The load circuit of
6. The load circuit of
7. The load circuit of
8. The load circuit of
9. The load circuit of
10. The load circuit of
11. The load circuit of
12. The load circuit of
|
1. Technical Field
The disclosure generally relates to load circuits, and particularly to a load circuit for testing Universal Serial Bus (USB) ports.
2. Description of the Related Art
USB ports include four different kinds, namely type 1.0, type 1.1, type 2.0, and type 3.0. For testing a performance of the various USB ports, many different standard load currents are needed. Typically, any one load circuit used in such testing can only simulate one standard load current. As a result, different load circuits must be provided for different kinds of USB ports, which is inconvenient and costly.
Therefore, there is room for improvement within the art.
Many aspects of the present embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several diagrams. Wherever possible, the same reference numbers are used throughout the drawings to refer to the same or like elements of an embodiment.
The switch unit 11 is a toggle switch, and includes first to sixteenth terminals, which are separately labeled as S1-S16. In this embodiment, the first terminal 51 can be electronically connected to and disconnected from the sixteenth terminal S16 by pushing a corresponding one of eight shift bars (not labeled) of the switch unit 11, thereby providing a first switch SW1. The second terminal S2 can be electronically connected to and disconnected from the fifteenth terminal S15 by pushing a corresponding one of the shift bars, thereby providing a second switch SW2. The third terminal S3 can be electronically connected to and disconnected from the fourteenth terminal S14 by pushing a corresponding one of the shift bars, thereby providing a third switch SW3. The fourth terminal S4 can be electronically connected to and disconnected from the thirteenth terminal S13 by pushing a corresponding one of the shift bars, thereby providing a fourth switch SW4. The fifth terminal S5 can be electronically connected to and disconnected from the twelfth terminal S12 by pushing a corresponding one of the shift bars, thereby providing a fifth switch SW5. The sixth terminal S6 can be electronically connected to and disconnected from the eleventh terminal S11 by pushing a corresponding one of the shift bars, thereby providing a sixth switch SW6. The seventh terminal S7 can be electronically connected to and disconnected from the tenth terminal S10 by pushing a corresponding one of the shift bars, thereby providing a seventh switch SW7. The eighth terminal S8 can be electronically connected to and disconnected from the ninth terminal S9 by pushing a corresponding one of the shift bars, thereby providing an eighth switch SW8. In this embodiment, the eighth switch SW8 is idle.
The current dividing circuit 13 includes a first sub-circuit 131, a second sub-circuit 132, a third sub-circuit 133, a fourth sub-circuit 134, a fifth sub-circuit 135, and a sixth sub-circuit 136.
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
In this embodiment, the resistances of the first to sixth resistance modules Rf1-Rf6 are respectively about 50 ohms, 50 ohms, 35 ohms, 35 ohms, 10 ohms, and 7 and 1/7 ohms. In detail, the first resistance module Rf1 includes four resistors R13-R16 connected in series. The resistances of the four resistors R13-R16 are respectively about 15 ohms, 15 ohms, 10 ohms, and 10 ohms. The second resistance module Rf2 includes four resistors R17-R20 connected in series. The resistances of the four resistors R17-R20 are respectively about 15 ohms, 15 ohms, 10 ohms, and 10 ohms. The third resistance module Rf3 includes three resistors R21-R23 connected in series. The resistances of the three resistors R21-R23 are respectively about 10 ohms, 10 ohms, and 15 ohms. The fourth resistance module Rf4 includes three resistors R24-R26 connected in series. The resistances of the three resistors R24-R26 are respectively about 15 ohms, 10 ohms, and 10 ohms.
The fifth resistance module Rf5 includes four resistors R27-R30. The resistors R27-R28 are connected in series, and the resistors R29-R30 are separately connected in series. The two series of resistors, namely the resistors R27-R28 and the resistors R29-R30, are connected in parallel between the power terminal 201 and the drain of the fifth transistor M5. The resistances of the four resistors R27-R30 are all about 10 ohms. The sixth resistance module Rf6 includes eight resistors R31-R38. The resistors R31-R32 are connected in series, the resistors R33-R34 are separately connected in series, the resistors R35-R36 are separately connected in series, and the resistors R37-R38 are separately connected in series. The four series of resistors, namely the resistors R31-R32, the resistors R33-R34, the resistors R35-R36 and the resistors R37-R38, are connected in parallel between the power terminal 201 and the drain of the sixth transistor M6. The resistances of the eight resistors R31-R38 are respectively about 15 ohms, 10 ohms, 15 ohms, 10 ohms, 10 ohms, 10 ohms, 10 ohms, and 10 ohms.
When the first switch SW1 is turned on and the other switches SW2-SW8 are turned off, the power terminal 201 outputs a high level signal (e.g., logic 1) to the gate of the first transistor M1 through the first switch SW1, thereby driving the first transistor M1 to turn on. In this way, a current I1 flowing through the first resistance module Rf1 and the first transistor M1 is about
Similarly, when the second switch SW2 is turned on and the other switches SW1 and SW3-SW8 are turned off, a current I2 flowing through the second resistance module Rf2 and the second transistor M2 is about 100 mA (milliamperes). When the third switch SW3 is turned on and the other switches SW1-SW2 and SW4-SW8 are turned off, a current I3 flowing through the third resistance module Rf3 and the third transistor M3 is about 150 mA. When the fourth switch SW4 is turned on and the other switches SW1-SW3 and SW5-SW8 are turned off, a current I4 flowing through the fourth resistance module Rf4 and the fourth transistor M4 is about 150 mA. When the fifth switch SW5 is turned on and the other switches SW1-SW4 and SW6-SW8 are turned off, a current I5 flowing through the fifth resistance module Rf5 and the fifth transistor M5 is about 500 mA. When the sixth switch SW6 is turned on and the other switches SW1-SW5 and SW7-SW8 are turned off, a current I6 flowing through the sixth resistance module Rf6 and the sixth transistor M6 is about 900 mA.
Referring to the table below, when one type of the USB port 200 is tested, a tester turns on one or a plurality of the first to sixth switches SW1-SW6, thereby connecting one or a plurality of the first to sixth sub-circuits 131-136 to the USB port 200. For example, when the first switch SW1 or the second switch SW2 is turned on, the current dividing circuit 13 consumes a load current of about 100 mA via the first sub-circuit 131 or the second sub-circuit 132 to simulate a minimum-standard load current for one USB port 200 of type 1.0, type 1.1, or type 2.0. When the first switch SW1 and the second switch SW2 are turned on, the current dividing circuit 13 consumes a load current of about 200 mA via both the first sub-circuit 131 and the second sub-circuit 132 to simulate a minimum-standard load current for two USB ports 200 of type 1.0, type 1.1, or type 2.0. When the third switch SW3 or the fourth switch SW4 is turned on, the current dividing circuit 13 consumes a load current of about 150 mA via the third sub-circuit 133 or the fourth sub-circuit 134 to simulate a minimum-standard load current for a USB port 200 of type 3.0. When the first to fourth switches SW1-SW4 are turned on, the current dividing circuit 13 consumes a load current of about 1000 mA via the first to fourth sub-circuits 131-134 to simulate a maximum-standard load current for two USB ports 200 of type 1.0, type 1.1, or type 2.0.
The table below sets out a relation between states of the switches and load currents:
Load current (mA)
(Imin: a minimum-
standard load current;
States of the switches
Imax: a maximum-
(1: on; 0: off)
Type
Amount
standard load current)
SW1
SW2
SW3
SW4
SW5
SW6
type 1.0,
one
Imin
100
1
0
0
0
0
0
type 1.1,
0
1
0
0
0
0
or type
Imax
500
1
1
1
1
0
0
2.0
two
Imin
200
1
1
0
0
0
0
Imax
1000
1
1
1
1
1
0
type 3.0
one
Imin
150
0
0
1
0
0
0
0
0
0
1
0
0
Imax
900
1
0
1
1
1
0
two
Imin
300
0
0
1
1
0
0
Imax
1800
1
0
1
1
1
1
In use, when one type of the USB port 200 is tested, the tester turns on one or a plurality of the first to sixth switches SW1-SW6. In detail, when one USB port 200 of type 1.0, type 1.1, or type 2.0 is being tested, the first sub-circuit 131 or the second sub-circuit 132 is connected to the USB port 200 under test to consume a minimum-standard load current by means of turning on the first switch SW1 or the second switch SW2; and the first to fourth sub-circuits 131-134 are connected to the USB port 200 under test to consume a maximum-standard load current by means of turning on the first to fourth switches SW1-SW4. When two USB ports 200 of type 1.0, type 1.1, or type 2.0 are being tested, both the first sub-circuit 131 and the second sub-circuit 132 are connected to the USB ports 200 under test to consume a minimum-standard load current; and the first to fifth sub-circuits 131-135 are connected to the USB ports 200 under test to consume a maximum-standard load current.
When one USB port 200 of type 3.0 is being tested, the third sub-circuit 133 is connected to the USB port 200 under test to consume a minimum-standard load current; and the first sub-circuit 131 and the third to fifth sub-circuits 133-135 are all connected to the USB port 200 under test to consume a maximum-standard load current. When two USB ports 200 of type 3.0 are being tested, both the third sub-circuit 133 and the fourth sub-circuit 134 are connected to the USB ports 200 under test to consume a minimum-standard load current; and the first sub-circuit 131 and the third to sixth sub-circuits 133-136 are all connected to the USB ports 200 under test to consume a maximum-standard load current.
In other embodiments, the load circuit 100 further includes a malfunction indication circuit 15. The malfunction indication circuit 15 includes a light-emitting diode (LED) D1. An anode of the LED D1 is connected to the power terminal 201 through a resistor R39. A cathode of the LED D1 is connected to ground. When the power terminal 201 provides a normal voltage to the load circuit 100, the voltage is connected to ground via the resistor R39 and the LED D1, and the LED D1 is turned on. When the power terminal 201 is unable to output any voltage due to a malfunction, the LED D1 is off, as an indication to the user.
In other embodiments, the load circuit 100 further includes a function-testing circuit 17. The function-testing circuit 17 includes a control switch SW-PB. A terminal of the control switch SW-PB is connected to the power terminal 201 via the seventh switch S7, and the other terminal of the control switch SW-PB is connected to ground. The user can test the short-circuit performance of the load circuit 100 when the seventh switch S7 and the control switch SW-PB are both turned on.
In the present specification and claims, the word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. Further, the word “comprising” does not exclude the presence of elements or steps other than those listed.
It is to be also understood that even though numerous characteristics and advantages of exemplary embodiments have been set forth in the foregoing description, together with details of the structures and functions of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of arrangement of parts within the principles of this disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Patent | Priority | Assignee | Title |
9886413, | Sep 21 2012 | NXP B.V.; NXP, B V | Displayport over USB mechanical interface |
Patent | Priority | Assignee | Title |
20100141266, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jul 11 2012 | LI, ZHEN-SEN | HONG FU JIN PRECISION INDUSTRY SHENZHEN CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 028582 | /0318 | |
Jul 11 2012 | SHEN, JIAN-SHE | HONG FU JIN PRECISION INDUSTRY SHENZHEN CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 028582 | /0318 | |
Jul 11 2012 | LI, ZHEN-SEN | HON HAI PRECISION INDUSTRY CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 028582 | /0318 | |
Jul 11 2012 | SHEN, JIAN-SHE | HON HAI PRECISION INDUSTRY CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 028582 | /0318 | |
Jul 18 2012 | Hong Fu Jin Precision Industry (ShenZhen) Co., Ltd. | (assignment on the face of the patent) | / | |||
Jul 18 2012 | Hon Hai Precision Industry Co., Ltd. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Apr 16 2018 | REM: Maintenance Fee Reminder Mailed. |
Oct 08 2018 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Sep 02 2017 | 4 years fee payment window open |
Mar 02 2018 | 6 months grace period start (w surcharge) |
Sep 02 2018 | patent expiry (for year 4) |
Sep 02 2020 | 2 years to revive unintentionally abandoned end. (for year 4) |
Sep 02 2021 | 8 years fee payment window open |
Mar 02 2022 | 6 months grace period start (w surcharge) |
Sep 02 2022 | patent expiry (for year 8) |
Sep 02 2024 | 2 years to revive unintentionally abandoned end. (for year 8) |
Sep 02 2025 | 12 years fee payment window open |
Mar 02 2026 | 6 months grace period start (w surcharge) |
Sep 02 2026 | patent expiry (for year 12) |
Sep 02 2028 | 2 years to revive unintentionally abandoned end. (for year 12) |