CN101399700B - Apparatus, method and integrated circuit chip having on-line addressing bus type node - Google Patents

Apparatus, method and integrated circuit chip having on-line addressing bus type node Download PDF

Info

Publication number
CN101399700B
CN101399700B CN2008100386868A CN200810038686A CN101399700B CN 101399700 B CN101399700 B CN 101399700B CN 2008100386868 A CN2008100386868 A CN 2008100386868A CN 200810038686 A CN200810038686 A CN 200810038686A CN 101399700 B CN101399700 B CN 101399700B
Authority
CN
China
Prior art keywords
node
address
communication link
digital communication
serial digital
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
CN2008100386868A
Other languages
Chinese (zh)
Other versions
CN101399700A (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.)
Grand Canyon Lighting System Suzhou Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2008100386868A priority Critical patent/CN101399700B/en
Publication of CN101399700A publication Critical patent/CN101399700A/en
Application granted granted Critical
Publication of CN101399700B publication Critical patent/CN101399700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention provides a device which is provided with a bus-typed node which can be addressed online; the device comprises a bus-typed serial digital communication link which hangs and connects a plurality of nodes; wherein, an auxiliary serial digital communication link is arranged among a plurality of nodes; the auxiliary serial digital communication link can arrange node parameters including the addresses; a control system formed by the device with the bus-typed node which can be addressed online needs no addressing for all nodes one by one, and achieves the object of automatic addressing; in order to realize the function, the invention also provides an addressing method and an integrated circuit chip.

Description

Device, method and integrated circuit (IC) chip with bus type node that can online addressing
Technical field
The present invention relates to a kind of integrated circuit (IC) system technology, relate in particular to a kind of device, method and integrated circuit (IC) chip with bus type node that can online addressing.
Background technology
The dcs of field bus type has obtained extensive use in the every field of current social life.As everyone knows, fieldbus is a kind of numerical data communication link of serial, as shown in Figure 1 in the Figure of description, each Control Node in the fieldbus, from node 1 to node n+1, all be articulated on the data communication bus 100, the Frame that any node sends on the bus 100, can arrive all nodes, thereby want between the node on the bus 100 and can correctly communicate by letter, each node must be composed of unique address to be different from other nodes, the address information of the Control Software on each node by carrying in the recognition data frame, differentiate the destination node of this Frame, and then decision accepts still to throw away this Frame.In the prior art, any node all can't be distinguished the locus of other nodes by the network configuration of bus, can't realize the automatic addressing that node is online, node addressing is used the toggle switch of stirring intra-node usually, perhaps the mode that the EEP ROM of intranodal writes address date is realized with the addressing device, this just requires, and the engineering staff is in-plant to operate one by one to Node Controller, at the maintain and replace Node Controller, when perhaps changing the relative installation of node, all will be nearby to the manual addressing of node, this safeguards to project installation and has brought very big trouble, particularly for the control the size control system of huge partial node of a host node, the inconvenience of this addressing is more outstanding.
Summary of the invention
The objective of the invention is to the problems of the prior art of mentioning at aforementioned, proposed a kind of device, method and integrated circuit (IC) chip with bus type node that can online addressing, this device can be realized the online addressing of each node easily.
For achieving the above object, the present invention also provides a kind of addressing method with device of bus type node that can online addressing, its step comprises: 1, addressing process is initiated by the first node on the auxiliary serial digital communication link, at first gives a data address to first node; 2, first node sends the address configuration Frame by described auxiliary serial digital communication link to Section Point, described Frame is except the frame head postamble, the data address that also comprises Section Point, Section Point write this address among the EEPROM of this node take out the data address of this node from this Frame after; 3, Section Point is revised the value of the data address in the address configuration Frame that receives from first node, then amended address configuration Frame is sent to the 3rd node by auxiliary serial digital communication link; 4, repeat to implement according to above-mentioned steps 2-3, last node in giving described auxiliary serial digital communication link is given the address.
Wherein, in said method, in order to make addressing convenient, the own data address that can establish first node is m, and the data address to Section Point in the address configuration Frame that first node sends is " m+1 ", and the data address of n node is " m+ (n-1) " in the then described auxiliary serial digital communication link.
The control system that device with bus type node that can online addressing of the present invention constitutes does not need each node is carried out one by one addressing again, has realized the automation of addressing.The present invention also provides addressing method and integrated circuit (IC) chip in order to realize above-mentioned functions.
Description of drawings
Fig. 1 is the node of prior art and the annexation schematic diagram of data link bus;
Fig. 2 is the annexation schematic diagram of node of the present invention and bus-type serial digital communication link, auxiliary serial digital communication link;
Fig. 3 is the structural representation of node in the embodiment of the invention 1;
Fig. 4 is the structural representation of node in the embodiment of the invention 2;
Fig. 5 is the structural representation of node in the embodiment of the invention 3;
Fig. 6 is the structural representation of integrated circuit (IC) chip in the embodiment of the invention 4;
Fig. 7 is the structural representation of integrated circuit (IC) chip in the embodiment of the invention 5.
Main symbol implication:
1 bus-type serial digital communication link
1 ' auxiliary serial digital communication link
2 auxiliary serial digital communication link receiving terminals
3 auxiliary serial digital communication link transmitting terminals
4 auxiliary serial digital communication link receiving terminal interface circuits
5 auxiliary serial digital communication link transmitting terminal interface circuits
6 bus-type serial digital communication link interface circuits
7?MCU
8?UART
9?UART
10 CAN communication controlers
11?UART/CAN
12?CPU
13 digital circuit state machines
00 node
01 node
02 node
03 integrated circuit (IC) chip
04 integrated circuit (IC) chip
Embodiment
Now according to accompanying drawing, the present invention will be further described.
See also shown in Figure 2, among this figure for having the device of bus type node that can online addressing, this device comprises bus-type serial digital communication link 1, be mounted with plurality of nodes on this link, wherein, between above-mentioned plurality of nodes, dispose again an auxiliary serial digital communication link 1 ', this auxiliary serial digital communication link 1 ' node parameter that comprises the address can be set.Described auxiliary serial digital communication link 1 ' in each node be in series by this communication link, described auxiliary serial digital communication link 1 ' actual is made up of some groups of auxiliary serial digital communication link receiving terminals 2 and auxiliary serial digital communication link transmitting terminal 3.
Embodiment 1
See also shown in Figure 3, Fig. 3 for the present invention has can online addressing the device of bus type node in the structural representation of node 00.Node 00 comprises: MCU7, UART8, UART9, auxiliary serial digital communication link receiving terminal interface circuit 4, auxiliary serial digital communication link transmitting terminal interface circuit 5, bus-type serial digital communication link interface circuit 6.In addition, control signal output should be arranged also in the node 00, in order to control the actuator of this node, not shown among this figure.
Node 00 disposes two UART, be respectively UART8 and UART9, UART9 is connected on the bus-type serial digital communication link 1 by bus-type serial digital communication link interface circuit 6, receive the data of bus-type serial digital communication link 1, send data to bus-type serial digital communication link 1, its working method is consistent with prior art.The receiving terminal of the UART8 of node 00 is connected with auxiliary serial digital communication link receiving terminal 2 by auxiliary serial digital communication link receiving terminal interface circuit 4.The transmitting terminal of UART8 is connected with auxiliary serial digital communication link transmitting terminal 3 by auxiliary serial digital communication link transmitting terminal interface circuit 5, UART8 is responsible for receiving the address configuration Frame that a node is sent, and MCU7 is revised the address configuration Frame of data address value and issues next node.
In the present embodiment, the form of the address configuration Frame that transmits on the auxiliary serial digital communication link is as follows:
Frame head Address style Data 1 Data 2
0xAA 0x1/0x2 The address value least-significant byte The address value most-significant byte
1byte 2byte 3byte ?4byte
The command frame format description is as follows:
(1) frame head: supply the beginning of the software recognition instruction frame of Control Node, its value is fixed as 0xAA.
(2) address style: for the software identification address type of Control Node, when this value was 0x1, presentation address was a permanent address, and when this value was 0x2, presentation address was the temporary address.
(3) data: data 1 are the least-significant byte of address, and data 2 are the most-significant byte of address, and address value is: the value of the value of data 2 * 256+ data 1.
After software among the MCU7 is received 1 complete address configuration Frame from UART8 in due form, judge that by identification " address style " field address style is permanent address or temporary address, it is permanent address, then the address value in the data field is write among the EEPROM, if temporary address, then the address value in the data field is write in the temporary variable, node uses temporary address or permanent address, by the software strategy decision of node.In addition, the software among the MCU7 adds 1 with the address value in the address configuration Frame, as the address of next node, by the output of auxiliary serial digital communication link this Frame is issued next node then, and the address of next node is configured.
Certainly, host node also can send the configuration data frame of other system operational parameters by auxiliary serial digital communication link, each node on the bus is accepted, is transmitted these Frames successively, according to the heterogeneity of running parameter, each node can adopt different processing policies to the running parameter that carries in the configuration data frame.
Embodiment 2
Fig. 4 for the present invention has can online addressing the device of bus type node in the structural representation of node.What in the present embodiment, the node among node 01 and the embodiment 1 00 was different is that the communication controler of node 01 on bus-type serial digital communication link 1 do not adopt UART, but adopts CAN communication controler 10.The CAN bus protocol is followed in the communication of described CAN communication controler 10 on bus-type serial digital communication link 1 fully.Node 01 auxiliary serial digital communication link 1 ' on the communication mode and the processing mode and the node 00 among the embodiment 1 of configuration address Frame identical, do not repeat them here.
Embodiment 3
See also shown in Figure 5, Fig. 5 for the present invention has can online addressing the device of bus type node in the structural representation of node.The communication controler of the node 02 of present embodiment on bus-type serial digital communication link 1 adopts UART or CAN communication controler, auxiliary serial digital communication link 1 ' on use the I/O mouth of MCU to use receiving terminal and transmitting terminal as, promptly auxiliary serial digital communication link 1 ' auxiliary serial digital communication link receiving terminal 2 be connected on the reception type IO mouth of MCU, the auxiliary serial digital communication link transmitting terminal 3 of auxiliary serial digital communication link is connected on the transmission type IO mouth of MCU, and node 02 reads the state value of reception type IO mouth and simulates the function that realizes hardware UART with the state that transmission type IO mouth is set by the software among the MCU.MCU belongs to prior art with the function of the existing hardware UART of software operation IO cause for gossip, does not add at this and gives unnecessary details.
Embodiment 4
See also shown in Figure 6ly, it is for the structural representation of integrated circuit (IC) chip of the present invention.Integrated circuit (IC) chip 03 comprises UART8, CPU12, UART/CAN 11, UART/CAN 11 is used for transmitting and receiving service control data on bus-type serial digital communication link 1, UART8 be used for auxiliary serial digital communication link 1 ' on transmitting-receiving address configuration Frame, UART8, UART/CAN 11 are controlled by CPU12.The mode that integrated circuit (IC) chip 03 is obtained the address realizes by the mode of node 00 of the present invention, node 01.
Embodiment 5
See also shown in Figure 7ly, it is for the structural representation of integrated circuit (IC) chip of the present invention.Integrated circuit (IC) chip 04 comprises UART8, digital circuit state machine 13, UART/CAN 11, UART/CAN 11 is used for transmitting and receiving service control data on bus-type serial digital communication link 1, UART8 be used for auxiliary serial digital communication link 1 ' on transmitting-receiving address configuration Frame, UART8, UART/CAN 11 are by 13 controls of digital circuit state machine.Use in that some node control functions are simple, the logic control of node can be without CPU, and adopts cheaply state machine to realize.The mode of obtaining the address of integrated circuit (IC) chip 04 realizes by the mode of node 00,01 of the present invention.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit.Although this specification has been described in detail the present invention with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that and realizes, but it still can be made amendment to the technical scheme that aforementioned each embodiment provided, and perhaps part technical characterictic is wherein replaced on an equal basis; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (2)

