EP0763806A1 - Method and device for learning an IR code - Google Patents

Method and device for learning an IR code Download PDF

Info

Publication number
EP0763806A1
EP0763806A1 EP96401833A EP96401833A EP0763806A1 EP 0763806 A1 EP0763806 A1 EP 0763806A1 EP 96401833 A EP96401833 A EP 96401833A EP 96401833 A EP96401833 A EP 96401833A EP 0763806 A1 EP0763806 A1 EP 0763806A1
Authority
EP
European Patent Office
Prior art keywords
remote control
learning
signal
control device
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
EP96401833A
Other languages
German (de)
French (fr)
Inventor
Chiew Mun David Chang
Chee Yang Lim
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Technicolor SA
Original Assignee
Thomson Multimedia SA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Thomson Multimedia SA filed Critical Thomson Multimedia SA
Priority to EP02001728A priority Critical patent/EP1209642B1/en
Publication of EP0763806A1 publication Critical patent/EP0763806A1/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • G08C19/16Electric signal transmission systems in which transmission is by pulses
    • G08C19/28Electric signal transmission systems in which transmission is by pulses using pulse code
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/20Binding and programming of remote control devices

Definitions

  • the present invention relates to a method according to the generic part of claim 1 and to a device according to the generic part of the first device claim.
  • a remote controller can be realised as learning remote control device, having a learning capability in which a remote-controlled signal can be stored in a memory after such remote-controlled signal has been received and analysed and can be reproduced for transmission on the basis of data stored in the memory.
  • VCR video cassette recorders
  • IR infrared
  • the VCR has to store a vast number of infrared (IR) timing data codes for each individual satellite/cable box. This will take up a lot of memory space on the microcontroller of the VCR. As normally only a particular type of satellite/cable box is used, the remaining unused code results in a waste of memory space. Thus a more efficient way to store just the particular set of IR data for a satellite/cable box is desired. This necessitates a built-in learning remote feature on the VCR.
  • IR infrared
  • the conventional portable learning remote control device on the market normally consists of complicated circuitry to capture the incoming IR signal. As costs play an important role in the profitability of a consumer good, a low-cost design of the built- in learning remote on the VCR is required.
  • German patent application DE 43 08 441 A1 shows a method and a device for remote control, comprising an IR receiver, a microprocessor, a keyboard, a memory, a display, an oscillator and a transmission photo diode.
  • This known learning remote control device is able to learn toggle bits with different frequency ranges. The toggle bits are detected by comparing two sets of data at different times for the same key or command. The meaning of toggle bits is well described in DE 43 08 441 A1. That is why a detailed description in the present application is made just as it is necessary for the understanding of the present invention.
  • the European patent application EP 0 380 371 A2 shows a memory remote control device which comprises a wave shaping circuit for shaping a received remote-controlled signal and for outputting a pulse signal and an envelope signal in the microcomputer capable of converting the remote-controlled signal into data for storage in a memory and of reproducing the remote-controlled signal on the basis of the data stored in the memory.
  • This microcomputer comprises an input port for receiving the received remote-controlled signal, a determining circuit for determining whether or not the received remote-controlled signal is a remote-controlled signal of particular format on the basis of the pulse signal and the envelope signal, a memory capable of converting the remote-controlled signal into data and storing the data in the memory on the basis of the remote-controlled signal input to the input port in the event that the received remote-controlled signal has been the remote-controlled signal of particular format, and a reproducing circuit for reproducing the remote control signal of particular format on the basis of the data stored memory.
  • a learning remote control device comprises a controlling means, a memory means connected to the controlling means, an IR transmission means, and an IR receiving means connected to the controlling means, wherein the learning remote control device further comprises a second IR receiving means.
  • the second IR receiving means is formed by a photo diode circuitry and the first IR receiving means is formed by an IR module.
  • the learning remote control device further comprises a switching means interconnected between the controlling means and the first and second IR receiving means, so that the switching means switches between the first and second IR receiving means with the result that only one IR receiving means is input to the controlling means.
  • the controlling means is formed by a microcontroller.
  • the learning remote control device can be part of television unit, a videocassette recorder (VCR), a GEMSTAR unit or a remote control unit.
  • VCR videocassette recorder
  • GEMSTAR GEMSTAR unit
  • remote control unit a remote control unit
  • the method for learning an IR code according to the invention comprises the following steps:
  • the method starts with step a and ends at step e, wherein the order of the steps b, c and d is changeable.
  • the photo diode circuitry is activated with an appropriate setting of the switching means, so that first the pulse width or carrier period is determined.
  • the switching means is set to the photo diode circuitry when the incoming IR signal is identified as a pulse type and is set to the IR module, when the incoming IR signal is identified as carrier type.
  • the data to be stored in memory are compressed, which saves memory space.
  • timing sets consisting of high and low timing are grouped so that only one set of data will be stored together with a corresponding IR timing data pointer.
  • identical code sets timing sets
  • the invention comprises a user interface for implementing the method according to the invention, wherein the stages of the learning procedure, i.e. steps a - e are depicted on the TV screen.
  • the learning remote control device which could be built-in on a VCR consists of a photo diode circuitry 1, an IR module 2, which is preferably an existing part of the VCR, an IR transmission circuit 3, a microcontroller 4 and a memory 5 like an EEPROM, which is also an existing part of the VCR. Further a remote control unit 7 is shown which sends the coded IR signals.
  • Fig. 2 shows a modification of the first embodiment which further comprises a switching circuity 6, which is interconnected between the microcontroller 4 on the one side and the photo diode circuitry 1 and the IR module 2 on the other side.
  • the switching circuitry 6 switches between the two IR receiving units 1, 2, so that only one of them is input to the microcontroller 4.
  • Fig. 3 shows a method for capturing the carrier frequency of the incoming IR signal.
  • the photo diode circuitry 1 is first activated. If a switching circuit 6 exists, it is set to allow only the signal from the photo diode circuitry 1 to convey the microcontroller 4.
  • the software of the learning remote would determine whether the IR signal is of a pulse or carrier type.
  • the pulse width (if pulse type) or the carrier period (if carrier type) is determined by the software.
  • the method for determining the carrier period is illustrated in Fig. 3.
  • a timer is started, which counts down 250 ⁇ s.
  • a register for example REG W, is incremented in a loop every 8 ⁇ s for a low signal, and another register, say REG A, is incremented every 8 ⁇ s for a high signal.
  • REG B and A are cleared while another register, say REG C, is incremented.
  • REG C is incremented.
  • a timer interrupt is generated.
  • the software probing the high and low signals would determine the length of the pulse width.
  • the software would set the switching circuitry 6 to allow only the IR signal captured by the photo diode circuitry 1 to pass. In the first embodiment this operation is performed by the microcontroller 4 itself.
  • the IR signal codes timings are then stored in the same way as for the carrier type data.
  • a standard remote control IR signal normally consists of mark, space, synonym, followed by 32 bits of data. However, there are remote control codes which have different numbers of data bits. At the moment the longest data stream consists of 44 bits. In order to cater for this long type of data stream, 48 bits of the signal from the remote control unit of the satellite receiver are captured. If this amount of bits is not enough the amount of data can expanded to 64 bits or more. Therefore at the moment altogether 48 sets of high and low signals are captured. This is enough to cover IR signals with an IR code of less than 46 bits. A one second window is used to detect the IR signal which has less than 46 bits and sends data once only.
  • the wait time for the IR signal captured is determined by assuming that the wait time is the longest high timing. The wait time would then be marked as the end of the IR signal set. Data after the wait time would be discarded. The data are then compressed to minimize the memory space used to store the IR codes in the EEPROM 5. Same timing sets, which consist of high and low timing would be grouped so that only one set of data is stored together with a pointer for each set.
  • Table 1 (timing in hexadecimal codes) Logic high low high low high low Count 002D 0064 0031 01ED 0031 01ED 0031 01ED 002D 0064 002D 0FEB
  • Table 2 (timing in decimal values) Logic high low high low high low Timing 720 1600 784 7888 784 7888 (usec) 784 7888 720 1600 720 65200
  • IR timing data pointer for key "1" has to be stored: 00 01 01 01 00 02, where 00, 01, 02 are pointers pointing to the addresses of the timing data set SET0, SET1 and SET2, respectively. With these pointers and the compressed data sets it is possible to restore the original data stream.
  • the above data are then stored into the EEPROM 5.
  • the user can press another key on his remote control unit 7 for the learning remote to learn. The whole procedure will be repeated.
  • toggle bit the user is required to press a specific key for three times. The three sets of compressed pointer data would then be compared. If data toggle at a particular location throughout the three set of data has occurred, then the toggle bits can be detected. After all the key on the user remote control unit has been learnt, the stored IR codes could be retrieved from the EEPROM and be sent out through the transmission circuitry.
  • the major advantage of this design is that it is low in cost, because it makes use of the already existing IR module on the VCR, which saves a lot of costs if an external circuitry for the same function has to be built.
  • the Figs. 4a to 4e show the user interface for built-in learning remote on a VCR, for example.
  • the built-in learning remote on the VCR provides an on-screen user interface, i.e. the TV screen is used.
  • This is a different concept from the conventional portable learning remotes, wherein only LEDs or LCD displays are used, which is a hassle for the user.
  • the suggested stages of the learning procedure are given as follows:
  • the digit "1" on the television screen would flash, prompting the user to press the digit "1" key on his remote controller 7.
  • the digit "1” would stop flashing and a wording "Decoding" appear at the bottom of the screen as shown in Fig. 3b.
  • the software would determine the carriers' period (if carrier type) or pulse width (if pulse type).
  • This stage requires the user to press digit "1" on his remote controller 7 three times or more.
  • the first set of digit "1" data is compared with the second set of digit "1" data to check whether any bit toggled. If more than two bits were different, the data acquired was assumed to be erroneous, thus would be discarded. The first and second set of data would then be recaptured. If the two sets of data are two bits or less different then the third set would be used to confirm the toggle bits location and timing data. If any error found in the third set (e.g. toggle bit location does not tally) then the whole procedure of stage two is repeated.
  • the screen display for capturing digit "1" signal is same as stage 1.
  • IR signals have special format, some of which are listed below:
  • Stage 4 is used to learn the special format. Each key would flash on the screen to prompt the user to press the key. If that particular key does not exist on the user RCU, the user could skip by pressing the digit "1" on the RCU. After a key code is captured or skipped, that particular key would stop flashing on the screen. The next subsequent key starts to flash and capturing of code for the key started.
  • This stage allows user to test whether the codes were learnt correctly.
  • the user would select two digits of which he would like to test using the VCR RCU.
  • the software would then retrieve the data codes stored and transmit them through the transmission circuitry 7 (Fig. 1).

Abstract

A learning remote control device for learning IR codes of remote units comprises a controlling means, a memory means connected to the controlling means, an IR transmission means, and a first IR receiving means connected to the controlling means, wherein the learning remote control device further comprises a second IR receiving means.
A method for learning an IR codes of e.g. satellite boxes comprises the following steps:
  • a) determining whether the incoming signal is of a pulse type or a modulated type;
  • b) determining whether the incoming signal comprises toggle bits;
  • c) determining the data codes;
  • d) determining the transmission format;
  • e) testing the learned codes and formats.

Description

  • The present invention relates to a method according to the generic part of claim 1 and to a device according to the generic part of the first device claim.
  • It is well known that consumer electronic devices can be controlled with the aid of a remote controller. It is also known that such a remote controller can be realised as learning remote control device, having a learning capability in which a remote-controlled signal can be stored in a memory after such remote-controlled signal has been received and analysed and can be reproduced for transmission on the basis of data stored in the memory.
  • There are also known so-called satellite commanders, which are used e.g. in the video cassette recorders (VCR) TELEFUNKEN M9445. These commanders are able to control satellite/cable boxes for timer programming. Therefore the VCR has to store a vast number of infrared (IR) timing data codes for each individual satellite/cable box. This will take up a lot of memory space on the microcontroller of the VCR. As normally only a particular type of satellite/cable box is used, the remaining unused code results in a waste of memory space. Thus a more efficient way to store just the particular set of IR data for a satellite/cable box is desired. This necessitates a built-in learning remote feature on the VCR.
  • The conventional portable learning remote control device on the market normally consists of complicated circuitry to capture the incoming IR signal. As costs play an important role in the profitability of a consumer good, a low-cost design of the built- in learning remote on the VCR is required.
  • It is also often observed that the conventional learning remotes do not identify the toggle bits which are present in some IR signals.
  • The German patent application DE 43 08 441 A1 shows a method and a device for remote control, comprising an IR receiver, a microprocessor, a keyboard, a memory, a display, an oscillator and a transmission photo diode. This known learning remote control device is able to learn toggle bits with different frequency ranges. The toggle bits are detected by comparing two sets of data at different times for the same key or command. The meaning of toggle bits is well described in DE 43 08 441 A1. That is why a detailed description in the present application is made just as it is necessary for the understanding of the present invention.
  • The European patent application EP 0 380 371 A2 shows a memory remote control device which comprises a wave shaping circuit for shaping a received remote-controlled signal and for outputting a pulse signal and an envelope signal in the microcomputer capable of converting the remote-controlled signal into data for storage in a memory and of reproducing the remote-controlled signal on the basis of the data stored in the memory. This microcomputer comprises an input port for receiving the received remote-controlled signal, a determining circuit for determining whether or not the received remote-controlled signal is a remote-controlled signal of particular format on the basis of the pulse signal and the envelope signal, a memory capable of converting the remote-controlled signal into data and storing the data in the memory on the basis of the remote-controlled signal input to the input port in the event that the received remote-controlled signal has been the remote-controlled signal of particular format, and a reproducing circuit for reproducing the remote control signal of particular format on the basis of the data stored memory.
  • These known learning remote control devices have the disadvantages, that they have poor user interfaces in so far as they only have blinking LEDs or at best LCD displays, so that the learning process becomes complicated, and that their circuitry is too complicated.
  • It is therefore the object of the invention to provide a learning remote control device which can be used as part of a remote control unit or being incorporated e.g. in a VCR, TV or GEMSTAR G-code/Showview unit, which comprises a simple circuitry and provides a convenient user interface.
  • This object is solved by the features of the independent claims.
  • Preferred embodiment of the invention are given in the dependent claims.
  • A learning remote control device according to the invention comprises a controlling means, a memory means connected to the controlling means, an IR transmission means, and an IR receiving means connected to the controlling means, wherein the learning remote control device further comprises a second IR receiving means. In a preferred embodiment the second IR receiving means is formed by a photo diode circuitry and the first IR receiving means is formed by an IR module.
  • Preferably the learning remote control device according to the invention further comprises a switching means interconnected between the controlling means and the first and second IR receiving means, so that the switching means switches between the first and second IR receiving means with the result that only one IR receiving means is input to the controlling means.
  • It is also possible to connect the first and second IR receiving means directly to the controlling means. Preferably the controlling means is formed by a microcontroller.
  • The learning remote control device according to the invention can be part of television unit, a videocassette recorder (VCR), a GEMSTAR unit or a remote control unit.
  • The method for learning an IR code according to the invention comprises the following steps:
    • a) determining whether the incoming signal is of a pulse type or a modulated type;
    • b) determining whether the incoming signal comprises toggle bits;
    • c) determining the data codes;
    • d) determining the transmission format;
    • e) testing the learned codes and formats.
  • Preferably the method starts with step a and ends at step e, wherein the order of the steps b, c and d is changeable. Normally, first the photo diode circuitry is activated with an appropriate setting of the switching means, so that first the pulse width or carrier period is determined.
  • The carrier period is determined in the following way:
    When the first low signal comes in, a timer is started, which counts down a predetermined time period T, preferably 250 µs, a register W is incremented every time period t, t < T and preferably t = 8 µs, for a low signal and another register A is incremented every time period t, preferably t = 8 µs, for a high signal, when a transition from high to low occurs both registers W and A are cleared while another register C is incremented, so that after a time period of T + t0, t0 << T, preferably (T+t0) = 255 µs a timer interrupt is generated and the period of the carrier is calculated from the following formula: Period = (T - (W + A) x t)/C
    Figure imgb0001
    [in appropriate units].
  • According to the result it is decided whether the incoming IR signal is of carrier or pulse type. Then the switching means is set to the photo diode circuitry when the incoming IR signal is identified as a pulse type and is set to the IR module, when the incoming IR signal is identified as carrier type.
  • In the method according to the invention, preferably the data to be stored in memory are compressed, which saves memory space.
  • To achieve the data compression same timing sets consisting of high and low timing are grouped so that only one set of data will be stored together with a corresponding IR timing data pointer. In other words, identical code sets (timing sets) will only be stored once, because the respective pointer carrying the information how often the set has to be repeated.
  • Further the invention comprises a user interface for implementing the method according to the invention, wherein the stages of the learning procedure, i.e. steps a - e are depicted on the TV screen.
  • Preferred embodiments of the device and the method including the user interface of a learning remote control will be described in detail with reference to the accompanying drawings, in which:
    • Fig. 1 shows a learning remote control device according to a first embodiment;
    • Fig. 2 shows a learning remote control device according to a second embodiment.
    • Fig. 3 shows a method to capture the carrier frequency; and
    • Fig. 4a to 4e show user interface for built-in learning remote control on a VCR.
  • As shown in Fig. 1, the learning remote control device, which could be built-in on a VCR consists of a photo diode circuitry 1, an IR module 2, which is preferably an existing part of the VCR, an IR transmission circuit 3, a microcontroller 4 and a memory 5 like an EEPROM, which is also an existing part of the VCR. Further a remote control unit 7 is shown which sends the coded IR signals.
  • Fig. 2 shows a modification of the first embodiment which further comprises a switching circuity 6, which is interconnected between the microcontroller 4 on the one side and the photo diode circuitry 1 and the IR module 2 on the other side. The switching circuitry 6 switches between the two IR receiving units 1, 2, so that only one of them is input to the microcontroller 4.
  • Fig. 3 shows a method for capturing the carrier frequency of the incoming IR signal. To learn the incoming IR code, the photo diode circuitry 1 is first activated. If a switching circuit 6 exists, it is set to allow only the signal from the photo diode circuitry 1 to convey the microcontroller 4. When a user presses a key on his remote control unit 7 (RCU) the software of the learning remote would determine whether the IR signal is of a pulse or carrier type. At the same time, the pulse width (if pulse type) or the carrier period (if carrier type) is determined by the software. The method for determining the carrier period is illustrated in Fig. 3. When the first low signal comes in, a timer is started, which counts down 250 µs. A register, for example REG W, is incremented in a loop every 8 µs for a low signal, and another register, say REG A, is incremented every 8 µs for a high signal. When the transition from high to low occurs, both REG B and A are cleared while another register, say REG C, is incremented. After 255 µs, a timer interrupt is generated. The period of the carrier is now calculated from the following equation: Period = (255µs - (W + A) x 8µs)/C.
    Figure imgb0002
  • If the IR signal is of a pulse type, the software probing the high and low signals would determine the length of the pulse width. The following describes the operation of the learning remote control device. If the IR signal is of a carrier type, the software would then set the switching circuit 6 to allow only the signal captured by the IR module 2 to pass to the microprocessor 4. In the first embodiment this switching is performed by the microcontroller 4 itself. The carriers of the IR signal are filtered on the passing through the IR module 2 so that only the envelopes of the IR signals are captured. The timings of the IR signal code are then stored in the form of the hexadecimal data into the RAM 5 of the microcontroller 4.
  • If the IR signal is identified as a pulse type, the software would set the switching circuitry 6 to allow only the IR signal captured by the photo diode circuitry 1 to pass. In the first embodiment this operation is performed by the microcontroller 4 itself. The IR signal codes timings are then stored in the same way as for the carrier type data.
  • A standard remote control IR signal normally consists of mark, space, synonym, followed by 32 bits of data. However, there are remote control codes which have different numbers of data bits. At the moment the longest data stream consists of 44 bits. In order to cater for this long type of data stream, 48 bits of the signal from the remote control unit of the satellite receiver are captured. If this amount of bits is not enough the amount of data can expanded to 64 bits or more. Therefore at the moment altogether 48 sets of high and low signals are captured. This is enough to cover IR signals with an IR code of less than 46 bits. A one second window is used to detect the IR signal which has less than 46 bits and sends data once only. After a set of 48 timing data is collected, the wait time for the IR signal captured is determined by assuming that the wait time is the longest high timing. The wait time would then be marked as the end of the IR signal set. Data after the wait time would be discarded. The data are then compressed to minimize the memory space used to store the IR codes in the EEPROM 5. Same timing sets, which consist of high and low timing would be grouped so that only one set of data is stored together with a pointer for each set.
  • Example: assume that the key "1" of the remote control unit is pressed. Then assume that the following data stream would be captured by the microcontroller timing counter:
  • Table 1
    (timing in hexadecimal codes)
    Logic high low high low high low
    Count 002D 0064 0031 01ED 0031 01ED
    0031 01ED 002D 0064 002D 0FEB
  • If the time base for the timing counter ist 16 µs then 002D in hexadecimal represents 45 in decimal times 16 µs equal to 720 µs.
  • So the above data of table 1 actually represent the following data stream.
  • Table 2
    (timing in decimal values)
    Logic high low high low high low
    Timing 720 1600 784 7888 784 7888
    (usec) 784 7888 720 1600 720 65200
  • In order to save on EEPROM 5 space, a compression method is used. First, identical code sets, wherein a set consists one high and one low data, will be stored once only. Therefore, the following data set are stored:
  • Table 3
    high low
    SET
    0 002D 0064
    SET 1 0031 01ED
    SET
    2 002D 0FEB
    which represents the timing data group of the key "1".
  • Additional to this data the following IR timing data pointer for key "1" has to be stored: 00 01 01 01 00 02, where 00, 01, 02 are pointers pointing to the addresses of the timing data set SET0, SET1 and SET2, respectively. With these pointers and the compressed data sets it is possible to restore the original data stream.
  • The above data are then stored into the EEPROM 5. The user can press another key on his remote control unit 7 for the learning remote to learn. The whole procedure will be repeated.
  • To determine toggle bit, the user is required to press a specific key for three times. The three sets of compressed pointer data would then be compared. If data toggle at a particular location throughout the three set of data has occurred, then the toggle bits can be detected. After all the key on the user remote control unit has been learnt, the stored IR codes could be retrieved from the EEPROM and be sent out through the transmission circuitry.
  • The major advantage of this design is that it is low in cost, because it makes use of the already existing IR module on the VCR, which saves a lot of costs if an external circuitry for the same function has to be built.
  • The Figs. 4a to 4e show the user interface for built-in learning remote on a VCR, for example. The built-in learning remote on the VCR provides an on-screen user interface, i.e. the TV screen is used. This is a different concept from the conventional portable learning remotes, wherein only LEDs or LCD displays are used, which is a hassle for the user. The suggested stages of the learning procedure are given as follows:
  • Stage 1: Determination of Carrier Period/Pulse Width (Fig. 4a)
  • At this stage the digit "1" on the television screen would flash, prompting the user to press the digit "1" key on his remote controller 7. After the IR signal has been captured, the digit "1" would stop flashing and a wording "Decoding..." appear at the bottom of the screen as shown in Fig. 3b. The software would determine the carriers' period (if carrier type) or pulse width (if pulse type).
  • Stage 2: Determination of Toggle Bit(s) (Fig. 4b)
  • This stage requires the user to press digit "1" on his remote controller 7 three times or more. The first set of digit "1" data is compared with the second set of digit "1" data to check whether any bit toggled. If more than two bits were different, the data acquired was assumed to be erroneous, thus would be discarded. The first and second set of data would then be recaptured. If the two sets of data are two bits or less different then the third set would be used to confirm the toggle bits location and timing data. If any error found in the third set (e.g. toggle bit location does not tally) then the whole procedure of stage two is repeated. The screen display for capturing digit "1" signal is same as stage 1.
  • Stage 3: Learning of Digits (Fig. 4c)
  • After learning digit "1" of the user RCU, the learning of the other digits on the RCU begins. The digit (e.g. "2") after the word "Press" would flash to prompt the user to press the digit indicated. After capturing the digit signal, the flashing stops and a "Decoding ..." line appeared at the bottom of the screen. The line "1 2 3 4 5 6 7 8 9 0" would be highlighted until the digit just captured as shown in Fig. 5b. The captured codes are then stored to EEPROM.
  • Stage 4: Learning of Transmission Format (Fig. 4d)
  • Some IR signals have special format, some of which are listed below:
    • 1. Modes which have an 'ENTER' key. ENTER key should be sent out after the digits to fix the channel setting.
    • 2. Modes which send '-/--' or 'CH' first. It is the leading signal for channel codes. Channel digits should be sent out after this -/-- codes.
    • 3. Modes which have '1*','2*','3*' codes. These codes are sent first for channel greater than nine. E.g. to send 23, '2*' is send first, followed by '3'.
    • 4. Modes which have '+10' key. It is also used for channel greater than nine. E.g. to send 30, '+10' is sent three times before '0' is sent.
  • Stage 4 is used to learn the special format. Each key would flash on the screen to prompt the user to press the key. If that particular key does not exist on the user RCU, the user could skip by pressing the digit "1" on the RCU. After a key code is captured or skipped, that particular key would stop flashing on the screen. The next subsequent key starts to flash and capturing of code for the key started.
  • Stage 5: Testing Learnt Codes (Fig. 4e)
  • This stage allows user to test whether the codes were learnt correctly. The user would select two digits of which he would like to test using the VCR RCU. The software would then retrieve the data codes stored and transmit them through the transmission circuitry 7 (Fig. 1).
  • List of References
    • 1 - photo diode circuit
    • 2 - IR module
    • 3 - IR transmission circuit
    • 4 - microcontroller
    • 5 - memory
    • 6 - switching circuit
    • 7 - remote control unit

