This application claims the benefit of priority to Taiwan Patent Application No. 112124193, filed on Jun. 29, 2023. The entire content of the above identified application is incorporated herein by reference.
Some references, which may include patents, patent applications and various publications, may be cited and discussed in the description of this disclosure. The citation and/or discussion of such references is provided merely to clarify the description of the present disclosure and is not an admission that any such reference is “prior art” to the disclosure described herein. All references cited and discussed in this specification are incorporated herein by reference in their entireties and to the same extent as if each reference was individually incorporated by reference.
The present disclosure relates to a multi-device cascade system, and more particularly to a single-wire multi-device cascade addressing system.
In a conventional multi-device cascade addressing system, a plurality of devices are arranged sequentially and connected in series with each other. A controller of the conventional multi-device cascade addressing system must be connected to the plurality of devices through a plurality of additional transmission wires for controlling operation time of the plurality of devices, which incurs additional wire costs. In various applications of the plurality of devices, such as a driving application of a plurality of light-emitting diodes (LEDs) included in the plurality of devices, information such as command information and individual device information of each of the plurality of devices are transmitted between the plurality of devices. When the command information is transmitted between the plurality of devices of the conventional multi-device cascade addressing system, each of the plurality of devices must individually transmit the command information once, such that the plurality of devices need to collectively transmit the command information for multiple times, resulting in unnecessary waste of bandwidth.
In response to the above-referenced technical inadequacies, the present disclosure provides a single-wire multi-device cascade addressing system. The single-wire multi-device cascade addressing system includes a controller and a plurality of devices. The plurality of devices are arranged sequentially. A first one of the plurality of devices is defined as a first device. A last one of the plurality of devices is defined as a final device. An input terminal of the first device is connected to an output terminal of the controller. An input terminal of each of the plurality of devices except for the first device is connected to an output terminal of a previous one of the plurality of devices. An output terminal of the final device is connected to an output terminal of the controller. The input terminal of the first device receives an addressing command packet from the output terminal of the controller. The first device sets a unique identification code of the first device according to an individual device identification address in the addressing command packet from the controller. The first device adjusts the individual device identification address in the addressing command packet from the controller. The first device outputs the addressing command packet that is adjusted to one of the plurality of devices that is arranged next to the first device. The input terminal of each of the plurality of devices except for the first device receives the addressing command packet from the output terminal of a previous one of the plurality of devices. Each of the plurality of devices except for the first device sets the unique identification code thereof according to the individual device identification address in the addressing command packet from the previous one of the plurality of devices. Each of the plurality of devices except for the first device and the final device adjusts the individual device identification address of the addressing command packet from the previous one of the plurality of devices, and outputs the addressing command packet that is adjusted to a next one of the plurality of devices. The final device directly transmits the addressing command packet from the previous one of the plurality of devices to the controller, or adjusts the addressing command packet from the previous one of the plurality of devices and outputs the addressing command packet that is adjusted to the controller.
In one of the possible or preferred embodiments, the controller compares the addressing command packet that is outputted to the first device from the controller with the addressing command packet that is received from the final device by the controller to determine the individual device identification addresses respectively received by the plurality of devices and to determine an arrangement sequence and a number of the plurality of devices.
In one of the possible or preferred embodiments, the output terminal of each of the plurality of devices that is not outputting the addressing command packet to the next one of the plurality of devices or the controller is in an off-state.
In one of the possible or preferred embodiments, after each of the plurality of devices except for the final device adjusts the individual device identification address of the addressing command packet from the previous one of the plurality of devices, the output terminal of each of the plurality of devices except for the final device is switched from the off-state to an on-state and outputs the addressing command packet that is adjusted to the input terminal of the next one of the plurality of devices.
In one of the possible or preferred embodiments, after the final device adjusts the individual device identification address of the addressing command packet, the output terminal of the final device is switched from the off-state to the on-state and outputs the addressing command packet that is adjusted to an input terminal of the controller. The output terminals of the plurality of devices are sequentially switched from the off-state to the on-state. An order of switching the output terminals of the plurality of devices from the off-state to the on-state depends on an arrangement sequence of the plurality of devices.
In one of the possible or preferred embodiments, each of the plurality of devices sets the individual device identification address in the addressing command packet from the previous one of the plurality of devices as the unique identification code thereof.
In one of the possible or preferred embodiments, each of the plurality of devices counts up the individual device identification address in the addressing command packet from the previous one of the plurality of devices to increase the individual device identification address once. Each of the plurality of devices sets the individual device identification address that is increased as the unique identification code thereof.
In one of the possible or preferred embodiments, the addressing command packet received by each of the plurality of devices has N bit values, wherein N is an integer value. M bit values among the N bit values in the addressing command packet received by each of the plurality of devices represent the individual device identification address used for setting the unique identification code of each of the plurality of devices, wherein M is an integer value.
In one of the possible or preferred embodiments, the first device adjusts the M bit values of the addressing command packet from the controller that represent the individual device identification address used for setting the unique identification code of the first device. The first device outputs the addressing command packet that is adjusted to one of the plurality of devices that is arranged next to the first device.
In one of the possible or preferred embodiments, each of the plurality of devices except for the first device and the final device adjusts the M bit values of the addressing command packet from the previous one of the plurality of devices, the M bit values represent the individual device identification address used for setting the unique identification code of each of the plurality of devices. Each of the plurality of devices except for the first device and the final device outputs the addressing command packet having the M bit values that are adjusted to the next one of the plurality of devices. The final device outputs the addressing command packet having the M bit values that are adjusted to the controller.
In one of the possible or preferred embodiments, the first device counts up the M bit values of the addressing command packet from the controller that represent the individual device identification address used for setting the unique identification code of the first device to increase the M bit values once. The first device outputs the addressing command packet having the M bit values that are counted up to one of the plurality of devices that is arranged next to the first device.
In one of the possible or preferred embodiments, each of the plurality of devices except for the first device counts up the M bit values of the addressing command packet from the previous one of the plurality of devices that represent the individual device identification address used for setting the unique identification code of each of the plurality of devices. Each of the plurality of devices except for the first device and the final device outputs the addressing command packet having the M bit values that are counted up to the next one of the plurality of devices. The final device outputs the addressing command packet having the M bit values that are counted up to the controller.
In one of the possible or preferred embodiments, the addressing command packet received by each of the plurality of devices has a pulse width modulation signal. Working periods of some of a plurality of waveforms of the pulse width modulation signal represent M bit values of the individual device identification address, wherein M is an integer value. Each of the M bit values is a bit value of “0” or “1”. The bit value of “0” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that is not larger than a first working period. The bit value of “1” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that is not smaller than a second working period.
In one of the possible or preferred embodiments, the addressing command packet received by each of the plurality of devices has a pulse width modulation signal. Working periods of some of a plurality of waveforms of the pulse width modulation signal represent M bit values of the individual device identification address, wherein M is an integer value. Each of the M bit values is a bit value of “0” or “1”. The bit value of “0” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that falls within a first working period range. The bit value of “1” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that falls within a second working period range.
In one of the possible or preferred embodiments, the addressing command packet received by each of the plurality of devices has a pulse width modulation signal. Working periods of some of a plurality of waveforms of the pulse width modulation signal represent M bit values of the individual device identification address, wherein M is an integer value. Each of the M bit values is a bit value of “0” or “1”. The bit value of “0” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that is equal to a first working period. The bit value of “1” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that is equal to a second working period.
In one of the possible or preferred embodiments, before each of the plurality of devices receives the addressing command packet, the unique identification code of each of the plurality of devices is a default identification code. After each of the plurality of devices receives the addressing command packet, each of the plurality of devices uses the individual device identification address in the addressing command packet to replace the default identification code as the unique identification code of each of the plurality of devices for resetting the unique identification code of each of the plurality of devices.
In one of the possible or preferred embodiments, the addressing command packet received by each of the plurality of devices not only has the individual device identification address, but also has an identification code removing command. When each of the plurality of devices receives the addressing command packet, each of the plurality of devices removes the default identification code according to the identification code removing command from the addressing command packet, and each of the plurality of devices sets the individual device identification address in the addressing command packet as the unique identification code of each of the plurality of devices for resetting the unique identification code of each of the plurality of devices.
In one of the possible or preferred embodiments, the addressing command packet received by each of the plurality of devices has N bit values, wherein N is an integer value. P bit values among the N bit values of the addressing command packet represent the identification code removing command for each of the plurality of devices, wherein P is an integer value.
In one of the possible or preferred embodiments, the addressing command packet has a pulse width modulation signal. Working periods of some of a plurality of waveforms of the pulse width modulation signal represent the P bit values of the individual device identification address. Each of the P bit values is a bit value of “0” or “1”. The bit value of “0” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that falls within a first working period range. The bit value of “1” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that falls within a second working period range.
In one of the possible or preferred embodiments, each of the plurality of devices includes one or more light-emitting components.
As described above, the present disclosure provides the single-wire multi-device cascade addressing system. Only one original data transmission wire but not a plurality of clock signal transmission wires is disposed between the plurality of devices and the controller, thereby saving circuit costs. Under this condition, each of the plurality of devices of the single-wire multi-device cascade addressing system of the present disclosure is still able to be efficiently addressed. After the plurality of devices are addressed, the controller of the single-wire multi-device cascade addressing system of the present disclosure is able to transmit the control command packet for issuing the commands respectively for the plurality of devices, and the plurality of devices operate respectively according to the commands.
These and other aspects of the present disclosure will become apparent from the following description of the embodiment taken in conjunction with the following drawings and their captions, although variations and modifications therein may be affected without departing from the spirit and scope of the novel concepts of the disclosure.
The described embodiments may be better understood by reference to the following description and the accompanying drawings, in which:
The present disclosure is more particularly described in the following examples that are intended as illustrative only since numerous modifications and variations therein will be apparent to those skilled in the art. Like numbers in the drawings indicate like components throughout the views. As used in the description herein and throughout the claims that follow, unless the context clearly dictates otherwise, the meaning of “a”, “an”, and “the” includes plural reference, and the meaning of “in” includes “in” and “on”. Titles or subtitles can be used herein for the convenience of a reader, which shall have no influence on the scope of the present disclosure.
The terms used herein generally have their ordinary meanings in the art. In the case of conflict, the present document, including any definitions given herein, will prevail. The same thing can be expressed in more than one way. Alternative language and synonyms can be used for any term(s) discussed herein, and no special significance is to be placed upon whether a term is elaborated or discussed herein. A recital of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification including examples of any terms is illustrative only, and in no way limits the scope and meaning of the present disclosure or of any exemplified term. Likewise, the present disclosure is not limited to various embodiments given herein. Numbering terms such as “first”, “second” or “third” can be used to describe various components, signals or the like, which are for distinguishing one component/signal from another one only, and are not intended to, nor should be construed to impose any substantive limitations on the components, signals or the like.
Reference is made to
The single-wire multi-device cascade addressing system of the embodiment of the present disclosure includes a plurality of devices (such as, but not limited to a plurality of devices 101 to 103 as shown in
For example, each or any one of the plurality of devices included in the single-wire multi-device cascade addressing system of the embodiment of the present disclosure may be a light-emitting device including one or more light-emitting components such as light-emitting diodes, but the present disclosure is not limited thereto. It should be understood that, the number and types of the plurality of devices included in the single-wire multi-device cascade addressing system, and the number of the light-emitting components in each of the plurality of devices, may depend on actual requirements.
As shown in
An input terminal DI of the first device 101 is connected to an output terminal of the controller 900. The input terminal DI of the device 102 is connected to an output terminal DO of the first device 101. The input terminal DI of the final device 103 is connected to the output terminal DO of the device 102. The output terminal DO of the final device 103 is connected to an input terminal of the controller 900.
As shown in
The output terminal DO of each of the plurality of devices that is not outputting the addressing command packet to a next one of the plurality of devices 101 to 103 or the controller 900 may be in an off-state as shown in
When the controller 900 intends to address the plurality of devices 101 to 103, the output terminal of the controller 900 outputs the addressing command packet to the input terminal DI of the first device 101.
When the input terminal DI of the first device 101 receives the addressing command packet from the output terminal of the controller 900, the first device 101 sets the unique identification code ID of the first device 101 according to the individual device identification address in the addressing command packet from the controller 900.
In detail, the first device 101 may set the individual device identification address in the addressing command packet from the controller 900 as the unique identification code ID of the first device 101. Alternatively, the first device 101 may count up the individual device identification address in the addressing command packet from the controller 900 to increase the individual device identification address once, and may set the increased individual device identification address as the unique identification code ID of the first device 101.
The first device 101 may adjust the individual device identification address in the addressing command packet from the controller 900. After the first device 101 adjusts the individual device identification address in the addressing command packet from the controller 900, the output terminal DO of the first device 101 is switched from the off-state as shown in
For example, the first device 101 uses the individual device identification address such as “01” as shown in
Alternatively, the first device 101 may count up the individual device identification address such as “00” in the addressing command packet from the controller 900 once to form the increased individual device identification address such as “01”, and may set the increased individual device identification address such as “01” as the unique identification code ID of the first device 101. Further, the first device 101 may count up the unique identification code ID of the first device 101 such as “01” once to form the increased unique identification code ID such as “02”. The first device 101 may output the addressing command packet having the individual device identification address that is the same as the increased unique identification code ID such as “02” to the device 102 that is arranged next to the first device 101.
When the input terminal DI of the device 102 that is a second one of the plurality of devices 101 to 103 receives the addressing command packet from the output terminal DO of the first device 101, the device 102 sets the unique identification code ID of the device 102 according to the individual device identification address in the addressing command packet from the first device 101.
For example, the device 102 uses the individual device identification address such as “02” as shown in
The device 102 may adjust the individual device identification address in the addressing command packet from the first device 101. After the device 102 adjusts the individual device identification address in the addressing command packet from the first device 101, the output terminal DO of the device 102 is switched from the off-state as shown in
For example, the device 102 counts up the unique identification code ID of the device 102 such as “02” to form the increased unique identification code ID such as “03”. The device 102 outputs the addressing command packet having the individual device identification address that is the same as the increased unique identification code ID such as “03” to the final device 103 that is arranged next to the device 102.
When the input terminal DI of the final device 103 that is the last one of the plurality of devices 101 to 103 receives the addressing command packet from the output terminal DO of the device 102, the final device 103 sets the unique identification code ID of the final device 103 according to the individual device identification address in the addressing command packet from the device 102.
For example, the final device 103 replaces the default identification code FF of the final device 103 with the individual device identification address such as “03” as shown in
After the final device 103 sets the unique identification code ID of the final device 103, the output terminal DO of the final device 103 may be switched from the off-state as shown in
The output terminals DO of the plurality of devices 101 to 103 may be sequentially switched from the off-state to the on-state. An order of switching the output terminals of the plurality of devices 101 to 103 from the off-state to the on-state may depend on an arrangement sequence of the plurality of devices. Under this condition, an order of addressing the plurality of devices 101 to 103 depends on the arrangement sequence of the plurality of devices.
The controller 900 compares the individual device identification address of the addressing command packet that is outputted to the first device 101 from the controller 900 with the individual device identification address of the addressing command packet that is received from the final device 103 by the controller 900, to determine the individual device identification addresses respectively received by the plurality of devices 101 to 103 and to determine the arrangement sequence and the number of the plurality of devices 101 to 103.
Reference is made to
The addressing command packet that is received from the controller 900 by the input terminal DI of the first device 101 may not only have the individual device identification address of the unique identification code ID (1) of the first device 101, but also have an identification code removing command CMD, as shown in
When the addressing command packet that is received from the controller 900 by the first device 101 has the identification code removing command CMD, the first device 101 removes the default identification code FF of the first device 101 according to the identification code removing command CMD in the addressing command packet from the controller 900. The first device 101 sets the individual device identification address in the received addressing command packet (or the individual device identification address that is counted up by the first device 101 as described above) as the unique identification code ID (1) of the first device 101. At this time, resetting of the unique identification code ID (1) of the first device 101 is completed.
The addressing command packet that is outputted from the output terminal DO of the first device 101 to the input terminal DI of the device 102 may not only have the individual device identification address representing the unique identification code ID(2) of the device 102, but also have the identification code removing command CMD, as shown in
When the addressing command packet that is received from the first device 101 by the device 102 has the identification code removing command CMD, the device 102 removes the default identification code FF of the device 102 according to the identification code removing command CMD in the received addressing command packet. The device 102 sets the individual device identification address in the received addressing command packet (or the individual device identification address that is counted up by the first device 101 as described above) as the unique identification code ID (2) of the device 102. At this time, resetting of the unique identification code ID (2) of the device 102 is complete.
The addressing command packet that is outputted from the output terminal DO of the first device 102 to the input terminal DI of the final device 103 may not only have the individual device identification address representing the unique identification code ID(3) of the device 102, but also have the identification code removing command CMD, as shown in
When the addressing command packet that is received from the device 102 by the final device 103 has the identification code removing command CMD, the final device 103 removes the default identification code FF of the final device 103 according to the identification code removing command CMD in the received addressing command packet. The final device 103 sets the individual device identification address in the received addressing command packet (or the individual device identification address that is counted up by the device 102 as described above) as the unique identification code ID (3) of the final device 103. At this time, resetting of the unique identification code ID (3) of the final device 103 is completed.
Reference is made to
The addressing command packet received by each of the plurality of devices 101 to 103 as shown in
The first device 101 may set the unique identification code ID(1) of the first device 101 according to the M bit values among the N bit values of the addressing command packet from the controller 900. In addition, the first device 101 adjusts the M bit values among the N bit values of the addressing command packet from the controller 900, and outputs the addressing command packet having the adjusted M bit values to the device 102 that is arranged next to the first device 101.
For example, the first device 101 sets the individual device identification address (such as a bit value of “01” as shown in
Alternatively, the first device 101 may count up the individual device identification address (such as a bit value of “00”) in the addressing command packet from the controller 900 to increase the individual device identification address once. The first device 101 may set the increased individual device identification address (such as a bit value of “01”) as the unique identification code ID(1) of the first device 101. Further, the first device 101 may count up the unique identification code ID(1) of the first device 101 (such as a bit value of “01”) to increase the unique identification code ID(1), and may output the addressing command packet having the individual device identification address that is the same as the increased unique identification code ID(1) (such as a bit value of “10”) to the device 102 that is arranged next to the first device 101.
The device 102 that is the second one of the plurality of devices 101 to 103 sets the unique identification code ID(2) of the device 102 according to the M bit values among the N bit values in the addressing command packet from the first device 101. In addition, the device 102 adjusts the M bit values among the N bit values in the addressing command packet from the first device 101, and outputs the addressing command packet having the adjusted M bit values to the final device 103 that is arranged next to the device 102.
For example, the device 102 sets the individual device identification address (such as the bit value of “10”) in the addressing command packet from the first device 101 as the unique identification code ID(2) of the device 102. In addition, the device 102 counts up the individual device identification address in the addressing command packet from the first device 101 to increase the individual device identification address once. The device 102 outputs the addressing command packet having the increased individual device identification address (such as a bit value of “11”) to the final device 103 that is arranged next to the device 102.
The final device 103 that is a third one of the plurality of devices 101 to 103 sets the unique identification code ID(3) of the final device 103 according to the M bit values among the N bit values in the addressing command packet from the device 102 that is the second one of the plurality of devices 101 to 103. For example, the final device 103 sets the individual device identification address in the addressing command packet from the device 102 (such as a bit value of “11”) as the unique identification code ID(3) of the final device 103.
The final device 103 may adjust the M bit values among the N bit values in the addressing command packet from the device 102, and may output the addressing command packet having the adjusted M bit values to the controller 900. Alternatively, the final device 103 may not adjust the M bit values among the N bit values in the addressing command packet from the device 102, and may directly transmit the addressing command packet from the device 102 to the controller 900.
The controller 900 compares the bit values of the individual device identification address of the addressing command packet that is outputted to the first device 101 from the controller 900 with the bit values of the individual device identification address of the addressing command packet that is received from the final device 103 by the controller 900, to determine the individual device identification addresses respectively received by the plurality of devices 101 to 103 and to determine the arrangement sequence and the number of the plurality of devices 101 to 103. At this time, addressing of the plurality of devices 101 to 103 is completed.
After the above-mentioned operations are performed, the controller 900 may output a control command packet having a plurality of bit values that represent the unique identification code ID, operational control information and control commands that are used for the plurality of devices 101 to 103 to the first device 101. The control command packet is sequentially transmitted from the first device 101 to the final device 103. Each of the plurality of devices 101 to 103 may identify the bit values in the received control command packet to determine which parts of the operational control information and which one of the control commands in the received control command packet are used for itself, and operates according to the parts of the operational control information and the one of the control commands.
Reference is made to
The addressing command packet received by each of the plurality of devices 101 to 103 as described above may have the pulse width modulation signal. The pulse width modulation signal has a plurality of waveforms. Working periods of at least some of the plurality of waveforms of the pulse width modulation signal respectively represent the M bit values of the individual device identification address.
Working periods of some of the plurality of waveforms of the pulse width modulation signal in the addressing command packet received by each of the plurality of devices 101 to 103 may respectively represent the P bit values of the identification code removing command CMD.
For example, the bit value of “0” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that is not larger than a first working period (such as, but not limited to 25%), and the bit value of “1” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that is not smaller than a second working period (such as, but not limited to 75%).
Alternatively, the bit value of “0” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that is equal to the first working period, and the bit value of “1” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that is equal to the second working period.
Alternatively, the bit value of “0” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that falls within a first working period range, and the bit value of “1” is represented by the working period of one of the plurality of waveforms of the pulse width modulation signal that falls within a second working period range.
In conclusion, the present disclosure provides the single-wire multi-device cascade addressing system. Only one original data transmission wire, instead of a plurality of clock signal transmission wires, is disposed between the plurality of devices and the controller, thereby saving circuit costs. Under this condition, each of the plurality of devices of the single-wire multi-device cascade addressing system of the present disclosure is still able to be efficiently addressed. After the plurality of devices are addressed, the controller of the single-wire multi-device cascade addressing system of the present disclosure is able to transmit the control command packet for issuing the commands respectively for the plurality of devices, and the plurality of devices operate respectively according to the commands.
The foregoing description of the exemplary embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching.
The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others skilled in the art to utilize the disclosure and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those skilled in the art to which the present disclosure pertains without departing from its spirit and scope.
Number | Date | Country | Kind |
---|---|---|---|
112124193 | Jun 2023 | TW | national |