CN104238396A - Automatic accessory recognizing system and implementation method - Google Patents
Automatic accessory recognizing system and implementation method Download PDFInfo
- Publication number
- CN104238396A CN104238396A CN201310242933.7A CN201310242933A CN104238396A CN 104238396 A CN104238396 A CN 104238396A CN 201310242933 A CN201310242933 A CN 201310242933A CN 104238396 A CN104238396 A CN 104238396A
- Authority
- CN
- China
- Prior art keywords
- accessory
- address
- control panel
- type
- mapping relations
- 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
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses an automatic accessory recognizing system and an implementation method. The automatic accessory recognizing system comprises a plurality of address lines used for recognizing the type of an external accessory, a control panel and the accessory connected with the address lines of the control panel. All the address lines are pulled upwards to be connected with a power source through the control panel, the control panel is provided with a mapping relation table, and the mapping relation table comprises mapping relations established between different addresses corresponding to all the address lines of the control panel and the type of the accessory respectively. The accessory is provided with a plurality of pins, one pin is connected with the ground, the rest of the pins are address pins, certain address pins of the accessory are selected to be connected with the ground according to the preset addresses corresponding to the type of the accessory in the mapping relation table so that the accessory can have the preset address; the current address is read by the control panel through the address lines, and the type of the accessory is automatically recognized according to the mapping relation table. According to the automatic accessory recognizing system and the implementation method, the type of the accessory can be judged through the address of the accessory, implementation is simple, the implementation cost is low, and reliability is high.
Description
Technical field
The present invention relates to a kind of automatic identification system, especially relate to a kind of automatic identification system and implementation method of external accessories.
Background technology
Usually all can some outside accessories changed of needs more or less on Medical Devices, industrial control equipment, different accessories is used for different specific uses, and therefore equipment needs the type of the accessory obtaining current installation, to realize corresponding function.
Existing method mainly contains following several:
1, different accessories can paste mark at its conspicuous position, is input to system again after installation according to this mark is manual.The method needs to input identification information by hand, wastes time and energy and easily makes mistakes.
2, detect accessory by mechanical switch or optoelectronic switch whether to be in place.The defect of the method is: discernible accessory kind is few, and installs switch and need to increase cost and reliability is poor.
Summary of the invention
In order to overcome the defect of prior art, the present invention propose a kind of structure simple, realize easily and the accessory automatic identification system of reliable operation and implementation method.
The present invention adopts following technical scheme to realize: a kind of accessory automatic identification system, and it comprises:
Be provided with multiple address wire for identifying external accessories type and all address wires all on socket the control panel of power supply, this control panel has mapping relations table, and this mapping relations table is that mapping relations are set up with the type of an accessory respectively in different addresses corresponding to all address wires of control panel;
The accessory be connected with the address wire of control panel, accessory has multiple pin, one of them pin ground connection, and other is address pins, according to the corresponding preset address of this fitting type in mapping relations table, select some address pins ground connection of this accessory to make this accessory have preset address;
Read current address by control panel by address wire, automatically identify the type of this accessory according to mapping relations table.
Wherein, control panel arranges one and connects slot, and accessory arrange one with the connecting interface being connected slot and matching.
In addition, the present invention discloses a kind of accessory self-identifying implementation method, and it comprises step:
Control panel arranges multiple address wire for identifying external accessories type and all address wires all on socket power supply, and for setting up mapping relations respectively with the type of an accessory in the different addresses that all address wires of control panel are corresponding;
Accessory arranges multiple pin, in a pin ground connection, other is address pins, according to the corresponding preset address of this fitting type in mapping relations table, selects some address pins ground connection of this accessory to make this accessory have preset address;
The pin of accessory is connected with the address wire of control panel, reads current address by control panel by address wire, automatically identify the type of this accessory according to mapping relations table.
Compared with prior art, the present invention has following beneficial effect:
The present invention can judge the type of accessory by the address of accessory, realize simple, realize that cost is lower and reliability is high.
Accompanying drawing explanation
Fig. 1 is the structural representation of one embodiment of the invention;
Fig. 2 is the schematic flow sheet of one embodiment of the invention;
Fig. 3 is the circuit diagram that the microcontroller of control panel has 3 address wires.
Embodiment
The present invention, in order to automatically identify multiple accessory, needs on accessory, increase the ID pin for distinguishing each other, using ID pin as address wire, utilizes different addresses to identify different fitting type.
As shown in Figure 1, in an example of the present invention example: M (M is natural number) the individual address wire for identifying external accessories type is set on control panel, such as use 6 pin pin A0, A1 ... with A5 as address wire, these 6 address wires have at most 64, and (in general, N root address wire is to having 2
n-1individual address, wherein an address wire connects from ground wire) individual different address, each different address can the type of corresponding a kind of accessory, and therefore control panel can realize at most identifying 64 kinds of dissimilar accessories, and by the whole pull-up of the M of a control panel address wire; Equally, accessory also needs increase or utilize existing N number of pin (N is natural number), one of them pin ground connection, other pin is as address wire.
Shown in composition graphs 2, a preferred embodiment of the invention comprises following performing step:
Step S1, M (M is natural number) the individual address wire for identifying external accessories type is set on control panel, M address wire all on socket power supply VCC, and for setting up mapping relations table with the type of an accessory respectively in the different addresses that M address wire is corresponding.The address that such as, in Fig. 1 this accessory is corresponding is binary one 0110, and the decimal system 22.
As shown in Figure 3, if microcontroller identifiable design 3 address wire A0, A1 and A2 on control panel, so, it is as shown in table 1 below that mapping relations table is set up with the type of an accessory respectively in the different addresses that these 3 address wires are corresponding:
Table 1
Step S2, also need on accessory increase or utilize existing N number of pin (N is the natural number being not more than M) as address wire, one of them pin ground connection, other is as address pins.According to the address that this fitting type in mapping relations table is corresponding, select some address pins ground connection of this accessory, after making the address pins of this accessory correspondence be connected to the address wire of control panel, the address of this this accessory is corresponding with this fitting type in mapping relations table.Such as, by the 4th of accessory the address pins and the 0th address pins and earth signal short circuit in Fig. 1, be the binary one of Binary Zero, other address pins with the address pins of earth signal short circuit.
Certainly, in step sl, control panel can arrange one and connect slot, and accessory is arranged one with the connecting interface being connected slot and matching.According to the type of different accessories and the corresponding relation of address in default mapping relations table, optionally the address pins of often kind of accessory can be set as the address corresponding with this accessory in advance in step s 2, thus make user directly accessory can be plugged on control panel by connecting interface to use.
Step S3: by an accessory connection control plate, control panel reads current address by address wire, can automatically identify the type of this accessory according to mapping relations table.
In actual applications, such as in digital galactophore X-ray machine, after using automatic identification technology of the present invention, the press discs of tens of kinds can be used flexibly to oppress, conveniently diagnose.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. an accessory automatic identification system, is characterized in that, this system comprises:
Be provided with multiple address wire for identifying external accessories type and all address wires all on socket the control panel of power supply, this control panel has mapping relations table, and this mapping relations table is that mapping relations are set up with the type of an accessory respectively in different addresses corresponding to all address wires of control panel;
The accessory be connected with the address wire of control panel, accessory has multiple pin, one of them pin ground connection, and other is address pins, according to the corresponding preset address of this fitting type in mapping relations table, select some address pins ground connection of this accessory to make this accessory have preset address;
Read current address by control panel by address wire, automatically identify the type of this accessory according to mapping relations table.
2. accessory automatic identification system according to claim 1, is characterized in that, control panel arranges one and connects slot, and accessory arrange one with the connecting interface being connected slot and matching.
3. an accessory self-identifying implementation method, is characterized in that, comprises step:
Control panel arranges multiple address wire for identifying external accessories type and all address wires all on socket power supply, and for setting up mapping relations respectively with the type of an accessory in the different addresses that all address wires of control panel are corresponding;
Accessory arranges multiple pin, in a pin ground connection, other is address pins, according to the corresponding preset address of this fitting type in mapping relations table, selects some address pins ground connection of this accessory to make this accessory have preset address;
The pin of accessory is connected with the address wire of control panel, reads current address by control panel by address wire, automatically identify the type of this accessory according to mapping relations table.
4. accessory self-identifying implementation method according to claim 3, is characterized in that, control panel arranges one and connects slot, and accessory arrange one with the connecting interface being connected slot and matching.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310242933.7A CN104238396A (en) | 2013-06-18 | 2013-06-18 | Automatic accessory recognizing system and implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310242933.7A CN104238396A (en) | 2013-06-18 | 2013-06-18 | Automatic accessory recognizing system and implementation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104238396A true CN104238396A (en) | 2014-12-24 |
Family
ID=52226715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310242933.7A Pending CN104238396A (en) | 2013-06-18 | 2013-06-18 | Automatic accessory recognizing system and implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104238396A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018099179A1 (en) * | 2016-11-29 | 2018-06-07 | 广州视源电子科技股份有限公司 | Small function board recognition system and method |
WO2018113423A1 (en) * | 2016-12-20 | 2018-06-28 | 深圳市光峰光电技术有限公司 | Projection device and model recognition method therefor |
CN108803451A (en) * | 2018-08-08 | 2018-11-13 | 深圳市智童乐慧科技有限公司 | A kind of recognition methods that module is freely replaced and system |
CN110196581A (en) * | 2018-02-24 | 2019-09-03 | 北京京东尚科信息技术有限公司 | Control method and device |
WO2020029138A1 (en) * | 2018-08-08 | 2020-02-13 | 深圳市智童乐慧科技有限公司 | Identification method and system for free module replacement |
CN113760804A (en) * | 2021-01-25 | 2021-12-07 | 苏州臻迪智能科技有限公司 | Module identification method and device, storage medium and electronic equipment |
CN113777911A (en) * | 2021-10-09 | 2021-12-10 | 中国北方车辆研究所 | Controller composite error-proofing method based on address coding |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050239434A1 (en) * | 2002-12-11 | 2005-10-27 | Marlowe Ira M | Multimedia device integration system |
CN102193047A (en) * | 2010-02-12 | 2011-09-21 | 飞兆半导体公司 | Multiple detection circuit for accessory jacks |
WO2012128486A2 (en) * | 2011-03-21 | 2012-09-27 | Samsung Electronics Co., Ltd. | Mobile terminal and interface method thereof |
CN102937669A (en) * | 2012-11-06 | 2013-02-20 | 宁波敏实汽车零部件技术研发有限公司 | Vehicle power-operated sliding door anti-pinch strip detection circuit |
-
2013
- 2013-06-18 CN CN201310242933.7A patent/CN104238396A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050239434A1 (en) * | 2002-12-11 | 2005-10-27 | Marlowe Ira M | Multimedia device integration system |
CN102193047A (en) * | 2010-02-12 | 2011-09-21 | 飞兆半导体公司 | Multiple detection circuit for accessory jacks |
WO2012128486A2 (en) * | 2011-03-21 | 2012-09-27 | Samsung Electronics Co., Ltd. | Mobile terminal and interface method thereof |
CN102937669A (en) * | 2012-11-06 | 2013-02-20 | 宁波敏实汽车零部件技术研发有限公司 | Vehicle power-operated sliding door anti-pinch strip detection circuit |
Non-Patent Citations (1)
Title |
---|
戴水贵 等: "汇编语言基础及驱动程序开发", 《汇编语言基础及驱动程序开发》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018099179A1 (en) * | 2016-11-29 | 2018-06-07 | 广州视源电子科技股份有限公司 | Small function board recognition system and method |
WO2018113423A1 (en) * | 2016-12-20 | 2018-06-28 | 深圳市光峰光电技术有限公司 | Projection device and model recognition method therefor |
CN110196581A (en) * | 2018-02-24 | 2019-09-03 | 北京京东尚科信息技术有限公司 | Control method and device |
CN108803451A (en) * | 2018-08-08 | 2018-11-13 | 深圳市智童乐慧科技有限公司 | A kind of recognition methods that module is freely replaced and system |
WO2020029138A1 (en) * | 2018-08-08 | 2020-02-13 | 深圳市智童乐慧科技有限公司 | Identification method and system for free module replacement |
CN113760804A (en) * | 2021-01-25 | 2021-12-07 | 苏州臻迪智能科技有限公司 | Module identification method and device, storage medium and electronic equipment |
CN113777911A (en) * | 2021-10-09 | 2021-12-10 | 中国北方车辆研究所 | Controller composite error-proofing method based on address coding |
CN113777911B (en) * | 2021-10-09 | 2023-06-02 | 中国北方车辆研究所 | Address coding-based controller composite error proofing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104238396A (en) | Automatic accessory recognizing system and implementation method | |
CN101751320A (en) | Computer hardware device state indicating circuit | |
CN103902432A (en) | Electronic device and USB interface connecting condition indicating circuit thereof | |
US20170060214A1 (en) | Indication system and electronic device utilizing the same | |
CN106445857A (en) | Master-slave system, configuration method of bus address in master-slave system, and slaves | |
CN103823540B (en) | Start control circuit | |
CN101499029B (en) | Cabinet recognizing method, computer and main board | |
CN204008935U (en) | Circuit on-off detecting pen | |
CN101957650B (en) | Power supply circuit of central processing unit | |
CN106683604A (en) | LED display and key detection multiplexing circuit | |
CN201837695U (en) | Mobile terminal data line detection circuit and detection device | |
CN202533525U (en) | Apparatus capable of automatically identifying air conditioning unit type | |
CN104237619A (en) | Intelligent avometer | |
CN103543972A (en) | KVM switcher indicating device and KVM switching system | |
CN203324974U (en) | Interface device identifying externally-connected fitting automatically | |
CN104750583A (en) | Mainboard power-on sequence diagnostic circuit | |
CN103940046A (en) | Method and system for updating data of frequency conversion outdoor plate controller and associated equipment | |
CN104750627A (en) | Fan identification system and server | |
CN207488755U (en) | A kind of portable IIC command control systems | |
CN1801540A (en) | Method for preventing veneer misplug and its realizing apparatus | |
CN201724756U (en) | Mainboard temperature indicating device | |
CN204945304U (en) | A kind of free-standing wire harness automatic checkout system | |
CN204104023U (en) | Based on the quick supervisory keyboard of DVR | |
CN211697884U (en) | Multifunctional serial port screen testing device and cascade testing device | |
CN105259989B (en) | A kind of method of the compatible multi-source of notebook memory on board |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141224 |
|
RJ01 | Rejection of invention patent application after publication |