Claims (10)

  1. Method for learning an IR code, comprising the following steps:
    a) determining whether the incoming signal is of a pulse type or a modulated type;
    b) determining whether the incoming signal comprises toggle bits;
    c) determining the data codes;
    d) determining the transmission format;
    e) testing the learned codes and formats.
  2. Method according to claim 1, wherein first the pulse width or carrier period is determined.
  3. Method according to claim 2, wherein when the first low signal comes in, a timer is started which counts down a predetermined time period T, a register W is incremented every predetermined time period t,
    t < T, for a low signal and another register A is incremented every predetermined time period t for a high signal, when a transition from high to low occurs both registers W and A are cleared while another register C is incremented, so that after a time period of T + t0, t0 << T, a timer interrupt is generated and the period of the carrier is calculated from the following formula: Period = (T - (W + A) x t) / C
    Figure imgb0003
    [in appropriate time units].
  4. Method according to one of the preceding claims 1 to 3, wherein
    - signals of a photo diode circuitry (1) are switched to controlling means (4) when the incoming IR signal is identified as a pulse type and
    - signals of an IR module (2) are switched to said controlling means (4), when the incoming IR signal is identified as carrier type.
  5. Method according to one of the preceding claims 1 to 4, wherein the data to be stored are compressed.
  6. Method according to claim 5, wherein same timing sets consisting of high and low timing are grouped so that only one set data will be stored together with a corresponding IR timing data pointer.
  7. Method according to one of the claims 1 to 6, wherein stages of the learning procedure are depicted on a TV screen.
  8. Learning remote control device comprising
    a controlling means (4),
    a memory means (5) connected to the controlling means (4),
    an IR transmission means (3), and
    an IR receiving means (2) connected to the controlling means (4),
       characterized in that
    the learning remote control device further comprises a second IR receiving means (1).
  9. Learning remote control device according to claim 8, characterized in that the learning remote control device further comprises a switching means (6) interconnected between the controlling means (4) and the first and second IR receiving means (1, 2), so that the switching means (6) switches between the first and second IR receiving means (1, 2), so that one IR receiving means (1, 2) is input to the controlling means.
  10. Learning remote control device according to one of the claims 8 or 9, characterized in that the learning remote control device is part of a TV-set, a VCR, a GEMSTAR unit or of a remote control unit.