1. addressing method with device of bus type node that can online addressing, its step comprises:
(1), the addressing process initiated by the first node on the auxiliary serial digital communication link, at first gives a data address to first node;
(2), first node sends the address configuration Frame by described auxiliary serial digital communication link to Section Point, described Frame is except the frame head postamble, the data address that also comprises Section Point, Section Point write this address among the EEPROM of this node take out the data address of this node from this Frame after;
(3), Section Point revises the value of the data address in the address configuration Frame receive from first node, then amended address configuration Frame is sent to the 3rd node by auxiliary serial digital communication link;
(4), repeat to implement according to above-mentioned steps 2-3, until giving the address to last node in the described auxiliary serial digital communication link.
2. addressing method as claimed in claim 1, it is characterized in that, in said method, in order to make addressing convenient, the own data address that can establish first node is m, and the data address to Section Point in the address configuration Frame that first node sends is " m+1 ", and the data address of n node is " m+ (n-1) " in the then described auxiliary serial digital communication link.
CN2008100386868A 2008-06-06 2008-06-06 Apparatus, method and integrated circuit chip having on-line addressing bus type node Active CN101399700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100386868A CN101399700B (en) 2008-06-06 2008-06-06 Apparatus, method and integrated circuit chip having on-line addressing bus type node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100386868A CN101399700B (en) 2008-06-06 2008-06-06 Apparatus, method and integrated circuit chip having on-line addressing bus type node

Publications (2)

Publication Number Publication Date
CN101399700A CN101399700A (en) 2009-04-01
CN101399700B true CN101399700B (en) 2011-10-05

Family

ID=40517979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100386868A Active CN101399700B (en) 2008-06-06 2008-06-06 Apparatus, method and integrated circuit chip having on-line addressing bus type node

Country Status (1)

Country Link
CN (1) CN101399700B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877727B (en) * 2010-06-21 2014-07-16 中兴通讯股份有限公司 Method for automatically setting CAN network node address and device thereof
CN102354181B (en) * 2011-08-03 2013-07-24 韦自力 Control system based on field bus and method for addressing addresses for bus equipment
CN102281685A (en) * 2011-08-10 2011-12-14 华南理工大学 Control system of LED internal control guardrail tube
CN103248526B (en) * 2012-02-08 2016-06-08 迈普通信技术股份有限公司 Realize signal equipment, the method for out-of-band supervision control management
CN102661161B (en) * 2012-04-10 2014-04-16 重庆友诚自动化工程技术有限公司 Addressing system for controller of hydraulic support for mine, and its addressing method
CN103676901B (en) * 2013-12-23 2016-08-17 北京易艾斯德科技有限公司 Automatically the control system of data communication address is identified
CN104833924A (en) * 2015-04-29 2015-08-12 深圳市共济科技有限公司 Serial automatic addressing method and system of lead storage battery internal resistance detection modules
CN105260337B (en) * 2015-11-02 2018-03-02 深圳市共济科技股份有限公司 A kind of automatic addressing method and system of single-chip microcomputer
CN106201964B (en) * 2016-07-14 2019-02-15 陕西科技大学 The on-line automatic addressing of RDM driver and RDM bus short circuit positioning device and method
CN106547223A (en) * 2016-10-10 2017-03-29 深圳市沃特玛电池有限公司 A kind of automatic addressing method of CAN and its system
CN109716901A (en) * 2018-12-28 2019-05-07 王�华 Automatic identification multichannel sows the device and method of pipe number
CN110213396B (en) * 2019-05-29 2022-05-20 中国民用航空总局第二研究所 Dynamic decision method and system for automatically allocating addresses to node equipment of Internet of things of airport
CN115268404A (en) * 2022-07-29 2022-11-01 广东美的智能科技有限公司 Controller, bus configuration method of controller, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655081A (en) * 2004-02-10 2005-08-17 上海新时达电气有限公司 Allocator for automatically allocating address to serial bus device and method for controlling the same
CN101119344A (en) * 2007-07-18 2008-02-06 谢步明 ARM7CPU core based GPRS-RS485 gateway and communication method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655081A (en) * 2004-02-10 2005-08-17 上海新时达电气有限公司 Allocator for automatically allocating address to serial bus device and method for controlling the same
CN101119344A (en) * 2007-07-18 2008-02-06 谢步明 ARM7CPU core based GPRS-RS485 gateway and communication method

