CN104243577A - Electronic device having automatic networking function and automatic networking method - Google Patents

Electronic device having automatic networking function and automatic networking method Download PDF

Info

Publication number
CN104243577A
CN104243577A CN201410465199.5A CN201410465199A CN104243577A CN 104243577 A CN104243577 A CN 104243577A CN 201410465199 A CN201410465199 A CN 201410465199A CN 104243577 A CN104243577 A CN 104243577A
Authority
CN
China
Prior art keywords
digital
mcu controller
module
bus
communication
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
Application number
CN201410465199.5A
Other languages
Chinese (zh)
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.)
BEIJING NENK SCIENCE AND TECHNOLOGY Co Ltd
Original Assignee
BEIJING NENK SCIENCE AND 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 BEIJING NENK SCIENCE AND TECHNOLOGY Co Ltd filed Critical BEIJING NENK SCIENCE AND TECHNOLOGY Co Ltd
Priority to CN201410465199.5A priority Critical patent/CN104243577A/en
Publication of CN104243577A publication Critical patent/CN104243577A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an electronic device having the automatic networking function. The electronic device having the automatic networking function comprises an MCU, a power module, a host interface module and multiple slave machine interface modules. The power module is electrically connected with the MCU. The MCU is in communication connection with a bus through a communication interface conversion module. The host interface module is in communication connection with the bus. The slave machine interface modules are in communication connection with the bus through corresponding bus switch control modules. The electronic device having the automatic networking function has the advantages that communication addresses can be automatically written for multiple digital sensors and digital instruments in a one-off mode, the success rate reaches 100 percent, efficiency is improved, labor cost is lowered, and operation is easy and convenient; an automatic networking method does not involve a communication protocol between a host and slave machines, and the method has higher universality and generality; the labor intensity of field installation is lowered greatly, time is saved, and a project period is shortened.

Description