EP96401833A 1995-09-15 1996-08-27 Method and device for learning an IR code Ceased EP0763806A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP02001728A EP1209642B1 (en) 1995-09-15 1996-08-27 Process for controlling a video recorder

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB9518966 1995-09-15
GB9518966A GB2305276A (en) 1995-09-15 1995-09-15 Learning remote control IR codes

Related Child Applications (1)

Application Number Title Priority Date Filing Date
EP02001728A Division EP1209642B1 (en) 1995-09-15 1996-08-27 Process for controlling a video recorder

Publications (1)

Publication Number Publication Date
EP0763806A1 true EP0763806A1 (en) 1997-03-19

Family

ID=10780823

Family Applications (2)

Application Number Title Priority Date Filing Date
EP96401833A Ceased EP0763806A1 (en) 1995-09-15 1996-08-27 Method and device for learning an IR code
EP02001728A Expired - Lifetime EP1209642B1 (en) 1995-09-15 1996-08-27 Process for controlling a video recorder

Family Applications After (1)

Application Number Title Priority Date Filing Date
EP02001728A Expired - Lifetime EP1209642B1 (en) 1995-09-15 1996-08-27 Process for controlling a video recorder

Country Status (4)

Country Link
EP (2) EP0763806A1 (en)
JP (1) JPH09139987A (en)
DE (1) DE69632930T2 (en)
GB (1) GB2305276A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0935226A3 (en) * 1997-11-12 2003-01-22 Johnson Controls Technology Company Method and apparatus for storing a data encoded signal
WO2006125611A2 (en) * 2005-05-25 2006-11-30 Vishay Semiconductor Gmbh Infrared remote control signal processing circuit
US7579961B2 (en) * 2003-09-26 2009-08-25 Openpeak Inc. Device control system, method, and apparatus
CN101452643B (en) * 2007-11-30 2010-12-08 无锡华润矽科微电子有限公司 Learning type infrared remote-controller
CN103761860A (en) * 2014-02-20 2014-04-30 广州物联家信息科技股份有限公司 Infrared adaptive learning method and system based on Home-IOT (Internet of Things)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004045689A1 (en) * 2004-09-21 2006-03-30 Hans Seitz Remote control for e.g. television receiver, has storage device adjusting selection commands to preset receiving frequency, another device assigning signals to keys and programming device storing sequence of signals in former device
KR100631523B1 (en) * 2005-03-30 2006-10-04 야무솔루션스(주) Device for managing data of multi-type remote controller and method for managing data thereof
CN104318755A (en) * 2014-10-17 2015-01-28 深圳市同洲电子股份有限公司 Automatic testing device and method
CN104574931A (en) * 2015-01-04 2015-04-29 中兴通讯股份有限公司 Infrared remote control circuit, method and terminal
CN109410558B (en) * 2018-06-20 2023-12-12 深圳市宏芯达科技有限公司 Intelligent compression chip for infrared codes

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0320067A2 (en) * 1987-12-09 1989-06-14 Philips Electronics North America Corporation Reconfigurable remote control apparatus
EP0380371A2 (en) * 1989-01-27 1990-08-01 Sharp Kabushiki Kaisha Memory remote control device
DE4308441A1 (en) * 1993-03-17 1994-09-22 Thomson Brandt Gmbh Remote control method and apparatus
US5365282A (en) * 1993-01-19 1994-11-15 Smart Vcr Limited Partnership Television system module with remote control code determination
US5438325A (en) * 1993-07-09 1995-08-01 Sony Corporation Remote controller apparatus and an audio-video combination system using the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4626848A (en) * 1984-05-15 1986-12-02 General Electric Company Programmable functions for reconfigurable remote control
US5142398A (en) * 1989-07-11 1992-08-25 Tandy Corporation Timer system for learning and replaying of infrared signals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0320067A2 (en) * 1987-12-09 1989-06-14 Philips Electronics North America Corporation Reconfigurable remote control apparatus
EP0380371A2 (en) * 1989-01-27 1990-08-01 Sharp Kabushiki Kaisha Memory remote control device
US5365282A (en) * 1993-01-19 1994-11-15 Smart Vcr Limited Partnership Television system module with remote control code determination
DE4308441A1 (en) * 1993-03-17 1994-09-22 Thomson Brandt Gmbh Remote control method and apparatus
US5438325A (en) * 1993-07-09 1995-08-01 Sony Corporation Remote controller apparatus and an audio-video combination system using the same

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0935226A3 (en) * 1997-11-12 2003-01-22 Johnson Controls Technology Company Method and apparatus for storing a data encoded signal
US7579961B2 (en) * 2003-09-26 2009-08-25 Openpeak Inc. Device control system, method, and apparatus
WO2006125611A2 (en) * 2005-05-25 2006-11-30 Vishay Semiconductor Gmbh Infrared remote control signal processing circuit
DE102005024204A1 (en) * 2005-05-25 2006-11-30 Vishay Semiconductor Gmbh Infrared remote control signal processing circuit
WO2006125611A3 (en) * 2005-05-25 2007-03-15 Vishay Semiconductor Gmbh Infrared remote control signal processing circuit
CN101529350B (en) * 2005-09-15 2013-01-09 无极公司 Device control system, method, and apparatus
CN101452643B (en) * 2007-11-30 2010-12-08 无锡华润矽科微电子有限公司 Learning type infrared remote-controller
CN103761860A (en) * 2014-02-20 2014-04-30 广州物联家信息科技股份有限公司 Infrared adaptive learning method and system based on Home-IOT (Internet of Things)
CN103761860B (en) * 2014-02-20 2016-06-08 广州物联家信息科技股份有限公司 A kind of method and system of the infrared adaptive learning based on Home-IOT