Also Published As

Publication number Publication date
CN101399700A (en) 2009-04-01

Similar Documents

Publication Publication Date Title
CN101399700B (en) Apparatus, method and integrated circuit chip having on-line addressing bus type node
CN104734980B (en) Industrial field bus MPR and multi protocol conversion method
CN105260337B (en) A kind of automatic addressing method and system of single-chip microcomputer
CN102170430B (en) Multi-port multi-network protocol converter
CN106547709B (en) The method and device of flexible configuration multi-channel DMA controller
CN101404839A (en) Enhancement type DMX512 light control system added with auxiliary collocation channel
CN101132328A (en) Real-time industry Ethernet EtherCAT communication controller
CN101635637A (en) Method and system for distributing intelligent addresses based on serial bus
US9019959B2 (en) Node, switch, and system
CN106131240A (en) A kind of CAN address distribution method based on daisy chaining and communication system
CN107682247B (en) Efficient communication method for host and multiple slaves
CN112055096A (en) Method and device for automatically setting communication address of equipment
CN110519136B (en) RS485 multi-machine communication system capable of achieving self-adaptive networking
CN204481848U (en) Industrial field bus MPR
CN111510363A (en) Slave station conversion device based on MODBUS protocol and control method thereof
CN207853917U (en) A kind of slave, communication expansion card and group network system
CN103217956B (en) Industrial control system as well as control method and control device thereof
CN201267027Y (en) DMX512 light control system with assistant configuration channel
CN107968738A (en) A kind of slave, communication expansion card and group network system
CN103081412B (en) Programmable logic controller (PLC)
CN209373581U (en) A kind of updating device of multiple driver
CN100499535C (en) Method and device for supporting Ethernet self-consultation in medium access control
CN216013989U (en) Expansion module number identification circuit
CN109495597A (en) System and method, the equipment on-line management method of online modification device target address
KR100811452B1 (en) Remote module for use in PLC system and control method thereof

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
ASS Succession or assignment of patent right

Owner name: GRAND CANYON OPTO. TECHNOLOGY (SUZHOU) CO., LTD.

Free format text: FORMER OWNER: WEI ZILI

Effective date: 20131225

Free format text: FORMER OWNER: ZHANG JIARUI

Effective date: 20131225

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 201203 MINHANG, SHANGHAI TO: 215211 SUZHOU, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131225

Address after: 215211, Jiangsu, Suzhou province Wujiang Fen Lake Economic Development Zone, Shanghai Road

Patentee after: GRAND CANYON OPTOELECTRONIC TECHNOLOGY (SUZHOU) CO.,LTD.

Address before: 201203, No. 1, hung Xia Industrial Zone, No. 2759 Wanyuan Road, Shanghai, Minhang District

Patentee before: Wei Zili

Patentee before: Zhang Jiarui

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 215211, Jiangsu, Suzhou province Wujiang Fen Lake Economic Development Zone, Shanghai Road

Patentee after: STRONGLED LIGHTING SYSTEMS (SUZHOU) Co.,Ltd.

Address before: 215211, Jiangsu, Suzhou province Wujiang Fen Lake Economic Development Zone, Shanghai Road

Patentee before: GRAND CANYON OPTOELECTRONIC TECHNOLOGY (SUZHOU) CO.,LTD.

CP01 Change in the name or title of a patent holder

Address after: 215211 Linhu Avenue, Fenhu Economic Development Zone, Wujiang City, Suzhou City, Jiangsu Province

Patentee after: Grand Canyon Lighting System (Suzhou) Co.,Ltd.

Address before: 215211 Linhu Avenue, Fenhu Economic Development Zone, Wujiang City, Suzhou City, Jiangsu Province

Patentee before: STRONGLED LIGHTING SYSTEMS (SUZHOU) Co.,Ltd.

CP01 Change in the name or title of a patent holder