OTHER RELATED APPLICATIONS The present application is a continuation-in-part of U.S. patent application Ser. No. 10/924,413, filed on Aug. 24, 2004, which is hereby incorporated by reference.
II. BACKGROUND OF THE INVENTION 1. Field of the Invention.
The present invention relates to an apparatus and method for dynamically allocating controlling and self-assigning of addresses in a network, and more particularly, to those that include at least two Point-of-Use (POU) modules, one master and one slave, for controlling the switching of loads with at least one Remote-Access-Switch (RAS) module.
2. Description of the Related Art.
To the best of applicants' knowledge, there are no other network devices or methods that permit the self-allocation of addresses and control that can survive the removal from operation of one or more Point-Of-Use (POU) modules (but less than all) and all Remote-Access-Switch (RAS) modules that comprise the network. Additionally, and in conjunction with the teachings of the parent application, the resulting network permits the use of POU modules that are interchangeable and intelligent enough to relearn the characteristics of the loads they are controlling.
III. SUMMARY OF THE INVENTION It is one of the main objects of the present invention to provide a an apparatus and method for connecting at least one master Point-Of-Use (POU) module that is programmable and at least one addressable Remote-Access-Switch (RAS) module in a network that are programmable and linked to each other retaining the ability to accept interchangeable module replacements.
It is another object of this invention to provide an apparatus and method for connecting at least one master Point-Of-Use (POU) modules and at least one Remote-Access-Switch (RAS) module in a network. Optionally, slave POU modules can be used to control RAS modules. The invention keeps the address and control hierarchy of each other even if all RAS modules, and all POU modules, except the master POU module, are removed from the network.
Further objects of the invention will be brought out in the following part of the specification, wherein detailed description is for the purpose of fully disclosing the invention without placing limitations thereon.
IV. BRIEF DESCRIPTION OF THE DRAWINGS With the above and other related objects in view, the invention consists in the details of construction and combination of parts as will be more fully understood from the following description, when read in conjunction with the accompanying drawings in which:
FIG. 1 is a block diagram representing a sample network of Point-Of-Use (POU) modules and Remote-Access-Switch (RAS) module with the master Point-Of-Use (POU)module20′ at the end of a daisy-chain network connected to slave Point-Of-Use (POU)modules20.
FIG. 2 is a block diagram representing another sample network configuration with the master Point-Of-Use (POU)module20′ with two input/output ports, oneOUTPUT1 to one branch starting with aslave POU20 and OUTPUT2 connected to a Remote-Access-Switch (RAS)module40 representing the other branch.
FIG. 3 is a representation of one of the possible embodiments for the configuration wire circuit used to enable the serially connected modules to accept the identification designations issued by the master POU module.
FIG. 4 is an algorithm representation of the method steps used to set up a network of POU and RAS modules.
V. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Referring now to the drawings, where the present invention is generally referred to with numeral10, it can be observed that it basically includes a network of interconnected Point-Of-Use (POU)slave modules20,master modules20′ and Remote-Access-Switch (RAS)modules40.POU modules20 and20′ each include, in the preferred embodiment, four load outputs for controlling loads of different types (resistive and reactive).Modules20 and20′ are capable of recognizing the characteristics of the load, as described and claimed in the parent application. Remote-Access-Switch (RAS)module40 includes, in the preferred embodiment, fourswitches41;42;43; and44 to activateload outputs21′;22′;23′; and24′ inmaster modules20′ and then outputs21;22;23; and24 in anyslave module20.Modules20,20′ and40 also have microprocessor circuitry with storage and memory. Each slave Point-Of-Use (POU)module20 and each Remote-Access-Switch (RAS)module40 further include one LIN (local interface network) In/Out port. The master Point-Of-Use (POU)module20′ has at least one LIN (local interface network) control signal in/out1 port, and optionally additional in/out ports (in/out2, in/out3, etc.) can be added according to the number of branches of the network. InFIG. 2, amaster POU20′ with two in/out ports is shown. ThePOU master module20′,POU slave modules20, and theRAS modules40 are daisy chained to each other, as seen inFIGS. 1 and 2 through cable50.
Cable50 connecting LIN in/out1 port inmaster POU module20′ (ID0) as shown inFIG. 1, to RAS modules40 (ID Nos.6 through X) and slave POU modules20 (ID1 through X) and so on, includes four wires in the preferred embodiment. Two wires provide the power and the ground. One of the other two wires is the LIN signal wire with bidirectional communication capabilities. The fourth wire is the configuration wire. The LIN signal wire is a bidirectional, single-ended communication medium that carries system commands and responses to all devices within the LIN network. The configuration wire carries a signal in open collector state which is brought to a logic LOW state by the preceding device after a POU or RAS module has claimed its unique network ID designation in conjunction the “GET MODULE MODEL” message.FIG. 3 shows one way of implementing the configuration wire circuit. If there are two branches, as shown inFIG. 2, then a second (in/out2) port is used inmaster module20′.Master modules20′ orslave modules20 can be connected to the network contiguously or separately from each other (RAS modules can be connected between POU modules).Master modules20′ differ fromslave modules20 in that the former, at configuration power up, assigns itself a unique master network identification number (ID) (for example, ID No.0). Only oneMaster POU module20′ is used per network. Another difference between aMaster POU module20′ and aslave POU module20 is that after the former assigns itself a unique master ID number No.0, it first requires all slave POU modules in the network to claim ID numbers in an ascending order depending on how far down stream they are connected to the master POU in/out1 port. If the network includes two branches, then in/out2 port ofmaster POU20′ is connected to the remainingslave POU modules20 not connected to themaster module20′ in/out1 port to receive unique ID numbers from themaster module20′ in an ascending order depending on how far down stream they are connected to in/out2 port. But the POU slaves in the network connected to in/out2 port will receive their ID numbers only after all POU slaves connected to in/out1 port have received their unique ID numbers. If there were additional branches, then additional in/out X ports would be needed, one for each branch.
For the purpose of simplifying the present explanation, themaster POU module20′ ID will be No.0, as shown inFIGS. 1 and 2.Slave modules20, at configuration power up, wait for a signal from an upstream module that will allow them to claim an ID. Theslave module20 that is connected first downstream frommaster module20′ in/out1 port picks up ID No.1, the next one No.2 and so on. In the preferred embodiment, the applicants have set a maximum of onemaster POU module20′, fiveslave POU modules20, and tenRAS modules40 in a network. This is an application for controlling loads, and these arbitrary numbers of modules have functioned reliably without significant delays in communication while providing rapid powering up of the loads modules. Thus, theslave POU module20 will haveID numbers1 through5 and theRAS modules40 will start atID number6 and end at ID number15, in this example. Having this pre-assigned groups of ID numbers permits the sequential assignment of ID numbers to eithermodules20 or40. The software in themaster POU module20′ updates its counters for the ID claimed bymodules20 and40.
In a similarmanner RAS modules40 receive unique ID numbers from themaster module20′ first in an ascending order depending on how far down stream they are connected to themaster module20′ in/out1 port. Theremaining RAS modules40 not connected to themaster module20′ in/out1 port receive unique ID numbers from themaster module20′ in the in an ascending order depending on how far down stream they are connected to in/out2 port. TheRAS module40 that is connected first downstream frommaster module20′ in/out1 port picks up ID No.6, the next one No.7 and so on (seeFIG. 1). InFIG. 2, noRAS modules40 are connected tomaster POU module20′ in/out1 port. Therefore, they receive unique ID numbers from themaster module20′ in/out2 port in the in an ascending order depending on how far down stream they are connected to in/out2 port.
After this, a user activatesswitch members41;42;43; or44 of anyRAS module40 in the network. That switch now is linked to loadoutput21′ ofmaster module20′ ID No.0. The next switch activated on anyRAS module40 in the network is linked to loadoutput22′ ofmodule20′ (ID No.0). After all fourload outputs21′ through24′ onmodule20′ have been linked to anyswitch41 through44 on anyRAS module40 in the network, the next switch activated on any RAS module is linked to loadoutput21 ofmodule20 with ID No.1. The next RAS switch activated is linked to loadoutput22 ofmodule20 with ID No.1, and so on until all desired switches are linked (not all switches need to be assigned). A minimum of one RAS switch must be linked to each POU load output21-23. It is also possible to copy the linkage of a switch member, i.e.41 with aload output21 to another switch, i.e.43. The result will be a three-way switch forload output21.
Load outputs21;22;23; and24 as well as21′;22′;23′; and24′ are connected to loads that can be resistive (incandescent lamps) or reactive (a motor).Modules20 and20′ recognize the load impedance characteristics and make pertinent “choices”.Eachmodule20, or20′, also includes a map (software tables or equivalent) with all the characteristics of the networked modules including their ID numbers. So that if one of themodules20 or20′ is replaced, the others continue to operate for the loads they control. In fact, allmodules20 and20′ can be replaced and the network continues to operate since modules carry copies of the ID numbers table.
At power up, the master Point-Of-Use (POU)module20′ looks for the identification designations of each of theslave modules20, and Remote-Access-Switch modules40. This is accomplished by sending a GET MODULE request message to the network. Initially, only one slave POU module shall answer. This firstslave POU module20 that answers does not have an assigned ID number and the CW (configuration wire) enables this with a ground signal. See diagram for simplified operation of the CW wire enabling feature inFIG. 3. If a new module is detected after a previous power up module discovery, an identification designation is assigned to the new modules. In one of the preferred embodiments, more than oneswitch member41 through44 of anyRAS module40 can be linked to a particular output load.
Eachmodule20 and20′ has the information regarding the identification designations (in updated software tables) and switch member linkage stored. So that if one or more ofmodules20 and20′ is missing, the remaining upstream modules will continue to operate. However, if the master is missing or not functioning, no communication between LIN networks can take place. When a missing slave POU is replaced, by another slave POU, it is assigned the loads and is linked to the same RAS switches as the POU module that was previously in that location. A master POU module must be replaced by another master POU module.
InFIG. 4, an algorithm showing the method steps follows by the present invention. Upon start up, themaster POU module20 check to see if the network is running. If not,master POU module20′ assigns itselfID number0 and sends through CW wire a signal to ground to enable the firstslave POU module20 downstream to receive an ID No. Then, it sends a GET MODULE MODEL request message to identify and differentiate between theslave POU modules20 and theRAS modules40. Ifmaster POU module20′ receive a “yes” answer thenmodule20′ assigns a new ID No. to this firstslave POU module20 downstream frommaster POU module20′. The ID number to be assigned is the first one in the range assigned to POU modules and after assignment, a counter in master POU module is increased to the next available identification number for POUs. If the answer was a “No”,thenmaster POU module20′ knows that it is aRAS module40 and assigns an identification number within the range reserved forRAS modules40. The first module, after having been assigned ID No.1, for instance, drives its own OUT CW signal to ground for enabling thenext module20 or40 to receive an ID number, and loops back to send another GET MODULE MODEL request message. And so on. Then, if there is more than one output formaster POU module20′, the software in the master loops back to go through the branch associated with this next branch of the network.
At the end, the software (including data and instructions) residing inmaster POU module20′ copies the LIN ID number table on each of the slave POU modules in the network, as seen inFIG. 4. In this matter, even if all the POU modules are removed, except one, the ID numbers allocation with the loads being associated with each module, can be reconstituted and the network continues to operate.
The foregoing description conveys the best understanding of the objectives and advantages of the present invention. Different embodiments may be made of the inventive concept of this invention. It is to be understood that all matter disclosed herein is to be interpreted merely as illustrative, and not in a limiting sense.