CN104516851B - A kind of system and method for RS485 slave units address distribution - Google Patents

A kind of system and method for RS485 slave units address distribution Download PDF

Info

Publication number
CN104516851B
CN104516851B CN201410852695.6A CN201410852695A CN104516851B CN 104516851 B CN104516851 B CN 104516851B CN 201410852695 A CN201410852695 A CN 201410852695A CN 104516851 B CN104516851 B CN 104516851B
Authority
CN
China
Prior art keywords
arbitration
slave unit
address
main equipment
line
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
CN201410852695.6A
Other languages
Chinese (zh)
Other versions
CN104516851A (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.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics 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 Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201410852695.6A priority Critical patent/CN104516851B/en
Publication of CN104516851A publication Critical patent/CN104516851A/en
Application granted granted Critical
Publication of CN104516851B publication Critical patent/CN104516851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers

Abstract

The present invention discloses a kind of system and method for RS485 slave units address distribution.Wherein method comprises the following steps:Step 20 main equipment draws high arbitration line;Step 30 slave unit drags down arbitration line, and the slave unit of the arbitration line dragged down at first obtains address arbiter rights;Step 50 main equipment generates unique slave unit address, and main equipment sends the address to the slave unit;Step 60 slave unit receives the address of main equipment distribution, and slave unit preserves address of the address as the slave unit.The system adds an arbitration line on the basis of original RS485 network connections, chooses slave unit to distribute address and then to slave unit by arbitration line.The number of buses that the present invention needs is few, can guarantee that distributed slave unit address does not conflict.

Description

A kind of system and method for RS485 slave units address distribution
Technical field
The present invention relates to 485 bus address distribute field, more particularly to one kind by arbitration mode with realizing 485 slave units The method that location is set.
Background technology
In traditional RS-485 buses, always there is a unique host node, other nodes are from node.Communication is total It is to be initiated by host node, after node receives order, obtains bus control right, then to sending information in bus.After transmission terminates, Bus control right returns to host node again.When main equipment is monitored by RS485 buses to each embedded device node, Need to distinguish each equipment by device identification, simplest method is distinguished using device address.
One feasible address distribution method is each equipment one input signal cable of increase, i.e. chip selection signal line in addition; Address is set to each equipment by host node.Such as the piece choosing of monitoring host computer first equipment enabled first, the equipment is set Address is 1 (other equipment not responds setting command because non-piece selects);The like set up the address of other equipment i.e. Can.But addition chip selection signal just with the addition of bus number, hardware cost is up.
The content of the invention
For this reason, it may be necessary to provide a kind of scheme of RS485 slave units address distribution, solves existing RS485 slave units address point With the problem of.
To achieve the above object, a kind of system of RS485 slave units address distribution is inventor provided, including a master sets Standby and multiple slave units, main equipment and slave unit all include RS485 interface modules, and the slave unit is equal by RS485 connectors It is connected with main equipment,
The main equipment also includes address assignment module, arbitrates control module and arbitrating signals detection module;The master sets Standby RS485 interface modules are connected with main frame arbitration control module, the main frame arbitration control module and the arbitrating signals Processing module is connected, and the main frame arbitration control module is connected with the address assignment module;
The slave unit also includes slave unit arbitration control module, arbitration contest module;The slave unit RS485 interface moulds Block is connected with slave unit arbitration control module, the slave unit arbitration control module and the slave unit arbitration contest module Connection;
The slave unit arbitration contest module is connected with the main equipment arbitrating signals processing module by arbitration line;
The main equipment arbitration control module is used to control arbitrating signals processing module and arbitration information processing module, and Send the order in slave unit address allocation procedure;
The arbitrating signals processing module is used to set arbitration line level signal and detects the level signal acquisition of arbitration line Arbitration state;
The address assignment module is used to generate slave unit address;
The slave unit arbitration control module is used for the order for controlling arbitration contest module and the transmission of response main equipment;
The level signal that the arbitration contest module is used to detect arbitration line obtains arbitration state and sets arbitration line level Signal.
Further, the address assignment module is used to manage allocated address.
And the present invention also provides a kind of method of RS485 slave units address distribution, comprises the following steps:
Step 20 main equipment draws high arbitration line;
Step 30 slave unit drags down arbitration line, and the slave unit of the arbitration line dragged down at first obtains address arbiter rights;
Step 50 main equipment generates unique slave unit address, and main equipment sends the address to the slave unit;
Step 60 slave unit receives the address of main equipment distribution, and slave unit preserves ground of the address as the slave unit Location.
Further, it is further comprising the steps of:
Step 80 repeat step 20,30,50,60, until all slave units obtain address.
Further, in addition to:
Step 70 slave unit release arbitration line, exits arbitration.
Further, in addition to:
Step 40 slave unit is sent to main equipment confirms authority order, and main equipment examines the confirmation authority order received. Main equipment verifies the authority and confirms whether order is correct, and step 20 main equipment is gone to if incorrect and draws high arbitration line, slave unit Restart to seize arbitration bus.A kind of 8 RS485 bus slaves address distribution methods according to claim 3, wherein Step 30 slave unit, which draws high arbitration bus, includes step:
The each slave unit of step 31 generates a random delay respectively;
Step 32 slave unit is immediately checked for arbitration line state after corresponding delay time-out, if arbitration line for should be from setting if high The standby arbitration line that drags down obtains arbitration right, if arbitration line be the slave unit repeat step 31-32 if low until obtaining arbiter rights Or main equipment exits arbitration.
Further, it is further comprising the steps of:
Step 10 main equipment broadcast arbitration initiation command;
Step 90 main equipment initiates arbitration end order and exits arbitration.
Further, wherein step 80 slave unit release arbitration bus also includes:The slave unit is after device address is preserved Being exited command to main equipment hair request, main equipment sends allowance to the slave unit after receiving request and exiting command and exited command, The slave unit discharges arbitration line after receiving allowance and exiting life.
Further, wherein step 20 main equipment is drawn high arbitration line and also included:Main equipment draws high arbitration line, if in setting Arbitration line is not pulled low in time-out time, then completes the arbitration of address distribution.
Prior art is different from, above-mentioned technical proposal completes slave unit and obtain address by a signal wire, i.e. arbitration line Sequencing, and main equipment can generate different addresses every time so that slave unit can obtain different addresses.
Brief description of the drawings
Fig. 1 is the connection figure of the present embodiment;
Fig. 2 is the module map of the present invention;
Fig. 3 is this method flow chart.
Description of reference numerals:
110th, main equipment;
120th, pull-up resistor;
131st, RS485 connectors;
133rd, slave unit;
210th, main equipment;
211st, arbitrating signals processing module;
213rd, main equipment arbitration control module;
215th, address assignment module;
217th, main equipment RS485 interface modules;
220th, RS485 connectors;
230th, slave unit;
231st, arbitration contest module;
233rd, slave unit arbitration control module;
235th, slave unit RS485 interface modules.
Embodiment
To describe the technology contents of technical scheme, construction feature, the objects and the effects in detail, below in conjunction with specific reality Apply example and coordinate accompanying drawing to be explained in detail.
Referring to Fig. 1, the present embodiment is a kind of system of RS485 slave units address distribution, including located at RS485 (difference) Main equipment 110 and multiple slave units 133 in bus.The slave unit passes through RS485 connectors 131 and main equipment 110 RS485 buses connect.The main equipment 110 includes main equipment RS485 interface modules 217, the main equipment RS485 interface modules 217 are connected with the RS485 converters, and the slave unit includes slave unit RS485 interface modules 235, the slave unit RS485 Interface module is connected with the RS485 converters.The main equipment 110 is also connected by an arbitration line and multiple slave units 133 Connect, in address allocation procedure, the arbitration line is used to choose the slave unit for needing to distribute address.In order to improve the drive of main equipment The ability of dynamic arbitration line level, in certain embodiments, the arbitration line is provided with pull-up resistor in one end close to main equipment 110 120.Pull-up resistor is in order to which arbitrating signals processing module and arbitration contest module can set arbitration line signal.The arbitration line Connection with main equipment is connected to the io mouths of main equipment for arbitration line, and the connection of the arbitration line and slave unit connects for arbitration line To the io mouths of slave unit.
Referring to Fig. 2, each module of the system is as shown in the figure:Include arbitrating signals processing module 211, master in main equipment 210 Equipment arbitration control module 213, address assignment module 215, the interface module 217 of main equipment 485;Include arbitration in slave unit 230 Compete module 231, slave unit arbitration control module 233, slave unit RS485 interface modules 235.The main equipment arbitration control mould Block is used to control arbitrating signals processing module and arbitration information processing module, and sends the life in slave unit address allocation procedure Order;The arbitrating signals processing module is used to set arbitration line level signal and detects the level signal of arbitration line;The address Distribute module is used to generate slave unit address;The slave unit arbitration control module is used to control arbitration contest module and response master The order that equipment is sent;The arbitration contest module is used for the level signal for detecting arbitration line and sets arbitration line level signal.
The main equipment arbitration control module initiates arbitration initiation command, subsequent arbitrating signals by RS485 interface modules Processing module draws high arbitration line immediately, and slave unit arbitration control module controls arbitration contest module after detecting arbitration initiation command Drag down arbitration line and obtain arbiter rights, the slave unit for most dragging down arbitration bus soon obtains arbiter rights;The main equipment arbitration control Molding block obtains address assignment module generation unique address, and passes to slave unit by the main equipment RS485 interface modules RS485;Slave unit arbitration control module obtains and preserves the address, and the slave unit exits arbitration, and main equipment draws high arbitration line;Its His equipment continues to compete arbitration line, and until all slave units all obtain device address, arbitration terminates.
This programme in original 485 network system by increasing arbitration bus, compared to 485 address distribution sides of piece choosing etc. Formula reduces bus number, saves long range wiring cost.This programme chooses slave unit by way of arbitration, passes through main equipment Address is distributed to slave unit, the uniqueness of slave unit address is ensure that, does not have the situation of slave unit address conflict.
Address assignment module records and managed slave unit address also in arbitrated procedure and 485 communication process.
In certain embodiments, main equipment 110 can be informed when proceeding by address distribution by dragging down arbitration line Slave unit, then competition of the slave unit 133 to arbitration line can be by drawing high arbitration line.Now, in order to improve slave unit Arbitration line level driver ability, pull-up resistor can be connected with close to one end of each slave unit in arbitration line.
The detailed implementation methods of the system refer to Fig. 3.I.e. a kind of 485 bus slave address distribution methods mainly include Following steps:
Step 20 main equipment arbitrating signals processing module draws high arbitration line immediately, waits slave unit to pass through arbitration contest module Seize arbitration line;
For step 30 slave unit after detecting that arbitration line level is drawn high, slave unit drags down arbitration line, the arbitration dragged down at first The slave unit of line obtains address arbiter rights;Slave unit, if be pulled low, can be said by detecting whether arbitration line is pulled low It is bright to have there is slave unit to obtain address arbiter rights (authority for obtaining address), then no longer drag down arbitration line;If not by Drag down, then can be dragged down to obtain address arbiter rights.
Step 50 main equipment generates unique slave unit address, and sends institute to the slave unit by RS485 differential bus State address;
The address of step 60 slave unit Receiving Host distribution, slave unit preserve address of the address as the slave unit; The address assignment module of main equipment ensures that generated address is unique in systems by algorithm of Address Generation.
The distribution to slave unit address can be completed by step 20,30,50,60.The present embodiment is only with an arbitration line The address distribution of slave unit can be completed, the structure of system is enormously simplify, reduces system cost.
For the distribution address to all slave units, repeat step 20,30,50,60 is all distributed until all slave units Address is arrived.
In this embodiment, after slave unit obtains address, it oneself is the slave unit for having obtained address that the slave unit, which marks, The arbitration contest module of the slave unit no longer goes to drag down arbitration bus in epicycle arbitration, that is, exits epicycle arbitration.So can be with Prevent the address that is duplicatedly distributed.
Judge whether that all slave units are all assigned to address and can adopted in such a way:In arbitrating signals processing module While drawing high arbitration line, main equipment arbitration control module opens time out timer, if not from setting within the time of setting It is standby to seize arbitration bus, then it is assumed that all slave units are all assigned to address, and epicycle arbitration terminates.
There may be multiple slave units in certain embodiments while drag down arbitration bus, thus need after step 30 Sent comprising step 40 slave unit to main equipment and confirm authority order, main equipment examines the confirmation authority order received.Confirm power Limit order is sent to main equipment by RS485 buses, confirms the specific identifier that authority order includes slave unit and main equipment is arranged Data, such as 0xFF02, confirm that authority order also includes CRC check code.Examine and confirm that authority order is to enter in the following manner Capable:Main equipment confirms order in the arbitration for receiving slave unit transmission, and the information received by CRC check is correct. And whether specific mark data is included in the data that main equipment detection receives, continue step 50 if having.In some implementations In in, such as in a upper embodiment, have multiple slave units in the step 32 while drag down arbitration bus, multiple slave units are simultaneously Arbitration is sent to main equipment by RS485 buses and confirms order, the interference of RS485 buses can be caused, main equipment can not receive Correct confirmation.When main equipment CRC check mistake or the confirmation for not including in the data received and arranging is detected, Then main equipment goes to step 20 and draws high arbitration bus, and what slave unit started a new round seizes arbitration bus.
When main equipment detection, receive is correct confirmation, then main equipment arbitration control module control address distribution mould Block generates unique slave unit address, and main equipment control module is sent to the address from setting by the interface module of main equipment 485 It is standby.
Step 30 slave unit seizes arbitration bus and includes step 31 and 32 in certain embodiments:
The each slave unit of step 31 generates a random delay respectively after arbitration initiation command is received;
Step 32 slave unit is immediately checked for arbitration line state after corresponding delay time-out, if arbitration line for should be from setting if high Standby arbitration contest module drags down arbitration line and obtains arbitration right, straight for slave unit repeat step 31-32 if low if arbitration line Arbitration is exited to acquisition arbiter rights or main equipment.Multiple slave units are reduced by such method and drag down arbitration bus simultaneously Probability, improve address allocative efficiency.
Step 10 and step 90 are also included in certain embodiments:
Step 10 main equipment broadcast transmission on differential bus arbitrates initiation command;The order can be by specifically identifying Distinguish, arbitrating initiation command in certain embodiments can be expressed as:0xFF01.
The broadcast arbitration of step 90 main equipment terminates order and exits arbitration;It is secondary that slave unit receives arbitration end order backed off after random Cut out, no longer seize arbitration bus.Step 90 is to detect that no slave unit needs to distribute address or system needs in main equipment Exit arbitration other in the case of perform.Step 10 and step 90 are to clearly identify the beginning and end of arbitration.
The step of slave unit release arbitration can be such in certain embodiments:The slave unit is preserving device address Request being sent to main equipment afterwards and exiting life, main equipment sends allowance to the slave unit after receiving request and exiting life and exits life, should Slave unit discharges arbitration line after receiving allowance and exiting life.It can so ensure slave unit in the address for obtaining distribution.
In summary, this programme in original 485 network system by increasing arbitration bus, compared to the 485 of piece choosing etc. Address distribution reduces bus number, saves long range wiring cost.This programme chooses slave unit by way of arbitration, Address is distributed to slave unit by main equipment, the uniqueness of slave unit address is ensure that, does not have the feelings of slave unit address conflict Condition.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or terminal device including a series of elements not only include those Key element, but also the other element including being not expressly set out, or it is this process, method, article or end also to include The intrinsic key element of end equipment.In the absence of more restrictions, limited by sentence " including ... " or " including ... " Key element, it is not excluded that other key element in the process including the key element, method, article or terminal device also be present.This Outside, herein, " being more than ", " being less than ", " exceeding " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. understand It is to include this number.
It should be understood by those skilled in the art that, the various embodiments described above can be provided as method, apparatus or computer program production Product.These embodiments can use the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.All or part of step in the method that the various embodiments described above are related to can by program come instruct the hardware of correlation come Complete, described program can be stored in the storage medium that computer equipment can be read, for performing the various embodiments described above side All or part of step described in method.The computer equipment, include but is not limited to:Personal computer, server, general-purpose computations It is machine, special-purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, intelligent home device, wearable Smart machine, vehicle intelligent equipment etc.;Described storage medium, include but is not limited to:RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle Deposit, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage etc..
The various embodiments described above are with reference to method, equipment (system) and the computer program product according to embodiment Flow chart and/or block diagram describe.It should be understood that can be by every in computer program instructions implementation process figure and/or block diagram One flow and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computers can be provided Programmed instruction is to the processor of computer equipment to produce a machine so that passes through the finger of the computing device of computer equipment Order, which produces, to be used to realize what is specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames The device of function.
These computer program instructions may be alternatively stored in the computer that computer equipment can be guided to work in a specific way and set In standby readable memory so that the instruction being stored in the computer equipment readable memory produces the manufacture for including command device Product, the command device is realized to be referred in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames Fixed function.
These computer program instructions can be also loaded on computer equipment so that performed on a computing device a series of Operating procedure is to produce computer implemented processing, so as to which the instruction performed on a computing device is provided for realizing in flow The step of function of being specified in one flow of figure or multiple flows and/or one square frame of block diagram or multiple square frames.
Although the various embodiments described above are described, those skilled in the art once know basic wound The property made concept, then other change and modification can be made to these embodiments, so embodiments of the invention are the foregoing is only, Not thereby the scope of patent protection of the present invention, every equivalent structure made using description of the invention and accompanying drawing content are limited Or equivalent flow conversion, or other related technical areas are directly or indirectly used in, similarly it is included in the patent of the present invention Within protection domain.

Claims (10)

1. a kind of system of RS485 slave units address distribution, including a main equipment and multiple slave units, main equipment and slave unit RS485 interface modules are all included, the slave unit is connected by RS485 connectors with main equipment, it is characterised in that:
The main equipment also includes address assignment module, arbitrates control module and arbitrating signals processing module;The main equipment RS485 interface modules are connected with main equipment arbitration control module, and the main equipment arbitration control module is believed with the arbitration The connection of number processing module, the main equipment arbitration control module are connected with the address assignment module;
The slave unit also includes slave unit arbitration control module, arbitration contest module;The slave unit RS485 interface modules with The slave unit arbitration control module connection, the slave unit arbitration control module connect with the slave unit arbitration contest module Connect;
The slave unit arbitration contest module is connected with the main equipment arbitrating signals processing module by arbitration line;
The main equipment arbitration control module is used to control arbitrating signals processing module, and sends slave unit address allocation procedure In order;
The arbitrating signals processing module is used to set arbitration line level signal and detection to arbitrate by drawing high or dragging down arbitration line The level signal of line obtains arbitration state;
The address assignment module is used to generate slave unit address;
The slave unit arbitration control module is used for the order for controlling arbitration contest module and the transmission of response main equipment;
The level signal that the arbitration contest module is used to detect arbitration line obtains arbitration state and sets arbitration line level signal, The arbitration contest module sets arbitration level signal to drag down arbitration line when arbitrating signals processing module draws high arbitration line, or Arbitration line is drawn high when arbitration process module drags down arbitration line.
A kind of 2. system of RS485 slave units address distribution according to claim 1, it is characterised in that:The address point It is used to manage allocated address with module.
3. a kind of method of RS485 slave units address distribution, is related to a main equipment and multiple slave units, main equipment and slave unit Between be connected with arbitration line, it is characterised in that comprise the following steps:
Step 20 main equipment draws high arbitration line;
Step 30 slave unit drags down arbitration line, and the slave unit of the arbitration line dragged down at first obtains address arbiter rights;
Step 50 main equipment generates unique slave unit address, and main equipment sends the address to the slave unit;
Step 60 slave unit receives the address of main equipment distribution, and slave unit preserves address of the address as the slave unit.
4. the method for a kind of RS485 slave units address distribution according to claim 3, it is characterised in that also including following step Suddenly:
Step 80 repeat step 20,30,50,60, until all slave units obtain address.
5. the method for a kind of RS485 slave units address distribution according to claim 3, it is characterised in that also include:
Step 70 slave unit release arbitration line, exits arbitration.
6. the method for a kind of RS485 slave units address distribution according to claim 3 or 5, it is characterised in that also include:
Step 40 slave unit is sent to main equipment confirms authority order, and main equipment examines the confirmation authority order received, and master sets The standby authority that verifies confirms whether order is correct, and step 20 main equipment is gone to if incorrect and draws high arbitration line, slave unit is again Start to seize arbitration bus.
7. a kind of RS485 bus slaves address distribution method according to claim 3, wherein step 30 slave unit are drawn high Arbitration bus includes step:
The each slave unit of step 31 generates a random delay respectively;
Step 32 slave unit is immediately checked for arbitration line state after corresponding delay time-out, and the slave unit is drawn if arbitration line is height Low arbitration line obtains arbitration right, if arbitration line be the slave unit repeat step 31-32 if low until obtaining arbiter rights or master Equipment exits arbitration.
8. the method for a kind of RS485 slave units address distribution according to claim 3, it is characterised in that also including following step Suddenly:
Step 10 main equipment broadcast arbitration initiation command;
Step 90 main equipment initiates arbitration end order and exits arbitration.
9. a kind of RS485 bus slaves address distribution method according to claim 5, wherein step 70 slave unit discharge Arbitration bus also includes:The slave unit after device address is preserved to main equipment hair request exit command, main equipment receive please Ask and exited command after exiting command to slave unit transmission allowance, the slave unit discharges arbitration line after receiving allowance and exiting life.
10. a kind of RS485 bus slaves address distribution method according to claim 4, wherein step 20 main equipment are drawn High arbitration line also includes:Main equipment draws high arbitration line, if arbitration line is not pulled low in the time-out time of setting, completes ground The arbitration of location distribution.
CN201410852695.6A 2014-12-31 2014-12-31 A kind of system and method for RS485 slave units address distribution Active CN104516851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410852695.6A CN104516851B (en) 2014-12-31 2014-12-31 A kind of system and method for RS485 slave units address distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410852695.6A CN104516851B (en) 2014-12-31 2014-12-31 A kind of system and method for RS485 slave units address distribution

Publications (2)

Publication Number Publication Date
CN104516851A CN104516851A (en) 2015-04-15
CN104516851B true CN104516851B (en) 2017-11-21

Family

ID=52792180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410852695.6A Active CN104516851B (en) 2014-12-31 2014-12-31 A kind of system and method for RS485 slave units address distribution

Country Status (1)

Country Link
CN (1) CN104516851B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598888B (en) * 2016-12-22 2019-07-12 广东威创视讯科技股份有限公司 A kind of more board communication systems and method using RS485 agreement
TWI635729B (en) * 2017-09-01 2018-09-11 亞源科技股份有限公司 Automatic address assignment method in series communication system
CN107644000B (en) * 2017-09-20 2020-11-03 中国核动力研究设计院 Page expansion method based on AT96 bus
CN109495603A (en) * 2018-12-14 2019-03-19 广州孚鼎自动化控制设备有限公司 A kind of method that generating set parallel controller quickly distributes communication id automatically
DE102019125493A1 (en) * 2019-09-23 2021-03-25 Infineon Technologies Ag Slave device, bus system and method
CN110647478B (en) * 2019-09-26 2021-03-02 北京兴达智联科技有限公司 Method and system for setting serial communication equipment address
DE102019128651A1 (en) * 2019-10-23 2021-04-29 Infineon Technologies Ag Device for a single wire digital bus, master device, sensor and method for assigning addresses to multiple devices on a single wire digital bus
CN111045980A (en) * 2019-12-24 2020-04-21 广东嘉泰智能技术有限公司 Multi-core processor
CN111241019A (en) * 2019-12-31 2020-06-05 苏州阿德文斯电子科技有限公司 RS485 bus arbitration and address automatic identification method
CN111552658B (en) * 2020-04-17 2022-05-06 北京中科银河芯科技有限公司 Communication method, communication control device and I2C bus system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477506A (en) * 2008-01-04 2009-07-08 鸿富锦精密工业(深圳)有限公司 Addressing system and method of master equipment to slave equipment
CN101630298A (en) * 2009-07-28 2010-01-20 中兴通讯股份有限公司 Serial bus slave address setting system
CN101852472A (en) * 2009-04-01 2010-10-06 欧威尔空调(中国)有限公司 Automatic addressing method for air conditioning system and air conditioning controller
CN102147782A (en) * 2010-02-08 2011-08-10 鸿富锦精密工业(深圳)有限公司 Communication circuit between master equipment and slave equipment and ID (Identity) address allocating method thereof
CN103106113A (en) * 2013-02-25 2013-05-15 广东威创视讯科技股份有限公司 Interrupt event processing method and processing equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477506A (en) * 2008-01-04 2009-07-08 鸿富锦精密工业(深圳)有限公司 Addressing system and method of master equipment to slave equipment
CN101852472A (en) * 2009-04-01 2010-10-06 欧威尔空调(中国)有限公司 Automatic addressing method for air conditioning system and air conditioning controller
CN101630298A (en) * 2009-07-28 2010-01-20 中兴通讯股份有限公司 Serial bus slave address setting system
CN102147782A (en) * 2010-02-08 2011-08-10 鸿富锦精密工业(深圳)有限公司 Communication circuit between master equipment and slave equipment and ID (Identity) address allocating method thereof
CN103106113A (en) * 2013-02-25 2013-05-15 广东威创视讯科技股份有限公司 Interrupt event processing method and processing equipment

Also Published As

Publication number Publication date
CN104516851A (en) 2015-04-15

Similar Documents

Publication Publication Date Title
CN104516851B (en) A kind of system and method for RS485 slave units address distribution
TWI481245B (en) Address setting method for slave devices of communication network
CN104410547B (en) A kind of address conflict detecting method in dcs
TWI446683B (en) Distributed battery management system and method for distributing identifications thereof
CN105119793A (en) Identifier distribution method of sensor network CAN bus frame format
WO2017177541A1 (en) Interface system and interface control method for unmanned aerial vehicle
CN104794079B (en) The method, apparatus and system of a kind of bus arbitration
EP4274190A1 (en) Smart device control method and apparatus, electronic device, and computer readable medium
KR102635214B1 (en) Device for a single wire digital bus, master device, sensor, and method to assign addresses to multiple devices on a single wire digital bus
AU2016228847B2 (en) Automatic addressing scheme for pool system controllers and compatible remote devices
CN109815731A (en) Permission processing method and relevant device
CN110532211A (en) Bus system
CN107656807A (en) The automatic elastic telescopic method and device of a kind of virtual resource
CN112817617A (en) Software upgrading method, device and system
CN108616582A (en) The matching method of interior machine and line control machine, apparatus and system
CN103412838B (en) A kind of expanding system, communication means, address configuration method, equipment and device
CN105474193A (en) Method to minimize the number of IRQ lines from peripherals to one wire
CN116319683A (en) Method, system and device for distributing networking address and electronic equipment
CN103106113A (en) Interrupt event processing method and processing equipment
CN105430052B (en) A kind of referee method and device for group system
CN104123188A (en) Resource allocating method and related devices
CN113676359A (en) Internet of things multi-device communication configuration method, communication device, program product and medium
CN210324188U (en) Integrated circuit bus IIC master-slave competition automatic switching equipment and system thereof
CN108595464A (en) A kind of method and system for realizing the similar news duplicate removal of multi-source
CN106028303B (en) Intelligent device discovery method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 350003 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350003 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant before: Fuzhou Rockchip Semiconductor Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 350003 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee after: Ruixin Microelectronics Co., Ltd

Address before: 350003 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.