APPARATUS AND METHOD FOR DETERMINING THE VALIDITY OF AN INFRARED SIGNAL OF A REMOTE-CONTROL DEVICE CROSS-REFERENCE TO RELATED APPLICATIONS
20230368655 · 2023-11-16
Assignee
Inventors
- Cheng Yung Kei (Kowloon, HK)
- Yau Tai Wai (Kowloon, HK)
- Lui Kit (Kowloon, HK)
- Leung Hon Wan (Kowloon, HK)
- Tse Ho Nin (Kowloon, HK)
- Ng Ming Lam (Kowloon, HK)
Cpc classification
International classification
Abstract
Apparatus and method for determining the validity of an infrared signal of a remote-control device. An infrared signal comprising pulses representing data corresponding to a function of a controllable target device is received from a remote-control device. The received infrared signal is passed through a capacitor of the apparatus such that, for each pulse of the infrared signal, the capacitor is charged and subsequently discharged. The capacitor discharge time associated with each pulse of the infrared signal is measured by a processor of the apparatus to establish a discharge sequence. The processor of the apparatus compares the established discharge sequence with a plurality of pre-determined valid discharge patterns and determine the validity of the received infrared signal based on the outcome of the comparison of the established discharge sequence with the plurality of pre-determined discharge patterns.
Claims
1. A method of determining the validity of an infrared signal of a remote-control device comprising the steps of: receiving from the remote-control device an infrared signal comprising pulses representing data corresponding to a function of a controllable target device; passing the received infrared signal through a capacitor such that, for each pulse of the infrared signal, the capacitor is charged and subsequently discharged; measuring the capacitor discharge time associated with each pulse of the infrared signal to establish a discharge sequence; comparing the established discharge sequence with a plurality of pre-determined valid discharge patterns; and determining the validity of the received infrared signal based on the outcome of the comparison of the established discharge sequence with the plurality of pre-determined discharge patterns.
2. The method of claim 1, further comprising the steps of decoding the infrared signal and storing the decoded data of the infrared signal in memory upon finding a match between the established discharge sequence and a pre-determined valid discharge pattern of the plurality of pre-determined valid discharge patterns.
3. The method of claim 1, further comprising the step of prompting a user to retransmit the infrared signal of the remote-control device upon failing to find a match between the discharge sequence and a pre-determined valid discharge pattern of the plurality of pre-determined valid discharge patterns.
4. The method of claim 1, further comprising the step of demodulating the infrared signal before passing the infrared signal through the capacitor.
5. The method of claim 1, wherein each pre-determined valid discharge pattern of the plurality of pre-determined valid discharge patterns comprises a range of valid discharge times corresponding to each pulse of the received infrared signal, and wherein the step of determining the validity of the received infrared signal comprises comparing each discharge time of the established discharge sequence with the range of valid discharge times of the corresponding pulse of each pre-determined valid discharge pattern of the plurality of pre-determined valid discharge patterns.
6. Apparatus for determining the validity of an infrared signal of a remote-control device comprising a receiving device for receiving the infrared signal of the remote-control device, the infrared signal comprising a plurality of pulses representing data corresponding to a function of a controllable target device, a capacitor for measuring the discharge time associated with each pulse of the infrared signal, a processor for establishing a discharge sequence based on the measured discharge times, a memory storing a plurality of pre-determined valid discharge patterns, wherein the processor is configured to compare the established discharge sequence with each of the plurality of pre-determined valid discharge patterns to determine the validity of the infrared signal.
7. The apparatus of claim 6, wherein the processor is further configured to decode the infrared signal and store the decoded data of the infrared signal in memory upon finding a match between the established discharge sequence and a pre-determined valid discharge pattern of the plurality of pre-determined valid discharge patterns.
8. The apparatus of claim 6, wherein the processor is further configured to prompt a user to retransmit the infrared signal of the remote-control device upon failing to find a match between the discharge sequence and a pre-determined valid discharge pattern of the plurality of pre-determined valid discharge patterns.
9. The apparatus of claim 6, further comprising a demodulator configured to demodulate the infrared signal before passing the infrared signal through the capacitor.
10. The apparatus of claim 6, wherein each pre-determined valid discharge pattern of the plurality of pre-determined valid discharge patterns comprises a range of valid discharge times corresponding to each pulse of the received infrared signal, and wherein the processor is configured to compare each discharge time of the established discharge sequence with the range of valid discharge times of the corresponding pulse of each pre-determined valid discharge pattern of the plurality of pre-determined valid discharge patterns.
11. A method of storing a valid discharge sequence related to an infrared signal transmitted by a remote-control device, the infrared signal comprising a plurality of pulses representing data corresponding to a function of a controllable target device, the method comprising the steps of: moving the remote-control device relative to an infrared receiver; transmitting the infrared signal from the remote-control device to the infrared receiver to capture each pulse of the infrared signal; demodulating the infrared signal; passing the demodulated signal through a capacitor such that the capacitor charges and discharges for each pulse of the demodulated signal; measuring the discharge time associated with each pulse of the demodulated signal; and storing, in memory, each consecutive discharge time of the demodulated signal as a sequence of discharge times.
12. The method of claim 11, further comprising the step of storing one or more additional discharge sequences for the same infrared signal.
13. The method of claim 11, further comprising the step of establishing a valid discharge pattern based on the or each stored sequence of discharge times.
14. The method of claim 11, wherein a valid discharge pattern comprises a range of valid discharge times associated with each pulse of the infrared signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order that the invention may be more clearly understood, one embodiment thereof will now be described, by way of example, with reference to the accompanying drawings in which:
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
[0074] Referring to the drawings there is shown a schematic representation of elements of a universal remote-control device 1 that is programmable to transmit wireless command signals in the form of infrared (IR) light to a plurality of different target controllable electronic appliances (not shown) such as a television, DVD player, digital set-top box, or air conditioning unit. The universal remote-control device 1 comprises a processor 3, memory 5, a plurality of buttons 7, and circuitry 9 forming a button matrix in relation to the plurality of buttons 7.
[0075] Each of the buttons 7 may be associated with a function of the target controllable device and data of the command code for the desired function may be stored in the memory 5 so that, when a particular button is pressed by a user, the appropriate command code is encoded onto the IR light signal and transmitted to the target device for implementation.
[0076] Referring to
[0077] To enable wireless communication between devices, the universal remote-control device 1 comprises a wireless communications interface 11 for transmitting and receiving IR signals with the data representing command codes for the target controllable device. The wireless communications interface comprises a diode 13 capable of transmitting data in the form of IR light, an encoder 15 for encoding the IR light with data of a command code, an IR sensor 17 for detecting and receiving wirelessly transmitted IR signals, and a decoder 19 for decoding a received IR signal for subsequent processing by the processor 3.
[0078] The memory 5 stores an IR library that comprises multiple sets of commands codes for different brands and appliances. Accordingly, the universal remote-control device 1 may be configured to operate different target appliances by identifying the appropriate set of command codes for a given target device and loading the data set into the working RAM memory of the remote-control device 1 such that the buttons 7 trigger the correct command for subsequent wireless control of the target appliance.
[0079] Referring to
[0080] To improve the ability of the receiving controller 1 to determine the validity of a received IR signal and, hence, whether to conduct a match routine or to store the command code as a valid code for subsequent control of the target appliance, the wireless communications interface 11 comprises an AC coupling circuit 23 with a capacitive element coupled to the processor and arranged between the IR sensor 17 and the processor 3 so that the demodulated IR signal and, hence, each pulse of a received IR signal is routed through, and charges, the capacitive element of the AC coupling circuit 23 in sequence. The size of the capacitive element is chosen to be sufficiently small such that the capacitive element has fully discharged between each consecutive pulse. Accordingly, the required size of the capacitive element is determined by the sensitivity of the IR sensor 17 and the transmission power of the IR transmitter of the transmitting controller 21. In the present embodiment the capacitive element is chosen to have a capacitance of 470 pF but could be in the range between 20 pF and 500 pF depending on the aforementioned variables.
[0081] The capacitive element of the AC coupling circuit 23 has the effect of removing the DC component of the IR signal, which typically contains the majority of the background noise, and of identifying each discrete binary pulse as a charge/discharge cycle. As shown in
[0082] When the distance between the transmitting controller 21 and the receiving controller 1 is constant and a good IR signal is received by the receiving controller 1, the charge/discharge cycle associated with each pulse is stable and consistent. Accordingly, the discharge time D1, D2, D3, D4 of the capacitive element for each pulse is substantially the same. Referring to
[0083] Since the IR reception power increases as the distance between the transmitting and receiving controllers decreases, the discharge time of the capacitive element increases as the distance between the transmitting and receiving controllers decreases. Consequently, the charge/discharge cycle associated with each pulse varies with relative separation between the transmitting and receiving controllers.
[0084] Where the relative separation between the transmitting and receiving controllers increases during transmission of the IR signal, the charge/discharge cycle for each consecutive pulse decreases. As shown in
[0085] It will be appreciated that different relative movement patterns between the transmitting and receiving controllers will produce different discharge sequences. For example, an increasing slope followed by a decreasing slope or an approximately “n” shaped slope will correspond to an initial decrease in distance followed by an increase in distance between the transmitting and receiving controllers. Conversely, in another example, a decreasing slope followed by an increasing slope or an approximately “u” shaped slope will correspond to an initial increase in distance followed by a decrease in distance between the transmitting and receiving controllers.
[0086] By obtaining discharge sequences for different relative movement patterns between the transmitting and receiving controllers, it is possible to build a library of pre-determined discharge patterns that can be used when analysing a received IR signal and establishing its validity for further processing and storage. Accordingly, the receiving controller 1 stores a discharge pattern library in memory 5 to enable the processor 3 to determine whether noise or noise-like artifacts present in the IR signal are due to the relative movement between transmitting and receiving controllers or due to other background noise such as sunlight and/or other nearby IR devices.
[0087] The discharge pattern library may be populated with different pre-determined discharge patterns that have been pre-captured in a testing environment. The testing environment may comprise a test jig for securing a test transmitting controller and allowing adjustment of the 3D spatial position of the test transmitting controller relative to an IR receiver. In the present example, the test jig comprises three motors for automatically moving the test transmitting controller in 3D space according to movement commands from a test computing device.
[0088] The test jig includes a LiDAR sensor to continuously measure the distance between the test transmitting controller and the IR receiver so that the position of the test transmitting controller relative to the IR receiver can be measured in real-time and fed back to the test computing device. The test transmitting controller is set to transmit with an IR transmission power that is typical for IR remote control devices. The test transmitting controller and test jig are set within an enclosure having walls coloured in grey, black, and white to emulate the IR reflections of a typical room environment. The test computing device is connected to the IR receiver and capacitor and is configured to demodulate the IR signal and measure the capacitor discharge time associated with sequential pulses of the demodulated IR signal.
[0089] Referring to
[0090] Accordingly, a first test discharge sequence may be obtained by first positioning the test transmitting controller at a starting 3D coordinate of the test jig i.e., [0, 0, 0]. The test transmitting controller is then activated to transmit an IR signal of a specific command of a target device such as the on/off command. Simultaneously, the test jig is instructed by the test computing device to automatically move the test transmitting controller through different 3D coordinates so that the IR signal is transmitted during relative movement conditions. In the example of
[0091] The analysing computing device receives the demodulated IR signal via the IR receiver and capacitor and measures the discharge time, 3D coordinate, and discharge count for the sequential pulses of the IR signal. Since the command associated with a button is transmitted three times in succession for each button press, the testing environment captures a further two consecutive sequences of discharge counts of the IR signal during further relative movement between the test transmitting controller and the IR receiver. Using the three captured sequences of discharge counts it is possible to construct a pre-determined discharge pattern for the IR signal of a given button command comprising a range of valid discharge counts for each pulse of the IR signal with a count minimum and a count maximum.
[0092] Referring to
[0093] In the example depicted, the count_minmax for each pulse of an IR signal is established using the lowest discharge count and highest discharge count of the three consecutive IR signals of a given button press. It will be appreciated also that a pre-determined discharge pattern may also be constructed by averaging the discharge count of each common pulse of the three consecutive IR signals of a button press and creating upper and lower bounds by adding, for example, ±5% to the average discharge count associated with each pulse. The established pre-determined discharge pattern for the specified button command may be depicted graphically over time with upper and lower range bounds in the form of a chart as shown in
[0094] By repeating the above process for different button commands across through different relative movement patterns between the transmitting and receiving controllers, it is possible to build a library of valid pre-determined discharge patterns. In the present example, it is deemed sufficient to repeat the test process for a given controller three times with different button commands in order to establish a library with sufficient discharge patterns for IR signal validity matching. However, it will be appreciated that more or less discharge patterns may be captured as desired, but at least three is preferable.
[0095] The library of discharge patterns may be subsequently used when conducting a pattern match routine by the receiving controller to determine the validity of a received IR signal. Referring to
[0096] Referring to
[0097] Referring to
[0098] The above embodiment is described by way of example only. Many variations are possible without departing from the scope of the invention as defined in the appended claims.