Movatterモバイル変換


[0]ホーム

URL:


CN108803451B - Module free replacement identification method and system - Google Patents

Module free replacement identification method and system
Download PDF

Info

Publication number
CN108803451B
CN108803451BCN201810899089.8ACN201810899089ACN108803451BCN 108803451 BCN108803451 BCN 108803451BCN 201810899089 ACN201810899089 ACN 201810899089ACN 108803451 BCN108803451 BCN 108803451B
Authority
CN
China
Prior art keywords
controller
electronic function
connecting seat
node
function module
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
Application number
CN201810899089.8A
Other languages
Chinese (zh)
Other versions
CN108803451A (en
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 Zhitong Lehui Technology Co ltd
Original Assignee
Shenzhen Zhitong Lehui 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 Zhitong Lehui Technology Co ltdfiledCriticalShenzhen Zhitong Lehui Technology Co ltd
Priority to CN201810899089.8ApriorityCriticalpatent/CN108803451B/en
Publication of CN108803451ApublicationCriticalpatent/CN108803451A/en
Application grantedgrantedCritical
Publication of CN108803451BpublicationCriticalpatent/CN108803451B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention relates to the field of module control, in particular to a method and a system for identifying free replacement of modules, which are characterized in that a connecting seat and a plurality of electronic function modules are provided, when the connecting seat is connected with the electronic function modules, a power supply module circuit supplies power to the electronic function modules, the identity identification of the electronic function modules is started, the type of the electronic function modules is judged by the connecting seat according to the identity identification information output by the identity identification, and a specific interaction mode between the connecting seat and the electronic function modules is determined by the connecting seat according to the identified type; the technical scheme provided by the invention can effectively overcome the defect that the plug-and-play and automatic identification cannot be realized in the prior art.

Description

Module free replacement identification method and system
Technical Field
The invention relates to the field of module control, in particular to a method and a system for identifying free replacement of a module.
Background
At present, electronic peripherals on the market are generally directly connected with control pins of an MCU, so that the electronic peripherals are inconvenient to replace, the program is also limited greatly, the connection control can only be carried out on preset electronic peripherals, the electronic peripherals are inconvenient to use, and the resources of the MCU are wasted. And each time the electronic peripheral is replaced, a professional person is required to change the program, so that the plug-and-play and automatic identification cannot be realized.
Disclosure of Invention
(One) solving the technical problems
Aiming at the defects existing in the prior art, the invention provides a method and a system for identifying the free replacement of a module, which can effectively overcome the defects existing in the prior art that the plug-and-play and automatic identification cannot be realized.
(II) technical scheme
In order to achieve the above purpose, the invention is realized by the following technical scheme:
The identification method for the free replacement of the module comprises the following steps:
S1, providing a connecting seat and a plurality of electronic function modules, when the connecting seat is connected with the electronic function modules, a power supply module circuit supplies power to the electronic function modules, and starting the identity recognition of the electronic function modules;
s2, the connection base judges the type of the electronic function module according to the identity identification information output by the identity identification;
And S3, determining a specific interaction mode with the electronic function module by the connection seat according to the identified type.
Preferably, the identification information in S2 is a combined identification information including at least two groups.
Preferably, the connection base in S3 opens an interaction module corresponding to the electronic function module according to the identified electronic function module.
Preferably, the specific interaction mode in S3 may be freely switched to an analog signal interaction mode, a digital signal interaction mode or other types of signal interaction modes according to different modules.
A module free replacement identification system comprises a connecting seat and a plurality of electronic function modules, and also comprises an identification for identifying the type of the electronic function module when the connecting seat is connected with the electronic function modules, and a controller for switching different specific interaction modules according to the identified module.
Preferably, the connection base further includes a plurality of universal interfaces for connecting with the electronic functional modules, which may be a socket structure.
Preferably, the connection base further comprises a transceiving transmission interface of the serial connection base.
Preferably, the power supply system further comprises a power supply module circuit, the power supply module circuit supplies power for identity recognition, the identity recognition is an ID recognition voltage division circuit, one path of the ID recognition voltage division circuit comprises a node ID1, the other path of the ID recognition voltage division circuit comprises a node ID2, and the interface on the connecting seat determines and outputs different interaction modes according to the voltages at the node ID1 and the node ID 2.
Preferably, the ID recognition voltage dividing circuit is provided with two paths, one path of ID recognition voltage dividing circuit comprises serially connected Rt1 and Rt2, one end of Rt1 is connected with the end of VOUT, one end of Rt2 is connected with GND, two ends of Rt2 are connected with CT1 in parallel, a node ID1 is arranged between Rt1 and Rt2, the other path of ID recognition voltage dividing circuit comprises serially connected Rt3 and Rt4, one end of Rt3 is connected with the end of VOUT, one end of Rt4 is connected with the end of GND, two ends of Rt4 are connected with CT2 in parallel, and a node ID2 is arranged between Rt3 and Rt 4.
Preferably, the connecting seat is provided with a magnetic connection interface and an electronic function module to realize electric connection, the ID voltage dividing circuit is connected with the controller, the ID voltage dividing circuit identifies the type of the peripheral electronic function module and outputs the type of the peripheral electronic function module to the controller, and the controller switches different interaction modes to work according to the identified type of the electronic function module.
(III) beneficial effects
Compared with the prior art, the method and the system for identifying the free replacement of the module have the following beneficial effects:
1) The magnetic attraction structure can be connected with the connecting seats PL1, PL2, PL3, PL4, PL5 and PL6, and can be connected with the universal module interface circuit through the plug-in terminal, so that the electronic function module can be replaced conveniently;
2) The electronic function module can be directly identified by means of the ID identification voltage division circuit, and identification and initialization can be automatically carried out, manual configuration is not needed, and the use of a user is greatly facilitated;
3) The pins of the controller are saved, so that the controller is multipurpose.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is evident that the drawings in the following description are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a schematic diagram of a controller according to the present invention;
FIG. 2 is a schematic diagram of a connector interface according to the present invention;
FIG. 3 is a schematic diagram of an ID identification voltage divider circuit according to the present invention;
FIG. 4 is a schematic diagram of an interface protection circuit according to the present invention;
FIG. 5 is a schematic diagram of a circuit structure of a power supply module according to the present invention;
FIG. 6 is a schematic diagram of a general module interface circuit structure according to the present invention;
fig. 7 is a schematic diagram of a key module according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. 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.
The identification method for the free replacement of the module comprises the following steps:
S1, providing a connecting seat and a plurality of electronic function modules, when the connecting seat is connected with the electronic function modules, a power supply module circuit supplies power to the electronic function modules, and starting the identity recognition of the electronic function modules;
s2, the connection base judges the type of the electronic function module according to the identity identification information output by the identity identification;
And S3, determining a specific interaction mode with the electronic function module by the connection seat according to the identified type.
The identification information in S2 is a combined identification information including at least two groups.
And S3, starting an interaction module corresponding to the electronic function module by the connection seat according to the identified electronic function module.
The specific interaction mode in S3 can be freely switched into an analog signal interaction mode, a digital signal interaction mode or other types of signal interaction modes according to different modules.
A module free replacement identification system, as shown in fig. 1 to 6, comprises a connecting seat and a plurality of electronic function modules, and also comprises an identification for identifying the type of the electronic function module when the connecting seat is connected with the electronic function modules, and a controller for switching different specific interaction modules according to the identified module.
The connecting seat also comprises a plurality of universal interfaces for connecting the electronic functional modules, and the universal interfaces can be a row plug structure.
The connecting seat also comprises a receiving and transmitting interface of the serial connecting seat.
The power supply module circuit is used for supplying power for the identity recognition, the identity recognition is an ID recognition voltage division circuit, one path of ID recognition voltage division circuit comprises a node ID1, the other path of ID recognition voltage division circuit comprises a node ID2, and the interface on the connecting seat determines and outputs different interaction modes according to the voltages at the node ID1 and the node ID 2.
The ID recognition voltage dividing circuit is provided with two paths, one path of ID recognition voltage dividing circuit comprises serially connected Rt1 and Rt2, one end of Rt1 is connected with the VOUT end, one end of Rt2 is connected with GND, two ends of Rt2 are parallelly connected with CT1, a node ID1 is arranged between Rt1 and Rt2, the other path of ID recognition voltage dividing circuit comprises serially connected Rt3 and Rt4, one end of Rt3 is connected with the VOUT end, one end of Rt4 is connected with GND, two ends of Rt4 are parallelly connected with CT2, and a node ID2 is arranged between Rt3 and Rt 4.
The connecting seat is provided with a magnetic connection interface and an electronic functional module to realize electric connection, the ID voltage division circuit is connected with the controller, the ID voltage division circuit identifies the type of the peripheral electronic functional module and outputs the type of the peripheral electronic functional module to the controller, and the controller switches different interaction modes to work according to the identified type of the electronic functional module.
The power supply module circuit comprises UM1, the VIN end of UM1 is connected with a 5V power supply, the VIN end of UM1 is connected with GND through Cp1 and Dp, the VOUT end of UM1 outputs 3.3V, the VOUT end of UM1 is connected with GND through Cu1, UM1 is AP2201, cp1 is 4.7 mu F, and Cu1 is 1 mu F.
Interfaces PL1, PL2, PL3, PL4, PL5 and PL6 are arranged on the connecting seat, PL1 is connected with a controller 10 pin and a node ID1, PL2 is connected with a controller 11 pin and a node ID2, PL3 is connected with a controller 19 pin, PL4 is connected with a controller 35 pin, PL3 and PL4 output signals of different modes according to voltages at the node ID1 and the node ID2, PL5 is connected with GND, PL6 is connected with a 5V power supply, PL5 is connected with PL6 through CL1, and CL1 is 1 mu F.
Interface protection circuits are arranged on the connecting seat interfaces PL1, PL2, PL3 and PL4, PL1 is connected with GND through Dp2 and CP1, PL2 is connected with GND through Dp3 and CP2, PL3 is connected with GND through Dp4, PL4 is connected with GND through Dp1, CP1 and CP2 are 1nF, and the connecting seat interfaces PL1, PL2, PL3, PL4 and Dp are composed of voltage stabilizing diodes which are connected in reverse series, and the connecting seat interfaces PL1, PL2, PL3, PL4, PL5 and PL6 are connected with the electronic function module through a magnetic attraction structure.
The universal module interface circuit comprises a terminal strip Header 5 multiplied by 2, a terminal strip 7 pin is connected with the VOUT end, a terminal strip 3 pin is connected with a controller 15 pin, a terminal strip 4 pin is connected with a controller 14 pin, a terminal strip 5 pin is connected with a controller 18 pin, a terminal strip 6 pin is connected with a controller 45 pin, and the terminal strip Header 5 multiplied by 2 in the universal module interface circuit is connected with an electronic function module through a plug terminal.
The controller is STM32F030C8T6, and the 30 feet, the 12 feet, the 31 feet and the 13 feet of the controller are used for left and right connection signal transmission.
In the ID identification voltage division circuit, different voltages can be separated through different resistors of Rt1 and Rt2, and the voltages are output to an analog signal interface 10 pin of the controller through a node ID 1; similarly, different voltages are separated through different resistors of Rt3 and Rt4, the voltages are output to an analog signal interface 11 pin of the controller through a node ID2, and the controller identifies an accessed electronic function module through a group of unique voltages of the node ID1 and the node ID 2.
And the connecting seats PL3 and PL4, and the terminal power strip 5 pins and 6 pins output signals of different modes, such as IO signals, I2C signals, ADC signals and the like, according to the voltages at the nodes ID1 and ID 2.
The electronic function module is adsorbed on the connecting seat, the connecting seat supplies working voltage of 5V to the electronic function module, 3.3V voltage is output to the ID recognition voltage dividing circuit through the power supply module circuit, an ID voltage dividing voltage value is generated, different electronic function modules are recognized through detecting the ID voltage dividing voltage value by the controller, and the controller calls a control program corresponding to the different electronic function modules to control the data receiving and transmitting of the electronic function modules.
Fig. 7 is a typical circuit diagram of a key module, where connection base PL4 and pin 6 of the terminal strip can output an IO signal through SIG2 to control the key module.
The identification method and system for the free replacement of the module provided by the invention have the following beneficial effects:
1) The magnetic attraction structure can be connected with the connecting seats PL1, PL2, PL3, PL4, PL5 and PL6, and can be connected with the universal module interface circuit through the plug-in terminal, so that the electronic function module can be replaced conveniently;
2) The electronic function module can be directly identified by means of the ID identification voltage division circuit, and identification and initialization can be automatically carried out, manual configuration is not needed, and the use of a user is greatly facilitated;
3) The pins of the controller are saved, so that the controller is multipurpose.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (3)

