The present disclosure relates to a decoder for a model train, a plurality of decoders for a model train and a method for operating a decoder for a model train. In particular, a decoder enters into a group operating mode with external energy signals and then each decoder in the group receives group operating instructions in a single data stream.
For example, specifically looking at model railroads, for five mobile receivers that need to work together in a group, typically called a consist, the desired result is to take all five mobile receivers, which in their current state have individual unique addresses, and give each a single uniform address that each receive may respond to without losing their primary address when the desire to eliminate the consist takes place. The existing designs require the operator to change addresses for each individual mobile receiver via the control station using a predefined programming mode or modes that require the operator to exit the normal operating mode and set each address individually to place them into a common consist address. This is an undesirable characteristic since the operator loses control of the consist because the receivers must leave the current operating state.
1. Operating mode.
2. Enter the programming mode (this exits the operating mode).
3. Select the primary slave address of intended mobile receiver (DCC decoder).
4. Enter configuration variable corresponding to the consist address parameter.
5. Enter new consist address into mobile receiver.
6. Exit programming mode to return to operating mode and repeat steps 2-5 for next mobile receiver for n number of receivers desired in consist operation.
7. Exit back to Operating mode.
Each of the above steps may involve multiple keystrokes on the user interface, which can be very cumbersome. In addition some user interfaces are such that they can require lengthy and complicated user tutorials and detailed manuals just to complete the seven steps outlined above.
Another shortcoming of known designs is a slave not included within a linked consist does not monitor bus communication activity for addresses other than the primary address of the slave. Unfortunately, the slaves outside of the consist do not have any awareness or knowledge concerning the state of the active operating consists such as sounds, motor commands, lighting effects, braking functions, etc. Therefore, if one of these slaves is added to the consist, all of these state parameters would need to be updated to synchronize to the rest of the consist. For example, referring to
According to aspects illustrated herein, there is provided a plurality of decoders for model train locomotives or rolling stock, including first and second decoders. The first decoder includes: a first memory element configured to store a first address uniquely identifying the first decoder; and a first processor configured to receive first data including a group identity address; and store the group identity address in the first memory element. The second decoder includes: a second memory element configured to store a second address uniquely identifying the second decoder; and a second processor configured to receive the first data and store the group identity address in the second memory element. The group identity address identifies a group of decoders. The first decoder is arranged for installation in a first model train locomotive or rolling stock. The second decoder is arranged for installation in a second model train locomotive or rolling stock.
According to aspects illustrated herein, there is provided a plurality of decoders for model train locomotives or rolling stock, including first and second decoders. The first decoder includes: a first data input; a first sensor, separate from the first data input, the first sensor arranged to receive a first energy signal and transmit, in response to receiving the first energy signal, a first trigger signal; a first memory element configured to store a first address uniquely identifying the first decoder; and, a first processor. The first processor is configured to: receive first data including a group identity address and group operating instructions including first group operation instructions, for first and second devices for first and second model train locomotive or rolling stock, respectively; receive the first trigger signal; and in response to receiving the first trigger signal store the group identity address in the first memory element and transmit the first operating instructions. The second decoder includes: a second data input; a second sensor, separate from the second data input, the second sensor arranged to receive a second energy signal and transmit, in response to receiving the second energy signal, the first trigger signal; a second memory element configured to store a second address uniquely identifying the second decoder; and a second processor configured to receive the first data; receive the first trigger signal; and in response to receiving the first trigger signal store the group identity address in the first memory element and transmit the second operating instructions. The group identity address identifies a group of decoders. The first decoder is arranged for installation in a first model train locomotive or rolling stock. The second decoder is arranged for installation in a second model train locomotive or rolling stock.
According to aspects illustrated herein, there is provided a decoder for model train locomotives or rolling stock, including: a data input; a sensor, separate from the data input, the sensor arranged to receive a first energy signal and transmit, in response to receiving the first energy signal, a first trigger signal; a memory element configured to store a first address identifying the decoder; and a processor configured to receive first data including a group identity address, receive the first trigger signal; and in response to receiving the first trigger signal, store the group identity address in the memory element. The sensor is arranged to: receive a second energy signal; and transmit, in response to receiving the second energy signal, a second trigger signal. The processor is configured to: receive the second trigger signal; receive second data including the first address and first operating instructions, associated with the first address, for a device for a model train locomotive or rolling stock; and transmit the first operating instructions. The group identity address identifies a group of decoders.
According to aspects illustrated herein, there is provided a computer-based method for operating a decoders for a model train locomotive or rolling stock, including: receiving, using a sensor for the decoder, a first energy signal; transmitting, using the sensor and in response to receiving the first energy signal, a first trigger signal; storing, in a memory element for the decoder, a first address identifying the decoder; receiving, using a processor for the decoder, first data including a group identity address; receiving, using the processor, the first trigger signal; in response to receiving the first trigger signal, storing, using the processor, the group identity address in the memory element; receiving, using the sensor, a second energy signal; transmitting, using the sensor and in response to receiving the second energy signal, a second trigger signal; receiving, using a processor, the second trigger signal; receiving, using the processor, second data including the first address and first operating instructions, associated with the first address, for a device for a model train locomotive or rolling stock; transmitting, using the processor, the first operating instructions; and identifying, using the processor and the group identity address, a group of decoders.
Various embodiments are disclosed, by way of example only, with reference to the accompanying schematic drawings in which corresponding reference symbols indicate corresponding parts, in which:
At the outset, it should be appreciated that like drawing numbers on different drawing views identify identical, or functionally similar, structural elements of the disclosure. It is to be understood that the disclosure as claimed is not limited to the disclosed aspects.
Furthermore, it is understood that this disclosure is not limited to the particular methodology, materials and modifications described and as such may, of course, vary. It is also understood that the terminology used herein is for the purpose of describing particular aspects only, and is not intended to limit the scope of the present disclosure.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood to one of ordinary skill in the art to which this disclosure belongs. It should be understood that any methods, devices or materials similar or equivalent to those described herein can be used in the practice or testing of the disclosure.
For decoder 101A, processor 110 is configured to: receive, for example, via data input 102, data 112 including group identity address 114; and store group identity address 114 in memory element 106. In an example embodiment, group identity address 114 is different from address 108A. For decoder 101B, processor 110 is configured to: receive, for example, via data input 102, data 112 including group identity address 114; and store group identity address 114 in memory element 106. In an example embodiment, group identity address 114 is different from address 108B.
Processor 110 and memory element 106 can be any processor or memory element, respectively, known in the art. It should be understood that unless indicated otherwise, operations described below for processor 110 are implemented by executing instructions 109.
Group identity address 114 identifies a group, or consist of decoders 100. In the example of
Decoder 100A is arranged for installation in model train locomotive or rolling stock MR1. Decoder 100B is arranged for installation in model train locomotive or rolling stock MR2. By “rolling stock” we mean any model train car other than a locomotive, for example, a passenger car, a freight car, or a caboose. By “operating instructions” we mean instructions for activating, deactivating, and otherwise controlling operation of the device.
Data 112 includes group operating instructions 116 for each decoder included in a particular group, or consist, for example, decoders 101A and 101B in the example of
Decoder 100 can include a single output 104 arranged for connection to a device such as device D1 or D2, or a plurality of outputs arranged for connection to a respective plurality of devices. For example, a second output 104 is connected to device DN. Any number of outputs can be included in the plurality of outputs for decoders 100A and 100B.
In the example of
Decoders 100A and 100B include sensor 120, separate from electrical power and data input 102. Sensor 120 is arranged to: receive energy signal 122A; and transmit, in response to receiving energy signal 122A, trigger signal 124. Processor 110 is configured to: receive trigger signal 124; and in response to receiving trigger signal 124: enter group operating mode 126; select group identity address 114; and store group identity address 114 in memory element 106. For decoder 101A, processor 110 is configured to transmit operating instructions 118A. For decoder 101B, processor 110 is configured to transmit operating instructions 118B
Sensor 120 can be any sensor known in the art, including, but not limited to, a magnetic sensor or an electromagnetic sensor. For example, sensor 120 responds to energy signal 112A in the form of a magnetic or electromagnetic stimulus to provide signal 124.
In an example embodiment, processor 110 is configured to: enter search mode 128 in response to receipt of trigger signal 124. While in the search mode, processor 110 is configured to: ascertain that the data 112 includes group identity address 114. In response to ascertaining that data 112 includes group identity address 114, processor 110 is configured to enter into group operating mode 126.
In an example embodiment, during the search mode, processor 110 is configured to: receive, via electrical power and data input 102, data 130. For decoder 101A, data 130 includes address 108A and operating instructions 132A for device D1 and processor 110 is configured to transmit, via output 104, operating instructions 132A. For decoder 101B, data 130 includes address 108B and operating instructions 132B for device D2 and processor 110 is configured to transmit, via output 104, operating instructions 132B. Thus, while decoders 100A and 100B are in the search mode, the decoders can continue to operate in individual operation mode 134. Individual operation mode 134 is characterized by operating instructions associated with the address for a single decoder and directed solely to the decoder identified by the address.
In an example embodiment, during the search mode, processor 110 for decoder 101A is configured to: receive, via electrical power and data input 102, data 112; and store operating instructions 118A in memory element 106. Upon entry into the group operating mode, processor 110 is configured to transmit instructions 118A stored memory element 106. For decoder 100B, processor 110 is configured to: receive, via electrical power and data input 102, data 112; and store operating instructions 118B in memory element 106. Upon entry into the group operating mode, processor 110 is configured to transmit instructions 118B stored memory element 106. Thus, as soon as processor 100 enters the group operating code, the decoder can immediately implement operating instructions 118A or 118B without waiting for the next iteration of operating instructions 118A or 118B to be received via input 102.
In an example embodiment, during the search mode, processor 110 is configured to: receive, for example, via data input 102, operating instructions 136 for device D3 for model train locomotive or rolling stock MR3; and store operating instructions 136 in memory element 106. Thus, operational data for other locomotives and rolling stock is accessible by processor 110 and is usable by processor 110 to coordinate operation of device D1 with other devices that may interface with device D1.
In an example embodiment, during the group operating mode, processor 110 is configured to: receive, for example via data input 102, operating instructions 136 for device D3 for model train locomotive or rolling stock MR3; and store operating instructions 136 in memory element 106. Thus, operational data for other locomotives and rolling stock is accessible by processor 110 and is usable by processor 110 to coordinate operation of device D1 with other devices that may interface with device D1.
Sensor 120 is configured receive energy signal 122B and transmit, in response to receiving the energy signal 122B, trigger signal 138. Processor 110 for decoder 101A is configured to: receive trigger signal 138; receive, for example via data input 102, data 140A including address 108A and operating instructions 142A, associated with address 108A, for device D1; enter, in response to receiving the trigger signal 138, individual operation mode 134; and transmit, for example, via output 104, instructions 142A. Thus, upon receipt of a second energy signal, decoder 100A toggles to the individual operation mode.
For decoder 100B, processor 110 is configured to: receive trigger signal 138; receive, for example, via data input 102, data 140B including address 108B and operating instructions 142B, associated with address 108B, for device D2; enter, in response to receiving the trigger signal 138, individual operation mode 134; and transmit, for example via output 104, instructions 142B. Thus, upon receipt of a second energy signal, decoder 100B toggles to the individual operation mode.
In an example embodiment, during the individual operation mode, processor 110 is configured to: receive, for example via data input, data 144 including group identity address 114 and group operating instructions 146; and store group identity address 114 and instructions 146 in memory element 106. For decoder 101A, group operating instructions 146 include operating instructions 148A for device D1. For decoder 100B, group operating instructions 146 include operating instructions 148B for device D2. Thus, during the individual operation mode, decoder 100 is able to store the latest instructions for a particular group.
In an example embodiment, during the individual operation mode, sensor 120 is arranged to receive energy signal 122C; and transmit, in response to receiving energy signal 122C, trigger signal 138. Processor 110 is configured to: receive trigger signal 138; and enter into the group operating mode. For decoder 101A, processor 110 is configured to transmit operating instructions 118A; and transmit operation instructions 148A stored in memory element 106. For decoder 100B, processor 110 is configured to: receive trigger signal 138; enter into the group operating mode; and transmit operation instructions 148B stored in memory element 106. Thus, as soon as processor 100 enters the group operating code, the decoder can immediately implement operating instructions 148A and 148B without waiting for the next iteration of operating instructions 148A and 148B to be received via input 102.
In an example embodiment, processor 110 for decoder 101A is configured to: compare operating instructions 142A and 148A; and modify operating instructions 142A as needed to avoid conflict with operating instructions 148A. For decoder 100B, processor 110 is configured to: compare operating instructions 142B and 148B; and modify operating instructions 142B as needed to avoid conflict with operating instructions 148B. That is, when entering the group operating mode from the individual operation mode, processor 110 modifies instructions associated with the individual operation mode to avoid conflict with operations associated with the group operating mode. For example, if instructions 142A included sound effects for braking a freight car and instructions 148A included sound affects for accelerating the freight car, the processor would not implement the braking sound effects.
Advantageously, decoder 100 addresses the problem noted above for prior art consists. Rather than leaving an operating mode to separately access each decoder included in a consist, or group, and then individually program each decoder with consist information, such as instructions 116, each decoder in a group can be quickly and easily entered into the search mode by use of energy signal 122, for example by passing a magnet over the sensor for each decoder in the group. Then, a single command or data stream, such as data 112 is sent out, for example, from station CS on rail R, with the operating instructions (e.g., instructions 116/118A) for every decoder in the consist. Every decoder in the search mode selects the data stream and implements the data stream. That is, the programming for a consists needs to be performed only one time and then sent in a single data stream to each decoder in the consist.
The following should be viewed in light of
In an example embodiment: the first data includes group operating instructions for the group of decoders, the group operating instructions include second operating instructions for the device, and a thirteenth step, in response to receiving the first trigger signal, transmits, using the processor, the second operating instructions. In an example embodiment, the second operating instructions are different from the first operating instructions.
The following should be viewed in light of
In an example embodiment, a thirteenth step, in response to receiving the first trigger signal: enters, using the first processor, a group operating mode; and transmits, using the first processor, the first operating instructions. A fourteenth step, during the group operating mode: receives, using the first processor and via the first electrical power and data input, second operating instructions for a third device for a third model train locomotive or rolling stock; and stores, using the first processor, the second operating instructions in the first memory element.
In an example embodiment: a fifteenth step receives, using the first sensor, a third energy signal. A sixteenth step transmits, using the first sensor and in response to receiving the third energy signal, a second trigger signal. A seventeenth step receives, using the first processor, the third trigger signal. An eighteenth step receives, using the first processor and via the first electrical power and data input, second data including the first address and third operating instructions, associated with the first address, for the first device. A nineteenth step enters, using the first processor and in response to receiving the second trigger signal, an individual operation mode. A twentieth step transmits, using the first processor and via the first output, the third operating instructions.
1. Apply external trigger (e.g., energy signal 122A) to decoder to be added to the consist (repeat for each slave decoder to add to consist).
2. Apply simple command sequence. That is, send data 112 with group identity address 124 and applicable operating instructions (e.g., data 116).
The total number of steps are step 1*N number of receivers plus step 2.
Thus, the number of steps needed to enter decoders into the desired consist is greatly reduced. For example, in the prior art operation described above, adding five slave decoders into a consist would require a total of 30 operations. In contrast, five decoders 100 can be added to a consist in just six steps. Further, while adding decoders to the consist, an operator can remain in the operational mode at all times, thereby never losing control of the decoders being added to the consist or the decoders already in the consist.
As another example, referring again to
The operations of decoder 100A can be presented as an external triggering stage, a state machine stage, and a command sequence search stage. State machine, packet monitor, and command sequence search stages, described below, are typically implemented within a processor, microprocessor or similar microcontroller device, such as processor 110A.
As noted above, stimulus 309 can be, but is not limited to a magnetic or electromagnetic field. In an example embodiment, the external triggering stage contains one or more sensing elements to detect the presence or absence of the selected stimulus, 309. In an example embodiment, the external triggering stage is implemented with a simplified Hall-effect or reed switch sensor and generates active output signal TRIG when a magnetic stimulus is presented nearby the device. This technique allows the user to individually select and trigger multiple mobile devices without physically touching the selected device.
The Intelligent Consisting state machine, 303, is operable to receive external triggering signal TRIG and adjust to the appropriate logical state as needed. Typically, the state machine will operate in one of N different states. In an example embodiment, the intelligent consisting state machine supports three possible states: ON, OFF, or SEARCH, such that the state machine will operate in one of these three primary states. The state machine transitions between the N-different states through input triggering TRIG or other algorithmic inputs derived from other processing modules, such as the FOUND signal generated by the command sequence search stage, 305.
Upon receiving a trigger signal TRIG from the external triggering stage, the state machine 400 transitions out of the OFF state and into the SEARCH state, as indicated by arrow 401. In the search state, the Intelligent Consisting state machine will wait for a predetermined period of time, enabling the command sequence search stage to watch for a valid command signal or sequence. Once the command sequence search stage has detected a valid command, it will activate the FOUND signal, informing the state machine that the a consist address has been received and the state can adjust as needed.
Upon receipt of a valid FOUND signal, the Intelligent Consisting state machine advances the state into the ON condition, indicating that the decoder has detected a valid consist address and is now operating in a consisted or linked mode, as indicated by arrow 402.
Optionally, to exit the SEARCH state or ON state, the TRIG signal, obtained from the external triggering stage, causes machine 400 to transition out of the SEARCH or ON states back into the OFF state, as indicated by arrows 403 or 401. In other words, when an operator desires to exit the intelligent consisted ON state, the external stimulus can be applied resulting in an active TRIG signal, which in turn transitions the state machine back into the OFF state (normal non-consisted operation).
Returning to
During typical operation, packet monitor, 304, broadly operates using the following general tasks: (1) Receives a validated data packet detected on the bus 308, (2) Locates the effective address conveyed within the data packet, (3) traverses the data structure containing previously received data packets, and (4) stores the newly received data packet into the data structure node corresponding to the received address field. In some cases, each element within the packet monitoring data structure can be assigned a time stamp such that old or stale information can be removed if the packet monitor has not received any recent data corresponding to that specific address. For example, if the packet monitor has been receiving and storing information for a mobile electronic device with address twenty three, and a long period of time transpires wherein no validated packets have been received for address twenty three, the packet monitor can free this node within the data structure for more relevant information.
Packet monitor 304 is an optional stage within the invention and is useful for tracking the states and functions of other mobile electronic devices residing on the data bus 308. One distinct advantage of using packet monitoring stage 304 is for synchronizing states and settings with consisted or linked groups of decoders. For example, upon detection of the unique command pattern and the inherent consist address, the intelligent consisting state machine 303, can inform the packet monitor to upload the settings and states of the newly acquired consist into the operational variables and states 307 of processing unit 110A. This inherent advantage allows equipped mobile electronic devices entering a new consist to quickly synchronize all operational states, variables, and modes with the other mobile electronic devices already present within the consist. Automatic synchronization of such states, variables, and modes can greatly simplify the user setup experience when adding one or more devices to a consist.
Command sequence search stage, 305, broadly operates by monitoring the validated bus data and watches for a unique data command or pattern. Command sequence search stage 305 can be implemented to receive the validated bus data from a number of different sources, but is broadly illustrated to monitor the validated bus data that is present within the packet monitor 304 data structure. Once the data command or pattern has been received, the command sequence search stage activates the FOUND signal to inform subsequent stages that a valid consist address has been received. The precise nature and design of the unique data command or pattern can vary within different embodiments of the present invention.
In an example embodiment, decoder 100A and MR1 operate within a DCC system and the unique data command is implemented as a simple pattern of pre-existing DCC functions. For example, a specified DCC function F8 could be monitored to watch for a specific ON-OFF-ON-OFF-ON-OFF pattern, which could be easily triggered by an operator. Once this pattern of DCC F8 functions is received, the command sequence search stage 305 activates the FOUND signal thereby advancing the Intelligent Consisting state machine 303. The unique data command or pattern could be implemented as a specific command rather than a pattern of existing functions or commands. For example, again looking at a model railroading DCC communication system, a pre-defined unique command could be implemented, that upon receipt by an equipped decoder, would be detected by the command sequence search stage 305. In other words, embodiments can be produced to monitor for patterns of existing functions or variables, or can monitor for a newly defined command not previously used within the data communication system.
As stated above, the exact nature and construction of the unique data command or pattern is flexible within the methodologies contained within this disclosure, yet it should be clear to one skilled in the art that the unique data command or pattern should typically contain the address for the consisted group of mobile devices. In other words, the unique command or pattern should be transmitted such that the receiving command sequence search stage 305, or other data monitoring stages, can adequately determine the consist address. This architecture enables processing unit 108 to properly enter the consisted group of decoders and communicate using the newly acquired consist address.
It will be appreciated that various of the above-disclosed and other features and functions, or alternatives thereof, may be desirably combined into many other different systems or applications. Various presently unforeseen or unanticipated alternatives, modifications, variations, or improvements therein may be subsequently made by those skilled in the art which are also intended to be encompassed by the following claims.
This application is the United States National Stage Application pursuant to 35 U.S.C. §371 of International Patent Application No. PCT/US2015/034204, filed on Jun. 4, 2015, and claims the benefit under 35 U.S.C. §119(e) of U.S. Provisional Patent Application No. 62/007,851, filed Jun. 4, 2014, which applications are incorporated herein by reference in their entireties.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US15/34204 | 6/4/2015 | WO | 00 |
Number | Date | Country | |
---|---|---|---|
62007851 | Jun 2014 | US |