Method and apparatus for alignment in a wireless communication system

Abstract: A communication apparatus transmits a test message in one direction by the transmitting unit having narrow directivity capable of changing the transmitting direction, and an indication message which indicates that the test message is being transmitted by a transmitting unit having non directivity. Accordingly, the indication message is transmitted at least to the communicating party's apparatus. Subsequently, the transmitting direction of the test message is sequentially changed, and a similar process is performed. When the communicating party's apparatus detects a reception of the indication message, information indicating a level of the test message is transmitted to the transmitting apparatus as a response. The communication apparatus at the transmitting side detects the direction where the communicating party exists by receiving the information indicating the level. Hereinafter, the information communication is performed to adjust the transmitting unit of narrow directivity to the determined direction.

Description: The present invention relates to a communication apparatus and a control method of the communication apparatus and, more particularly, to a communication apparatus and a control method of the communication apparatus capable of communicating by lights and waves (such as electromagnet, acoustic, etc.) without using wires. Recently, an apparatus which performs information communication through lights and waves without using wires between computers or the computer and peripheral apparatuses has been spreading. The conventional apparatus has communication means of a single system whose directional significance including non-directional significance (even if a plurality of channels can be provided) is unchangeable. In general, a wave intensity in wave propagation is in inverse proportion ratio to the square of distance. Accordingly, if communication in a certain distance is performed at the minimum output (electric power), output means or input means including a narrow directivity (e.g., Yagi Antenna or Parabolic Antenna) is used. Accordingly, the conventional technique is suitable for communication among fixed apparatuses since the directivity of the input/output means is fixed. However, the conventional technique is not suitable when at least one apparatus is not fixed, for example, when one apparatus is a portable terminal and the other is the host apparatus of the portable terminal, and both are used in a same room (or same floor). In this case, the problem arises in that a user needs to adjust the direction of the input/output means whenever the portable terminal is moved. If a wide directivity or non-directivity is used for the input/output means, the above problem can be solved. However, in this case, considerably large amount of power output is required in comparison with the case of the narrow directivity, thus large amount of electric power is consumed. Document EP 0 483 549 A2 discloses a data communication apparatus and method and a wireless communication system that employs a high speed data channel and a separate, lower speed diffuse transmission control channel for communicating information between one or more remote stations and a base station. In a preferred embodiment the remote stations are mobile, handheld workstations bidirectionally coupled to the base station(s) through an infrared radiation signal carrier. The data communication apparatus described in this document provides the basis for the preamble of claim 1. Accordingly, it is an object of the present invention to provide a communication control apparatus and control method capable of performing an information transmission to the communicating party's apparatus by using a transmitting unit having a narrow directivity, even if the position of the apparatus or communicating party's apparatus is moved. According to the present invention, the foregoing object is attained by the communication apparatus of claim 1, as well as by the control method of a communication apparatus of claim 6. Advantageous further developments are set out in the respective dependent claims. A part therefrom, the invention aims to provide a communication system and control method which efficiently performs information communication with the communicating party's apparatus by using a transmitting unit having a narrow directivity, even if the arrangement of the apparatus at the transmitting side or the communicating party's apparatus is moved. Additionally, it is a further aim of the invention to provide a communication apparatus capable of receiving information properly from the communicating party's apparatus by using a receiving unit having a narrow directivity, even if the arrangement of the apparatus or communicating party's apparatus is moved. Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention. Fig. 1 is a block diagram of the communication apparatus of the embodiment; Fig. 2 is a diagram illustrating the arrangement of the infrared ray LEDs; Fig. 3 is a diagram illustrating the communication flow of the embodiment; Fig. 4 is a flowchart for explaining the processing operation of the embodiment; Fig. 5 is another flowchart for explaining the processing operation of the embodiment; Fig. 6 is a diagram illustrating the arrangement of pin-photo diodes of the second embodiment; Fig. 7 is a diagram illustrating the communication flow of the second embodiment; Fig. 8 is an external view of the communication apparatus in the embodiments; and Fig. 9 is a flowchart illustrating the processing procedure in a communicating party in the embodiments. DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings. Fig. 1 is a block diagram of the communication apparatus in the embodiment. In Fig. 1, a CPU 1 is a processor which executes proceedings and programs, and a memory 2 is a memory comprised of a ROM storing the operation procedure (including the programs according to the flowcharts of Figs. 4 and 5 to be described later) and a RAM used as a work area. A communication controller 3 is comprised of parallel/serial converter and encoder/decoder. A modulator 4 performs a modulation based on the output from the communication controller 3, and modulates a predetermined sub-carrier wave signal (the frequency is 5-6 MHz) by well-known modulation method such as PSK (phase shift keying) and QAM (quadrature amplitude modulation) (Note that a main carrier wave is infrared rays). A direction selection circuit 5 selectively drives one of the LED group 6 based on the control signal from the CPU 1. The LED group 6 can efficiently radiate an optical signal to a desired direction since the infrared ray LEDs of the narrow directivity having a high refractive index are arranged at 22.5° step in the shape of circle. The first transmitting unit is comprised of the units 3-6. Units 7-10 are components of the second transmitting unit. Unit 7 is a parallel-serial converter (P/S converter), a modulator 8 performs a modulation on a predetermined sub-carrier wave signal (the frequency is 50-60 KHz) by the well-known modulation method such as PPM (pulse position modulation) or ASK (amplitude shift keying; 100 % amplitude modulation). A LED driving circuit 9 drives each of the LEDs simultaneously. The four LEDs of the LED group 10 having a wide directivity are arranged in the shape of circle at step of 90°, and the optical signals are radiated to all directions. Since the sub-carrier wave frequency of the second transmitting unit is lower than that of the first transmitting unit, the transmission rate of the second transmitting unit is lower than that of the first transmitting unit. Accordingly, the speed of response of the LED in the LED group 10 can be lower than that of the LED group 6. Furthermore, the LED group 6 and the LED group 10 are arranged in the same circumference. Since the second transmitting unit drives the LEDs of a wide directivity, the optical signal of the second transmitting unit cannot reach the same distance as the first transmitting unit, if the second transmitting unit is driven by larger electric current than the first transmitting unit. On the other hand, since the sub-carrier frequency of the second transmitting unit is low, and the modulation method such as PPM or ASK is used, the width of LED drive pulse can be decreased (5-6 % as duty). Accordingly, when three LEDs are simultaneously driven, the electric power is substantially the same as that required in the first transmitting unit. Furthermore, even though it is not shown in the figure, the present apparatus includes an interface for connecting with a personal computer. Incidentally, the second transmitting unit includes high frequency components, since the LED is driven by the pulse signal. If high frequency components are radiated from the LED group 10, it disturbs the communication of the first transmitting unit. Accordingly, the LED group 10 needs to have a minimum response speed so that the high frequency components are removed. A group of pin-photo diodes 11 convert optical signal to electric signal. In the group of the pin-photo diodes 11, four diodes having wide directivity are arranged in the shape of circle at 90° step so as to receive the optical signal from any direction. Furthermore, the pin-photo diodes are molded by resin capable of removing visible ray, and only the infrared ray can be passed. The converted electric signal is amplified by the amplifier 12, and then, transmitted to the frequency discriminating circuit 13. The frequency discriminating circuit 13 is comprised of a filter circuit, and separates the received signal into high frequency components (signal components of the first transmitting unit) and low frequency components (signal components of the second transmitting unit). The high frequency component is amplified to a predetermined level by the amplifier 14 having an AGC (Auto Gain Controller). Subsequently, it is demodulated by the demodulating circuit 15 and outputted to the communication controller 3 as a digital signal. The high frequency component is also outputted to the level detection circuit 16. The level detection circuit 16 comprised of a low-pass filter, a peak hold circuit and an A/D converter detects the signal intensity of the high frequency component, and outputs the signal intensity to the CPU 1. The first reception unit is comprised of units 11-16. On the other hand, the low frequency component is amplified to a predetermined level by the amplifier 17 having an AGC. After demodulated by the demodulator 18, the amplified component is outputted to the CPU 1 via the serial-parallel converter 19. The second reception unit is described above. The method of determining the direction of radiation in the first transmitting unit is described with reference to the communication flow as shown in Fig. 3. Note that the communication is performed between the apparatus A and the apparatus B. Both apparatuses A and B have the structure concerning the transmission/reception as shown in Fig. 1. In Fig. 3, the left side shows the communication flow of the second transmitting unit, while the right side shows the communication flow of the first transmitting unit. The case where there is a request to start the communication in the apparatus A and the direction of the radiation of communication waves from the apparatus A is detected is described below. The apparatus A confirms that the second reception unit receives no other signal for a predetermined period. If any communication signal is received, the end of the communication is waited, since it is judged that the apparatus B is in communication with other apparatus or apparatuses other than the apparatuses A and B are communicating in the area where the apparatus A is capable of communication. After it is confirmed that no other communication is performed, the apparatus A issues a communication request message 20 to the apparatus B in the LED group 10. The communication request message 20 comes in the apparatus B because it is radiated in a wide area, even though the transmission rate is low. On the other hand, the apparatus B transmits a communication permission message 21 in response in the second transmitting unit. Subsequently, the apparatus A issues a level detection message 22 in the second transmitting unit, and a test message 23 in the first transmitting unit to an arbitrary direction. The apparatus B transmits the volume of the received test message 23 by a level information message 24. In this case, the apparatus B has a possibility of not receiving the test message 23, however, the apparatus B can recognize that the apparatus A transmits the test message 23 by the level detection message 22. Accordingly, if the test message is not detected, the information message 24 is transmitted as the level "0". The apparatus A repeats the operation concerning the messages 22-24 in all directions of the first transmitting unit (16 directions in the embodiment), and detects the direction where the test message comes in at the maximum level. Subsequently, a detection end message 25 is issued, and the apparatus B is informed that the direction detecting processing has ended. Next, the transmitting direction of the apparatus B is determined. The transmission/reception of the communication request message and communication permission message is not needed, since it does not need to check if the communicating party A can communicate. In the figure, message 26 is a level detection message, message 27 is a test message, and message 28 is a level information message. Similar to the apparatus A, the operation concerning the messages 26-28 is repeated on all directions, and the direction where the test message comes in at the maximum level is detected. Subsequently, the detection end message 29 is issued, and the apparatus A is informed that the level detection process has ended. The apparatuses A and B perform normal communications (messages 30 and 31) in accordance with the confirmed direction by the first transmitting unit, that is, the maximum level direction. During the execution of normal communication by the first transmitting unit, the apparatus A (it can be the apparatus B or the apparatuses A and B can alternate) continues to issue the in-communication message 32 from the second transmitting unit at predetermined intervals in order to start the communication of the third apparatus C when the apparatuses A and B are in the communication. As it is described at the beginning of the description relating to Fig. 3, the apparatus A confirms that the second receiving unit does not receive any communication signal. This is executed not only when a searching processing is started, but when a normal communication is started. Accordingly, it is possible to avoid the third apparatus C erroneously starting communication and disturbing the current communication by issuing the in-communication message during the communication. Since the first transmitting unit radiates an optical signal only to a particular direction, the signal may not reach the apparatus C. Accordingly, the in-communication message needs to be issued by the second transmitting unit. There may be a case where an apparatus at the reception side does not receive the in-communication message for some reason (e.g., when a person/an object shuts out the optical signal at the moment when the in-communication message is transmitted). Therefore, as shown in Fig. 3, the transmission/reception of the communication request message and communication permission message is added to the process. If the in-communication message is a response to the communication request message, the start of the search process or normal communication is waited until the communication ends. Furthermore, the communication request message and communication permission message need to be issued by the second transmitting unit. Fig. 4 is a flowchart illustrating the process until the direction of the first transmitting unit is determined. Reference numerals L1-L16 are respectively referred to each of the infrared ray LEDs in the LED group 6 of the first transmitting unit. At steps S100 and S101, the second receiving unit is supervised for a predetermined period, and the CPU 1 waits until no signal is received during the passage of the predetermined period. If no signal is received after the predetermined time has been elapsed, the process proceeds to step S102 where the communication request message is issued to the communicating party. At step S103, it is determined if any message is received. If no message is received, the process proceeds to step S104 where it is determined that a predetermined period of time has elapsed. If not, the process returns to step S103 where a message is waited for a predetermined period. If no message is received during the predetermined period, since it is assumed that the communication request message is not reached to the other apparatus, the process of step S102 is performed. If no message is received after the process of step S102 is repeated for a predetermined times (this is determined at step S105), it is determined that the apparatus of the other party is not located at a position where information communication can be performed. Furthermore, if it is determined that a message is received after the communication request message is transmitted, the process proceeds from step S103 to step S106. At step S106, it is determined if the received message is a communication permission message, that is, a message for responding to the communication request message. If not, it is determined that a message communicated among another apparatuses was received, and the process returns to step S100. Accordingly when the communication permission message is received, and the existence of the other party is confirmed, the process proceeds to step S107. At step S107, an infrared ray LED indicated by L1 is selected, and the value reserved at a predetermined address position in the memory 2 is cleared as "0". As apparent from the description below, the maximum value of the information level issued from the other party is stored in this address position. When the process proceeds to step S108, a test message is issued by using the selected LED of the first transmitting unit (L1 at the beginning), and a level detection message is transmitted by the second transmitting unit at the same time. At steps S109 and S110, a response of the level information message is waited for a predetermined period. If no level information message is received after the predetermined time has been elapsed, the process returns to step S108 where the test message is reissued at the selected LED, and the test message by the second transmitting unit is issued. Furthermore, at step S109, if it is determined that the level information message is received, the process proceeds to step S111 where the received information level are compared with the current maximum value (stored in the predetermined address). If the information level issued from the other apparatus is larger than the informed level received before, the maximum level is updated, and the LED number selected at that time is stored in a predetermined address of the RAM of the memory 2. Subsequently, the process proceeds to step S113 where it is determined whether or not the currently selected LED is "L16", that is, the last LED is checked is determined. If not checked, the LED number is advanced by one in order to select the next LED, and the process returns to step S108. As described above, when the last LED is checked, the process proceeds to step S115 where the check end message is issued. At this time, at the predetermined address position in the RAM of the memory 2, the maximum level and the selected LED number (or direction) is stored. Accordingly, at step S116, the LED which has issued the maximum level is selected, and thereafter, the information communication is performed by using the selected infrared ray LED. Furthermore, the processing procedure in the communication apparatus of the receiving side is easily understood from the above description. An example is shown in the flowchart of Fig. 9. Assume that the structure of the communication apparatus of the communicating party is similar to that of Fig. 1. At step S201, whether or not a communication request message is received is determined. If received, the process proceeds to step S202 where a communication permission message is transmitted from the second transmitting unit. To confirm that a communication ' direction determining process is being performed, at step S203, the flag reserved in the RAM in advance is turned on. Accordingly, when the level detection message is detected, the process proceeds from step S204 to step S205 where whether or not the flag is turned on is determined. That is, even if the level detection message is received, when the communication request message has not been received in the previous step, the following process is not performed. If the flag is "on", the process proceeds to step S206 where whether or not the test message is received is determined. If not, the process proceeds to step S207 where "0" level information message is transmitted from the second transmitting unit. On the other hand, if the test message is received, the reception level is detected by the level detection circuit 16, and the detected level is transmitted from the second transmitting unit as a level information message. The embodiment has two systems (units) of the communication means which are different from the conventional technique. Accordingly, if the efficiency of electric power is increased by providing the communication means of the first unit as narrow directivity, when a large amount of the electric power is consumed in the communication means of the second units, the electric power cannot be saved. However, as described above, the communication means of the second unit is used when the direction is determined and at the normal communication for a short period of time, therefore, the consumption of the electric power can be reduced. As described above, according to the embodiment, an apparatus is capable of communicating at a minimum electric power by having the optical signal radiation means of narrow directivity, and automatically determines the direction of radiation. <Another Embodiment> In the above embodiment (the first embodiment), the level detection circuit is provided at the reception side. However, if communication is over the certain distance, the number of infrared ray LEDs capable of communication is 1-2. Accordingly, if the level of a received signal is not detected, the direction can be determined by knowing whether or not the communication is succeeded. The success/failure of the communication is known when the optical signal does not reach. However, if the check sequence such as CRC (cyclic redundancy check) code added to a message is transmitted, when the optical signal is barely reached, but S/N is insufficient, this is determined as a "failure". When the direction of the success/failure of communication is determined, the level information message described in Fig. 3 is determined as a communication success/failure message which informs the success/failure of the communication, and the receiving side selects the infrared LED in the direction where the communication has succeeded. In the above embodiment, the first transmitting unit has a narrow directivity, and the first receiving unit is non-directivity. However, it can be arranged that the first transmitting unit is non-directivity, and the first receiving unit has a narrow directivity. The receiving unit of narrow directivity is shown in Fig. 6, and a plurality of pin-photo diodes are arranged in the shape of circle. Furthermore, each of the diodes is selectively activated. Accordingly, a circuit to select the direction of the reception unit can be added to the structure of Fig. 1. In this case, the reception side of the first communication means takes an initiative in the processing operation. The communication flow is shown in Fig. 7. When it is confirmed that another communication is not performed, the apparatus A issues the communication request message 40 to the apparatus B. On the other hand, the apparatus B transmits the communication permission message 41, and subsequently issues the test message request message 42. The apparatus A which receives the test message request message 42 issues the request confirmation message 43 using the second transmitting unit, and the test message by the first transmitting unit. The first transmitting unit activates the pin-photo diode in an arbitrary direction, and waits for the test message. The process concerning the messages 42-44 is performed on all directions, and the direction where the test message is received at the maximum level is detected. If the level detection is not performed, the direction where the communication is succeeded is detected. When the detection is succeeded, the apparatus A issues the detection end message 46, and the apparatus B is informed that the direction detecting process has been ended. As described above, either the transmitting unit or the receiving unit of the first communication means can include the characteristic of narrow directivity. Of course, both of the transmitting unit and the receiving unit of the first communication means can include the narrow directivity. In this case, on the combination of all directions for transmission/reception, levels and success/failure of the communication are sequentially detected. However, when the structure of the transmitting unit is as Fig. 2 and that of the receiving unit is as Fig. 6, and both are contained in a same case, the process to detect the direction becomes easy. Because the direction of the receiving unit (or the transmitting unit) becomes the same direction as the direction of the transmitting unit (or the receiving unit). In addition, the space can be decreased by containing both in the same enclosure. Fig. 8 shows the state where the apparatus of the embodiment is connected to a personal computer. The interface with the computer can be bidirectional interface such as RS-232C or SCSI interface. In the above embodiment, to change the direction of the directivity, optical elements of narrow directivity are arranged in the shape of circle, and alternatively switched. However, a plate mounting the optical elements can be rotated by a motor or the reflection plate in a concavity shape can be rotated by the motor. Furthermore, the present invention can be applied to the communication apparatuses using not only light waves, but also other types of waves. In the embodiment, only the communication apparatus is described, however, it can be applied to a personal computer or a printing device. Furthermore, it can be connected to another electric device so that data communication is performed between them. The present invention can be applied to a system constituted by a plurality of devices, or to an apparatus comprising a single device. Furthermore, it goes without saying that the invention is applicable also to a case where the object of the invention is attained by supplying a program to a system or apparatus. In the embodiment, the infrared ray is taken as an example, however, this does not impose a limitation upon the invention. As described above, even if the mounting position of the communication apparatus is changed, the transmission directivity can be adjusted to the communicating party by a simple arrangement. As As many apparently widely different embodiments of the present invention can be made without departing from the scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims.

