CN108732438A - One kind being used for the measurement jig and method of general purpose I/O port - Google Patents
One kind being used for the measurement jig and method of general purpose I/O port Download PDFInfo
- Publication number
- CN108732438A CN108732438A CN201710287621.6A CN201710287621A CN108732438A CN 108732438 A CN108732438 A CN 108732438A CN 201710287621 A CN201710287621 A CN 201710287621A CN 108732438 A CN108732438 A CN 108732438A
- Authority
- CN
- China
- Prior art keywords
- gpio
- port
- measurement jig
- input
- test
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
The present invention provides a kind of measurement jig for GPIO.The measurement jig for GPIO includes:Power supply is tested, for providing test level;Jig main body, for providing connection and modular support;Connecting terminal carries out signal input for connecting external interface;Input port, for connecting the connecting terminal input signal;Output port, for connecting output signal;Wherein, the measurement jig further includes the toggle switch being connected between the input port and the output port, the connection break-make for controlling the input port and the output port.The present invention also provides a kind of for testing the test method of GPIO, and the present invention is capable of the GPIO port product of test different types in production, saves working hour, reduces maintenance cost, improves production efficiency.
Description
Technical field
The present invention relates to Electronics Science and Technology field, more particularly to a kind of measurement jig for general purpose I/O port and
Method.
Background technology
General input/output port (General Purpose Input Output, GPIO) makes on industrial master board
With very extensive, by GPIO port can be carried out with hardware the hardware efforts such as data interaction, control LED, buzzer, read it is hard
The working state signal etc. of part.Each GPIO port can be each configured to output low and high level by software or be read by them
The high level or low level of inbound port pin.GPIO has many advantages, such as that low-power consumption, small package, low cost, wiring are simple.
To meet the application demand of different clients, there are a plurality of types of GPIO for industrial master board.From the PIN foot quantity of port
Classify, there are the GPIO such as 8 tunnels, 16 tunnels, 32 tunnels, classifies from application, there is the GPIO of the types such as isolation, non-isolated.Cause
This need to make specific purpose tool in production test, using different types of GPIO port product, delay working hour, and increase maintenance
Cost influences production efficiency.
Currently, temporary not general measurement jig in the market, therefore, it is necessary to provide general GPIO for a variety of GPIO ports
Measurement jig.
Invention content
A kind of measurement jig and method being used for general purpose I/O port provided by the invention, can be directed to a variety of GPIO ports
General measurement jig is provided.
In a first aspect, the present invention provides a kind of measurement jig for GPIO, including:
Power supply is tested, for providing test level;
Jig main body, for providing connection and modular support;
Connecting terminal carries out signal input for connecting external interface;
Input port, for connecting the connecting terminal input signal;
Output port, for connecting output signal;
Wherein, the measurement jig further includes that the dial-up being connected between the input port and the output port is opened
It closes, the connection break-make for controlling the input port and the output port.
Optionally, above-mentioned measurement jig includes a mutually independent direct current 5V power input and a direct current 60V-110V
Power input.
Optionally, above-mentioned measurement jig includes DB44Pin and/or DB25Pin and/or 22Pin and/or 2X5Pin models
Connecting terminal.
Optionally, above-mentioned input port includes that the one 8 tunnel input subport and the 2nd 8 tunnel input subport, the output
Port includes that the one 8 tunnel output subport and the 2nd 8 tunnel export subport.
Optionally, low and high level is arranged by test software in above-mentioned input port and the output port.
Optionally, above-mentioned test software is the special BPI test programs of GPIO.
Optionally, above-mentioned output port can access the interface of the extractions such as aviation head, phoenix terminal, LPT port.
On the other hand, the present invention provides a kind of test method using above-mentioned measurement jig, including:
Step 1:Judge the type of GPIO;
Step 2:For non-isolation type GPIO products, by input port described in the toggle switch short circuit and described defeated
Exit port is high level using test software setting output port, is when the test software reads the input port
When high level, judge that the GPIO products are normal;
Step 3:For isolated form GPIO products, the test power supply accesses the input port by resistance, using referring to
The property shown electronic device accesses the output port, is high level when the test software reads the input port, and the finger
When the property shown electronic device works, judge that the GPIO products are normal.
Optionally, above-mentioned indicative electronic device includes charactron.
Optionally, above-mentioned test software has display screen, and the input port and the output are shown for visualizing
The on off operating mode of port.
Measurement jig and method provided in an embodiment of the present invention for general purpose I/O port can in production be tested not
The GPIO port product of same type, saves working hour, reduces maintenance cost, improve production efficiency.
Description of the drawings
Fig. 1 is the measurement jig structural schematic diagram for GPIO of one embodiment of the invention;
Fig. 2 is the test flow chart of the GPIO of one embodiment of the invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The every other embodiment that member is obtained without making creative work, shall fall within the protection scope of the present invention.
The present invention provides a kind of measurement jig and method of general purpose I/O port, may be implemented to non-isolated type and isolation
The test of the GPIO interface function of type.Wherein, for the test of the GPIO interface function of non-isolated type, short-circuit GPIO's is defeated
Enter output, output level is arranged by software, incoming level is read by software automatically;For the GPIO interface work(of type of isolation
The test of energy, then whether normal by the light on and off intuitive judgment output function of LED light, independent current source incoming level test input,
Software judges whether input function is normal.
Particularly, in one embodiment of the invention, for testing non-isolated type and type of isolation GPIO interface work(
The software of energy can be special BPI (BIOS Programming Interface access hardware unified interface specification) test journey
Sequence.Special BPI test programs main function is control GPIO outputs, reads GPIO incoming levels.Typically, which surveys
Examination program can be realized tests GPIO interface function for same jig by the way that toggle switch is arranged.
Fig. 1 shows the measurement jig structural schematic diagram for GPIO of one embodiment of the present of invention.As shown, this
Invention jig provides four connecting terminals, is DB44Pin, DB25Pin, 22Pin, 2X5Pin connecting terminal, external connection respectively
The input of corresponding interface, this four interfaces is coupled with S3 (1-8Pin) and S4 (1-8Pin) in the GPIO measurement jigs,
Output signal is then coupled with the S1 (1-8Pin) of the GPIO measurement jigs, S2 (1-8Pin).It is defeated that 16 tunnels are formed by S3 and S4
Inbound port forms 16 road output ports, totally 32 tunnel by S1 and S2, is connected by a plucking number sign switch between input and output.
Particularly, the GPIO measurement jigs of one embodiment of the invention have direct current 5V and direct current 60V-110V two mutually solely
Vertical dual power supply input, can provide suitable test level for the GPIO interface of varying level range.
For the GPIO products of non-isolated type, when output accesses the test of 8 segment numeral pipes by current-limiting resistance, pass through dial-up
Switch makes GPIO output and input pin short circuit, is height by software setting output, due to input and output short circuit, GPIO is defeated at this time
Enter also is high level.Preferably, the software for being used for test is BPI test programs, and software is by judging the level shape of input pin
State carrys out test product GPIO functions.When the input that program is read is high level, then in the lamp of program interface Shang Gai road GPIO
It lights, illustrates that the route road is normal;Otherwise road GPIO lamps are dark, illustrate that the circuit damages.
Particularly, can see which road GPIO that specifically damage is by the display panel of special BPI test programs, so as to
In debugging.
5V or direct current can be used according to the specific design scheme of test product for the GPIO products using type of isolation
60V-110V test levels are connected to each GPIO input pins by resistance respectively.GPIO input pins are can determine whether by test software
The state of level reaches the function of test GPIO inputs.When connecting incoming level, special BPI test programs read high electricity
Flat, then the lamp on program interface Shang Jianggai road GPIO is lighted, and output pin connects 8 segment numeral pipes, and special BPI test programs will be defeated
When going out to be set to high level, charactron is all lighted, and it is then that route is normal that charactron, which is lighted, if charactron does not work, for route
Damage.When special BPI test programs are set to low level, charactron goes out entirely.Particularly, the preferably special BPI tests of test software
Program.
The measurement jig of one embodiment of the present of invention is exported by GPIO, integrates different types of GPIO interface, including
But be not limited to aviation head extraction parallel port, phoenix terminal draw interface, LPT port extraction interface, can connect as needed
Connect different types of interface.
On the other hand, the present invention also provides a kind of test method of GPIO, Fig. 2 shows one embodiment of the invention
The test flow chart of GPIO.As shown, step S21 is to judge that GPIO is non-isolation type/isolated form;Step S22 is for non-
Isolated form GPIO, the input/output terminal of short-circuit GPIO are arranged output level by software, and read input electricity automatically by software
It is flat, thus judge whether input/output function is normal;Step S23 is that isolated form GPIO is accessed output end with LED, will surveyed
It tries level and input terminal is accessed by resistance, judge whether input function is normal by software, judge output function by LED light on and off
It is whether normal.
Measurement jig and method provided in an embodiment of the present invention for I/O port can be directed to industrial master board GPIO port
Diversity, meet existing 8 tunnel, 16 tunnels, 24 tunnels, 32 tunnel standard GPIO ports test needs, and disclosure satisfy that isolation, non-
The GPIO port of isolation scheme is tested, and test result is more intuitive, and test function button is simple, reduces tester's operation
Skill set requirements, securely and reliably.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, all answer by the change or replacement that can be readily occurred in
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of measurement jig for GPIO, including:
Power supply is tested, for providing test level;
Jig main body, for providing connection and modular support;
Connecting terminal carries out signal input for connecting external interface;
Input port, for connecting the connecting terminal input signal;
Output port, for connecting output signal;
It is opened it is characterized in that, the measurement jig further includes the dial-up being connected between the input port and the output port
It closes, the connection break-make for controlling the input port and the output port.
2. measurement jig according to claim 1, which is characterized in that the measurement jig includes mutually independent one straight
Flow 5V power inputs and a direct current 60V-110V power input.
3. measurement jig according to claim 1, which is characterized in that the measurement jig include DB44Pin and/or
The connecting terminal of DB25Pin and/or 22Pin and/or 2X5Pin models.
4. measurement jig according to claim 1, which is characterized in that the input port includes that the one 8 tunnel inputs sub- end
Mouth and the 2nd 8 tunnel input subport, and the output port includes the one 8 tunnel output subport and the 2nd 8 tunnel output subport.
5. measurement jig according to claim 1, which is characterized in that the input port and the output port pass through survey
It tries software and low and high level is set.
6. measurement jig according to claim 6, which is characterized in that the test software is that the special BPI of GPIO test journey
Sequence.
7. measurement jig according to claim 1, which is characterized in that the output port can access aviation head, phoenix
The interface of the extractions such as terminal, LPT port.
8. a kind of test method using the measurement jig described in claim 5, which is characterized in that including:
Step 1:Judge the type of GPIO;
Step 2:For non-isolation type GPIO products, pass through input port and the output end described in the toggle switch short circuit
Mouthful, the use of test software setting output port is high level, is high electricity when the test software reads the input port
Usually, judge that the GPIO products are normal;
Step 3:For isolated form GPIO products, the test power supply accesses the input port by resistance, and use is indicative
Electronic device accesses the output port, is high level when the test software reads the input port, and described indicative
When electronic device works, judge that the GPIO products are normal.
9. test method according to claim 8, which is characterized in that the indicative electronic device includes charactron.
10. test method according to claim 8, which is characterized in that the test software has display screen, and being used for can
The on off operating mode of the input port and the output port is shown depending on changing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710287621.6A CN108732438A (en) | 2017-04-27 | 2017-04-27 | One kind being used for the measurement jig and method of general purpose I/O port |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710287621.6A CN108732438A (en) | 2017-04-27 | 2017-04-27 | One kind being used for the measurement jig and method of general purpose I/O port |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108732438A true CN108732438A (en) | 2018-11-02 |
Family
ID=63934805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710287621.6A Pending CN108732438A (en) | 2017-04-27 | 2017-04-27 | One kind being used for the measurement jig and method of general purpose I/O port |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108732438A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618907A (en) * | 2019-09-05 | 2019-12-27 | 英业达(重庆)有限公司 | I/O interface test fixture |
CN111044879A (en) * | 2019-12-20 | 2020-04-21 | 苏州浪潮智能科技有限公司 | Method and system for quickly positioning fault position of physical interface of main board |
CN111983437A (en) * | 2020-08-25 | 2020-11-24 | 深圳市旗开电子有限公司 | 5G module product GPIO port test circuit and test method |
CN114035023A (en) * | 2021-10-22 | 2022-02-11 | 宁波集联软件科技有限公司 | Multi-mode automobile core plate clamp judgment method and judgment system |
CN115968109A (en) * | 2022-12-30 | 2023-04-14 | 中国科学院空间应用工程与技术中心 | Control circuit board for space station on-line cabinet |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2891082Y (en) * | 2006-03-14 | 2007-04-18 | 鸿富锦精密工业(深圳)有限公司 | Expandable tester |
CN101349726A (en) * | 2007-07-17 | 2009-01-21 | 大唐移动通信设备有限公司 | Method and apparatus for malfunction detection of general-purpose input/output interface |
CN201797202U (en) * | 2010-04-30 | 2011-04-13 | 深圳市金洋电子股份有限公司 | Integrated test fixture with multiple interfaces |
CN102331963A (en) * | 2010-07-13 | 2012-01-25 | 研祥智能科技股份有限公司 | Digital input and output interface test tool and test method |
CN203101545U (en) * | 2013-01-10 | 2013-07-31 | 中国南方电网有限责任公司超高压输电公司检修试验中心 | Test system for signal of digital quantity board input and output channel of RTDS simulation platform |
CN204256122U (en) * | 2014-11-28 | 2015-04-08 | 北京交控科技有限公司 | A kind of input/output switching measures test system |
-
2017
- 2017-04-27 CN CN201710287621.6A patent/CN108732438A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2891082Y (en) * | 2006-03-14 | 2007-04-18 | 鸿富锦精密工业(深圳)有限公司 | Expandable tester |
CN101349726A (en) * | 2007-07-17 | 2009-01-21 | 大唐移动通信设备有限公司 | Method and apparatus for malfunction detection of general-purpose input/output interface |
CN201797202U (en) * | 2010-04-30 | 2011-04-13 | 深圳市金洋电子股份有限公司 | Integrated test fixture with multiple interfaces |
CN102331963A (en) * | 2010-07-13 | 2012-01-25 | 研祥智能科技股份有限公司 | Digital input and output interface test tool and test method |
CN203101545U (en) * | 2013-01-10 | 2013-07-31 | 中国南方电网有限责任公司超高压输电公司检修试验中心 | Test system for signal of digital quantity board input and output channel of RTDS simulation platform |
CN204256122U (en) * | 2014-11-28 | 2015-04-08 | 北京交控科技有限公司 | A kind of input/output switching measures test system |
Non-Patent Citations (1)
Title |
---|
佚名: "研华PCI-1730快速安装使用手册", 《百度文库》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618907A (en) * | 2019-09-05 | 2019-12-27 | 英业达(重庆)有限公司 | I/O interface test fixture |
CN110618907B (en) * | 2019-09-05 | 2022-11-22 | 英业达(重庆)有限公司 | I/O interface test fixture |
CN111044879A (en) * | 2019-12-20 | 2020-04-21 | 苏州浪潮智能科技有限公司 | Method and system for quickly positioning fault position of physical interface of main board |
CN111983437A (en) * | 2020-08-25 | 2020-11-24 | 深圳市旗开电子有限公司 | 5G module product GPIO port test circuit and test method |
CN111983437B (en) * | 2020-08-25 | 2023-09-08 | 深圳市旗开电子有限公司 | 5G module product GPIO port test circuit and test method |
CN114035023A (en) * | 2021-10-22 | 2022-02-11 | 宁波集联软件科技有限公司 | Multi-mode automobile core plate clamp judgment method and judgment system |
CN115968109A (en) * | 2022-12-30 | 2023-04-14 | 中国科学院空间应用工程与技术中心 | Control circuit board for space station on-line cabinet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108732438A (en) | One kind being used for the measurement jig and method of general purpose I/O port | |
CN104459400B (en) | Detection circuit and detection method for self-tolerant touch screen | |
CN103176094B (en) | A kind of PIN method of testing of the LCD interfaces of module | |
CN204241597U (en) | Portable cable fast detector | |
CN207624349U (en) | Display screen tests smelting tool | |
CN106383288A (en) | Test equipment for USB interface earphone | |
CN103558562A (en) | Testing device and method for power module | |
CN205015434U (en) | A test jig for burning record ware switching card | |
CN203658514U (en) | Flat cable testing device | |
CN209182420U (en) | A kind of multicore cable automatic tester | |
CN204256725U (en) | A kind of pick-up unit | |
CN207730842U (en) | A kind of cable line sequence detection device | |
CN203324427U (en) | Wiring harness on-off detector | |
CN205450169U (en) | Wire rod conduction testing tool | |
CN205910312U (en) | Break -make of micro -gap switch subassembly detects frock | |
CN206556819U (en) | Multi-channel gas monitor ageing tester | |
CN102135582A (en) | Mainboard tester | |
CN104991186B (en) | A kind of automatic recognition system of vehicle switch on-off function and recognition methods | |
CN108548984A (en) | A kind of multi-function device and its assay method that line and switching value sequential are measured for intelligence | |
CN101901562B (en) | Electronic control experimental device | |
CN205028543U (en) | Thing networking comprehensive experiment case | |
CN205263267U (en) | Digital logic measuring pen | |
CN203941680U (en) | A kind of liquid crystal display module intelligent test system | |
CN206301026U (en) | LED test fixtures | |
CN207937144U (en) | A kind of row tail flash of light board detector |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181102 |
|
RJ01 | Rejection of invention patent application after publication |