Many electronic systems include various addressable modules. For example, many monitoring systems such as fire alarm systems, power monitoring systems, building security monitoring systems, and gas or fluid flow monitoring systems include modules that each include a processor, memory, and optionally one or more sensors that perform various functions. In such a system, each module will be assigned a unique address that the system uses to enable communications in which addresses are used to identify module(s) to which a message is directed. Addresses of a module that generates a message also may be included in the message so that recipients can identify the module from which a message originated.
Currently, traditional methods of assigning addresses to addressable modules include setting switches or jumpers on each module to correspond to an address, or programming a memory device of each module with the module's address. These methods require time during production and/or installation to program or otherwise set the address. This increases the cost and time required for manufacturing, installation, or both. In addition, if modules need to be replaced, the replacement modules must be individually programmed, which adds to repair cost and time.
Some have proposed methods of addressing these problems in particular types of systems. For example, U.S. Patent Application Pub. No. 2017/0270072 to Gainer et al. proposed a set of serially-connected blade test access modules in which each module's processor receives a programmable address, stores the address, increments the address, and passes the incremented address to the next module in the chain. While this processor can help solve some of the issues described above, it requires that each processor be a “smart” module that is programmed to generate an updated address for other modules. It also requires each module to be programmed to recognize which address is intended for it. This requires specially-designed modules, which limits its application and can increase its cost. Further, in situations where communication occurs along a common bus, it requires the entire system to be initialized and addresses assigned to all modules before communication with individual modules is possible.
This document describes methods and systems that are directed to solving at least some of the problems described above.
As described in more detail below, a modular electronic system may include a set of electronic modules, each of which includes: (i) a processor; (ii) a first communication port; and (iii) a second communication port that is communicatively connected to the address bus. A first wired communication path may be communicatively connected to the first communication ports of each of the electronic module. An address bus may be communicatively connected to the second communication ports of each of the electronic modules to provide a second wired communication path for passing address information between the components of the system. The system also may include adders, each of which is electrically connected to the address bus at a position that is between a corresponding pair of the electronic modules.
Each of the adders may be operable to receive, from a first electronic module of its corresponding pair via the address bus, an address that is assigned to the first electronic module of the corresponding pair. The adder will increment the address to yield an incremented address and assign the incremented address to a second electronic module of the corresponding pair by passing the incremented address to the second electronic module of the corresponding pair via the address bus. Optionally, the system also may include a digital logic device that is electronically connected to the address bus and which is configured to provide a starting address to a first-positioned electronic module in the system.
Optionally, the first wired communication path may include an Ethernet bus; an RS-485 bus; or a network switch and cables wherein each cable connects one of the electronic modules to the network switch.
Optionally, each of the electronic modules also may include a memory device that, during operation, will use the address that is assigned to the electronic module for identification. If so, the system also may include a third communication path with a serial bus that is communicatively connected to each of the memory devices. Optionally, the third communication path may include an I2C bus.
In some applications, the electronic modules may be components of a power quality meter. The meter may include: (i) a power supply input/output module that is configured to connect to an external power source and deliver power to the other electronic modules of the power quality meter; and (ii) a voltage monitoring module that is configured to acquire data that reflects characteristics of a power supply.
Optionally, each processor of each electronic module may be programmed to generate one or more messages for delivery to a destination module of the electronic modules. For each of the messages, the processor of the electronic module may associate the address of the destination module with the message. The processor may then pass each message and its associated address to at least the destination module via the first wired communication path.
As also described in more detail below, in a system such as that described above a method of communicating between modules may include: (i) receiving a first address via the address bus; (ii) assigning the first address to a first of the electronic modules; and (iii) passing the first address to a first adder that is electrically connected to the address bus at a position that is between the first module and a second of the electronic modules. The first adder may then increment the first address to yield a second address, and it may assign the incremented address to the second module by passing the second address to the second module via the address bus.
A second adder that is electrically connected to the address bus at a position that is between the second module and a third electronic module of the system may then receive the second address via the address bus, increment the second address to yield a third address, and assign the third address to the third module by passing the third address to the third module via the address bus.
The method also may include, by a digital logic device that is electronically connected to the address bus before the first module, providing the first address to the first module via the address bus.
Each of the electronic modules also may include a memory device. Optionally, the method may include, by each memory device, using the address that is assigned to the electronic module of which the memory device is a component. Each memory device also may share its stored information with the other electronic modules via a third communication path that comprises a serial bus that is communicatively connected each of the memory devices.
Optionally, any of the processors may generate one or more messages for delivery to a destination module of the electronic modules. The processor that generates the message may associate the address of the destination module with the message, and the system may pass each message and its associated address to at least the destination module via the first wired communication path.
Optionally, if any module is removed from a position in the system, and if a replacement module is inserted at the position, then one of the adders will assign the address of the removed module to the replacement module by passing the address to the replacement module via the address bus after the replacement module has been inserted at the position. The removed module may then be re-inserted at an alternate position along the first communication path, and if so an adder that is communicatively connected to the address bus at the alternate position may assign an alternate address to the re-inserted module.
In some aspects, a modular electronic system includes a group of electronic modules, an address bus that is communicatively connected to each of the electronic modules to provide a wired communication path for passing address information between the electronic modules, and a set of adders. Each adder is electrically connected to the address bus at a position that is between a corresponding pair of the electronic modules. Each of the adders is operable to: (i) receive, from a first electronic module of the corresponding pair via the address bus, an address that is assigned to the first electronic module of the corresponding pair; (ii) increment the address to yield an incremented address; and (iii) assign the incremented address to a second electronic module of the corresponding pair by passing the incremented address to the second electronic module of the corresponding pair via the address bus. Optionally, the electronic modules may be components of a power quality meter such as a power supply input/output module and a voltage monitoring module as described above.
As used in this document, the singular forms “a,” “an,” and “the” include plural references unless the context clearly dictates otherwise. Unless defined otherwise, all technical and scientific terms used herein have the same meanings as commonly understood by one of ordinary skill in the art. As used in this document, the term “comprising” (or “comprises”) means “including (or includes), but not limited to.” When used in this document, the term “exemplary” is intended to mean “by way of example” and is not intended to indicate that a particular exemplary item is preferred or required.
In this document, when terms such “first” and “second” are used to modify a noun, such use is simply intended to distinguish one item from another, and is not intended to require a sequential order unless specifically stated. The term “approximately,” when used in connection with a numeric value, is intended to include values that are close to, but not exactly, the number. For example, in some embodiments, the term “approximately” may include values that are within +/−10 percent of the value.
In this document, the term “connected”, when referring to two physical structures, means that the two physical structures touch each other. Devices that are connected may be secured to each other, or they may simply touch each other and not be secured.
In this document, the term “communicatively connected”, when referring to two electrical components, means that a communication path exists between the two components. The path may be a direct path, or an indirect path through one or more intermediary components. Unless expressly indicated, the path may be a wired path (meaning that one or more conductive structures provide the path along which signals are passed), a wireless path (meaning that at least some of the signals are transmitted and received via transmitter and receiver components), or a combination of the two.
In this document, the term “electrically connected”, when referring to two electrical components, means that a conductive path exists between the two components. The path may be a direct path, or an indirect path through one or more intermediary components.
Additional terms that are relevant to this disclosure will be defined at the end of this Detailed Description section.
The processor 101 includes a communication port 102 that communicatively connects the processor 101 to a first wired communication path 105 that is configured to pass messages to, from, and between various modules of the system. For example, the first wired communication path 105 may be an Ethernet bus, an RS-485 bus, or a bus that is designed to operate according to any suitable communication protocol. The first wired communication path 105 also may include a cable that leads to a network switch, which will be described in more detail below in the context of
Optionally, the memory 103 may be communicatively connected to a communication port 104 that communicatively connects the memory 103 to a second wired communication path 107 that is configured to share the module's configuration with other modules of the system for module identification purposes. The second wired communication path may be an Inter-Integrated Circuit (I2C) communication bus or another type of serial data bus.
A first-positioned module 100a in the sequence will receive a starting address. The starting address may be assigned by a manual input, by a random address generator, by a digital logic device 208 that is electronically connected to the address bus 210 and which is configured (such as by programming or hard wiring) to provide the starting address, or by some other means. The first-positioned module 100a will receive the starting address so that the processor 101a may include the address in messages that it generates and sends along communication line 105 so that recipients can identify the module as the sender. In
In addition to the processor 101a using the address, the memory 103a also may retrieve the address from the address bus 210 and use the address for communication on communication path 107. Communication line 107 may also be considered to be an address bus, but unlike address bus 210 which assigns addresses, address bus of communication line 107 uses already-assigned addresses for module identification purposes. For example, in
A set of adders 209a, 209b, 209c will be included along the address bus 210. Each adder is positioned between a corresponding pair of the modules. Each adder 209a, 209b, 209c may be a separate hardware element, or it may be component of one of the pair of modules but positioned to be at the output of a first module of the pair or at the input of a second module of the pair. Each adder 209a, 209b, 209c may be an integrated circuit (such as a half adder incorporating an XOR gate and an AND gate, or a full adder incorporating NAND gates), a programmable device such as a field programmable gate array (FPGA) or complex programmable logic device (CPLD), or any other electronic device that is configured to receive an address from a previous module and increment the address by an additional amount (typically, although not necessarily, by an increment of one).
For example, in the simple example of
At 304 the address bus will then pass the first address to a first adder that is electrically connected to the address bus at a position that is between the first module and a next module in the sequence. At 305 the first adder will increment the first address to yield a second address. The act of incrementing may be simply adding one to the value of the address, or it may be another increment (such as an increment of two, or an increment of a letter value in a hexadecimal addressing system, or another increment). At 307 the system may then assign the incremented address to the second module by passing the second address to the second module via the address bus, which will then store and/or use the assigned address as described in steps 302 and 303 above. This process will repeat for each adder/module combination in the sequence.
If a module is removed from the system (306:YES), and if the adders are separate components then instead of assigning the incremented address to that module the system will simply pass the incremented address to the next adder, which will increment the adder again for a subsequent module in the sequence (repeating step 304). (If the adders are components of the modules, then the incrementing will not occur before or after the removed module, and the address that would have been assigned to the removed module will simply be assigned to the next module in the sequence.) When a replacement module is inserted at a position in the system where the module was previously present, the address generated by the adder that was positioned prior to that module in the sequence will be assigned to the inserted module. If a module is removed and re-inserted at a different location in the system, then when re-inserted it will receive the address that is the incremented address of its preceding neighbor in the sequence. In this way, addresses are automatically assigned as modules are swapped out, moved, or otherwise reconfigured in the system.
The configuration described above is useful in a system that shares a common communication bus, as in communication path 105 of
The modular electronic system described above may be of multiple electronic devices (such as a server system made of multiple storage modules or computing devices); a monitoring system such as a fire alarm system, a power monitoring system, a building security monitoring system, or a gas or fluid flow monitoring system; or any other modular electronic system. For example, referring to
The following terms have the following meanings in this document:
An “electronic device” or an “electronic module” refers to a device or system that includes a processor and memory. The processor and memory may be separate devices, or they may be components of a common device such as a microcontroller. The memory may contain or receive programming instructions that, when executed by the processor, cause the electronic device to perform one or more operations according to the programming instructions.
The terms “processor” and “processing device” refer to a hardware component of an electronic device that is configured to execute programming instructions. Except where specifically stated otherwise, the singular terms “processor” and “processing device” are intended to include both single-processing device embodiments and embodiments in which multiple processing devices together or collectively perform a process.
The terms “memory” and “memory device” each refer to a non-transitory device on which computer-readable data, programming instructions or both are stored. Except where specifically stated otherwise, the terms “memory” and “memory device” are intended to include single device embodiments, embodiments in which multiple memory devices together or collectively store a set of data or instructions, as well as individual sectors within such devices.
In this document, the terms “communication link” and “communication path” mean a wired or wireless path via which a first device can send communication signals to and/or receives communication signals from one or more other devices. Devices are “communicatively connected” if the devices are able to send and/or receive data via a communication link. “Electronic communication” refers to the transmission of data via one or more signals between two or more electronic devices, whether through a wired or wireless network, and whether directly or indirectly via one or more intermediary devices.
The features and functions described above, as well as alternatives, may be combined into many other different systems or applications. Various alternatives, modifications, variations or improvements may be made by those skilled in the art, each of which is also intended to be encompassed by the disclosed embodiments.
Number | Name | Date | Kind |
---|---|---|---|
7685320 | Wishneusky | Mar 2010 | B1 |
9335786 | Stewart et al. | May 2016 | B2 |
20080301344 | Hsieh | Dec 2008 | A1 |
20110082955 | Wortham | Apr 2011 | A1 |
20130151742 | Kita | Jun 2013 | A1 |
20130301495 | Miller | Nov 2013 | A1 |
20160205066 | Attarwala | Jul 2016 | A1 |
20170046292 | Teuke | Feb 2017 | A1 |
20170270072 | Gainar et al. | Sep 2017 | A1 |
20180276157 | Lofamia | Sep 2018 | A1 |
Number | Date | Country |
---|---|---|
100 38 783 | Mar 2001 | DE |
20 2016 1 04113 | Aug 2016 | DE |
2004095300 | Nov 2004 | WO |
Entry |
---|
European Patent Office “International Search Report and Written Opinion” from corresponding International (PCT) patent application No. PCT/EP2021/025260, dated Oct. 22, 2021, 12 pp. |
Number | Date | Country | |
---|---|---|---|
20220027266 A1 | Jan 2022 | US |