Claims: A communication apparatus which performs an information communication by using wave motion in space propagation, comprising: first transmission means (3 to 6) for transmitting information in a narrow directivity; second transmission means (7 to 10) for transmitting information in a wide directivity or non directivity; reception means (11 to 15, 17 to 19) for receiving information transmitted from a communicating party; characterized by changing means (1, 5) for successively changing the direction of directivity of said first transmission means; testing means (1 to 10) for performing a plurality of testing processes, each of which transmits a test message in a predetermined direction by said first transmission means, and a further message indicating that the test message is being transmitted by said second transmission means whenever the direction of directivity of said first transmission means is changed by said changing means; and determination means (1, 2, 16) for determining the transmitting direction of said first transmission means in accordance with a message transmitted from the communicating party, in response to the further message transmitted in each of the testing processes of said testing means. The communication apparatus according to claim 1, wherein said wave motion is infrared rays. The communication apparatus according to claim 1, wherein said first transmission means (3 to 6) is comprised of a plurality of transmission elements of narrow directivity, each transmission element is arranged radially, and said changing means changes a transmitting direction by selecting one of the elements. The communication apparatus according to claim 1, wherein the transmission speed of the information transmitted by said first transmission means (3 to 6) is higher than that of the second transmission means (7 to 10). The communication apparatus according to any one of the claims 1 to 4, wherein the message of the communicating party indicates a reception state of the test message. A control method of a communication apparatus comprising: first transmission means (3 to 6) for transmitting information in a narrow directivity by using a wave motion in a space propagation; changing means (1, 5) for successively changing the direction of directivity when a transmission is performed by said first transmission means; second transmission means (7 to 10) for transmitting information in a wide directivity or non directivity; and reception means (11 to 15, 17 to 19) for receiving information transmitted from a communication party, said method comprising the steps of: transmitting (S108) a test message in a predetermined direction by said first transmission means, while said second transmission means transmits a further message indicating that the test message is being transmitted whenever the direction of directivity of said first transmission means is changed by said changing means; and determining (S111) the transmitting direction of said first transmission means in accordance with a message transmitted from the communicating party which is received in response to each of the further messages transmitted from said second transmitting means. The method according to claim 6, wherein said wave motion is infrared rays. The method according to claim 6, wherein said first transmission means (3 to 6) is comprised of a plurality of transmission elements of narrow directivity, each transmission element is arranged radially, and said changing means (1, 5) changes a transmission direction by selecting one of the elements. The communication control method according to claim 6, wherein the transmission speed of the information transmitted by said first transmission means (3 to 6) is higher than that of the second transmission means (7 to 10). The communication control method according to any one of the claims 6 to 9, wherein the message of the communicating party indicates a reception state of the test message. A computer program for a computer, comprising software code portions for performing the steps of any one of the claims 6 to 10, when said program is run on the computer. A computer-readable medium for a computer, storing software code portions for performing the steps of any one of the claims 6 to 10, when said software code portions are run on the computer.

Inventors: NAGASAKI KATSUHIKO, SHIMADA KAZUTOSHI, SUNAKAWA SHINICHI, SUZUKI NORIYUKI, TATSUMI EISAKU, NAGASAKI, KATSUHIKO, SHIMADA, KAZUTOSHI, SUNAKAWA, SHINICHI, SUZUKI, NORIYUKI, TATSUMI, EISAKU, NAGASAKI, KATSUHIKO, C/O CANON K.K., SHIMADA, KAZUTOSHI, C/O CANON K.K., SUNAKAWA, SHINICHI, C/O CANON K.K., SUZUKI, NORIYUKI, C/O CANON K.K., TATSUMI, EISAKU, C/O CANON K.K.
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1994
Main classification: H04B10
IPC codes: H04B10