A kind of automatic network-building electronic equipment and automatic network-building method
Technical field
The present invention relates to the address Compiling Technique field of digital weighing equipment and digital instrument equipment, refer to a kind of automatic network-building electronic equipment and automatic network-building method especially.
Background technology
In a system having multiple digital sensor and digital instrument, each digital sensor and digital instrument have an address being different from other digital sensors and digital instrument.
At present, at the scene in application, writing of each digital sensor and digital instrument address, is all arranged one by one by staff is manual.In site operation process, to writing one by one of digital sensor and digital instrument address, it is a quite loaded down with trivial details process, a digital sensor and digital instrument can only be accessed at every turn, must be pulled down after its numbering is terminated, then another is accessed, so repeatedly until all digital sensors and digital instrument address have been write.
Due in above-mentioned numbering process, need the upper equipment such as staff's operand word transducer and digital instrument, circuit switched, is therefore easy to make mistakes, causes repeatedly repeating same work on one side, and labour intensity is large, wasting manpower and material resources.
In the case, research and develop that a kind of automatically to distribute the autoelectrinic equipment writing address extremely urgent for digital sensor and digital instrument.
Summary of the invention
The present invention proposes a kind of automatic network-building electronic equipment and automatic network-building method, solves addressing intricate operation, large, the ineffective problem of labour intensity to digital sensor and digital instrument in prior art.
Technical scheme of the present invention is achieved in that
A kind of automatic network-building electronic equipment, comprising: MCU controller, power module, host interface module and several are from machine interface module, and described power module is electrically connected with described MCU controller; Described MCU controller is connected with bus communication by communication interface modular converter; Described host interface module is connected with bus communication; Described several are connected with bus communication from machine interface module respectively by corresponding bus switch control module.
As preferably, also comprise clock module and memory module, described clock module is connected with described MCU controller both-way communication; Described memory module is connected with described MCU controller both-way communication.
As preferably, the described number from machine interface module is more than 2.
A kind of automatic network-building method, its concrete steps are as follows:
(1) several digital sensors and/or digital instrument are connected from machine interface module with several of automatic network-building electronic equipment respectively, and the host interface module of host computer with automatic network-building electronic equipment is connected;
(2) host computer sends automatic addressing order to MCU controller by bus and communication interface modular converter;
(3) MCU controller receives order, and verifies order, and verification succeeds then performs next step;
(4) MCU controller controls to open the bus node specified by automatic addressing order;
(5) host computer sends from machine addressing order, addresses the digital sensor of respective bus Nodes or digital instrument;
(6) respective digital transducer or digital instrument address successfully, and MCU controller continues to control to address next digital sensor or digital instrument, until all digital sensors and digital instrument all address complete.
Automatic network-building method of the present invention can also have following implementation:
(1) several digital sensors and/or digital instrument are connected from machine interface module with several of automatic network-building electronic equipment respectively, and the host interface module of host computer with automatic network-building electronic equipment is connected;
(2) host computer sends automatic addressing order to MCU controller by bus and communication interface modular converter;
(3) MCU controller receives order, and verifies order, and verification succeeds then performs next step;
(4) MCU controller controls poll and each digital sensor or digital instrument voluntarily and sets up and uniquely connect and carry out corresponding addressing, until all digital sensors and digital instrument all address complete;
(5) MCU controller sends signal and informs that host computer has addressed.
Beneficial effect of the present invention is:
Present invention achieves and disposablely automatically write address to multiple digital sensor and digital instrument, success rate 100%, improves efficiency, reduces cost of labor, simple to operation.
The method of the invention does not relate to main frame and from the communications protocol between machine, has larger generality and versatility.
Utilize automatic network-building electronic equipment of the present invention without the need to knowing the current address of each digital sensor and digital instrument, start the order of host computer automatic addressing, only need once-through operation, system will distribute a unique address for all digital sensors and digital instrument, substantially reduce labour intensity during in-site installation, save time, shorten construction period.
In addition, when utilizing automatic network-building electronic equipment of the present invention to change digital sensor and digital instrument, without the need to knowing that the address of new digital sensor and digital instrument is how many, directly old digital sensor and digital instrument are replaced.Start the order of host computer automatic addressing, new digital sensor or digital instrument are then assigned to the address identical with old digital sensor or digital instrument.Eliminate in conventional method and first every other digital sensor and digital instrument are removed from terminal box, after writing address to new digital sensor and digital instrument, more again whole digital sensor and digital instrument are taken back the worry in system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the system principle diagram of automatic network-building electronic equipment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment is as shown in Figure 1 known, a kind of automatic network-building electronic equipment of the present invention, comprise: MCU controller, power module, host interface module, several from machine interface module, clock module and memory module, power module is electrically connected with MCU controller; MCU controller is connected with bus communication by communication interface modular converter; Host interface module is connected with bus communication; Several are connected with bus communication from machine interface module respectively by corresponding bus switch control module.Clock module is connected with MCU controller both-way communication; Memory module is connected with MCU controller both-way communication.
The above-mentioned number from machine interface module is more than 2.
Utilize above-mentioned automatic network-building electronic equipment to carry out the method for automatic network-building, its concrete steps are as follows:
(1) several digital sensors and/or digital instrument are connected from machine interface module with several of automatic network-building electronic equipment respectively, and the host interface module of host computer with automatic network-building electronic equipment is connected;
(2) host computer sends automatic addressing order to MCU controller by bus and communication interface modular converter;
(3) MCU controller receives order, and verifies order, and verification succeeds then performs next step;
(4) MCU controller controls to open the bus node specified by automatic addressing order;
(5) host computer sends from machine addressing order, addresses the digital sensor of respective bus Nodes or digital instrument;
(6) respective digital transducer or digital instrument address successfully, and MCU controller continues to control to address next digital sensor or digital instrument, until all digital sensors and digital instrument all address complete.
Above-mentioned automatic network-building method can also have following implementation:
(1) several digital sensors and/or digital instrument are connected from machine interface module with several of automatic network-building electronic equipment respectively, and the host interface module of host computer with automatic network-building electronic equipment is connected;
(2) host computer sends automatic addressing order to MCU controller by bus and communication interface modular converter;
(3) MCU controller receives order, and verifies order, and verification succeeds then performs next step;
(4) MCU controller controls poll and each digital sensor or digital instrument voluntarily and sets up and uniquely connect and carry out corresponding addressing, until all digital sensors and digital instrument all address complete;
(5) MCU controller sends signal and informs that host computer has addressed.
In sum, present invention achieves and disposablely automatically write address to multiple digital sensor and digital instrument, success rate 100%, improves efficiency, reduces cost of labor, simple to operation.
The method of the invention does not relate to main frame and from the communications protocol between machine, has larger generality and versatility.
Utilize automatic network-building electronic equipment of the present invention without the need to knowing the current address of each digital sensor and digital instrument, start the order of host computer automatic addressing, only need once-through operation, system will distribute a unique address for all digital sensors and digital instrument, substantially reduce labour intensity during in-site installation, save time, shorten construction period.
In addition, when utilizing automatic network-building electronic equipment of the present invention to change digital sensor and digital instrument, without the need to knowing that the address of new digital sensor and digital instrument is how many, directly old digital sensor and digital instrument are replaced.Start the order of host computer automatic addressing, new digital sensor or digital instrument are then assigned to the address identical with old digital sensor or digital instrument.Eliminate in conventional method and first every other digital sensor and digital instrument are removed from terminal box, after writing address to new digital sensor and digital instrument, more again whole digital sensor and digital instrument are taken back the worry in system.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. an automatic network-building electronic equipment, is characterized in that, comprising: MCU controller, power module, host interface module and several are from machine interface module, and described power module is electrically connected with described MCU controller; Described MCU controller is connected with bus communication by communication interface modular converter; Described host interface module is connected with bus communication; Described several are connected with bus communication from machine interface module respectively by corresponding bus switch control module.
2. a kind of automatic network-building electronic equipment according to claim 1, is characterized in that, also comprise clock module and memory module, and described clock module is connected with described MCU controller both-way communication; Described memory module is connected with described MCU controller both-way communication.
3. a kind of automatic network-building electronic equipment according to claim 1, is characterized in that, the described number from machine interface module is more than 2.
4. an automatic network-building method, is characterized in that, its method step is as follows:
(1) several digital sensors and/or digital instrument are connected from machine interface module with several of automatic network-building electronic equipment respectively, and the host interface module of host computer with automatic network-building electronic equipment is connected;
(2) host computer sends automatic addressing order to MCU controller by bus and communication interface modular converter;
(3) MCU controller receives order, and verifies order, and verification succeeds then performs next step;
(4) MCU controller controls to open the bus node specified by automatic addressing order;
(5) host computer sends from machine addressing order, addresses the digital sensor of respective bus Nodes or digital instrument;
(6) respective digital transducer or digital instrument address successfully, and MCU controller continues to control to address next digital sensor or digital instrument, until all digital sensors and digital instrument all address complete.
CN201410465199.5A 2014-09-12 2014-09-12 Electronic device having automatic networking function and automatic networking method Pending CN104243577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410465199.5A CN104243577A (en) 2014-09-12 2014-09-12 Electronic device having automatic networking function and automatic networking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410465199.5A CN104243577A (en) 2014-09-12 2014-09-12 Electronic device having automatic networking function and automatic networking method