CN201810899089.8A2018-08-082018-08-08Module free replacement identification method and systemActiveCN108803451B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810899089.8ACN108803451B (en)2018-08-082018-08-08Module free replacement identification method and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810899089.8ACN108803451B (en)2018-08-082018-08-08Module free replacement identification method and system

Publications (2)

Publication NumberPublication Date
CN108803451A CN108803451A (en)2018-11-13
CN108803451Btrue CN108803451B (en)2024-08-20

Family

ID=64079747

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810899089.8AActiveCN108803451B (en)2018-08-082018-08-08Module free replacement identification method and system

Country Status (1)

CountryLink
CN (1)CN108803451B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN202395519U (en)*2011-12-132012-08-22常熟开关制造有限公司(原常熟开关厂)Automatic change-over switch with module self-recognition function
CN208969460U (en)*2018-08-082019-06-11深圳市智童乐慧科技有限公司A kind of identifying system that module is freely replaced

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2008186213A (en)*2007-01-302008-08-14Sony Ericsson Mobilecommunications Japan IncModule device, module identification data output method, and mobile terminal device
CN101674366B (en)*2009-09-192012-03-28惠州Tcl移动通信有限公司 A mobile terminal USB or charger insertion identification method and identification device
AU2010326847A1 (en)*2009-12-042012-06-21Osram AgA method for controlling the operation of an electronic converter, and a corresponding electronic converter, lighting system and software product
TWI539391B (en)*2012-07-202016-06-21盈科泛利股份有限公司System and method for electronic identification system
CN202737810U (en)*2012-08-282013-02-13重庆西山科技有限公司Automatic micro-motor identification system
CN104238396A (en)*2013-06-182014-12-24深圳市蓝韵实业有限公司Automatic accessory recognizing system and implementation method
CN103676735A (en)*2013-11-302014-03-26许继电气股份有限公司 An intelligent power device
CN104852478A (en)*2015-05-282015-08-19天津工业大学Identity identification circuit
CN206209322U (en)*2016-06-202017-05-31北京国电通网络技术有限公司A kind of smart jack
CN206133230U (en)*2016-08-282017-04-26广州市上鼎计算机科技有限公司Removable formula multipurpose cloud intelligence domestic electric appliance
CN107957698B (en)*2017-12-012024-07-09华侨大学Identification circuit and method for peripheral circuit of control module
CN207650301U (en)*2017-12-192018-07-24深圳市英威腾电气股份有限公司A kind of extension card identifying system and power electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN202395519U (en)*2011-12-132012-08-22常熟开关制造有限公司(原常熟开关厂)Automatic change-over switch with module self-recognition function
CN208969460U (en)*2018-08-082019-06-11深圳市智童乐慧科技有限公司A kind of identifying system that module is freely replaced

Also Published As

Publication numberPublication date
CN108803451A (en)2018-11-13

Similar Documents

PublicationPublication DateTitle
US10998737B2 (en)Intelligent switch system
CN103019991B (en)Interface system and changing method, USB key and UART terminal
KR20170013952A (en)Super hub system and method thereof
CN111061667A (en)Wire rod for realizing data transmission of any one way by one dragging of multiple wires
CN108701106A (en) A data transmission method and device
CN113535622B (en) Power switching systems, USB sockets and electronic devices
CN106713094B (en)1394 data acquisition module
CN108803451B (en)Module free replacement identification method and system
CN212031656U (en)Operational amplifier test module of integrated circuit test system
CN106502911B (en)Multi-terminal access device
CN210573287U (en)Expansion circuit
CN208969460U (en)A kind of identifying system that module is freely replaced
CN109905248B (en)Ethernet power supply device
CN207475583U (en)A kind of direct current carrier communication interface circuit of achievable power delivery
CN109469972A (en)Air conditioner outdoor unit address configuration device and control method thereof
CN215219002U (en)Automatic identification circuit for OTG equipment mode
CN103218278B (en)Automatic detection and control device and automatic detection control method thereof
CN114168514B (en) A communication isolation circuit and device
WO2020029138A9 (en)Identification method and system for free module replacement
CN107565077B (en)Battery pack communication circuit
CN208325119U (en)A kind of bus control circuit, mobile unit and onboard system
CN213817805U (en)POE power supply indicating device and Ethernet power supply system
CN105259989B (en)A kind of method of the compatible multi-source of notebook memory on board
CN109086235A (en)A kind of underwater common apparatus detection identification and control method and system
JP7751231B1 (en) power supply

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp