Information
-
Patent Application
-
20040198493
-
Publication Number
20040198493
-
Date Filed
March 22, 200123 years ago
-
Date Published
October 07, 200420 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
A system controls access to a plurality of devices with only four lines by grouping the devices in nodes, wherein each node includes a local control circuit and a predetermined number of the devices, with each local control circuit defining a shift register, the positions of which are respectively connected to the devices. The nodes are connected in series with a host controller, so that the shift registers of the several nodes cooperate to form a system shift register. The nodes are serially addressed by a serial data message from a DATA OUT line of the host controller, which message includes M×N data bits followed by strobe indicator, where N is the number of nodes and M is the number of devices at each node. All controllers are connected to a V+ line and a COMMON line and a RETURN line. The system register forms a fourth line, one end of which is connected to the host controller DATA OUT terminal and the other end of which may be connected to the RETURN line.
Description
BACKGROUND
[0001] This application relates to apparatus and methods for controlling, and/or sensing, the states of multiple components or devices, and has particular application to devices of the types used in or in connection with gaming machines.
[0002] In electronic gaming machines, of the type commonly used in gaming establishments, it is desirable to provide devices and techniques for attracting players and providing an entertaining play environment. To this end, gaming machines commonly use light displays, which can be operated in a variety of modes, including an attract mode. For this purpose, a plurality of individual lights, which may number from tens to hundreds for an individual machine, are blinked on and off in predetermined patterns, depending upon the mode of operation of the machine. Such lights may be in the form of light-emitting diodes (LEDs) and may form part of an illuminated switch, which includes a switch mechanism and one or more associated LEDs. Such LEDs may be provided in a variety of colors.
[0003] It is possible to connect groups of such devices, e.g., like-colored lights, in parallel in order to reduce the number of wires required for controlling them. However, in order to maximize the number of different display patterns which can be generated, it is desirable to have the devices individually controlled, but this may requires a very large number of wires. For example, in the case of LEDs, there would have to be one control wire for each LED and a common wire. In the case of illuminated switches, even more wires would be required. For example, in a machine panel with fourteen illuminated switches, a minimum of thirty wires would be required (switch common, lamp common, fourteen switch control wires and fourteen lamp control wires), and this assumes that there is only one lamp per switch or, if multiple lamps per switch, that all the lamps of a switch are connected in parallel. Accordingly, in machines with large numbers of such devices to be controlled, individual control of the devices becomes impractical.
SUMMARY
[0004] There is disclosed in this application an apparatus and method for controlling and/or sensing, the states of multiple devices, which avoids the disadvantages of prior apparatus and methods while affording additional structural and operating advantages.
[0005] One aspect is the provision of an apparatus and method of the type set forth which permits individual control and/or sensing of a large number of devices, while minimizing the number of electrical wires or conductors that are required.
[0006] Another aspect is the provision of an apparatus and method of the type set forth, which can be used with different types of devices, including those having states which are to be controlled, and those having states which are to be detected.
[0007] In connection with the foregoing aspects, another aspect is the provision of an apparatus and method of the type set forth which utilizes distributed processing techniques.
[0008] Certain ones of these and other aspects may be attained by providing a gaming machine comprising a plurality of devices to be individually accessed; a host controller having a data out terminal a power terminal and a common terminal; a plurality of local controllers each having a data in terminal, a data out terminal, a power terminal, a common terminal and plural device terminals, the controllers being interconnected in a string with the data out terminal of the host controller being connected to the data in terminal of a first local controller and the data in terminal of each of the other local controllers being connected to the data out terminal of the preceding local controller in the string, each local controller having its device terminals respectively connected to individual ones of the devices; a power line interconnecting the power terminals of the host controller and all of the local controllers; and a common line interconnecting the common terminals of the host controller and all of the local controllers.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] For the purpose of facilitating an understanding of the subject matter sought to be protected, there are illustrated in the accompanying drawings embodiments thereof, from an inspection of which, when considered in connection with the following description, the subject matter sought to be protected, its construction and operation, and many of its advantages should be readily understood and appreciated.
[0010]
FIG. 1 is a functional block diagrammatic view of an embodiment of apparatus for individually accessing a plurality of devices arranged in a number of nodes;
[0011]
FIG. 2 is a simplified, partially schematic and partially functional block diagram of one of the nodes of the apparatus of FIG. 1;
[0012]
FIG. 3 is a schematic circuit diagram of an embodiment of the node of FIG. 2;
[0013]
FIG. 4 is a diagrammatic illustration of a data stream filling a shift register formed by the nodes of FIG. 1;
[0014]
FIG. 5 is a diagram of one of the data bits of the data stream of FIG. 4;
[0015]
FIG. 6 is a schematic circuit diagram of another embodiment of the node of FIG. 2; and
[0016]
FIG. 7 is a schematic circuit diagram of yet another embodiment of the node of FIG. 2.
DETAILED DESCRIPTION
[0017] Referring to FIG. 1, there is illustrated a system, generally designated by the numeral 10, for controlling access to a plurality of devices with a minimum number of wires or lines. The system 10 may be embodied in a gaming machine, which includes a gaming machine processor 11 for controlling all of the basic functions of the gaming machine in a known manner. The system 10 also includes a host controller 12 configured to provide a V+ voltage level at an output terminal connected to a V+ line 13, and also having a COMMON terminal connected to a common line 14. The controller 12 generates data signals at a DATA OUT terminal connected to a DATA line 15 and is adapted to receive incoming data via a RETURN line 16 at a DATA IN terminal. The host controller 12 is configured to control access to a plurality of devices 30, which may be of various types, and which are grouped together in nodes 20, which are connected in a string to the first controller 12. There may be any number of nodes 20, depending upon the application. In the illustrated embodiment only the first two (nodes 0 and 1) and the last two (nodes N-1 and N) are illustrated. The nodes 20 may all be of substantially the same construction.
[0018] Referring to FIG. 2, each node 20 includes a microcontroller 21 having a VCC terminal 22 coupled to the V+ line 13, a COMMON terminal connected to the COMMON line 14, four device terminals 24, 25, 26 and 27, a DATA IN terminal 28 and a DATA OUT terminal 29. The device terminals 24-27 are respectively connected to four of the devices 30. The microcontroller 21 includes a 4-bit shift register 35, the positions of which are respectively connected to the device terminals 24-27. While, in the illustrated embodiment, there are only four devices 30 included in each node 20, it will be appreciated that different numbers of devices could be included in each node, depending upon the capacity of the microcontroller 21. As was indicated above, the number of nodes 20 in the system 10 will depend upon the total number of devices 30 to be accessed. In the illustrated embodiment, for example, with four devices per node, if there were 32 devices to be accessed, this would require eight nodes.
[0019] Further details of the node 20 are illustrated in FIG. 3. The microcontroller 21 is an 8-pin device, which may be a 12C508 or 12C509, the pins 2, 3, 7 and 8 respectively corresponding to the device terminals 24-27. The node 20 includes a power supply 36 coupled to the V+ line 13 for providing a VCC voltage to the micro controller 21 at its VCC terminal 22 (pin 1). Pin 8 is the COMMON terminal 23 connected to the COMMON line 14. The node has a DATA IN terminal 28 connected through a resister to pin 4, and pin 5 is connected through a resister to a DATA OUT terminal 29. The device pins 2, 7, 8 and 3 are, respectively, connected through resisters to transistor drivers 37 which are, in turn, connected through resisters 41 to the device terminals 24-27 which are, respectively, connectable to devices to be accessed. In the embodiment illustrated in FIG. 3, the devices are LEDs 40, the device terminals 24-27 being respectively connected to the cathodes of the LEDs, their anodes being connected to the V+ line 13. The node 20 is provided with 4-pin input and output connectors 38 and 39. Each connector 38 and 39 is connected to the V+ line 13, the COMMON or ground line 14 and the RETURN line 16. The fourth pin of the input connector 38 is connected to the DATA IN terminal 28, while the fourth pin of the output connector 39 is connected to the DATA OUT terminal 29.
[0020] When the nodes are interconnected in a series string, as illustrated in FIG. 1, the input connector 38 of the node N is connected to an associated connector of the host controller 12 having pins corresponding to the lines 13-16, while the input connector 38 of each of the other nodes in the string is connected to the output connector 39 of the immediately preceding node in the string. Each node 20 has a path from its DATA IN terminal to is DATA OUT terminal and these paths are connected in series with one another and with the DATA OUT terminal of the host controller 12 to make up the fourth line 15. The output connector 39 of node 0 (the last node in the string, i.e., the farthest from the host controller 12) is not connected to any other connector.
[0021] In order to access the devices 30, the host controller 12 generates at its DATA OUT terminal and transmits to all of the nodes 20 a serial data signal, generally designated 50 and illustrated in FIG. 4, which includes four bits 52 of data for each node in the string. Thus, for example, if there were eight nodes, the data signal 50 would include 32 bits of information, followed by a strobe indicator 51, which may be a low level persisting for a pre-determined time period. In the illustrated embodiment the host controller 12 may have an 8-bit data bus, so the data bits 52 are arranged in 8-bit bytes 53, with each byte addressing two consecutive nodes in the string, i.e., an even-numbered node and odd-numbered node. It will be appreciated that, when the nodes 20 are connected together in the manner illustrated in FIG. 1, the shift registers 35 of the several nodes cooperate to form a systems shift register 55 of length M×N, where N is the number of nodes in the string and M is the number of devices 30 connected to each node.
[0022] The serial data signal 50 begins with the byte for nodes 0 and 1 and the bits are sequentially stepped through the system shift register 55. When the entire serial data message of M×N bits has been transmitted, it will completely fill the system shift register 55, as illustrated in FIG. 4. The strobe indicator 51 then follows the string of data bits 52 and, as it is received at each node, if the node is of the type illustrated in FIG. 3, it causes the node microcontroller 21 to latch the contents of its shift register 35 to the associated device terminals 24-27 for controlling the states of the associated devices 30, in this case LEDs 40. For example, if bit no. 1 for a node 20 is a logic “1” it may control the associated device to one state and if it is a logic “0” it may control the device to the other state. In the case of LEDs 40, the logic “1” state may be ON and the logic “0” state may be OFF.
[0023] Referring to FIG. 5, each data bit 51 in the serial message 50 is made up of three equal-length segments. The bit starts with a line high at 60 to indicate a START segment having a length of T, followed by a DATA segment 61, which also has a length T, and then followed by a line low STOP segment 63, which also has a length T, so that the total length of the data bit 52 is 3T. The DATA segment 61 may, of course, be either a line high or a line low condition, depending upon the logic state being transmitted in that data bit, but the data bit 52 will always have the same length 3T, irrespective of its message content. When the START segment 60 is detected by the microcontroller 21 of a node, a timer is started which times out at 0.5T after the end of the START segment 60 at a time 62, at which time the microcontroller samples the DATA segment 61 to determine its level. This ensures that the DATA segment 61 will always be sampled substantially in the middle of its length, minimizing the chance of confusion with the START and STOP segments.
[0024] Referring to FIG. 6, there is illustrated an alternative embodiment of a node, designated 20A, configured for connection to a device 30 having states to be detected or monitored, such as an illuminated manual switch 70. In the illustrated embodiment the switch 70 includes a switch element 71, which may be a single-pole, double-throw switch, the movable contact of which is connected to one of the device terminals 24 and through a resistor 72 and, through a resistor 73, to the VCC supply voltage. One of the fixed contacts of the switch is connected to the COMMON terminal 23, while the other is disconnected. The switch 70 includes three LEDs (not shown), which are respectively connected to the other three device terminals 25-27 through three of the pins of a 4-pin connector 74, the fourth pin of which is connected to the COMMON terminal 23 (COMMON line 13). The LEDs 40 may have different colors, such as blue, green, and red, or may be of the same color.
[0025] In this embodiment, when the strobe indicator 51 reaches the node 20A, the microcontroller 21 responds by sampling the states of the four devices connected to its device terminals (i.e., the switch element 71 and the three LEDs) and loads them into the corresponding positions of its shift register 35. In this embodiment, wherein the states of the connected devices are to be sensed, rather than controlled, the data content of the local shift register 35 at the time of arrival of the strobe indicator 51 is unimportant. In this embodiment, the drivers 37 of the node 20 have been eliminated.
[0026] Referring to FIG. 7, there is illustrated another node embodiment 20B, which is similar to the node embodiment 20A of FIG. 6, except in this case the accessed devices of the node include an illuminated switch 75 having a switch element 76 and a single lamp 77. In this case, the VCC supply voltage is connected to one of the fixed contacts of the switch element 76. The lamp (not shown) is connected to a 2-pin connector 77, one pin of which is connected to the V+ line 13, and the other pin of which is connected to a driver circuit 78, which is in turn connected to two of the device pins 7 and 8, of the microcontroller 21, the fourth device pin three being disconnected. The node 20B operates on substantially the same manner as described for the node 20A.
[0027] When any of the nodes in the system 10 is connected to a device having states which must be sensed or monitored, such as the switches 70 or 75 illustrated in FIGS. 6 and 7, those states must be communicated back to the host controller 12 along the RETURN line 16. For this purpose, the DATA OUT pin of the output connector 39 of the node zero (the last node in the string) is connected to its RETURN pin by a jumper 80 (see FIGS. 1, 6 and 7). This jumper is illustrated in FIGS. 3, 6 and 7 to show its position, but it will be appreciated that it will be used only if that node happens to be the node 0, i.e., the last in a string or the further from the host controller 12. It will also be appreciated that, if any node has a device with states which must be sensed, the jumper 80 must be utilized in node 0 to complete a return path to the host controller 12.
[0028] It can be seen that, with the foregoing arrangement, no more than four lines are required to control access to the plurality of devices in the gaming machine. Indeed, if all of the nodes are of the type illustrated in FIG. 3, wherein all four of the devices of the node are LEDs 40 or some other device of the type having states to be controlled, but not requiring any sensing or monitoring of the states, only three lines are required, and, therefore, the jumpers 80 would not be connected.
[0029] Where the devices 30 connected to one or more of nodes 20 include devices having states which are to be sensed or recorded, such as switches 70 or 75, the states recorded in the shift register 55 must be returned to the host controller 12. In this regard, when the next serial data message 50 arrives at the node N, immediately following the strobe indicator 51 which ended the current message, the first bit addressed to node 0 enters the first position of the shift register 35 of node N, shifting the contents of the register 35 one position to the right, so that the bit in the fourth register position moves out on the DATA OUT line 15 to the next node, shifting the contents of its register 35, and so forth, with the last bit in the register for node 0 being shifted out onto the RETURN line 16 via the jumper 80. As each successive bit of the new serial message arrives at the node N, this shifting process continues until the entire contents of the register 55 (FIG. 4) have been shifted out to the host controller 12, at which time the register 55 is filled with the new serial message.
[0030] While the foregoing description has related to the control devices such as LEDs and illuminated switches, the basic principles of the invention could be applied to control of any of a large number of dual-state devices. Also, while the apparatus has particular application to control of access to large numbers of devices, it could be utilized for control of any number of devices. While the apparatus has been described in the context of control of a number of devices in a single location, such as a gaming machine, the principles described above would also be applicable to control of a number of devices at distributed locations.
[0031] The matter set forth in the foregoing description and accompanying drawings is offered by way of illustration only and not as a limitation. While particular embodiments have been shown and described, it will be obvious to those skilled in the art that changes and modifications may be made without departing from the broader aspects of applicants' contribution. The actual scope of the protection sought is intended to be defined in the following claims when viewed in their proper perspective based on the prior art.
Claims
- 1. A gaming system comprising:
a plurality of devices to be individually accessed; a host controller having a data out terminal a power terminal and a common terminal; a plurality of local controllers each having a data in terminal, a data out terminal, a power terminal, a common terminal and plural device terminals, the controllers being interconnected in a string with the data out terminal of the host controller being connected to the data in terminal of a first local controller and the data in terminal of each of the other local controllers being connected to the data out terminal of the preceding local controller in the string; each local controller having its device terminals respectively connected to individual ones of the devices; a power line interconnecting the power terminals of the host controller and all of the local controllers; and a common line interconnecting the common terminals of the host controller and all of the local controllers.
- 2. The gaming system of claim 1, wherein the devices include optical devices.
- 3. The gaming system of claim 2, wherein each of the optical devices is an LED.
- 4. The gaming system of claim 1, wherein each of the local controllers is a microcontroller.
- 5. The gaming system of claim 1, wherein the host controller includes a data in terminal, the data out terminal of a last node being connected to the data in terminal of the host controller.
- 6. The gaming device of claim 5, wherein at least one of the devices is a device having states which are to be detected.
- 7. The gaming system of claim 6, wherein the at least one of the devices is a switch.
- 8. The gaming system of claim 1, wherein the host controller includes means for producing at its data out terminal an output signal comprising a serial digital data stream directed to all of the nodes.
- 9. The gaming system of claim 8, wherein the devices include at least one device having states which are to be controlled, the output signal including data for controlling states of the at least one device.
- 10. The gaming device of claim 9, wherein at least one device is an LED.
- 11. The gaming system of claim 8, wherein the devices include switches and LEDs, the output signal including a portion for causing the local controllers to record the states of the switches and a portion for causing the local controllers to control the states of the LEDs.
- 12. The gaming system of claim 1, wherein all of the devices are associated with a single gaming machine.
- 13. A gaming system comprising:
a plurality of devices to be individually accessed, arranged in a string of M nodes, with each node including up to N of the devices, wherein M and N are whole numbers greater than one; a host controller having a data out terminal; a plurality of local controllers respectively associated with the nodes, each local controller having a data in terminal and a data out terminal and including a N-bit shift register with the register positions respectively connected to device output terminals to which the devices of the associated node may respectively be connected; the data out terminal of the host controller being connected to the data in terminal of a first node and the data in terminal of each of the other nodes being connected to the data out terminal of the preceding node in the string so that the string of nodes provides a (M×N)-bit shift register; the host controller producing at its data out terminal an output signal comprising a serial digital data stream including M×N bits followed by a strobe indicator so that the M×N bits are sequentially loaded into and fill the (M×N)-bit register; each local controller being responsive to the strobe indicator for utilizing the contents of its N-bit register for accessing the associated devices.
- 14. The gaming system of claim 13, wherein each of the local controllers is a microcontroller.
- 15. The gaming system of claim 14, wherein N is 4.
- 16. The gaming system of claim 13, wherein the serial digital data stream comprises binary data.
- 17. The gaming system of claim 13, wherein the devices include at least one device having states which are to be controlled, each local controller being responsive to the strobe indicator for latching the contents of its register to those of its device output terminals connected to the at least one device for controlling states of at the least one device.
- 18. The gaming system of claim 17, wherein the at least one device is an LED.
- 19. The gaming system of claim 13, wherein the devices include at least one device having states which are to be recorded, each local controller being responsive to the strobe indicator, for each register position connected to the at least one device, for loading into that register position a bit indicative of the current state of the at least one device.
- 20. The gaming system of claim 19, wherein the at least one device is a switch.
- 21. The gaming system of claim 13, wherein the output signal is comprised of bytes each having a length of (N)2x bits.
- 22. The gaming system of claim 21, wherein consecutive N-bit segments of a byte respectively address consecutive nodes.
- 23. The gaming system of claim 13, wherein all of the devices are associated with a single gaming machine.
- 24. A gaming system comprising:
a plurality of devices to be individually accessed including one or more first devices to be sensed and one or more second devices to be controlled, the devices being arranged in a string of M nodes with each node including up to N of the devices, wherein M and N are whole numbers greater than one; a host controller having a data out terminal and a data in terminal; a plurality of local controllers respectively associated with the nodes, each local controller having a data in terminal and a data out terminal and including a N-bit shift register with the register positions respectively connected to device output terminals to which the devices of the associated node may respectively be connected; the data out terminal of the host controller being connected to the data in terminal of a first node and the data in terminal of each of the other nodes being connected to the data out terminal of the preceding node in the string so that the string of nodes provides a (M×N)-bit shift register, and the data out terminal of a last node being connected to the data in terminal of the host controller; the host controller producing at its data out terminal an output signal comprising a serial digital data stream including M×N bits followed by a strobe indicator so that the M×N bits are sequentially loaded into and fill the (M×N)-bit register, each local controller being responsive to the strobe indicator for: (a) for each of its register positions connected to a first device, loading into that register position a bit indicative of the current state of the first device; and (b) for each of its register positions connected to a second device, latching the contents of that position to its associated device output terminal for controlling the associated second device.
- 25. The gaming system of claim 24, wherein each of the local controllers is a microcontroller.
- 26. The gaming system of claim 25, wherein N is 4.
- 27. The gaming system of claim 24, wherein the output signal comprises binary data.
- 28. The gaming system of claim 24, wherein each of the first devices is a switch and each of the second devices is an LED.
- 29. The gaming system of claim 24, wherein the contents of the (M×N)-bit register is returned to the data in terminal of the host controller in response to the loading into the (M×N)-bit register of an output signal from the host controller.
- 30. The gaming system of claim 24 wherein all of the devices are associated with a single gaming machine.
- 31. A method for individually accessing each of a plurality of devices in a gaming system comprising:
grouping the devices into M nodes, with each node including a local controller and up to N devices connected to the local controller, wherein M and N are whole numbers greater than one, connecting the local controllers in series with one another and with a data out terminal of a host controller so that the local controllers cooperate to define an (M×N)-bit shift register, providing a power line connected to all of the controllers and a common line connected to all of the controllers, and transmitting from the host controller data out terminal to all of the local controllers a serial digital data message including M×N bits respectively corresponding to the devices for individually controlling the devices.
- 32. The method of claim 31, wherein the data message terminates with a strobe indicator which causes each local controller to access the devices connected thereto in accordance with a portion of the data message corresponding to that local controller.
- 33. The method of claim 32, wherein the data message is a binary data message.
- 34. The method of claim 31, wherein the devices include at least one device having states which are to be sensed, and further comprising sensing the current state of the at least one device, and returning to the host controller from each node a signal indicative of the current state of the at least one device.
- 35. The method of claim 34, wherein each digital data message terminates with a strobe indicator, and each local controller responds to the strobe indicator for storing, for each at least one device connected thereto, a data bit corresponding to the current state of the at least one device, the stored bits being shifted from the register in response to the next data message from the host controller.
- 36. The method of claim 31, wherein the devices include at least one device having states which are to be controlled, and further comprising controlling the states of the at least one device in response to the data message.