This application claims the priority benefit of Taiwan application serial no. 111146512, filed on Dec. 5, 2022. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The invention relates to an electronic system and a setting method, and more particularly, to an electronic system and a setting method capable of setting multiple electronic devices.
In some cases, in a system, multiple electronic devices of the same type will perform cooperative operations based on different driving methods. That is, the electronic devices may perform different operations. However, when one of the electronic devices is damaged, the user needs to provide another electronic device and manually set the electronic device. For example, when the second electronic device among the electronic devices is damaged, the user needs to find a backup device capable of performing the same operation as the second electronic device. If the backup device capable of performing the same operation as the second electronic device cannot be found, the user has to manually set the backup device to serve as a new second electronic device. Therefore, how to provide an electronic system and a setting method for setting the electronic devices performing different driving methods is one of the research focuses of those skilled in the art.
The invention provides an electronic system and a setting method thereof capable of setting multiple electronic devices.
The invention provides an electronic system including a control source circuit, multiple switches, and multiple electronic devices. The switches are coupled with each other in series. The control source circuit provides a driving data string. The driving data string includes multiple driving data with different identification codes. A first terminal of a first switch among the switches is coupled to the control source circuit. A first terminal of a second switch among the switches is coupled to a second terminal of the first switch. A first electronic device among the electronic devices is coupled to the first terminal of the first switch and a control terminal of the first switch. A second electronic device among the electronic devices is coupled to the first terminal of the second switch and a control terminal of the second switch. The first electronic device turns off the first switch and receives a first driving data with a first identification code, and turns on the first switch after receiving the first driving data, so that the second electronic device receives a second driving data with a second identification code.
The invention provides a setting method for an electronic system. The electronic system includes a control source circuit, multiple switches, and multiple electronic devices. A first terminal of a first switch among the switches is coupled to the control source circuit, and a first terminal of a second switch among the switches is coupled to a second terminal of the first switch. The setting method includes the following. A first electronic device among the electronic devices is coupled to the first terminal of the first switch and a control terminal of the first switch, and a second electronic device among the electronic devices is coupled to the first terminal of the second switch and a control terminal of the second switch. A driving data string is provided by the control source circuit. The driving data string includes multiple driving data with different identification codes. The first switch is turned off and a first driving data with a first identification code is received by the first electronic device. The first switch is turned on by the first electronic device after receiving the first driving data, so that the second electronic device receives a second driving data with a second identification code.
Based on the above, the control source circuit provides the driving data with different identification codes. Based on the arrangement order of the electronic devices and the switching operations of the switches, in the setting method for the electronic system in the invention the driving data may be used to set the driving methods of the electronic devices. In this way, the invention may provide a highly convenient device setting solution.
In order for the aforementioned features and advantages of the invention to be more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
Some embodiments of the invention will be described in detail with reference to the accompanying drawings. For the referential element symbols in the following description, when the same element symbols appear in different drawings, they will be regarded as the same or similar elements. These embodiments are only a part of the invention, and do not reveal all possible implementation modes of the invention. Rather, these embodiments are only examples within the scope of the patent application of the invention.
Referring to
In the embodiment, the switches SW(1) to SW(n) are coupled in series with each other. Further, a first terminal of the switch SW(1) is coupled to the control source circuit 110. A first terminal of the switch SW(2) is coupled to a second terminal of the switch SW1. Similarly, a first terminal of the switch SW(n) is coupled to a second terminal of the switch SW(n-1) (not shown). In the embodiment, the switches SW(1) to SW(n) may be implemented by transistor switches or transmission gates.
In the embodiment, the electronic devices 120(1) to 120(n) are coupled to the first terminal of the corresponding switch among the switches SW(1) to SW(n) and a control terminal of the corresponding switch. Specifically, the electronic device 120(1) is coupled to the first terminal of the switch SW(1) and the control terminal of the switch SW(1). The electronic device 120(2) is coupled to the first terminal of the switch SW(2) and the control terminal of the switch SW(2), and so on. In the embodiment, the electronic device 120(1) turns off the switch SW(1) and receives the driving data DD(1) with the identification code ID(1). The electronic device 120(1) turns on the switch SW(1) after receiving the driving data DD(1). Therefore, the electronic device 120(2) may receive the driving data DD(2) with the identification code ID(2) through the turned-on switch SW(1). In the embodiment, the electronic devices 120(1) to 120(n) respectively include at least one of a fan device, a display device, and a light-emitting device.
After the switch SW(1) is turned on, the electronic device 120(1) stops receiving the driving data string DDS. Namely, the electronic device 120(1) does not receive driving data other than the driving data DD(1).
The electronic device 120(2) turns off the switch SW(2) and receives the driving data DD(2) with the identification code ID(2). The electronic device 120(2) turns on the switch SW(2) after receiving the driving data DD(2), and so on. After the switch SW(2) is turned on, the electronic device 120(2) stops receiving the driving data string DDS. Namely, the electronic device 120(2) does not receive driving data other than the driving data DD(2).
In the embodiment, the driving data DD(1) to DD(n) include different driving programs or driving protocols. Therefore, the electronic device 120(1) operates according to the driving data DD(1). The electronic device 120(2) operates according to the driving data DD(2). Similarly, the electronic device 120(n) operates according to the driving data DD(n).
It should be noted that the control source circuit 110 provides the driving data DD(1) to DD(n) with different identification codes. The electronic system 100 utilizes the driving data DD(1) to DD(n) to set the driving modes of the electronic device 120(1) to 120(n) based on the arrangement order of the electronic devices 120(1) to 120(n) and switching operations of the switches SW(1) to SW(n). In this way, the electronic system 100 may provide a simple device setting solution.
In the embodiment, the electronic system 100 uses the driving data DD(1) to DD(n) to perform re-address setting on the electronic devices 120(1) to 120(n).
In the embodiment, the driving data DD(1) to DD(n) are provided sequentially based on an order of the identification codes. For example, based on an order of the identification codes ID(1) to ID(n), the control source circuit 110 provides the driving data DD(1) first, then provides the driving data DD(2), and so on. The electronic devices 120(1) to 120(n) respectively have device codes. The device codes of the electronic devices 120(1) to 120(n) are determined according to the arrangement order of the electronic devices 120(1) to 120(n). For example, based on the arrangement order of the electronic devices 120(1) to 120(n), the electronic device 120(1) has a device code C(1). The electronic device 120(2) has a device code C(2). The electronic device 120(n) has a device code C(n).
For example, the arrangement order of the electronic devices 120(1) to 120(n) may be determined by connection modes of the electronic devices 120(1) to 120(n) and the switches SW(1) to SW(n). Thus, electronic device 120(1) has the device code C(1). The electronic device 120(2) has the device code C(2). The electronic device 120(n) has the device code C(n). For another example, a user may set the device codes C(1) to C(n) of the electronic devices 120(1) to 120(n).
The electronic devices 120(1) to 120(n) identify the identification codes according to the corresponding device codes. The device code C(1) corresponds to the identification code ID(1). The device code C(2) corresponds to the identification code ID(2). Similarly, the device code C(n) corresponds to the identification code ID(n). For example, the device code C(1) is equal to the identification code ID(1). The device code C(2) is equal to the identification code ID(2). The device code C(n) is equal to the identification code ID(n). Therefore, the electronic device 120(1) may identify the driving data DD(1) with the identification code ID(1) from the driving data string DDS based on the device code C(1), and receive the driving data DD(1). The electronic device 120(2) may identify the driving data DD(2) with the identification code ID(2) from the driving data string DDS based on the device code C(2), and receive the driving data DD(2), and so on.
In the embodiment, the number of switches of the electronic system 100 may be increased to expand a setting number of electronic devices.
Referring to
In step S120, the control source circuit 110 provides the driving data string DDS. The driving data string DDS includes the driving data DD(1) to DD(n). In step S130, the electronic device 120(1) (i.e., the first electronic device) turns off the switch SW(1) (i.e., the first switch) and receives the driving data DD(1). In step S140, after receiving the driving data DD(1), the electronic device 120(1) turns on the switch SW(1), so that the electronic device 120(2) (i.e., the second electronic device) receives the driving data DD(2). Implementation details of steps S110 to S140 have been clearly described in the embodiment of
Referring to
In the embodiment, the electronic device 220(1) includes a driver 221(1) and a switch controller 222(1). The driver 221(1) is coupled to the first terminal of the switch SW(1). The driver 221(1) controls the operation of the electronic device 220(1) according to the driving data DD(1). The switch controller 222(1) is coupled to the control terminal of the switch SW(1) and the driver 221(1). The switch controller 222(1) turns off the switch SW(1) in response to a first control signal SC1 from the driver 221(1). The switch controller 222(1) turns on the switch SW(1) in response to a second control signal SC2 from the driver 221(1).
For example, when receiving the driving data DD(1), the driver 221(1) provides the first control signal SC1. Therefore, the switch controller 222(1) provides a switch control signal SSW1 to the control terminal of the switch SW(1) in response to the first control signal SC1. The switch SW(1) is turned off in response to the switch control signal SSW1. When the driving data DD(1) is finished, the driver 221(1) provides the second control signal SC2. Therefore, the switch controller 222(1) provides a switch control signal SSW2 to the control terminal of the switch SW(1) in response to the second control signal SC2. The switch SW(1) is turned on in response to the switch control signal SSW2.
In some embodiments, the switch controller 222(1) may be disposed inside the driver 221(1).
In the embodiment, the electronic device 220(2) includes a driver 221(2) and a switch controller 222(2). The driver 221(2) is coupled to the first terminal of the switch SW(2). The driver 221(2) controls the operation of the electronic device 220(2) according to the driving data DD(2). The switch controller 222(2) is coupled to the control terminal of the switch SW(2) and the driver 221(2). The switch controller 222(2) turns off the switch SW(2) in response to the first control signal SC1 from the driver 221(2). The switch controller 222(2) turns on the switch SW(2) in response to the second control signal SC2 from the driver 221(2).
Similarly, in the embodiment, the electronic device 220(n) includes a driver 221(n) and a switch controller 222(n). The driver 221(n) is coupled to the first terminal of the switch SW(n). The driver 221(n) controls the operation of the electronic device 220(n) according to the driving data DD(n). The switch controller 222(n) is coupled to the control terminal of the switch SW(n) and the driver 221(n). The switch controller 222(n) turns off the switch SW(n) in response to the first control signal SC1 from the driver 221(n). The switch controller 222(n) turns on the switch SW(n) in response to the second control signal SC2 from the driver 221(n).
Referring to
The driver 221(1) of the electronic device 220(1) receives and identifies the driving data DD(1) with the identification code ID(1), and receives the driving data DD(1). When the trailer data T(1) in the driving data DD(1) is received, it means that the receiving of the driving data DD(1) has been completed. In other words, the driver 221(1) receives the driving program or driving protocol in the complete driver data DD(1). Therefore, the driver 221(1) provides the second control signal SC2. The switch controller 222(1) turns on the switch SW(1) in response to the second control signal SC2.
After the switch SW(1) is turned on, the driver 221(2) of the electronic device 220(2) receives and identifies the driving data DD(2) with the identification code ID(2), and receives the driving data DD(2). When the trailer data T(2) in the driving data DD(2) is received, it means that the receiving of the driving data DD(2) has been completed. In other words, the driver 221(2) receives the driving program or driving protocol in the complete driving data DD(2). Therefore, the driver 221(1) provides the second control signal SC2. The switch controller 222(1) turns on the switch SW(1) in response to the second control signal SC2.
The driver 221(n) of the electronic device 220(n) receives and identifies the driving data DD(n) with the identification code ID(n), and receives the drive data DD(n). When the trailer data T(n) in the driving data DD(n) is received, it means that the receiving of the driving data DD(1) is completed. In other words, the driver 221(n) receives the driving program or driving protocol in the complete driving data DD(n). Therefore, the electronic system 100 completes the setting of the drivers 221(1) to 221(n).
Referring to
In step S230, an mth electronic device turns off an mth switch and receives an mth driving data with an mth identification code. In the embodiment, the electronic device 120(1) (i.e., m=1) turns off the switch SW(1) and receives the driving data DD(1). In step S240, after receiving the driving data DD(1), it is determined whether the electronic device 120(1) is the last electronic device. When it is determined that the electronic device 120(1) is not the last electronic device, the electronic device 120(1) turns on the switch SW(1) in step S250. Therefore, the electronic device 120(2) (i.e., m=2) turns off the switch SW(2) and receives the driving data DD(2) in step S230. In step S240, after receiving the driving data DD(2), it is determined whether the electronic device 120(2) is the last electronic device. When it is determined that the electronic device 120(2) is not the last electronic device, the electronic device 120(2) turns on the switch SW(2) in step S250, and so on.
In step S240, the electronic device 120(n) (i.e., m=n) turns off the switch SW(n) and receives the driving data DD(n). In step S240, after receiving the driving data DD(n), it is determined whether the electronic device 120(n) is the last electronic device. When it is determined that the electronic device 120(n) is the last electronic device, the setting method ends in step S240.
Referring to
In summary, the control source circuit provides the driving data with different identification codes. Based on the arrangement order of the electronic devices and the switching operations of the switches, the setting method of the invention is adapted for the electronic system to use the driving data to perform different settings to the driving methods of the electronic devices. set up. In this way, the invention may provide a highly convenient device setting solution. In addition, the electronic system may perform different settings on the electronic devices according to actual needs. The electronic devices may have the same design and initial settings when being manufactured. In this way, the design cost of the electronic devices may be reduced.
It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention covers modifications and variations provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
111146512 | Dec 2022 | TW | national |