This application claims priority of Taiwanese Application No. 102133217, filed on Sep. 13, 2013.
1. Field of the Invention
The present invention relates to a method and system of adaptive control.
2. Description of the Related Art
A conventional light emitting apparatus is operative generally by connecting electrically a main circuit board thereof to a control circuit of a switch. When one or more light emitting apparatuses are to be controlled by a plurality of switches, each of the switches requires electrical connection to at least a corresponding one of the light emitting apparatuses that is to be controlled thereby. In some particular situations, cables used to transmit electric power should be further distinguished and separated from cables used to transmit control signals. That is to say, the more the switches and the light emitting apparatuses are, the more complicated the configuration of the cables would be. As a result, it may require additional time for installing the light emitting apparatuses and for wiring the cables, and it is difficult to repair the light emitting apparatuses. Moreover, when an additional light emitting apparatus is required, besides complicated installation thereof, a considerable amount of cables may be wasted.
To solve the abovementioned problem, power line carrier (PLC) has been developed and employed to simultaneously transmit/receive electric power, control signals and data among electronic devices via a multi-carrier channel, such that an amount of the cables used in a light emitting system including a plurality of the light emitting apparatus may be decreased. However, since all the signals and data are transmitted via the same multi-carrier channel, in order to operate correctly and smoothly the light emitting system, communication protocols among the electronic devices and designs of circuits for coupling the electronic devices become relatively complicated, thereby causing additional cost and repairing fee of the light emitting system. Furthermore, if different electronic devices are to be added into the light emitting system, current usage and setting of the multi-carrier channel should be fully comprehended in advance so as to allocate frequency bands thereof and to correspondingly adjust communication protocol for the electronic devices that are to be added, thereby resulting in inconvenience on installation and expansion of the light emitting system.
Therefore, an object of the present invention is to provide an adaptive control system capable of alleviating the above mentioned drawbacks of the prior art.
Accordingly, an adaptive control system of the present invention is for operatively communicating a plurality of electronic devices through a multi-carrier channel that has a plurality of frequency bands.
The adaptive control system includes a plurality of coupling circuits. Each of the coupling circuits is adapted to connect electrically a respective one of the electronic devices to the multi-carrier channel, and is operable to search for an idle one of the frequency bands of the multi-carrier channel and to enable the respective one of the electronic devices to communicate with a corresponding one of the electronic devices via the idle one of the frequency bands of the multi-carrier channel.
Another object of the present invention is to provide an adaptive control method capable of alleviating the above mentioned drawbacks of the prior art.
According to another aspect, an adaptive control method of the present invention is for operatively communicating a controlling device and a controlled device through a multi-carrier channel that has a plurality of frequency bands. The method is implemented using a coupling circuit which connects electrically the controlling device to the multi-carrier channel.
The method includes the following steps of:
(a) searching, by the coupling circuit, for signals in the multi-carrier channel under one of the frequency bands;
(b) determining, by the coupling circuit, whether one of the signals in step (a) is a noise;
(c) using the coupling circuit, determining that the frequency band found in step (a) is an idle frequency band when the determination made in step (b) is affirmative, and repeating steps (a) and (b) with another one of the frequency bands when otherwise;
(d) using the coupling circuit, receiving a control signal from the controlling device and transmitting a signal associated with the control signal to the controlled device through the multi-carrier channel under the idle frequency band determined in step (c); and
(e) enabling, by the coupling circuit, the controlling device to operatively communicate with the controlled device in response to receipt of a confirmation signal from the controlled device.
Other features and advantages of the present invention will become apparent in the following detailed description of the preferred embodiment with reference to the accompanying drawings, of which:
Before the present invention is described in greater detail, it should be noted that like elements are denoted by the same reference numerals throughout the disclosure.
Referring to
In this preferred embodiment, the filter unit 30 of each of the coupling circuits 3 includes a digital filter 32 and an analog-to-digital converter 33. Alternatively, the filter unit 30 may be an analog filter (as shown in
In actual implementation, electric power outputted by a power source (not shown) is transmitted to the electronic devices 21-24 via the multi-carrier channel 1. Generally, the power source outputs the electric power of either alternating current (AC) or direct current (DC) with a frequency of about 400 Hz. The low-pass filter 38 of the coupling circuit 3 is configured to allow the electric power (i.e., the low-frequency signal) from the multi-carrier channel 1 to pass therethrough, such that the electric power may be transmitted to the respective one of the electronic devices 21-24 for operation.
When a user uses the first controlling device 21 to turn on/off the first controlled device 22 or perform other operation of the first controlled device 22, the filter unit 30 and the peak detector 31 of a corresponding one of the coupling circuits 3 connected electrically to the first controlling device 21 will cooperatively search for an idle one of the frequency bands in the multi-carrier channel 1 that is yet to be occupied (detailed description of a procedure for searching for an idle frequency band will be further demonstrated in the following). After the idle frequency band is found, the modulator 35 modulates a control signal received from the first controlling device 21 into a modulated signal. Subsequently, the direct digital synthesizer 36 generates a synthesized signal from the modulated signal that is received from the modulator 35. Afterwards, the signal amplifier 37 amplifies the synthesized signal received from the direct digital synthesizer 36 to result in an amplified signal, and transmits the amplified signal to the multi-carrier channel 1 via the idle frequency band.
As for the corresponding one of the coupling circuits 3 connected electrically to the first controlled device 22, the analog-to-digital converter 33 of the filter unit 30 receives, from the multi-carrier channel 1 the amplified signal in an analog form, and digitizes the amplified signal into a digital signal. Then, the digital filter 32 of the filter unit 30 performs digital filtering on the digital signal received from the analog-to-digital converter 33, and outputs a filtered signal to the demodulator 34. Ultimately, the demodulator 34 demodulates the filtered signal to result in an operation signal that is associated with the control signal and that enables the first controlled device 22 to perform relevant operation.
Referring further to
For example, in the case that the frequency signals are binary digital signals, the peak detector 31 is configured to determine whether the frequency signals are noise by determining if first two digits of most significant bit (MSB) of each of the binary digital signals are zero. If the first two digits of the MSB are zero, which means the binary digital signal is a noise, the frequency band set up by the digital filter 32 in step S1 will thus be defined as the idle frequency band. If either of the first two digits of the MSB is not zero, which means the binary digital signal is a valid signal (not noise), the current frequency band is considered as being occupied, and the digital filter 32 will repeat step S1 to set up another frequency band (e.g., 20 kHz˜30 kHz) and to search and pass all frequency signals within the frequency band thus set.
It is understood that energy detection of the signal may be applied as an alternative means to decide whether one of the frequency bands is idle in other preferred embodiments of the present invention. For example, when it is detected that the amplified signal to be transmitted to the multi-carrier channel 1 has energy significantly greater than average energy of the frequency signals received under the frequency band set up in step S1 (or when it is detected that the average energy of the frequency signals is below a predetermined value), the frequency band is defined as the idle frequency band. It is further understood that step S1 of setting up the frequency band and step S2 of determining whether the frequency signals are noise may be adapted according to actual situations and should not be limited to this preferred embodiment.
After the idle frequency band is found in step S2, the coupling circuit 3 is then operable to execute step S3 in response to receipt of the control signal from the first controlling device 21.
In step S3, the coupling circuit 3 that is connected electrically to the first controlling device 21 is operable to process the control signal into the amplified signal and to transmit the amplified signal to a corresponding one of the coupling circuits 3 that is connected electrically to the first controlled devices 22 via the multi-carrier channel 1 under the idle frequency band.
After receiving the amplified signal, the coupling circuit 3 connected electrically to the first controlled device 22 is operable to process the amplified signal into the operation signal for the first controlled device 22 to perform relevant operation, and the first controlled device 22 may transmit a confirmation signal back to the coupling circuit 3 that is connected electrically to the first controlling device 21. In response to receipt of the conformation signal from the first controlled device 22, the coupling circuit 3 connected electrically to the first controlling device 21 enables the first controlling device 21 to operatively communicate with the first controlled device 22. On the other hand, when the coupling circuit 3 connected electrically to the first controlling device 21 fails to receive the confirmation signal from the first controlled device 22, the coupling circuit 3 is operable to repeat steps S1 to S3 with another one of the frequency bands. Alternatively, as shown in
By virtue of the adaptive control system and method according to the present invention, an idle one of the frequency bands that is yet to be occupied may be effectively and automatically found in the multi-carrier channel 1 as a communication channel between two of the electronic devices 21-24. Moreover, if a new electronic device (not shown) is to be added, another idle one of the frequency bands for signal transmission to the new electronic device may be effectively and automatically found in the multi-carrier channel 1. Thus, additional time to comprehend the current conditions of the multi-carrier channel 1 as well as to re-allocate the frequency bands of the multi-carrier channel 1 are not required, thereby improving convenience on installation of a new electronic device.
In addition, various types of electronic devices adopting the adaptive control system of the present invention may be easily integrated by the multi-carrier channel 1, and operative communication between two electronic devices may be easily achieved. Furthermore, using the idle frequency band of the multi-carrier channel 1 and signal encoding/decoding techniques may independently transmit signals between two electronic devices, alleviating signal interference.
While the present invention has been described in connection with what is considered the most practical and preferred embodiment, it is understood that this invention is not limited to the disclosed embodiment but is intended to cover various arrangements included within the spirit and scope of the broadest interpretation so as to encompass all such modifications and equivalent arrangements.
Number | Date | Country | Kind |
---|---|---|---|
102133217 | Sep 2013 | TW | national |