CN102684031B - Coding method for preventing connector plugging errors - Google Patents
Coding method for preventing connector plugging errors Download PDFInfo
- Publication number
- CN102684031B CN102684031B CN201210151185.7A CN201210151185A CN102684031B CN 102684031 B CN102684031 B CN 102684031B CN 201210151185 A CN201210151185 A CN 201210151185A CN 102684031 B CN102684031 B CN 102684031B
- Authority
- CN
- China
- Prior art keywords
- coding
- plug
- socket
- segment
- paragraph
- 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
Links
Abstract
The invention provides a kind of coding method for preventing connector plugging errors, it adopts segment encoding method, comprise the following steps: respectively the code bit of the coding of 11 on plug and socket is divided into three sections, wherein one section has 2N position to encode, be used for distinguishing the type of collection plate, another section has 2N position to encode, and is used for distinguishing the classification number in same function, and a remaining coding makes reservation process; Is encoded by the arrangement that puts in order in the 2N position of the first paragraph on plug and second segment, wherein, radix-minus-one complement each other that encoding in the N position in the 2N position coding of the first paragraph on plug and second segment and encodes in remaining N position; Is encoded by the arrangement that puts in order in the 2N position of the first paragraph on socket and second segment, wherein, radix-minus-one complement each other that encoding in the N position in the 2N position coding of the first paragraph on socket and second segment and encodes in remaining N position; When the coding on plug and socket each other radix-minus-one complement time, then plug and socket supporting, otherwise, then plug and socket non-supporting; Wherein, N be not less than 1 natural number.
Description
Technical field
The present invention relates to a kind of coding method, specifically, relate to a kind of coding method for preventing connector plugging errors.
Background technology
Microcomputer detecting system is in the process used, and the kind of the signal that monitored equipment produces or range are not quite similar, and need use different collection plates for different collection signals, and this just causes the various of collection plate kind.Because the signal that different acquisition plate gathers is different, on bus board, collection plate cisco unity malfunction can be caused in wrong plug position, even damages collection plate.
In order to solve above Problems existing, people are seeking a kind of desirable technical solution always.
Summary of the invention
The object of the invention is for the deficiencies in the prior art, thus provide a kind of coding method for preventing connector plugging errors, the method effectively can avoid collection plate wrong plug position in bus.
To achieve these goals, the technical solution adopted in the present invention is: a kind of coding method for preventing connector plugging errors, and it adopts segment encoding method, comprises the following steps:
Step 1, respectively a code bit for 11 on plug and socket coding is divided into three sections, wherein, first paragraph has 2N position to encode, be used for distinguishing the type of collection plate, second segment has 2N position to encode, and is used for distinguishing the classification number in same function, 3rd section is a remaining coding, as reservation process;
Step 2, respectively by the 2N position of first paragraph on plug coding and second segment 2N position coding by the arrangement that puts in order, wherein, N position coding in the 2N position coding of the first paragraph on plug to be encoded radix-minus-one complement each other with remaining N position, encodes radix-minus-one complement each other in the N position coding in the 2N position coding of second segment and remaining N position;
Is encoded by the arrangement that puts in order in the 2N position of the 2N position of first paragraph on socket coding and second segment respectively, wherein, N position coding in the 2N position coding of the first paragraph on socket to be encoded radix-minus-one complement each other with remaining N position, encodes radix-minus-one complement each other in the N position coding in the 2N position coding of second segment and remaining N position;
Step 3, when the coding on plug and socket each other radix-minus-one complement time, then plug and socket supporting, otherwise, then plug and socket non-supporting;
Wherein, N be not less than 1 natural number.
Hinge structure of the present invention has outstanding substantive distinguishing features and marked improvement, and specifically, the present invention adopts segment encoding method, and classification is clear and definite; Adopt the connector of the method, only have the coding when the terminal of collection plate to refer to and bus board one_to_one corresponding, can carry out grafting, reach the object of Anti-misplug, it has the simple and practical advantage of method.
Embodiment
Below by embodiment, technical scheme of the present invention is described in further detail.
In order to avoid the position of wrong plug collection plate, the connector that have employed band Anti-misplug coding between collection plate with bus board is connected, wherein, collection plate is plug, and bus board is socket, respectively with 11 notches on plug and socket, every notch can be installed a coding and refer to, in 11 notches of plug and socket, as long as there is 1 to have coding to refer to, then plug can not insert socket.
Connector has 11 bits of coded, if according to Unified coding scheme, it is huge that the quantity of coding will become very, but also effectively can not avoid dissimilar plug and socket interfix.With 0 representative, coding is not installed to refer to, refer to illustrate with 1 representative installation coding: if bus board socket is encoded to 00000111111, as long as then low 6 of collection plate plug is encoded to 0, just can be inserted in this bus board position, that is, if use Unified coding scheme, multiple collection plate will be had and can be inserted in this socket position, not meet the requirement of Anti-misplug.
In order to avoid there is the phenomenon of wrong plug, in the operational version of reality, have employed following encoding scheme: the code bit called after abcdefghijk in order of 11 codings of plug and socket; Respectively a code bit for 11 on plug and socket coding is divided into three sections, wherein, (a-f) is one section, and be used for distinguishing the type of collection plate, (h-k) is one section, is used for distinguishing the classification number in same function, and remaining g then makes reservation process; Respectively 4 of 6 of (a-f) section on plug and socket codings and (h-k) section are encoded by the arrangement that puts in order, wherein, 3 codings in 6 codings of (a-f) section on plug and socket and remaining 3 radix-minus-one complements each other of encoding, 2 codings in 4 codings of (h-k) section and remaining 2 radix-minus-one complements each other of encoding.According to this method, as shown in Table 1 and Table 2, wherein, (a-f) section has 20 kinds of coded systems, and (h-k) section has 6 kinds of coded systems for available plug coding, socket coding.
Table 1(a-f) section collection plate plug and bus board socket pattern table
Sequence number | Code bit | Plug is encoded | Socket is encoded |
0 | abcdef | 000111 | 111000 |
1 | abcdef | 001011 | 110100 |
2 | abcdef | 001101 | 110010 |
3 | abcdef | 001110 | 110001 |
4 | abcdef | 010011 | 101100 |
5 | abcdef | 010101 | 101010 |
6 | abcdef | 010110 | 101001 |
7 | abcdef | 011001 | 100110 |
8 | abcdef | 011010 | 100101 |
9 | abcdef | 011100 | 100011 |
10 | abcdef | 100011 | 011100 |
11 | abcdef | 100101 | 011010 |
12 | abcdef | 100110 | 011001 |
13 | abcdef | 101001 | 010110 |
14 | abcdef | 101010 | 010101 |
15 | abcdef | 101100 | 010011 |
16 | abcdef | 110001 | 001110 |
17 | abcdef | 110010 | 001101 |
18 | abcdef | 110100 | 001011 |
19 | abcdef | 111000 | 000111 |
Table 2(h-k) section collection plate plug and bus board socket pattern table
Sequence number | Code bit | Plug is encoded | Socket is encoded |
0 | hijk | 0011 | 1100 |
1 | hijk | 0101 | 1010 |
2 | hijk | 0110 | 1001 |
3 | hijk | 1001 | 0110 |
4 | hijk | 1010 | 0101 |
5 | hijk | 1100 | 0011 |
The socket difference segmentation of collection plate plug and bus board uses the plug shown in table 1 and table 2 to encode and socket is encoded, and effectively can prevent dissimilar collection plate wrong plug.Collection plate plug coding encode with the socket of bus board and is chosen by actual conditions, the collection plate that other type remaining increases newly in systems development process after can keeping for.The method both ensure that plug coding to be encoded one_to_one corresponding with socket, again can reservation types to meet the needs of more kinds of collection plate type.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the field are to be understood that: still can modify to the specific embodiment of the present invention or carry out equivalent replacement to portion of techniques feature; And not departing from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope of request of the present invention protection.
Claims (1)
1. a coding method for preventing connector plugging errors, is characterized in that: it adopts segment encoding method, comprises the following steps:
Step 1, respectively a code bit for 11 on plug and socket coding is divided into three sections, wherein, first paragraph has 2N position to encode, be used for distinguishing the type of collection plate, second segment has 2N position to encode, and is used for distinguishing the classification number in same function, 3rd section is a remaining coding, as reservation process;
Step 2, respectively by the 2N position of first paragraph on plug coding and second segment 2N position coding by the arrangement that puts in order, wherein, N position coding in the 2N position coding of the first paragraph on plug to be encoded radix-minus-one complement each other with remaining N position, encodes radix-minus-one complement each other in the N position coding in the 2N position coding of second segment and remaining N position;
Is encoded by the arrangement that puts in order in the 2N position of the 2N position of first paragraph on socket coding and second segment respectively, wherein, N position coding in the 2N position coding of the first paragraph on socket to be encoded radix-minus-one complement each other with remaining N position, encodes radix-minus-one complement each other in the N position coding in the 2N position coding of second segment and remaining N position;
Step 3, when the coding on plug and socket each other radix-minus-one complement time, then plug and socket supporting, otherwise, then plug and socket non-supporting;
Wherein, N be not less than 1 natural number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210151185.7A CN102684031B (en) | 2012-05-16 | 2012-05-16 | Coding method for preventing connector plugging errors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210151185.7A CN102684031B (en) | 2012-05-16 | 2012-05-16 | Coding method for preventing connector plugging errors |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102684031A CN102684031A (en) | 2012-09-19 |
CN102684031B true CN102684031B (en) | 2016-01-20 |
Family
ID=46815590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210151185.7A Active CN102684031B (en) | 2012-05-16 | 2012-05-16 | Coding method for preventing connector plugging errors |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102684031B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0585808B1 (en) * | 1992-08-26 | 1998-10-21 | Reichle + De-Massari AG Elektro-Ingenieure | Multiple modular connector and/or socket for low current applications especially for the telecommunication and data transfer |
CN102005683A (en) * | 2010-09-10 | 2011-04-06 | 河南辉煌科技股份有限公司 | Coding method for preventing connector plugging errors |
CN102097705A (en) * | 2009-12-09 | 2011-06-15 | 苏州华旃航天电器有限公司 | Quick-lock misplug-prevention connector |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004178837A (en) * | 2002-11-25 | 2004-06-24 | Hirose Electric Co Ltd | Electrical connector capable of preventing plugging error |
-
2012
- 2012-05-16 CN CN201210151185.7A patent/CN102684031B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0585808B1 (en) * | 1992-08-26 | 1998-10-21 | Reichle + De-Massari AG Elektro-Ingenieure | Multiple modular connector and/or socket for low current applications especially for the telecommunication and data transfer |
CN102097705A (en) * | 2009-12-09 | 2011-06-15 | 苏州华旃航天电器有限公司 | Quick-lock misplug-prevention connector |
CN102005683A (en) * | 2010-09-10 | 2011-04-06 | 河南辉煌科技股份有限公司 | Coding method for preventing connector plugging errors |
Also Published As
Publication number | Publication date |
---|---|
CN102684031A (en) | 2012-09-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105656600A (en) | Communication method for slave station to adapt to two communication protocols | |
CN101553066A (en) | A lighting control method and its system | |
CN205016208U (en) | LED display screen power and signal double copies system | |
CN102005683B (en) | Coding method for preventing connector plugging errors | |
CN102684031B (en) | Coding method for preventing connector plugging errors | |
CN105488992A (en) | Automatic meter searching method through low-voltage power line carrier wave | |
CN201732158U (en) | Self-checking device | |
CN203350349U (en) | Transformer substation bus phase voltage off-limit alarm system | |
CN106340761A (en) | Network interface circuit and network interface connector using same | |
CN204286525U (en) | A kind of novel M-Bus bus intelligent telemetering water meter | |
CN101315615A (en) | Multichannel communication system and duplex selection distribution method of communication serial port in system | |
CN110907724B (en) | Multi-area identification method and device for IT-type low-voltage distribution network | |
CN213936873U (en) | Integrated plug-pull module structure and electrical platform | |
CN204406395U (en) | A kind of high speed communication interacted system of CPCI framework | |
CN207232954U (en) | S BUS bus communication circuitries | |
CN105095035A (en) | PCIE (Peripheral Component Interface Express) test card used for mass production test of computer motherboard | |
CN206311695U (en) | A kind of cable detecting system | |
CN112701671A (en) | Network port low residual voltage lightning protection circuit | |
CN204178192U (en) | RS485 anti-collision bus marco protection circuit | |
CN204495966U (en) | A kind of straight-throughization proving installation of low-power consumption differential transfer chip | |
CN103633567B (en) | The line arrangement structure of GIS power distribution equipment | |
CN204333302U (en) | The bayonet joint of condenser type compound insulated bus is lied prostrate for 72500-550000 | |
CN203104955U (en) | Scattering type multifunctional signal conversion board | |
CN204130490U (en) | The mounting structure of multiple screw type fuse | |
CN203455657U (en) | Input expansion module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |