CN108989478A - A kind of wired connection multimode TT&C system address automatic identifying method - Google Patents

A kind of wired connection multimode TT&C system address automatic identifying method Download PDF

Info

Publication number
CN108989478A
CN108989478A CN201810757475.3A CN201810757475A CN108989478A CN 108989478 A CN108989478 A CN 108989478A CN 201810757475 A CN201810757475 A CN 201810757475A CN 108989478 A CN108989478 A CN 108989478A
Authority
CN
China
Prior art keywords
module
address
port
host
multimode
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.)
Granted
Application number
CN201810757475.3A
Other languages
Chinese (zh)
Other versions
CN108989478B (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.)
Xiamen Tuobao Science & Technology Co Ltd
Original Assignee
Xiamen Tuobao Science & 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 Xiamen Tuobao Science & Technology Co Ltd filed Critical Xiamen Tuobao Science & Technology Co Ltd
Priority to CN201810757475.3A priority Critical patent/CN108989478B/en
Publication of CN108989478A publication Critical patent/CN108989478A/en
Application granted granted Critical
Publication of CN108989478B publication Critical patent/CN108989478B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses

Abstract

The present invention relates to a kind of wired connection multimode TT&C system address automatic identifying methods, construction personnel only needs that the host module of multimode TT&C system is connected in turn with submodule by connecting detection line, then system electrification is given, after system electrification, the modules in system can give the unique address of each module assignment by physical connection sequence automatically.When some module or increases when reducing module number because needing replacing in system, system, which re-powers, sequentially can give the new unique address of each module assignment by new physical connection automatically again.Do not need to be manually set, it is simple and reliable, effectively prevent because address repeat can not communicate i.e. module setting address and system line physical address it is inconsistent caused by system can not work the problem of.

Description

A kind of wired connection multimode TT&C system address automatic identifying method
Technical field
The present invention relates to multimode TT&C system communication fields, and in particular to a kind of wired connection multimode TT&C system is logical Interrogate address automatic identifying method.
Background technique
Existing multimode TT&C system such as BMS(battery management system), modular power source, charging pile module etc., address is known Do not use following several schemes mainly:
One, using toggle switch, after system installs, to each module, manual setting address, this method need to increase hard one by one Part switch, and manual intervention when installation, have certain technical requirements to existing block construction personnel, complicated for operation when module number is more It is very inconvenient.
Two, using address chip, program needs install globally unique location chip on each module board, should Scheme realizes that address distribution can not be corresponding with physical link, and it is discontinuous to distribute address.
Three, using simulation address sampling plan, the resistance of different samplings is designed in the bearing of module, hardware is identical Module, which is placed on different location, adopts different analog voltages and obtains different addresses, but program needs are pre-placed difference Stationary backplate, engineer application and maintenance replacement it is very inconvenient.
In view of this, problems present in Address Recognition of the present inventor for above-mentioned multimode TT&C system, and Deeply design, and then generate the present invention.
Summary of the invention
The purpose of the present invention is to provide a kind of wired connection multimode TT&C system address automatic identifying method, Address setting is simple, avoids because address repeats not communicating i.e. module setting address and system line physical address Inconsistent the problem of causing system that can not work.
To achieve the above object, the technical solution adopted by the present invention is that:
A kind of wired connection multimode TT&C system address automatic identifying method comprising following steps:
Step 1, in multimode TT&C system host module and multiple submodule on two ports, that is, port A and port are set B, and be sequentially connected host module and submodule by port A and port B, it is specific as follows:
The port B of a upper module and the port A of next module are attached using connecting detection line, and the last one submodule Port B and the port A of host module be attached by connecting detection line;
It after the completion of step 2, host module are connected with submodule, is powered on to multimode TT&C system, each module starts automatic identification Its address, specific as follows:
After step 2.1, system electrification, host module sets initial address automatically, is simultaneously emitted by communication broadcast frame, informs system master The initial address of machine module, and host module is set to current block i, start automatic distribution address;
Step 2.2, host module are called the roll on communication bus inquires next module of current block i, and the address of current block i is I, by signal port B output pulse signal after it is called the roll, to find next module i+1 of its physical connection;
Step 2.3, next module i+1 the pulse signal that is issued to module i of Port detecting after, whether judge next module For host module, if next module is host module, then it represents that each module's address in multimode TT&C system has been assigned, Start normal system communication;If next module i+1 is not host module, 2.4 are entered step;
Step 2.4, next module i+1 distribute address i+1, while the response host module on communication bus, host module automatically Next module is set to current block;Subsequently into step 2.2, start the address distribution of next module, until multimode observing and controlling Each module's address in system is assigned;
When the module in multimode TT&C system changes, system electrification, system repeats steps 2.1 to step are given again 2.4, the unique address for giving each module assignment new by new physical connection sequence automatically.
After adopting the above scheme, construction personnel only needs the host module of multimode TT&C system through connecting detection line It is connected in turn with submodule, then gives system electrification, after system electrification, the modules in system can press object automatically The order of connection is managed to the unique address of each module assignment.When some module or increases and reduces because needing replacing in system When module number, system re-power and can automatically by new physical connection sequence to each module assignment newly uniquely Location.It does not need to be manually set, it is simple and reliable, it effectively prevents that i.e. module setting address can not be communicated because of address repetition and is It unites route physical address inconsistent the problem of causing system that can not work.
Detailed description of the invention
Fig. 1 is the connection schematic diagram of each intermodule of the present invention;
Fig. 2 is module's address automatic identification flow chart of the present invention.
Specific embodiment
As depicted in figs. 1 and 2, present invention discloses a kind of wired connection multimode TT&C system address automatic identifications Method comprising following steps:
Step 1, in multimode TT&C system host module and multiple submodule (set in module 1, module 2 ... module n) Two ports i.e. port A and port B is set, and is sequentially connected host module and submodule by port A and port B, is had Body is as follows:
Using connecting detection line by the port A of the port B of a upper module (including host module and submodule) and next module into Row connection, and the port A of the port B of the last one submodule and host module is attached by connecting detection line.
It after the completion of step 2, host module are connected with submodule, is powered on to multimode TT&C system, each module starts automatically Identify its address, specific as follows:
After step 2.1, system electrification, host module sets initial address automatically, is simultaneously emitted by communication broadcast frame, informs system master The initial address of machine module, and host module is set to current block i, start automatic distribution address;
Step 2.2, host, which start to call the roll on communication bus, inquires next module of current block i, and the address of current block i is I, by signal port B output pulse signal after it is called the roll, to find next module i+1 of its physical connection.
Step 2.3, next module i+1 the pulse signal that is issued to module i of Port detecting after, judge next module It whether is host module, if next module is host module, then it represents that each module's address in multimode TT&C system has distributed It completes, normal system communication can be started;If next module i+1 is not host module, 2.4 are entered step.
When whether judge next module is host module, can be sentenced by judging whether host receives pulse signal It is disconnected.If in succession is exactly host by module i next, host just will receive pulse signal, at this point, next module is exactly host mould Block;If in succession is submodule by module i next, host would not receive pulse signal, that next module is not just host Module.
Step 2.4, next module i+1 distribute address i+1, while the response host module on communication bus, host automatically Next module is set to current block by module;Subsequently into step 2.2, start the address distribution of next module, until multimode Each module's address in TT&C system is assigned.
Address above mentioned identifies in assigning process that current block can be host module, be also possible to any one submodule. When system just powers on, the automatic setting address of host is 0, at this point, current block is host module, host module passes through in its letter Number port B output pulse signal, to find the next module i.e. module 1 of its physical connection, the port A of module 1 is detected After surveying the pulse signal that main module issues, judging out it is not host module, and then can distribute address automatically is 1, while Response host module on communication bus, to complete the address distribution of module 1.
If current block address be n, be module n, at this point, module n by its signal port B output pulse signal with The next module i.e. host module of its physical connection is found, the port A of host module detects the arteries and veins that detection main module issues After rushing signal, it is judged out as host module, at this point, end address is distributed, can start normal system communication.
When some submodule needs replacing in multimode TT&C system, or increases or decreases submodule quantity, only It needs to re-power to system, system can carry out giving by new physical connection sequence automatically according to above-mentioned steps 2.1 to step 2.4 The new unique address of each module assignment, does not need to think to set, simple and reliable, effectively prevents repeating because of address I.e. module setting address and system line physical address inconsistent the problem of causing system that can not work can not be communicated.
The above is only the embodiment of the present invention, is not intended to limit the scope of the present invention, therefore all Any subtle modifications, equivalent variations and modifications to the above embodiments according to the technical essence of the invention still fall within this In the range of inventive technique scheme.

Claims (1)

1. a kind of wired connection multimode TT&C system address automatic identifying method, it is characterised in that: the method includes Following steps:
Step 1, in multimode TT&C system host module and multiple submodule on two ports, that is, port A and port are set B, and be sequentially connected host module and submodule by port A and port B, it is specific as follows:
The port B of a upper module and the port A of next module are attached using connecting detection line, and the last one submodule Port B and the port A of host module be attached by connecting detection line;
It after the completion of step 2, host module are connected with submodule, is powered on to multimode TT&C system, each module starts automatic identification Its address, specific as follows:
After step 2.1, system electrification, host module sets initial address automatically, is simultaneously emitted by communication broadcast frame, informs system master The initial address of machine module, and host module is set to current block i, start automatic distribution address;
Step 2.2, host module are called the roll on communication bus inquires next module of current block i, and the address of current block i is I, by signal port B output pulse signal after it is called the roll, to find next module i+1 of its physical connection;
Step 2.3, next module i+1 the pulse signal that is issued to module i of Port detecting after, whether judge next module For host module, if next module is host module, then it represents that each module's address in multimode TT&C system has been assigned, Start normal system communication;If next module i+1 is not host module, 2.4 are entered step;
Step 2.4, next module i+1 distribute address i+1, while the response host module on communication bus, host module automatically Next module is set to current block;Subsequently into step 2.2, start the address distribution of next module, until multimode observing and controlling Each module's address in system is assigned;
When the module in multimode TT&C system changes, system electrification, system repeats steps 2.1 to step are given again 2.4, the unique address for giving each module assignment new by new physical connection sequence automatically.
CN201810757475.3A 2018-07-11 2018-07-11 Automatic identification method for communication address of wired connection multi-module measurement and control system Active CN108989478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810757475.3A CN108989478B (en) 2018-07-11 2018-07-11 Automatic identification method for communication address of wired connection multi-module measurement and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810757475.3A CN108989478B (en) 2018-07-11 2018-07-11 Automatic identification method for communication address of wired connection multi-module measurement and control system

Publications (2)

Publication Number Publication Date
CN108989478A true CN108989478A (en) 2018-12-11
CN108989478B CN108989478B (en) 2022-02-01

Family

ID=64536817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810757475.3A Active CN108989478B (en) 2018-07-11 2018-07-11 Automatic identification method for communication address of wired connection multi-module measurement and control system

Country Status (1)

Country Link
CN (1) CN108989478B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111203886A (en) * 2020-02-12 2020-05-29 浙江禾川科技股份有限公司 Multi-axis driving and controlling system
CN112327690A (en) * 2020-10-30 2021-02-05 科华恒盛股份有限公司 Multi-module physical address sampling system
WO2021057105A1 (en) * 2019-09-23 2021-04-01 华为技术有限公司 Electronic device and hardware address configuration method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478846A (en) * 2008-12-31 2009-07-08 上海广茂达灯光景观工程有限公司 LED lamp light controlling bus and controlling method thereof
CN104142677A (en) * 2013-05-08 2014-11-12 和硕联合科技股份有限公司 Automatic station sequence detection method
CN105516384A (en) * 2015-11-27 2016-04-20 上海中兴派能能源科技有限公司 Method and system for allocating addresses to plurality of battery modules
CN105847463A (en) * 2016-04-07 2016-08-10 深圳市沃特玛电池有限公司 Automatic addressing system of electric car single cell acquisition module and addressing method thereof
CN106406181A (en) * 2016-11-10 2017-02-15 山东开创电气有限公司 CAN device automatic identification method and mine belt protection system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478846A (en) * 2008-12-31 2009-07-08 上海广茂达灯光景观工程有限公司 LED lamp light controlling bus and controlling method thereof
CN104142677A (en) * 2013-05-08 2014-11-12 和硕联合科技股份有限公司 Automatic station sequence detection method
CN105516384A (en) * 2015-11-27 2016-04-20 上海中兴派能能源科技有限公司 Method and system for allocating addresses to plurality of battery modules
CN105847463A (en) * 2016-04-07 2016-08-10 深圳市沃特玛电池有限公司 Automatic addressing system of electric car single cell acquisition module and addressing method thereof
CN106406181A (en) * 2016-11-10 2017-02-15 山东开创电气有限公司 CAN device automatic identification method and mine belt protection system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021057105A1 (en) * 2019-09-23 2021-04-01 华为技术有限公司 Electronic device and hardware address configuration method
CN111203886A (en) * 2020-02-12 2020-05-29 浙江禾川科技股份有限公司 Multi-axis driving and controlling system
CN112327690A (en) * 2020-10-30 2021-02-05 科华恒盛股份有限公司 Multi-module physical address sampling system
CN112327690B (en) * 2020-10-30 2022-08-09 科华恒盛股份有限公司 Multi-module physical address sampling system

Also Published As

Publication number Publication date
CN108989478B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN108989478A (en) A kind of wired connection multimode TT&C system address automatic identifying method
CN103596634B (en) Power source supply method and device
CN103377061A (en) Firmware updating management system and method
CN111586205B (en) Method for automatically allocating slave machine address in battery management system
CN202421886U (en) Automatic test platform of automotive body electrical control unit
CN109639544A (en) The system and method for automatic distribution address
CN104932962B (en) A kind of USB plugs test system and its method
CN105471590A (en) Automatic power budget management for power-over-ethernet apparatus
CN102879684A (en) Method and system for testing parts of electrical appliances
CN107766271A (en) BMS addresses on electric automobile are from distribution system
CN202995451U (en) A vehicle-mounted controller automatic testing device
CN106155954A (en) The system and method that a kind of module identification and COM1 distribute automatically
CN104243577A (en) Electronic device having automatic networking function and automatic networking method
CN105137218A (en) System and method for identifying detected product
CN203133261U (en) Tool plate for oscilloscope calibration and oscilloscope calibration system
CN201600444U (en) Voltage monitor intelligent verification platform
CN104407259B (en) Power information acquisition terminal communication module hardware ID recognition methods
US9538614B2 (en) Apparatuses and methods to detect and provision for lighting interfaces
CN114285692B (en) Communication control system, identity determination method, distribution method and equipment
CN114143884A (en) Information communication method based on blade type IO equipment and blade type IO equipment
CN109992277B (en) Circuit board programming system, method and device
CN104867374B (en) It is a kind of from plate ID learning systems and method
CN112084130A (en) Program burning control method and device of main control board, storage medium and terminal
CN106649016A (en) Period testing method for alternating-current power supply of 1U2 rack-mounted server
CN214174887U (en) General control device of building control system

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Method for Automatic Identification of Communication Addresses in Wired Multimodule Measurement and Control Systems

Effective date of registration: 20230310

Granted publication date: 20220201

Pledgee: Xiamen Branch of PICC

Pledgor: TBB POWER (XIAMEN) CO.,LTD.

Registration number: Y2023980034578

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20220201

Pledgee: Xiamen Branch of PICC

Pledgor: TBB POWER (XIAMEN) CO.,LTD.

Registration number: Y2023980034578