Also Published As

Publication number Publication date
GB2305276A (en) 1997-04-02
EP1209642A1 (en) 2002-05-29
EP1209642B1 (en) 2004-07-14
GB9518966D0 (en) 1995-11-15
DE69632930D1 (en) 2004-08-19
JPH09139987A (en) 1997-05-27
DE69632930T2 (en) 2005-01-05

Similar Documents

Publication Publication Date Title
US4626848A (en) Programmable functions for reconfigurable remote control
US4999622A (en) Remote commander having a ROM read-out pre-programmed codes therefrom
US5228077A (en) Remotely upgradable universal remote control
US5255313A (en) Universal remote control system
US4623887A (en) Reconfigurable remote control
CN1042283C (en) Favorite channel selection using extended keypress
EP0265476B1 (en) Device for the remote control of a videorecorder or a videoreceiver
US6549719B2 (en) Television program record scheduling and satellite receiver control using compressed codes
US5552917A (en) Remote control
KR960004444B1 (en) Remotely-controllable electronic apparatus including audio and video system
KR0185394B1 (en) Tuner control apparatus having tune-by-label capability
JP2514134Y2 (en) Remote control device
CN1039374C (en) Simplified programming of videocassette recorder having multiple and single channel signal sources
CN1042284C (en) On/off control of a cable converter unit by a VCR
US4870492A (en) Television receiver having automatically programmable skip channel list
EP0393664A2 (en) User programmable switching arrangement
CN1038973C (en) Adapive menu for programming videocassette recorder
EP0763806A1 (en) Method and device for learning an IR code
CN1047015C (en) Remote control method and device
WO1993012612A1 (en) Apparatus and method using compressed codes for scheduling broadcast information recording
CN1040495C (en) Automatic detection of kind of cable converter unit coupled to a VCR
HU212955B (en) Channel selection method and device for tuning a multi-standard tv receiver
DE4414009C1 (en) Multi-equipment remote operation system with universal infrared emitter
JPS62213396A (en) Remote controller
KR100205824B1 (en) Key establishing method in remote control receive of electronic machinery

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): DE FR GB IT

17P Request for examination filed

Effective date: 19970919

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: THOMSON MULTIMEDIA

17Q First examination report despatched

Effective date: 20000802

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED

18R Application refused

Effective date: 20020802