Publications (1)

Publication Number Publication Date
CN104243577A true CN104243577A (en) 2014-12-24

Family

ID=52230905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410465199.5A Pending CN104243577A (en) 2014-09-12 2014-09-12 Electronic device having automatic networking function and automatic networking method

Country Status (1)

Country Link
CN (1) CN104243577A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108072412A (en) * 2016-11-11 2018-05-25 高准有限公司 Flowmeter and flowmeter system
CN110445888A (en) * 2019-09-02 2019-11-12 山西力创自动化技术有限公司 A kind of digital weighing sensor address self-setting system and its setting method
CN110730253A (en) * 2019-09-25 2020-01-24 陈健红 Automatic addressing method of control chip
CN112074063A (en) * 2020-09-14 2020-12-11 广州彩熠灯光股份有限公司 Method and device for configuring lamp information
TWI792746B (en) * 2021-08-16 2023-02-11 新加坡商鴻運科股份有限公司 Server system and method for improving pin reuse rate of programmable device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570877A (en) * 2004-04-27 2005-01-26 中兴通讯股份有限公司 Universal serial communication interface debugging device and method
CN101630298A (en) * 2009-07-28 2010-01-20 中兴通讯股份有限公司 Serial bus slave address setting system
CN101635637A (en) * 2008-07-21 2010-01-27 江森自控楼宇设备科技(无锡)有限公司 Method and system for distributing intelligent addresses based on serial bus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570877A (en) * 2004-04-27 2005-01-26 中兴通讯股份有限公司 Universal serial communication interface debugging device and method
CN101635637A (en) * 2008-07-21 2010-01-27 江森自控楼宇设备科技(无锡)有限公司 Method and system for distributing intelligent addresses based on serial bus
CN101630298A (en) * 2009-07-28 2010-01-20 中兴通讯股份有限公司 Serial bus slave address setting system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108072412A (en) * 2016-11-11 2018-05-25 高准有限公司 Flowmeter and flowmeter system
CN110445888A (en) * 2019-09-02 2019-11-12 山西力创自动化技术有限公司 A kind of digital weighing sensor address self-setting system and its setting method
CN110445888B (en) * 2019-09-02 2024-02-20 山西力创自动化技术有限公司 Communication address self-setting system and method for digital weighing sensor
CN110730253A (en) * 2019-09-25 2020-01-24 陈健红 Automatic addressing method of control chip
CN112074063A (en) * 2020-09-14 2020-12-11 广州彩熠灯光股份有限公司 Method and device for configuring lamp information
CN112074063B (en) * 2020-09-14 2023-03-24 广州彩熠灯光股份有限公司 Method and device for configuring lamp information
TWI792746B (en) * 2021-08-16 2023-02-11 新加坡商鴻運科股份有限公司 Server system and method for improving pin reuse rate of programmable device

Similar Documents

Publication Publication Date Title
CN104243577A (en) Electronic device having automatic networking function and automatic networking method
CN103596634B (en) Power source supply method and device
CN105022645A (en) Implementation method of updating management module firmware in large scale
CN103024074A (en) DSP (digital signal processor) remote wireless upgrading method based on GPRS (general packet radio service)
CN102799547B (en) DMX (digital dimmer protocol) 512-based chip addressing system and addressing mode thereof
CN105426184A (en) Method for setting static IP (Internet Protocol) of Linux system of whole cabinet in batches
CN104579752A (en) Remote automatic upgrading system and remote automatic upgrading method
CN104833924A (en) Serial automatic addressing method and system of lead storage battery internal resistance detection modules
CN103617061A (en) Method for multi-node on-line software updating on basis of ARM
CN101666855B (en) Universal test system and method of integrated circuit
CN102902526A (en) Automatic setting method for realizing BMC (Baseboard Management Controller) and IP (Internet Protocol) information through time delay
CN103885921A (en) Flash memorizer, FPGA chip and configuration method of FPGA chip
CN104717023B (en) The predictable 1553B buses engineering telemetry acquisition methods of communication performance
CN100383771C (en) System and method for dynamically distributing device address on integrated circuit bus
CN101726708B (en) Battery voltage data acquisition system
CN104485749B (en) A kind of transformer station integrated power supply monitoring auxiliary is to measuring point method to set up
CN105872278A (en) USB data wireless transmission method, camera and system
CN116130804A (en) Battery management system for energy storage system
CN104052624A (en) Configuration management method and device
CN103354505A (en) Method for batch upgrading of electronic device cluster software
CN104346209A (en) Updating method of substrate management controller
CN102929828A (en) Data transmission method and device supporting standard and non-standard I2C (Inter-Integrated Circuit) interface simultaneously
CN203119921U (en) Intelligent digital network system
CN104113115B (en) Vanadium battery management system and achieving method thereof
CN112367250A (en) Internet of things multi-protocol gateway

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20141224