WO2005107185A1 - Radio communication unit, semiconductor integrated circuit for communication, and communication system - Google Patents

Radio communication unit, semiconductor integrated circuit for communication, and communication system Download PDF

Info

Publication number
WO2005107185A1
WO2005107185A1 PCT/JP2004/006193 JP2004006193W WO2005107185A1 WO 2005107185 A1 WO2005107185 A1 WO 2005107185A1 JP 2004006193 W JP2004006193 W JP 2004006193W WO 2005107185 A1 WO2005107185 A1 WO 2005107185A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
communication
data
wireless communication
received
Prior art date
Application number
PCT/JP2004/006193
Other languages
French (fr)
Japanese (ja)
Inventor
Hiroaki Isono
Makoto Sano
Hirotsugu Kojima
Original Assignee
Renesas Technology Corp.
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 Renesas Technology Corp. filed Critical Renesas Technology Corp.
Priority to PCT/JP2004/006193 priority Critical patent/WO2005107185A1/en
Priority to JP2006512700A priority patent/JPWO2005107185A1/en
Publication of WO2005107185A1 publication Critical patent/WO2005107185A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present invention relates to a radio communication control technology and a technology for notifying a higher-level control device of a loss (loss) of a received packet in packet communication, and includes, for example, a radio communication device for transmitting and receiving a packet of a Bluetooth communication standard and the like.
  • the present invention relates to a communication IC (semiconductor integrated circuit) and a technology particularly effective when used in a communication system using the same. Background art
  • Bluetooth which performs short-range wireless communication using a frequency band of 2.4 GHz to 2.48 GHz.
  • the Bluetooth standard wireless communication system is a packet communication system in which a predetermined amount of data is attached with a header and transmitted.
  • Asynchronous communication (ACL: Asynchronous Connectionless) having a retransmission function, and a predetermined period without a retransmission function It has two communication modes of synchronous communication (SCO: Synchronous Connection Oriented) for transmitting packets, and performs transmission and reception in a time-division manner.
  • ACL Asynchronous Connectionless
  • SCO Synchronous Connection Oriented
  • the Bluetooth device in order to synchronize the clock between the master device and the slave device and to establish a communication connection, uses a 3.2 kHz clock signal called a bluetooth clock. . Bucket data is exchanged at twice the cycle of 2 kHz (6 2 5 / X s). Then, control for making an intercommunication connection with the communication partner device is performed by a function called a link controller.
  • a device capable of Bluetooth communication can freely use asynchronous communication and synchronous communication to perform communication.When transmitting data that requires high reliability such as text data, asynchronous communication can be used. Use voice data or like For transmission of data that requires high real-time performance, synchronous communication is used.
  • communication device A sends three packets to the fourth transmitted packet. Put the same data C as the first time and resend, put the same data D as the fifth time in the 6th and 7th transmitted packets, put the same data E as the 8th time in the ninth transmitted packet, and retransmit.
  • the packet transmitted by the communication device B does not reach the communication device A, as shown in Fig. 1, for example, whether the packet transmitted by the communication device B for the 8th time reaches the communication device A. Otherwise, communication device B retransmits the ninth packet with the same data "d" as the eighth packet.
  • Such data retransmission avoids data loss in asynchronous communication.
  • Figure 2 shows the situation of synchronous communication in bluetooth communication. As shown in Fig. 2, if the packet transmitted by communication device A for the third time, the fifth, sixth, and eighth times does not reach communication device B, data C and E, F, and H are lost. Become.
  • the specifications of the packet configuration including the header are strictly specified, and specifications different from the standard cannot be provided.
  • the header of the transmission packet of the Bluetooth standard does not include an area for storing information indicating a packet order such as a sequence number. Therefore, data compensation as in the prior invention cannot be performed.
  • the prior invention of the prior application is a method of transmitting the same data redundantly in a plurality of continuous packets and transmitting the same, so that the data transmission efficiency is poor. In addition, it is not suitable for transmitting a large amount of data in a short time, such as moving image transmission.
  • An object of the present invention is to provide synchronous communication that is a bucket communication such as Bluetooth communication, does not have a retransmission function, and has no area in which information indicating a packet order is included in a header.
  • An object of the present invention is to provide a communication control technique capable of reliably detecting a packet loss (drop) and notifying a higher-level control device while ensuring interoperability with a communication device.
  • Another object of the present invention is to provide a method for controlling packet communication such as Bluetooth communication, which does not have a retransmission function, by reliably detecting a packet loss without lowering the data transmission efficiency.
  • An object of the present invention is to provide a communication control technique that can notify a device.
  • Another object of the present invention is to provide a method for controlling packet communication such as Bluetooth communication, which does not have a retransmission function, by reliably detecting a packet loss without significantly adding hardware.
  • An object of the present invention is to provide a communication control technique that can notify a device.
  • Still another object of the present invention is to provide a packet communication such as a pull-tooth communication, which does not have a retransmission function, and has a voice communication function or a moving image communication function in a synchronous communication mode, which ensures packet loss.
  • Another object of the present invention is to provide a wireless communication device capable of detecting a wireless communication device and improving communication quality.
  • the present invention relates to a wireless communication apparatus that performs bucket communication such as Bluetooth communication according to a predetermined protocol but does not have a packet retransmission function and is capable of synchronous communication of a packet having no area in which information indicating a bucket order is included in a header.
  • a function is provided to determine the presence or absence of a reception bucket at a predetermined cycle, and to notify a higher-level control device of a packet loss (dropout) when there is no reception bucket. This eliminates the need to insert extra information into the packet so that the receiving side can detect the packet loss, so that the packet loss can be detected without impairing the interconnectivity and the transmission efficiency is improved. be able to.
  • the presence or absence of a received packet can be determined based on whether the received data is all “0” or all “1”.
  • this determination is provided by providing a means for making a determination based on received data passed from a circuit for performing predetermined protocol control to a higher-level control device or a signal or a status flag output from a circuit for performing predetermined protocol control.
  • a timer or a counter may be provided in the circuit that performs a predetermined protocol control, and a function of determining the presence or absence of a received packet at a predetermined cycle may be provided.
  • a test control interface for supporting a test function may be provided in an interface of the communication device with a higher-level control device, and the higher-level control device may be notified of the bucket loss via the test control interface.
  • the Bluetooth standard specifies the packet configuration between a communication device and a higher-level control device when a test control interface (TCI) is provided, so a communication device equipped with a Bluetooth communication function uses this packet. Then, the configuration may be such that the loss of the received packet is notified to a higher-level control device.
  • TCI test control interface
  • HCI Home Control Interface
  • Information indicating the loss of a packet may be inserted and notified to a higher-level control device. Also, at this time, desirably, dummy data is generated in the data area of the HCI data packet or an appropriate one is selected from already received data and stored, and supplied to a higher-level control device.
  • Fig. 1 is a timing chart showing an example of asynchronous communication in Bluetooth communication.
  • Figure 2 is a timing chart showing an example of synchronous communication in Bluetooth communication.
  • FIG. 3 is a block diagram showing the configuration of a Bluetooth communication device having a communication function according to the Bluetooth standard.
  • FIG. 4 is a packet configuration diagram showing the configuration of a transmission / reception bucket used for synchronous communication of bluetooth communication.
  • FIG. 5 is a bucket configuration diagram showing a configuration of an HCI data bucket exchanged between a control unit (host) and a communication execution unit (host controller) in Bluetooth communication.
  • Fig. 6 is a timing chart showing the transmission timing of three types of HV packets used for synchronous communication of bluetooth communication.
  • FIG. 7 is a pack diagram showing a configuration of a Bluetooth communication device to which the first embodiment is applied.
  • FIG. 8 is a block diagram showing a more detailed configuration of the embodiment of FIG.
  • FIG. 9 is a flowchart showing an operation procedure of packet loss (drop) detection in the communication execution unit of the embodiment of FIG.
  • Figure 10 is a data structure diagram showing the structure of a TCI packet indicating bucket loss. is there.
  • FIG. 11 is a block diagram showing a second embodiment which is a modification of the first embodiment.
  • FIG. 12 is a block diagram showing a configuration of a Bluetooth communication device to which the second embodiment is applied.
  • a wireless communication device having a Bluetooth communication function there is, for example, a headset that enables a hands-free call by performing voice communication with a mobile phone.
  • the Bluetooth standard is a standard that guarantees interconnection even if the mobile phone and the headset or the Bluetooth communication device built into each of the mobile phone and the headset are provided by different vendors. If one of the bluetooth communication devices built into the mobile phone and the headset has a unique function that deviates from the Bluetooth standard (protocol), it cannot be connected to each other.
  • Such a property that communication devices that communicate with each other according to a predetermined standard cannot connect to each other if they have unique functions that deviate from the predetermined standard is called interoperability. .
  • the mobile phone has multiple functions, such as a function to perform cellular wide-area wireless communication such as CDMA and GSM with other mobile phones, a display function such as an LCD panel, and an input operation function using numeric keys.
  • a function to perform cellular wide-area wireless communication such as CDMA and GSM with other mobile phones
  • a display function such as an LCD panel
  • an input operation function using numeric keys is included in this specification.
  • an IC semiconductor integrated circuit
  • Such an electronic device such as a module is referred to as a Bluetooth communication device.
  • Figure 3 shows the configuration of a Bluetooth communication device equipped with a communication function according to the Bluetooth standard.
  • Bluetooth communication devices are roughly called host controllers that transmit and receive data via antenna ANT. It consists of a communication execution unit 110 and a control unit 120 called a host that controls the communication execution unit 110.
  • the Bluetooth standard called HCI Host Control Interface
  • HCI Home Control Interface
  • the communication execution unit 110 has a physical layer 111 as a high-frequency signal processing unit having a transmission signal up-compartment function, a modulation function, an amplification function, a reception signal amplification function, a demodulation function, a down-comparison function, and the like.
  • Data transmitted and received by the physical layer 111 is processed according to a Bluetooth communication protocol, a communication connection state with a communication partner device is established, and packet analysis, decoding, and reconstruction are performed.
  • An HCI interface section 113 for exchanging signals between the link controller 111, the link controller 112, and the control section 120, and a Bluetooth clock for determining a period of the pull-tooth communication.
  • the control unit 120 communicates with the HCI interface unit 121 that exchanges signals with the communication execution unit 110, and controls and communicates signals to the communication execution unit 110 according to the pull-tooth communication protocol. It comprises a protocol stack section 122 for processing signals from the execution section 110 and an application section 123 for controlling the entire communication device.
  • the application unit 123 refers to the control program itself or a device including a nonvolatile memory storing the control program. Further, the protocol stack section 122 may also refer to the control program itself, or may include a mechanism including a mechanism for reading and decoding the control program stored in the memory. In short, the separation between the protocol stack section 122 and the application section 123 is for the purpose of making the function of the control section easy to understand, and is not limited to such a division method.
  • control unit (host) 120 and the communication execution unit (host controller) 110 are configured as separate devices as in this embodiment, generally, a devis vendor (parts maker) performs communication. An execution unit 110 has been developed, and a set maker has developed a control unit 120. Thus, the communication execution unit 110 and the control unit 120 are opened. Even when the originator (vendor) is different, the communication between the communication execution unit 110 and the control unit 120 can be performed using the Bluetooth standard interface called HCI as described above. By doing so, the system can be easily developed.
  • HCI Bluetooth standard interface
  • Fig. 4 shows the configuration of the transmission bucket transmitted and received between the Bluetooth communication devices.
  • Fig. 5 shows the HC I exchanged between the control unit (host) 120 and the communication execution unit (host controller) 110. The structure of the data bucket is shown.
  • the link controller 111 of the communication execution unit 110 analyzes and decodes a packet with the configuration shown in Fig. 4 received from another communication device, and decodes the HCI synchronous communication data packet with the configuration shown in Fig. 5. And a process of analyzing and decoding the HCI synchronous communication data packet having the configuration shown in FIG. 5 received from the control unit 120 and reconstructing it into a packet having the configuration shown in FIG.
  • the part marked with “AC” is the access code area that contains the tag indicating the destination of the packet
  • the part marked with “HEAD” is the type of packet and the communication link.
  • the packet header area contains the parameters to be transmitted
  • the "PL” is the payload area containing the data to be transmitted.
  • the part marked with “DATA” is the data area where the data to be transmitted is entered
  • the part marked with “CH” is used for data communication with multiple Bluetooth devices.
  • Connection handle area that contains the code for distinguishing the content, whether it is audio data or image data, and the part with “RSV” is reserved in advance, although the specification is not yet defined in the Plutooth standard
  • the reserved area, "DTL”, which is specified to be reserved, is a data length specification area that contains information indicating the length of data in the data area DATA.
  • a command bucket used when issuing a command given from the host to the host controller, and when issuing a command from the host controller to the host And an event packet to be used.
  • the data bucket There is a downstream data packet used when sending data from the host controller to the host controller, and an upstream data packet used when sending data from the host controller to the host.
  • Figures 6 (A) to 6 (C) show the timing of three modes of synchronous communication in Bluetooth communication. As shown in Fig.
  • synchronous communication in Bluetooth communication includes an HV1 packet mode in which packets are alternately transmitted from the master to the slave and from the slave to the master every two slots (1.25 msec).
  • HV 2-packet mode in which the master sends a packet from the master to the slave every 4 slots (2.5 msec) and alternately sends a packet from the slave to the master, and from master to slave every 6 slots (3.75 msec)
  • HV 3 packet mode in which packets are alternately transmitted from the slave to the master.
  • FIG. 7 shows a configuration of a bluetooth communication device to which the first embodiment is applied
  • FIG. 8 shows a more detailed configuration of the first embodiment.
  • the communication execution unit 110 is provided with a packet loss detection unit 115 for detecting the loss (loss) of the received packet, and the packet loss detection unit 111
  • the configuration is such that the packet loss detected by 5 is notified from the interface unit 113 to the upper-level control unit 120 via an interface called TCI.
  • a test control interface (TCI) 1331 that supports a test function is provided in an interface unit 113 of the communication execution unit 110, and the test is performed. It is configured to notify the higher-level control unit 120 of the packet loss (dropout) via the port control interface.
  • the Bluetooth standard specifies the configuration of a packet (TCI packet) between a communication device and a higher-level control device when a test control interface (TCI) is provided. Is provided with a TCI generator 132 having a function of generating the TCI packet. Note that the interface section 113 generates an HCI packet that is originally used for Bluetooth communication. An HCI generation unit 133 having a function of In this way, by using the test control circuit (TCI) 1331 to notify the higher-level control unit 120 of the packet loss (drop), it is possible to use a standard that deviates from the Bluetooth standard. By avoiding this problem and maintaining interoperability, it is possible to enable communication between Bluetooth communication devices.
  • TCI test control interface
  • the packet loss detection unit 115 checks whether or not the received data RD sent from the link controller 112 to the control unit via the interface unit 113 is all "0" or all "1". Synchronization signal generation unit that generates a packet reception synchronization signal based on the packet reception determination unit 151 that determines the presence or absence of a packet and the reference clock signal (pull-tooth clock) CLK generated by the reference clock generation circuit 114 1 5 2
  • the packet reception determination unit 151 determines the presence or absence of a received packet in synchronization with the bucket reception synchronization signal PRS supplied from the synchronization signal generation unit 152, and when the packet loss is detected, this is determined by the interface unit 11 1 3, the TCI generation unit 132 is configured to generate a TCI packet indicating the loss of the reception bucket and send it to the upper control unit.
  • the synchronization signal generation section 152 can be configured by a timer or a counter that counts the Bluetooth clock CLK.
  • the packet loss detection unit 115 may be configured by hardware, or may be configured by software.
  • the link controller synchronizes the PN clock between the transmitting communication device and the receiving communication device to transmit / receive packets. Therefore, as described above, the packet reception synchronization signal PRS is based on the Bluetooth clock. By generating the packet, it is possible to know the accurate reception timing of the bucket, thereby enabling error-free packet loss detection.
  • test control circuit may be designed as a dedicated circuit, or the test control circuit may be, for example, a TAP (Test Access Port) specified by the standard for boundary scan testing determined by the JTAG (Joint Test Action Group). An interface circuit called can be used.
  • FIG. 9 shows an operation procedure for detecting packet loss (loss) in the communication execution unit 110 of the first embodiment.
  • a received packet is an HV1 mode packet power, an HV2 mode packet power, or an HV3 mode packet. More specifically, it is determined in step S1 whether the received packet is a packet in the HV1 mode. If the received packet is not in the HV1 mode, it is determined in step S2 whether the received packet is a packet in the HV2 mode. If the received packet is neither an HV1 mode bucket nor an HV2 mode packet, it is determined to be an HV3 mode packet.
  • the received packet is an HV1 mode packet
  • the received data is checked every 1.25 msec in step S3, and if the received packet is an HV2 mode packet, every 2.5ms ec in step S4.
  • the received data is checked. If the received packet is an HV3 mode packet, the received data is checked every 3.75 msec in step S5.
  • step S6 it is checked whether or not the received data is all "0" or all "1". If not, it is determined that there is a received packet if it is not all "0" or all "1", and nothing is performed. Return to step S1. On the other hand, if it is detected in step S6 that the received data is all "0" or all "1", the flow proceeds to step S7, where the packet loss detection signal PLD is sent to the TCI generation unit 132 of the interface unit 113. The TCI generation unit 132 generates a TCI packet indicating the bucket loss and sends it to the control unit 120 to notify the packet loss.
  • FIG. 10 shows the configuration of a TCI packet that indicates packet loss.
  • "OpCode” is an area that contains 16-bit data for uniquely identifying a command.
  • This field is a field that contains an opcode, "OCF”, and a code that indicates the command group (type).
  • "OGF” in the field Consists of "PTL” is a field that contains 8-bit data that indicates the total length of parameters 0 to N that are to be entered in the following field.
  • the Bluetooth standard specifies that vendor-specific commands can be added by inserting "0x3F" in the command group field "OGF”.
  • a new command unique to the vendor is provided by using this rule, a TCI packet in which this command is set in the field "OCF" is generated, and sent to the control unit 120 to notify the packet loss. I'm familiar. Alternatively, it may be configured that sending a TCI packet itself indicates a packet loss, and an arbitrary TCI packet may be generated and sent to the control unit 120.
  • the packet reception determination unit 151 of the packet loss detection unit 115 determines that the received data transmitted from the link controller 112 to the control unit via the interface unit 113 is all “0”. It is configured to determine whether there is a received packet by checking whether or not all are "1". However, instead of the received data, a flag indicating the presence or absence of a received bucket is provided in the link controller 112. A signal indicating the state of the flag may be input to the packet reception determining unit 151 to determine the presence or absence of a received packet. For example, when the received signal strength is low and the data cannot be identified, the link controller 112 sets all data to “0” in the data section DATA shown in FIG.
  • the data to be put in the data section DATA in Fig. 5 is set to all "1". In other words, the presence or absence of a received packet can be known in advance. It is possible to notify determination section 15 1 of the presence or absence of a received packet.
  • FIG. 11 shows a second embodiment which is a modification of the first embodiment (FIG. 3).
  • a received data generation unit 153 is provided in the packet loss detection unit 115, and if the packet reception judgment unit 151 detects the packet loss and sends the packet loss information, 5, the dummy reception data to be stored in the data area DATA of the HC I synchronous communication data packet is generated and passed to the HC I interface section 113, and the HC I interface section 113 Data area of I data packet
  • the HCI data packet that stores the dummy reception data in the area DATA and the predetermined code for notifying the bucket loss in the reserved area RSV is generated and supplied to the control unit 120. is there.
  • a test control circuit (TCI) 1331 is used to notify the upper control unit 120 of the bucket loss (loss), and dummy reception data is stored in the data area DATA of the HCI data packet.
  • TCI test control circuit
  • an HCI data packet storing a predetermined code for notifying the loss of the packet is generated and supplied to the control unit 120. Informs the higher-level control unit of the information that informs the higher-level control unit by storing information that informs the packet loss in a bucket that satisfies the above standard, thereby notifying the higher-level control unit of the packet loss. In doing so, it is possible to maintain interoperability, and communication devices can communicate with each other according to a predetermined standard.
  • the control unit 120 that has received this packet can recognize that the data in the data area is dummy data by checking the reserved area R SV. In the case of the dummy data, the loss of the packet was compensated by discarding the dummy data and extracting an appropriate one from the data already received and stored in the memory and sending the extracted data to the speaker. Audio data can be reproduced. Since the audio signal is limited to a relatively narrow frequency range, even if the data is compensated by selecting an appropriate one from the received data, it is more uncomfortable than playing back the missing data. Audio without sound can be played.
  • any data having a length specified by the packet configuration may be used. Also, instead of storing the dummy data in the data area DATA, an HCI data bucket that stores a predetermined code for notifying the bucket loss to the reserved area RSV is generated and the control unit generates the HCI data bucket. It may be configured to supply to 120.
  • FIG. 12 shows a configuration of a Bluetooth communication device to which the second embodiment is applied.
  • blocks having the same functions as those in FIG. 3 are denoted by the same reference numerals, and redundant description will be omitted.
  • the Bluetooth communication device of the second embodiment includes a protocol stack of a link controller 112 of the communication execution unit 110, an interface unit 113, a packet loss detection unit 115, and a control unit 120.
  • the unit 122 is configured as a semiconductor integrated circuit (IC for bluetooth communication) 100 on one semiconductor chip.
  • An RF module 200 as a high-frequency signal processing device constituting the physical layer 111 and a flash memory 310 as an application unit 123 are connected to the Bluetooth communication IC 100 as external components. These are mounted on a printed wiring board or the like to form a communication system.
  • the RF module 200 is composed of an IC for modulation and demodulation, a power amplifier (high-frequency power amplifier), a filter for removing unnecessary waves, and a transmission / reception switching switch.
  • the link controller 112 and the packet loss detector 115 are integrally formed by a dedicated logic circuit, and are shown as one block in FIG. Have been.
  • a power supply voltage from a battery power supply such as 3.3 V is required for the Bluetooth communication IC 100 and the RF module 200.
  • a voltage regulator (DC-DC converter) 400 that converts to a power supply voltage such as 2.8 V, and an external SRAM (static memory) 3 that provides a temporary storage area for data and a work area for the CPU 3 20 are provided. Since the SRAM320 is provided, previously received data can be stored, and when packet loss is detected, data is compensated based on already received data. be able to. Since voice data does not require much accuracy like text data, in voice communication using Bluetooth communication, data is compensated based on previously received data, resulting in sound quality degradation due to audio interruption. There is an advantage that can be avoided.
  • a high-frequency oscillator 210 such as 13 MHz is connected to the RF module 200 to generate a cut-off signal ⁇ 0 required for the operation of the RF module 200.
  • the clock signal 0 is also supplied to the Bluetooth communication IC 100 and is used as a reference clock signal for the operation clock ⁇ 1 of the protocol stack section 122.
  • the Bluetooth communication IC 100 according to the present embodiment is configured to add the operation signal ⁇ 1 of 26 MHz or 52 MHz by multiplying the mouth signal ⁇ 0 from the RF module 200 by the multiplication.
  • CPG clock pulse generator
  • the output signal ⁇ 0 output from the RF module 200 is input to the communication execution unit 110 as a reference clock for Bluetooth communication.
  • the linter controller 112 is formed on a semiconductor chip separate from the RF module 200 serving as the physical layer 111, a connection between the RF module 200 and the linter controller 112 is made.
  • An RF interface 161 is provided to adjust the timing and level of these signals.
  • the HCI interface 113 which is the interface on the control unit side, is connected to the peripheral path HP #.
  • the protocol stack section 122 is composed of a microprocessor (CPU) 171 and a memory access controller (MAC) 172.
  • the CPU 1 7 1 has the first. ? 1; the cache memory 18 1 and the RAM 18 2 are connected via the path 1 ⁇ -13 us.
  • the cache memory 18 1 and RAMI 82 are connected to the second CPU path I-bus, and a path bridge PPBS for exchanging data between buses between the second CPU path I-bus and the peripheral path HPB Is provided. Further, a DMA controller DMAC that controls DMA (direct memory access) transfer is connected to the second CPU bus I-bus.
  • the protocol stack section 122 of FIG. 3 is configured as firmware by a protocol processing routine among the application programs in the flash memory 310 and a CPU 171 executing the protocol processing routine. Can be seen. HCI interface 1 2 1 in Fig. 3 is also flash memory 3 1 It can be considered that the processing routine for performing communication between the host and the host controller among the application programs in 0 and the CPU 171 for executing the processing routine are configured as a firmware.
  • the second CPU path I_bus is provided with a path state controller BSC for performing control such as timing adjustment of a signal on the path.
  • Data signals can be exchanged with an external system path 330 to which the flash memory 310 is connected via the path state controller BSC.
  • the peripheral path HPB has a timer unit TMU for various time management, serial communication interfaces SCIFl and SCIF0 that input and output signals serially to and from external devices, and interrupts that accept interrupts from external devices.
  • Peripheral circuits such as a controller I NTC and a conversion circuit DAC that performs analog-to-digital or conversion or digital-to-analog conversion are connected.
  • the loss of the received packet from the communication execution unit 110 to the control unit 120 is determined by the HC I as described in the above-described modification (FIG. 11). It is made to notify in the data bucket. Since the communication execution unit and the control unit are formed on the same chip, it is not always necessary to use the HCI data packet as a means to notify the reception unit of the loss of the received bucket from the communication execution unit.
  • Use of HC I data packets has the advantage that when designing application programs to be stored in the flash memory 310 on the set manufacturer side, past design resources can be used and development becomes easier. .
  • the host controller as a communication device of the bluetooth communication capable of performing synchronous communication of a packet having no packet retransmission function and having no area in which information indicating a bucket order is included in a header is provided.
  • the predetermined circumference A function is provided to notify the host as a higher-level control device of the presence / absence of a received packet at the end of the period, and when there is no received packet, a function to notify the host as a higher-level control device is provided. There is no need to put extra information in the bucket. Therefore, it is not necessary to change the transmission packet, it is possible to detect the packet loss without impairing the interconnectivity, and it is possible to improve the transmission efficiency.
  • the presence or absence of a received packet is determined by determining whether the received data is all "0" or all "1", so reception can be performed with simple hardware or additional software. The presence or absence of a packet can be determined.
  • a test control interface for supporting a test function is provided at an interface of the communication device with a higher-level control device, and the higher-level control device is notified of a packet loss (dropout) via the test control interface. Therefore, when a communication device has a test function, the lack of a received packet can be notified to a higher-level control device by adding simple hardware or software. Furthermore, using the reserved area of the head part of the HCI synchronous communication data bucket supplied to the higher-level control device from the circuit that performs the predetermined protocol control specified by the Bluetooth standard, reception is performed there.
  • the flash memory 310 is connected as an external memory to the Bluetooth communication IC, but may be built in the Bluetooth communication IC as an internal memory.
  • a buffer memory capable of storing a predetermined amount of received data is provided in the link controller, and instead of the dummy data included in the HCI synchronous communication data packet indicating the packet loss, appropriate data is selected from the already received data. It is also possible to select an object and supply it to the control unit.
  • the data compensation processing on the control unit side can be omitted, and the burden on the CPU can be reduced.
  • the communication of the packet containing the audio data has been described as an example.
  • the present invention can be applied to the case of communicating not only the audio data but also the image data.
  • the present invention is not limited to this, and a transceiver or extension using Bluetooth communication is used.
  • Voice communication between a headset and a personal computer used as a telephone or voice communication system using the Internet (so-called Internet phone), music data communication between a portable audio device such as an MP3 player and a headset It can also be widely used for synchronous communication using buckets other than pull-tooth communication.

Abstract

A radio communication unit performs packet communication like Bluetooth communication according to a specified protocol but has no packet retransmission function and is capable of synchronous communication of such a packet that the header has no area for the information indicative of the order of packet. The radio communication unit is provided with a function for judging presence/absence of a reception packet at a specified interval and informing the loss (missing) of a packet to a host controller when a reception packet is not present.

Description

明 細 書 無線通信装置おょぴ通信用半導体集積回路並びに通信システム 技術分野  Description Wireless communication device and communication semiconductor integrated circuit and communication system
本発明は、 無線通信制御技術さらにはパケット通信における受信パケットの損 失 (欠落) を上位の制御装置に知らせる技術に関し、 例えばブルートゥース通信 規格のバケツトを送受信処理する無線通信装置おょぴそれを含む通信用 I c (半 導体集積回路) 並びにそれを用いた通信システムに利用して特に有効な技術に関 する。 背景技術  The present invention relates to a radio communication control technology and a technology for notifying a higher-level control device of a loss (loss) of a received packet in packet communication, and includes, for example, a radio communication device for transmitting and receiving a packet of a Bluetooth communication standard and the like. The present invention relates to a communication IC (semiconductor integrated circuit) and a technology particularly effective when used in a communication system using the same. Background art
無線通信規格の 1つにブルートゥースと呼ばれ、 2 . 4 G H z〜2 . 4 8 G H zの周波数帯を使用し短距離無線通信を行うものがある。 ブルートゥース規 格の無線通信方式は、 所定量のデータにヘッダを付けて送信するパケット通信 方式であ り 、 再送機能を持つ非同期通信 ( A C L : Asynchronous Connectionless) と、 再送機能を持たず所定の周期でパケットの送信を行なう 同期通信 ( S C O: Synchronous Connection Oriented) の 2つの通信モードを 備え、 それぞれ時分割で送信と受信を行なう。  One of the wireless communication standards is called Bluetooth, which performs short-range wireless communication using a frequency band of 2.4 GHz to 2.48 GHz. The Bluetooth standard wireless communication system is a packet communication system in which a predetermined amount of data is attached with a header and transmitted. Asynchronous communication (ACL: Asynchronous Connectionless) having a retransmission function, and a predetermined period without a retransmission function It has two communication modes of synchronous communication (SCO: Synchronous Connection Oriented) for transmitting packets, and performs transmission and reception in a time-division manner.
また、 プル一トゥース通信では、 マスタ機器とスレーブ機器との間でクロッ クの同期をとるとともに通信接続を確立するために、 ブルートウースクロック と呼ばれる 3 . 2 k H zのクロック信号に基づき、 3 . 2 k H zの 2倍の周期 ( 6 2 5 /X s ) でバケツトデータの交換が行なわれる。 そして、 通信相手の機 器と相互通信接続を行うための制御がリンクコントローラと呼ばれる機能によ り行なわれる。  In addition, in the pull-tooth communication, in order to synchronize the clock between the master device and the slave device and to establish a communication connection, the Bluetooth device uses a 3.2 kHz clock signal called a bluetooth clock. . Bucket data is exchanged at twice the cycle of 2 kHz (6 2 5 / X s). Then, control for making an intercommunication connection with the communication partner device is performed by a function called a link controller.
ブルートウース通信が可能なデパイスは、 非同期通信と同期通信を自由に使 い分けて通信を行なうことができ、 テキストデータのように高い信頼性を必要 とするデータを送信したい場合には非同期通信を使用し、 音声データやのよう にリアルタイム性が要求されるデータの送信には同期通信を使用するというよ うな使い分けが行なわれる。 A device capable of Bluetooth communication can freely use asynchronous communication and synchronous communication to perform communication.When transmitting data that requires high reliability such as text data, asynchronous communication can be used. Use voice data or like For transmission of data that requires high real-time performance, synchronous communication is used.
周知のように、 無線通信では使用環境の変化により一時的に電波の強度が低 下して通信不能になることがあり、 ブルートウース通信においてもかかる状況 下でパケットの損失が起こる。 プル一トゥース通信の非同期通信の場合、 パ ケット損失があってもバケツトを受信した側は次の送信バケツトにデータを受 信したことを示す情報を格納して送信する。 そのため、 送信側は送信後に受け 取ったパケットにその情報が含まれていないときはパケット損失と判定して同 一データを再送信するので、 支障はない。 図 1にプル一トゥース通信における 非同期通信の様子が示されている。  As is well known, in wireless communication, the intensity of radio waves may be temporarily reduced due to a change in the use environment, and communication may become impossible. In Bluetooth communication, packet loss occurs under such circumstances. In the case of asynchronous communication of pull-tooth communication, even if there is a packet loss, the side receiving the bucket stores information indicating that the data has been received in the next transmission bucket and transmits the packet. Therefore, if the information received is not included in the packet received after transmission, the transmitting side determines that the packet has been lost and retransmits the same data, so there is no problem. Figure 1 shows the asynchronous communication in pull-tooth communication.
図 1に示されているように、 通信デバイス Aが 3回目と 5, 6, 8回目に送 信したパケットが通信デバイス Bに届かなかった場合、 通信デバイス Aは 4回 目の送信パケットに 3回目と同じデータ Cを入れて再送し、 6 , 7回目の送信 パケットに 5回目と同じデータ Dを入れ、 9回目の送信パケットに 8回目と同 じデータ Eを入れて再送する。 通信デバイス Bが送信したパケットが通信デバ イス Aに届かなかった場合も同様であり、 図 1に示されているように、 例えば 通信デパイス Bが 8回目に送信したパケッ トが通信デパイス Aに届かなかつた 場合、 通信デバィス Bは 9回目の送信パケットに 8回目と同じデータ " d " を 入れて再送することとなる。 このようなデータの再送により、 非同期通信では データの損失が回避される。  As shown in Fig. 1, if the packet transmitted by communication device A for the third time, the fifth, sixth, and eighth times does not reach communication device B, communication device A sends three packets to the fourth transmitted packet. Put the same data C as the first time and resend, put the same data D as the fifth time in the 6th and 7th transmitted packets, put the same data E as the 8th time in the ninth transmitted packet, and retransmit. The same applies to the case where the packet transmitted by the communication device B does not reach the communication device A, as shown in Fig. 1, for example, whether the packet transmitted by the communication device B for the 8th time reaches the communication device A. Otherwise, communication device B retransmits the ninth packet with the same data "d" as the eighth packet. Such data retransmission avoids data loss in asynchronous communication.
一方、 同期通信の場合には、 このようなデータの再送がなされないため、 データの損失が起こる。 図 2にはブルートウース通信における同期通信の様子 が示されている。 図 2に示されているように、 通信デバイス Aが 3回目と 5 , 6, 8回目に送信したパケットが通信デバイス Bに届かなかった場合、 データ Cと E , F , Hが損失することになる。  On the other hand, in the case of synchronous communication, data loss occurs because such data is not retransmitted. Figure 2 shows the situation of synchronous communication in bluetooth communication. As shown in Fig. 2, if the packet transmitted by communication device A for the third time, the fifth, sixth, and eighth times does not reach communication device B, data C and E, F, and H are lost. Become.
従来、 再送機能を有していないパケット通信方式における損失データの補償 技術として、 例えば I P電話システムにおいて、 バケツトのヘッダ部にパケッ トの順序を示すシーケンス番号を入れるとともに時系列的に分割されたデータ を連続する複数のパケットに重複して入れて送信するようにした発明が提案さ れている (特開 2 0 0 3— 1 6 3 7 1 4号公報)。 Conventionally, as a technique for compensating for lost data in a packet communication system that does not have a retransmission function, for example, in an IP telephone system, a sequence number indicating the order of packets is inserted in the header of a bucket, and data that is divided in time series Has been proposed in which a packet is transmitted in a form of being overlapped in a plurality of consecutive packets (Japanese Patent Application Laid-Open No. 2003-166713).
しかしながら、 ブルートゥース規格においては、 異なるメーカより提供され た通信デバイス間の通信を保障するため、 ヘッダを含むパケットの構成につい て厳格に仕様が決められており、 規格と異なる仕様を持たせることはできない。 そして、 ブルートゥース規格の送信パケットのヘッダには、 シーケンス番号の ようなパケットの順序を示すような情報が入る領域は設けられていない。 その ため、 前記先願発明のようなデータ補償を行なうことができない。 また、 前記 先願発明は、 連続する複数のパケットに同一のデータを重複して入れて送信す る方式であるため、 データの伝送効率が悪い。 また、 動画像送信のような大量 のデータを短時間に送信したい場合には適していないという不具合がある。  However, in the Bluetooth standard, in order to guarantee communication between communication devices provided by different manufacturers, the specifications of the packet configuration including the header are strictly specified, and specifications different from the standard cannot be provided. . In addition, the header of the transmission packet of the Bluetooth standard does not include an area for storing information indicating a packet order such as a sequence number. Therefore, data compensation as in the prior invention cannot be performed. Further, the prior invention of the prior application is a method of transmitting the same data redundantly in a plurality of continuous packets and transmitting the same, so that the data transmission efficiency is poor. In addition, it is not suitable for transmitting a large amount of data in a short time, such as moving image transmission.
本発明の目的は、 ブルートゥース通信のようなバケツト通信であって再送機 能を持たずヘッダにパケットの順序を示す情報が入る領域のない同期通信にお いて、 本発明を適用していない同一規格の通信デパイスとの間の相互接続性を 保障しつつパケットの損失 (欠落) を確実に検出して上位の制御装置に知らせ ることができる通信制御技術を提供することにある。  An object of the present invention is to provide synchronous communication that is a bucket communication such as Bluetooth communication, does not have a retransmission function, and has no area in which information indicating a packet order is included in a header. An object of the present invention is to provide a communication control technique capable of reliably detecting a packet loss (drop) and notifying a higher-level control device while ensuring interoperability with a communication device.
また、 本発明の他の目的は、 ブルートゥース通信のようなパケット通信で あって再送機能を持たない同期通信において、 データの伝送効率を低下させる ことなくパケットの損失を確実に検出して上位の制御装置に知らせることがで きる通信制御技術を提供することにある。  Another object of the present invention is to provide a method for controlling packet communication such as Bluetooth communication, which does not have a retransmission function, by reliably detecting a packet loss without lowering the data transmission efficiency. An object of the present invention is to provide a communication control technique that can notify a device.
さらに、 本発明の他の目的は、 ブルートゥース通信のようなパケット通信で あって再送機能を持たない同期通信において、 ハードウエアを大幅に追加する ことなくパケットの損失を確実に検出して上位の制御装置に知らせることがで きる通信制御技術を提供することにある。  Further, another object of the present invention is to provide a method for controlling packet communication such as Bluetooth communication, which does not have a retransmission function, by reliably detecting a packet loss without significantly adding hardware. An object of the present invention is to provide a communication control technique that can notify a device.
本発明のさらに他の目的は、 プル一トゥース通信のようなパケット通信で あつて再送機能を持たな 、同期通信モードによる音声通信機能や動画像通信機 能を備える場合に、 パケットの損失を確実に検出し、 通信品質の向上を図るこ とができる無線通信装置を提供することにある。 この発明の前記ならぴにそのほかの目的と新規な特徴については、 本明細書の 記述おょぴ添附図面から明らかになるであろう。 発明の開示 Still another object of the present invention is to provide a packet communication such as a pull-tooth communication, which does not have a retransmission function, and has a voice communication function or a moving image communication function in a synchronous communication mode, which ensures packet loss. Another object of the present invention is to provide a wireless communication device capable of detecting a wireless communication device and improving communication quality. The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings. Disclosure of the invention
本願において開示される発明のうち代表的なものの概要を簡単に説明すれば、 下記の通りである。  The following is a brief description of an outline of a typical invention disclosed in the present application.
すなわち、 本発明は、 所定のプロトコルに従ってブルートゥース通信のよう なバケツト通信を行なうがパケット再送機能を持たずヘッダにバケツトの順序 を示す情報が入る領域のないパケットの同期通信が可能な無線通信装置に、 所 定の周期で受信バケツトの有無を判定し、 受信バケツトがないときはパケット の損失 (欠落) を上位の制御装置へ知らせる機能を設けるようにしたものであ る。 これにより、 受信側でパケットの損失を検出できるようにするために余分 な情報をバケツトに入れる必要がないので、 相互接続性を損なうことなくパ ケットの損失を検出できるとともに、 伝送効率を向上させることができる。  That is, the present invention relates to a wireless communication apparatus that performs bucket communication such as Bluetooth communication according to a predetermined protocol but does not have a packet retransmission function and is capable of synchronous communication of a packet having no area in which information indicating a bucket order is included in a header. In addition, a function is provided to determine the presence or absence of a reception bucket at a predetermined cycle, and to notify a higher-level control device of a packet loss (dropout) when there is no reception bucket. This eliminates the need to insert extra information into the packet so that the receiving side can detect the packet loss, so that the packet loss can be detected without impairing the interconnectivity and the transmission efficiency is improved. be able to.
ここで、 受信パケットの有無は、 受信データがオール " 0 " かオール " 1 " であるか否かで判定することができる。 また、 この判定は、 所定のプロトコル 制御を行なう回路から上位の制御装置へ渡される受信データあるいは所定のプ 口トコル制御を行なう回路から出力される信号もしくは状態フラグを見て判定 する手段を設けて行なっても良いし、 所定のプロトコル制御を行なう回路自身 にタイマもしくはカウンタを設けて所定の周期で受信パケットの有無を判定す る機能を持たせるようにしても良い。  Here, the presence or absence of a received packet can be determined based on whether the received data is all “0” or all “1”. In addition, this determination is provided by providing a means for making a determination based on received data passed from a circuit for performing predetermined protocol control to a higher-level control device or a signal or a status flag output from a circuit for performing predetermined protocol control. Alternatively, a timer or a counter may be provided in the circuit that performs a predetermined protocol control, and a function of determining the presence or absence of a received packet at a predetermined cycle may be provided.
また、 通信装置の上位の制御装置とのインタフェース部にテスト機能を支援 するテスト制御ィンタフェースを設け、 該テスト制御ィンタフェースを介して 上位の制御装置へバケツトの損失を知らせるように構成することができる。 ブ ルートゥース規格ではテスト制御インタフェース (T C I ) を設けた場合にお ける通信装置と上位の制御装置との間のパケット構成について規定されている ので、 ブルートゥース通信機能を設けた通信装置ではこのパケットを利用して 受信パケットの損失を上位の制御装置へ知らせるように構成しても良い。 さらに、 ブルートゥース規格で規定されている所定のプロトコル制御を行な う回路から上位の制御装置へ供給される H C I (ホストコントロールインタ フヱース) データパケットのヘッド部の予約領域を利用して、 そこに受信パ ケットの損失を示す情報を入れて上位の制御装置へ知らせるようにしても良い。 また、 このとき望ましくは、 その H C Iデータパケットのデータ領域に、 ダ ミーのデータを生成あるいはすでに受信したデータの中から適当なものを選択 して格納して上位の制御装置へ供給する。 図面の簡単な説明 Further, a test control interface for supporting a test function may be provided in an interface of the communication device with a higher-level control device, and the higher-level control device may be notified of the bucket loss via the test control interface. it can. The Bluetooth standard specifies the packet configuration between a communication device and a higher-level control device when a test control interface (TCI) is provided, so a communication device equipped with a Bluetooth communication function uses this packet. Then, the configuration may be such that the loss of the received packet is notified to a higher-level control device. In addition, using the reserved area of the head part of the HCI (Host Control Interface) data packet supplied from the circuit that performs the prescribed protocol control specified by the Bluetooth standard to the higher-level control device, it is received there. Information indicating the loss of a packet may be inserted and notified to a higher-level control device. Also, at this time, desirably, dummy data is generated in the data area of the HCI data packet or an appropriate one is selected from already received data and stored, and supplied to a higher-level control device. Brief Description of Drawings
図 1はブルートウース通信における非同期通信の例を示すタイミングチヤ一ト である。  Fig. 1 is a timing chart showing an example of asynchronous communication in Bluetooth communication.
図 2はブルートウース通信における同期通信の例を示すタイミングチヤ一トで める。  Figure 2 is a timing chart showing an example of synchronous communication in Bluetooth communication.
図 3は、 ブルートウース規格に従った通信機能を備えたブルートウース通信デ パイスの構成を示すブロック図である。  FIG. 3 is a block diagram showing the configuration of a Bluetooth communication device having a communication function according to the Bluetooth standard.
図 4はブルートウース通信の同期通信に用いられる送受信バケツトの構成を示 すパケット構成図である。  FIG. 4 is a packet configuration diagram showing the configuration of a transmission / reception bucket used for synchronous communication of bluetooth communication.
図 5はブルートゥース通信において制御部 (ホス ト) と通信実行部 (ホストコ ントローラ) との間でやり取りされる H C Iデータバケツトの構成を示すバケツ ト構成図である。  FIG. 5 is a bucket configuration diagram showing a configuration of an HCI data bucket exchanged between a control unit (host) and a communication execution unit (host controller) in Bluetooth communication.
図 6はブルートウース通信の同期通信に用いられる 3種類の H Vパケットの送 信タイミングを示すタイミングチャートである。  Fig. 6 is a timing chart showing the transmission timing of three types of HV packets used for synchronous communication of bluetooth communication.
図 7は第 1の実施例を適用したブルートゥース通信デバイスの構成を示すプ 口ック図である。  FIG. 7 is a pack diagram showing a configuration of a Bluetooth communication device to which the first embodiment is applied.
図 8は図 7の実施例のより詳細な構成を示すプロック図である。  FIG. 8 is a block diagram showing a more detailed configuration of the embodiment of FIG.
図 9は図 7の実施例の通信実行部におけるパケットの損失 (欠落) 検出の動作 手順を示すフローチャートである。  FIG. 9 is a flowchart showing an operation procedure of packet loss (drop) detection in the communication execution unit of the embodiment of FIG.
図 1 0はバケツト損失を知らせる T C Iパケットの構成を示すデータ構成図で ある。 Figure 10 is a data structure diagram showing the structure of a TCI packet indicating bucket loss. is there.
図 1 1は第 1の実施例の変形例である第 2の実施例を示すブロック図である。 図 1 2は第 2の実施例を適用したブルートゥース通信デバイスの構成を示すブ 口ック図である。 発明を実施するための最良の形態  FIG. 11 is a block diagram showing a second embodiment which is a modification of the first embodiment. FIG. 12 is a block diagram showing a configuration of a Bluetooth communication device to which the second embodiment is applied. BEST MODE FOR CARRYING OUT THE INVENTION
以下、 図面を用いて本発明の好適な実施形態について説明する。 ブルートゥー ス通信機能を備えた無線通信装置の例としては、 例えば携帯電話機との間で音声 通信を行なってハンズフリー通話を可能にするへッドセットがある。 ブルー トゥース規格は、 携帯電話機とヘッドセットあるいは携帯電話機とヘッドセット の各々に内蔵されるブルートウース通信デバイスがそれぞれ別のベンダから提供 されたものであっても相互接続を保証する規格である。 携帯電話機とへッドセッ トの各々に内蔵されるブルートウース通信デバイスがどちらか一方でもブルー トゥース規格 (プロ トコル) から外れた独自機能を持つ場合に相互に接続できな い。 このように所定の規格で相互に通信を行う通信デバイス間において、 所定の 規格から外れた独自機能を持つ場合には相互に接続できなくなるような性質を相 互接続性 (インタオペラピリティ) という。  Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. As an example of a wireless communication device having a Bluetooth communication function, there is, for example, a headset that enables a hands-free call by performing voice communication with a mobile phone. The Bluetooth standard is a standard that guarantees interconnection even if the mobile phone and the headset or the Bluetooth communication device built into each of the mobile phone and the headset are provided by different vendors. If one of the bluetooth communication devices built into the mobile phone and the headset has a unique function that deviates from the Bluetooth standard (protocol), it cannot be connected to each other. Such a property that communication devices that communicate with each other according to a predetermined standard cannot connect to each other if they have unique functions that deviate from the predetermined standard is called interoperability. .
なお、 携帯電話機には他の携帯電話機との間で C DMAや G S Mなどセルラ方 式の広域無線通信を行なう機能や液晶パネルなどの表示機能、 テンキーを使って 入力操作機能などの複数の機能が設けられており、 本明細書ではそれらの機能の うちブルートゥース通信をサポートする I C (半導体集積回路) あるいは複数の I Cや電子部品を絶縁基板上やセラミックパッケージ内に実装してブルートウー ス通信機能を有するようにしたモジュールなどの電子デバイスをブルートウース 通信デバイスと称する。  The mobile phone has multiple functions, such as a function to perform cellular wide-area wireless communication such as CDMA and GSM with other mobile phones, a display function such as an LCD panel, and an input operation function using numeric keys. In this specification, among those functions, an IC (semiconductor integrated circuit) that supports Bluetooth communication or a plurality of ICs and electronic components are mounted on an insulating substrate or in a ceramic package to have a Bluetooth communication function. Such an electronic device such as a module is referred to as a Bluetooth communication device.
図 3は、 ブルートウース規格に従った通信機能を備えたブルートウース通信デ パイスの構成を示す。  Figure 3 shows the configuration of a Bluetooth communication device equipped with a communication function according to the Bluetooth standard.
図 3に示されているように、 ブルートウース通信デバイスは大きく分けると、 アンテナ A N Tを介してデータの送受信を行なうホス トコントローラと呼ばれる 通信実行部 1 1 0とそれを制御するホストと呼ばれる制御部 1 2 0とからなり、 通信実行部 1 1 0と制御部 1 2 0との間は H C I (ホストコントロールインタ フェース) と呼ばれるブルートゥース規格で規定されているプロトコルに従って データゃコマンドのやりとりを行なうように構成される。 As shown in Fig. 3, Bluetooth communication devices are roughly called host controllers that transmit and receive data via antenna ANT. It consists of a communication execution unit 110 and a control unit 120 called a host that controls the communication execution unit 110. The Bluetooth standard called HCI (Host Control Interface) is used between the communication execution unit 110 and the control unit 120. It is configured to exchange data @ commands according to the protocol specified in.
通信実行部 1 1 0は送信信号のァップコンパート機能や変調機能、 増幅機能、 受信信号の増幅機能や復調機能、 ダウンコンパ一ト機能などを備える高周波信号 処理部としての物理層 1 1 1と、 該物理層 1 1 1により送受信されるデータをブ ルートウース通信プロトコルに従って処理したり通信相手のデバイスとの間の通 信接続状態を確立したりパケットの分析、 解読、 再構築などを行なったりするリ ンクコントローラ 1 1 2と、 該リンクコントローラ 1 1 2と前記制御部 1 2 0と の間の信号のやりとりを行なう H C Iィンタフヱース部 1 1 3と、 プル一トゥー ス通信の周期を決定するブルートゥースクロックと呼ばれる 3 . 2 k H zの基準 クロック信号 C L Kを生成する基準クロック生成回路 1 1 4とから構成される。 制御部 1 2 0は、 通信実行部 1 1 0との間の信号のやりとりを行なう H C Iィ ンタフェース部 1 2 1と、 プル一トゥース通信プロトコルに従って通信実行部 1 1 0に対する信号を制御したり通信実行部 1 1 0からの信号を処理するプロトコ ルスタック部 1 2 2と、 通信デバイス全体を制御するアプリケーション部 1 2 3 とから構成される。 アプリケーション部 1 2 3は、 制御プログラムそのもの、 あ るいはかかる制御プログラムを格納した不揮発性メモリを含めたものを意味する。 また、 プロトコルスタック部 1 2 2も制御プログラムそのものをさすこともある し、 メモリに格納されている制御プログラムを読み出して解読する機構を含めた ものをさすこともある。 要するに、 プロ トコルスタック部 1 2 2とアプリケー ション部 1 2 3の切り分けは制御部の機能を分かりやすくするための便宜的なも のであり、 このような分け方に限定されない。  The communication execution unit 110 has a physical layer 111 as a high-frequency signal processing unit having a transmission signal up-compartment function, a modulation function, an amplification function, a reception signal amplification function, a demodulation function, a down-comparison function, and the like. Data transmitted and received by the physical layer 111 is processed according to a Bluetooth communication protocol, a communication connection state with a communication partner device is established, and packet analysis, decoding, and reconstruction are performed. An HCI interface section 113 for exchanging signals between the link controller 111, the link controller 112, and the control section 120, and a Bluetooth clock for determining a period of the pull-tooth communication. And a reference clock generation circuit 114 for generating a 3.2 kHz reference clock signal CLK. The control unit 120 communicates with the HCI interface unit 121 that exchanges signals with the communication execution unit 110, and controls and communicates signals to the communication execution unit 110 according to the pull-tooth communication protocol. It comprises a protocol stack section 122 for processing signals from the execution section 110 and an application section 123 for controlling the entire communication device. The application unit 123 refers to the control program itself or a device including a nonvolatile memory storing the control program. Further, the protocol stack section 122 may also refer to the control program itself, or may include a mechanism including a mechanism for reading and decoding the control program stored in the memory. In short, the separation between the protocol stack section 122 and the application section 123 is for the purpose of making the function of the control section easy to understand, and is not limited to such a division method.
本実施例のように、 制御部 (ホス ト) 1 2 0と通信実行部 (ホストコントロー ラ) 1 1 0とが別個の装置として構成される場合、 一般には、 デパイスベンダ (部品メーカ) が通信実行部 1 1 0を開発し、 セットメーカが制御部 1 2 0を開 発することが行われている。 このように、 通信実行部 1 1 0と制御部 1 2 0の開 発主体 (ベンダ) が異なる場合においても、 上記のように HC Iと呼ばれるブ ルートウース規格のィンタフエースを用いて通信実行部 1 1 0と制御部 1 20と の間のやりとりを行えるように構成しておくことより、 システムの開発を容易に 行なうことができるようになつている。 In the case where the control unit (host) 120 and the communication execution unit (host controller) 110 are configured as separate devices as in this embodiment, generally, a devis vendor (parts maker) performs communication. An execution unit 110 has been developed, and a set maker has developed a control unit 120. Thus, the communication execution unit 110 and the control unit 120 are opened. Even when the originator (vendor) is different, the communication between the communication execution unit 110 and the control unit 120 can be performed using the Bluetooth standard interface called HCI as described above. By doing so, the system can be easily developed.
図 4にはブルートウース通信デバイス間で送受信される送信バケツトの構成力 また図 5には制御部 (ホスト) 1 20と通信実行部 (ホストコントローラ) 1 1 0との間でやりとりされる HC Iデータバケツトの構成が示されている。 通信実 行部 1 1 0のリンクコントローラ 1 1 2によって、 他の通信デバイスから受信し た図 4のような構成のパケットを分析、 解読し図 5のような構成の HC I同期通 信データパケットに再構築する処理と、 制御部 1 20から受け取った図 5のよう な構成の HC I同期通信データパケットを分析、 解読し図 4のような構成のパ ケットに再構築する処理が行われる。  Fig. 4 shows the configuration of the transmission bucket transmitted and received between the Bluetooth communication devices. Fig. 5 shows the HC I exchanged between the control unit (host) 120 and the communication execution unit (host controller) 110. The structure of the data bucket is shown. The link controller 111 of the communication execution unit 110 analyzes and decodes a packet with the configuration shown in Fig. 4 received from another communication device, and decodes the HCI synchronous communication data packet with the configuration shown in Fig. 5. And a process of analyzing and decoding the HCI synchronous communication data packet having the configuration shown in FIG. 5 received from the control unit 120 and reconstructing it into a packet having the configuration shown in FIG.
なお、 図 4において、 符号 "AC" が付されている部分はパケットを送る相手 先を示すタグが入るアクセスコード領域、 "HEAD" が付されている部分はパ ケットの種類や通信リンクを管理するためのパラメータが入るパケットヘッダ領 域、 "P L" は伝送するデータが入るペイロード領域である。 また、 図 5におい て、 符号 "DATA" が付されている部分は伝送されるデータが入るデータ領域、 "CH" が付されている部分は複数のブルートウースデパイスとデータ通信をす る場合にデパイスを区別するコードゃ音声データあるいは画像データなのかコン テンッを区別するコードが入るコネクションハンドル領域、 "RSV" が付され ている部分はプル一トウース規格でまだ仕様は規定されていないが予め確保して おくことが規定されている予約領域、 "DTL" はデータ領域 DAT Aに入って いるデータの長さを示す情報が入るデータ長指定領域である。  In Fig. 4, the part marked with "AC" is the access code area that contains the tag indicating the destination of the packet, and the part marked with "HEAD" is the type of packet and the communication link. The packet header area contains the parameters to be transmitted, and the "PL" is the payload area containing the data to be transmitted. In FIG. 5, the part marked with “DATA” is the data area where the data to be transmitted is entered, and the part marked with “CH” is used for data communication with multiple Bluetooth devices. Code for distinguishing the depths ゃ Connection handle area that contains the code for distinguishing the content, whether it is audio data or image data, and the part with “RSV” is reserved in advance, although the specification is not yet defined in the Plutooth standard The reserved area, "DTL", which is specified to be reserved, is a data length specification area that contains information indicating the length of data in the data area DATA.
ブルートウース規格では、 HC Iパケットとして上記データバケツトの他に、 ホストからホストコントローラへ与えるコマンドを発行するときに使用するコマ ンドバケツトと、 逆にホストコントローラからホストに対してコマンドを発行す るときに使用するイベントパケットとがある。 また、 ホストとホストコントロー ラとの間のデータのやり取りをするためのデータバケツトに関しては、 ホストか らホストコントローラへデータを送るときに使用する下りのデータパケットと、 ホス トコントローラからホストへデータを送るときに使用する上りのデータパ ケットとがある。 図 6 (A) 〜 (C) には、 ブルートゥース通信における同期 通信の 3つのモードのタイミングが示されている。 図 6に示されているように、 ブルートゥース通信における同期通信には、 2スロット (1. 2 5m s e c) ご とにマスタからスレーブ、 スレープからマスタへパケットの送信を交互に行なう HV 1パケッ トモードと、 4スロッ ト (2. 5 m s e c ) ごとにマスタからス レーブ、 スレーブからマスタへパケットの送信を交互に行なう HV 2パケット モードと、 6スロッ ト (3. 7 5m s e c) ごとにマスタからスレーブ、 スレー ブからマスタへパケットの送信を交互に行なう HV 3パケットモ一ドとがあり、 2つのデバイス間で通信を確立する際にいずれのモードで通信を行なうか決定さ れる。 なお、 通信途中でもマスタとスレーブとの間でモードを切り替える旨を通 知することにより、 モードを切り替えることができる。 According to the Bluetooth standard, in addition to the above data bucket as an HCI packet, a command bucket used when issuing a command given from the host to the host controller, and when issuing a command from the host controller to the host And an event packet to be used. For the data bucket for exchanging data between the host and the host controller, the data bucket There is a downstream data packet used when sending data from the host controller to the host controller, and an upstream data packet used when sending data from the host controller to the host. Figures 6 (A) to 6 (C) show the timing of three modes of synchronous communication in Bluetooth communication. As shown in Fig. 6, synchronous communication in Bluetooth communication includes an HV1 packet mode in which packets are alternately transmitted from the master to the slave and from the slave to the master every two slots (1.25 msec). HV 2-packet mode, in which the master sends a packet from the master to the slave every 4 slots (2.5 msec) and alternately sends a packet from the slave to the master, and from master to slave every 6 slots (3.75 msec) There is an HV 3 packet mode in which packets are alternately transmitted from the slave to the master. When establishing communication between two devices, which mode is used for communication is determined. The mode can be switched even during communication by notifying that the mode is switched between the master and the slave.
図 7は第 1の実施例を適用したブルートウース通信デバイスの構成を、 また図 8は第 1の実施例のより詳細な構成を示す。  FIG. 7 shows a configuration of a bluetooth communication device to which the first embodiment is applied, and FIG. 8 shows a more detailed configuration of the first embodiment.
図 7に示されているように、 本実施例は通信実行部 1 1 0に受信パケットの損 失 (欠落) を検出するパケット損失検出部 1 1 5を設けるとともに、 パケット損 失検出部 1 1 5により検出されたパケット損失を、 インタフェース部 1 1 3から TC Iと呼ばれるィンタフェースを介して上位の制御部 1 2 0へ知らせるように 構成したものである。 より具体的には、 図 8に示されているように、 通信実行部 1 1 0のインタフヱース部 1 1 3にテスト機能を支援するテスト制御ィンタ フェース (TC I ) 1 3 1を設け、 該テス ト制御インタフェースを介して上位の 制御部 1 20へパケットの損失 (欠落) を知らせるように構成する。  As shown in FIG. 7, in the present embodiment, the communication execution unit 110 is provided with a packet loss detection unit 115 for detecting the loss (loss) of the received packet, and the packet loss detection unit 111 The configuration is such that the packet loss detected by 5 is notified from the interface unit 113 to the upper-level control unit 120 via an interface called TCI. More specifically, as shown in FIG. 8, a test control interface (TCI) 1331 that supports a test function is provided in an interface unit 113 of the communication execution unit 110, and the test is performed. It is configured to notify the higher-level control unit 120 of the packet loss (dropout) via the port control interface.
また、 ブルートゥース規格ではテスト制御インタフェース (TC I ) を設けた 場合における通信装置と上位の制御装置との間のパケット (TC Iパケット) の 構成について規定されているので、 テス ト制御インタフェース 1 3 1には、 この TC Iパケットを生成する機能を有する TC I生成部 1 3 2を設ける。 なお、 ィ ンタフェース部 1 1 3には、 ブルートウース通信本来の HC Iパケットを生成す る機能を有する H C I生成部 1 3 3も設けられている。 このようにテスト制御回 路 (T C I ) 1 3 1を用いて上位の制御部 1 2 0へパケットの損失 (欠落) を知 らせるように構成することにより、 ブルートウース規格から外れた規格を用いな いようにし、 相互接続性 (インタオペラビリティ) を保つ事によりブルートゥー ス通信デパイス同士相互に通信可能にすることができる。 In addition, the Bluetooth standard specifies the configuration of a packet (TCI packet) between a communication device and a higher-level control device when a test control interface (TCI) is provided. Is provided with a TCI generator 132 having a function of generating the TCI packet. Note that the interface section 113 generates an HCI packet that is originally used for Bluetooth communication. An HCI generation unit 133 having a function of In this way, by using the test control circuit (TCI) 1331 to notify the higher-level control unit 120 of the packet loss (drop), it is possible to use a standard that deviates from the Bluetooth standard. By avoiding this problem and maintaining interoperability, it is possible to enable communication between Bluetooth communication devices.
パケット損失検出部 1 1 5は、 リンクコントローラ 1 1 2からインタフェース 部 1 1 3を介して制御部へ送られる受信データ R Dがオール " 0 " かオール " 1 " であるか否かを調べて受信パケットの有無を判定するパケット受信判定部 1 5 1と、 基準クロック生成回路 1 1 4で生成された基準クロック信号 (プル一 トゥースクロック) C L Kに基づいてパケット受信同期信号を生成する同期信号 生成部 1 5 2とからなる。  The packet loss detection unit 115 checks whether or not the received data RD sent from the link controller 112 to the control unit via the interface unit 113 is all "0" or all "1". Synchronization signal generation unit that generates a packet reception synchronization signal based on the packet reception determination unit 151 that determines the presence or absence of a packet and the reference clock signal (pull-tooth clock) CLK generated by the reference clock generation circuit 114 1 5 2
上記パケット受信判定部 1 5 1は同期信号生成部 1 5 2から供給されるバケツ ト受信同期信号 P R Sに同期して受信パケットの有無を判定し、 パケットの損失 を検出するとそれをインタフェース部 1 1 3の T C I生成部 1 3 2へ知らせ、 T C I生成部 1 3 2は受信バケツトの損失を知らせる T C Iパケットを生成して上 位の制御部へ送るように構成される。 なお、 同期信号生成部 1 5 2はタイマある いはブルートゥースクロック C L Kを計数するカウンタにより構成することがで きる。 また、 パケット損失検出部 1 1 5はハードウェアで構成しても良いし、 ソ フトウヱァで構成することも可能である。  The packet reception determination unit 151 determines the presence or absence of a received packet in synchronization with the bucket reception synchronization signal PRS supplied from the synchronization signal generation unit 152, and when the packet loss is detected, this is determined by the interface unit 11 1 3, the TCI generation unit 132 is configured to generate a TCI packet indicating the loss of the reception bucket and send it to the upper control unit. Note that the synchronization signal generation section 152 can be configured by a timer or a counter that counts the Bluetooth clock CLK. In addition, the packet loss detection unit 115 may be configured by hardware, or may be configured by software.
プノレートゥース通信では、 リンクコントローラがプノレートゥースクロックを送 信側通信デパイスと受信側通信デパイス間で同期させることでパケットの送受信 を行なうため、 上記のようにブルートゥースクロックに基づいてパケット受信同 期信号 P R Sを生成することにより、 バケツトの正確な受信タイミングを知るこ とができ、 これによつて誤りのないパケット損失検出が可能となる。  In the PN communication, the link controller synchronizes the PN clock between the transmitting communication device and the receiving communication device to transmit / receive packets. Therefore, as described above, the packet reception synchronization signal PRS is based on the Bluetooth clock. By generating the packet, it is possible to know the accurate reception timing of the bucket, thereby enabling error-free packet loss detection.
なお、 プル一トゥース規格ではテスト制御インタフェース (T C I ) を設けた 場合におけるホストコントローラと上位のホストとの間のバケツト (T C Iパ ケット) の構成について規定されているが、 ホス トコントローラ側に設ける T C Iの機能はハードウエアでもソフトウエアでも実現可能となっている。 従って、 テスト制御回路を専用回路として設計しても良いし、 テスト制御回路として、 例 えば J TAG (Joint Test Action Group) により決定されたバウンダリスキヤ ンテストに関する規格で規定されている TAP (Test Access Port) と呼ばれる インタフェース回路を使用することができる。 Note that the pull-tooth standard specifies the configuration of a bucket (TCI packet) between the host controller and an upper-level host when a test control interface (TCI) is provided, but the TCI provided on the host controller side This function can be realized by hardware or software. Therefore, The test control circuit may be designed as a dedicated circuit, or the test control circuit may be, for example, a TAP (Test Access Port) specified by the standard for boundary scan testing determined by the JTAG (Joint Test Action Group). An interface circuit called can be used.
図 9には、 第 1の実施例の通信実行部 1 1 0におけるパケットの損失 (欠落) 検出の動作手順が示されている。  FIG. 9 shows an operation procedure for detecting packet loss (loss) in the communication execution unit 110 of the first embodiment.
図 9に示されているように、 パケットの損失 (欠落) 検出では、 先ず受信パ ケットが HV 1モードのパケット力、 HV 2モードのパケット力、、 HV3モード のパケットかが判定される。 具体的には、 ステップ S 1で受信パケットが HV 1 モードのパケットか否かが判定され、 HV 1モードでないときはステップ S 2で 受信パケットが HV 2モードのパケットか否かが判定される。 受信パケットが H V 1モードのバケツトでも HV 2モードのパケットのいずれのパケットでもない ときは HV 3モードのパケットと判定される。 そして、 受信パケットが HV 1 モードのパケットのときはステップ S 3で 1. 25m s e c毎に受信データを チェックし、 受信パケットが HV 2モードのパケットのときはステップ S 4で 2. 5ms e c毎に受信データをチェックし、 受信パケットが HV 3モードのパケッ トのときはステップ S 5で 3. 75m s e c毎に受信データをチェックする。  As shown in FIG. 9, in packet loss (dropout) detection, it is first determined whether a received packet is an HV1 mode packet power, an HV2 mode packet power, or an HV3 mode packet. More specifically, it is determined in step S1 whether the received packet is a packet in the HV1 mode. If the received packet is not in the HV1 mode, it is determined in step S2 whether the received packet is a packet in the HV2 mode. If the received packet is neither an HV1 mode bucket nor an HV2 mode packet, it is determined to be an HV3 mode packet. If the received packet is an HV1 mode packet, the received data is checked every 1.25 msec in step S3, and if the received packet is an HV2 mode packet, every 2.5ms ec in step S4. The received data is checked. If the received packet is an HV3 mode packet, the received data is checked every 3.75 msec in step S5.
その後、 ステップ S 6で受信データがオール " 0 " かォーノレ " 1 " であるか否 かを調べて、 オール "0" またはオール "1" でないときは受信パケットがある と判定して何もせず、 ステップ S 1へ戻る。 一方、 ステップ S 6で受信データが オール "0" またはオール "1" であることを検出すると、 ステップ S 7へ移行 してインタフェース部 1 1 3の TC I生成部 132へパケット損失検出信号 PL Dを送り、 TC I生成部 1 32にてバケツト損失を示す TC Iパケットを生成し て制御部 1 20へ送ってパケット損失を知らせる。  Then, in step S6, it is checked whether or not the received data is all "0" or all "1". If not, it is determined that there is a received packet if it is not all "0" or all "1", and nothing is performed. Return to step S1. On the other hand, if it is detected in step S6 that the received data is all "0" or all "1", the flow proceeds to step S7, where the packet loss detection signal PLD is sent to the TCI generation unit 132 of the interface unit 113. The TCI generation unit 132 generates a TCI packet indicating the bucket loss and sends it to the control unit 120 to notify the packet loss.
図 1 0には、 パケット損失を知らせる TC Iパケットの構成を示す。  FIG. 10 shows the configuration of a TCI packet that indicates packet loss.
図 1 0において、 "OpCode" はコマンドを一義的に識別するための 1 6ビット のデータが入る領域で、 このフィールドはオペコードの入るフィールド "OC F" と、 コマンドのグループ (種類) を示すコードが入るフィールド "OGF" とからなる。 "PTL" はこの後に続くフィールドに入るパラメータ 0〜Nの トータルの長さを示す 8ビットのデータが入るフィールドである。 ブルートウー ス規格では、 コマンドグループフィールド "OGF" に、 "0 x 3 F" を入れる ことによりベンダに固有のコマンドを追加することができると規定されている。 本実施例では、 この規定を利用してベンダに固有のコマンドを新たに設けこの コマンドをフィールド "OCF" に設定した TC Iパケットを生成し制御部 1 2 0へ送ってパケット損失を知らせるようになつている。 あるいは、 TC Iパケッ トを送ること自体がパケット損失を示すと定義しておいて、 任意の TC Iパケッ トを生成し制御部 1 20へ送るように構成しても良い。 In Fig. 10, "OpCode" is an area that contains 16-bit data for uniquely identifying a command. This field is a field that contains an opcode, "OCF", and a code that indicates the command group (type). "OGF" in the field Consists of "PTL" is a field that contains 8-bit data that indicates the total length of parameters 0 to N that are to be entered in the following field. The Bluetooth standard specifies that vendor-specific commands can be added by inserting "0x3F" in the command group field "OGF". In this embodiment, a new command unique to the vendor is provided by using this rule, a TCI packet in which this command is set in the field "OCF" is generated, and sent to the control unit 120 to notify the packet loss. I'm familiar. Alternatively, it may be configured that sending a TCI packet itself indicates a packet loss, and an arbitrary TCI packet may be generated and sent to the control unit 120.
なお、 上記実施例では、 パケット損失検出部 1 1 5のパケット受信判定部 1 5 1が、 リンクコントローラ 1 1 2からインタフェース部 1 1 3を介して制御部へ 送られる受信データがオール "0" かオール "1" であるか否かを調べて受信パ ケットの有無を判定するように構成されているが、 受信データの代わりにリンク コントローラ 1 1 2に受信バケツトの有無を示すフラグを設け、 該フラグの状態 を示す信号をパケット受信判定部 1 5 1へ入力して受信パケットの有無を判定す るように構成しても良い。 リンクコントローラ 1 1 2は、 例えば受信信号の強度 が低くてデータを識別できな 、場合に図 5のデータ部 DATAに入れるデータを オール "0" に設定し、 受信信号の強度が高くすぎてデータを識別できない場合 に図 5のデータ部 DAT Aに入れるデータをオール "1" に設定する、 つまり予 め受信パケットの有無を知ることができるので、 それを反映するフラグを設ける ことにより、 バケツト受信判定部 1 5 1へ受信パケットの有無を知らせることが できる。  Note that, in the above embodiment, the packet reception determination unit 151 of the packet loss detection unit 115 determines that the received data transmitted from the link controller 112 to the control unit via the interface unit 113 is all “0”. It is configured to determine whether there is a received packet by checking whether or not all are "1". However, instead of the received data, a flag indicating the presence or absence of a received bucket is provided in the link controller 112. A signal indicating the state of the flag may be input to the packet reception determining unit 151 to determine the presence or absence of a received packet. For example, when the received signal strength is low and the data cannot be identified, the link controller 112 sets all data to “0” in the data section DATA shown in FIG. 5, and sets the data to “0” because the received signal strength is too high. If the data cannot be identified, the data to be put in the data section DATA in Fig. 5 is set to all "1". In other words, the presence or absence of a received packet can be known in advance. It is possible to notify determination section 15 1 of the presence or absence of a received packet.
図 1 1には、 第 1の実施例 (図 3) の変形例である第 2の実施例を示す。 この 変形例は、 パケット損失検出部 1 1 5に、 受信データ生成部 1 5 3を設け、 パ ケット受信判定部 1 51がパケット損失を検出してパケット損失情報を送って来 たならば、 図 5の HC I同期通信データパケットのデータ領域 DAT Aに格納す るダミーの受信データを生成して HC Iィンタフエース部 1 1 3へ渡すようにす るとともに、 HC Iィンタフェース部 1 1 3は HC Iデータパケットのデータ領 域 D A T Aにダミー受信データを格納し予約領域 R S Vにはバケツトの損失を知 らせるための所定のコードを格納した H C Iデータパケットを生成して制御部 1 2 0 へ供給するように構成したものである。 このような構成することにより、 ブ ルートゥース規格から外れた規格を用いないようにし、 相互接続性 (インタオペ ラビリティ) を保つ事によりブルートゥース通信デバイス同士相互に通信可能に することができる。 FIG. 11 shows a second embodiment which is a modification of the first embodiment (FIG. 3). In this modified example, a received data generation unit 153 is provided in the packet loss detection unit 115, and if the packet reception judgment unit 151 detects the packet loss and sends the packet loss information, 5, the dummy reception data to be stored in the data area DATA of the HC I synchronous communication data packet is generated and passed to the HC I interface section 113, and the HC I interface section 113 Data area of I data packet The HCI data packet that stores the dummy reception data in the area DATA and the predetermined code for notifying the bucket loss in the reserved area RSV is generated and supplied to the control unit 120. is there. With such a configuration, it is possible to prevent the use of a standard that deviates from the Bluetooth standard, and to enable mutual communication between the Bluetooth communication devices by maintaining the interoperability.
更に、 テス ト制御回路 (T C I ) 1 3 1を用いて上位の制御部 1 2 0 へバケツ トの損失 (欠落) を知らせるように構成や、 H C Iデータパケットのデータ領域 D A T Aにダミー受信データを格納し予約領域 R S Vにはパケットの損失を知ら せるための所定のコードを格納した H C Iデータパケットを生成して制御部 1 2 0 へ供給するように構成のように、 所定の規格を保ちつつ、 所定の規格を満たし たバケツト内にパケットの損失を知らせるような情報を格納して上位の制御部へ パケットの損失 (欠落) を知らせるよう構成を取ることにより、 パケットの損失 を上位の制御部に知らせることを行いつつ、 相互接続性 (インタオペラピリ ティ) を保つ事が可能となり通信デバイス同士相互に所定の規格での通信が可能 になる。  In addition, a test control circuit (TCI) 1331 is used to notify the upper control unit 120 of the bucket loss (loss), and dummy reception data is stored in the data area DATA of the HCI data packet. In the reserved area RSV, an HCI data packet storing a predetermined code for notifying the loss of the packet is generated and supplied to the control unit 120. Informs the higher-level control unit of the information that informs the higher-level control unit by storing information that informs the packet loss in a bucket that satisfies the above standard, thereby notifying the higher-level control unit of the packet loss. In doing so, it is possible to maintain interoperability, and communication devices can communicate with each other according to a predetermined standard.
このパケットを受け取った制御部 1 2 0は、 予約領域 R S Vを調べることによ りデータ領域のデータがダミーデータであることを認識することができる。 そし て、 このダミーデータのときはそれを破棄して例えばすでに受信してメモリに保 存してあるデータの中から適当なものを抽出してスピーカへ送ることにより、 パ ケットの損失を補償した音声データを再生させることができる。 音声信号は比較 的に狭い周波数範囲に限られているので、 受信したデータの中から適当なものを 選択することでデータ捕償をしても、 データが欠落したものを再生する場合より も違和感のない音声を再生させることができる。  The control unit 120 that has received this packet can recognize that the data in the data area is dummy data by checking the reserved area R SV. In the case of the dummy data, the loss of the packet was compensated by discarding the dummy data and extracting an appropriate one from the data already received and stored in the memory and sending the extracted data to the speaker. Audio data can be reproduced. Since the audio signal is limited to a relatively narrow frequency range, even if the data is compensated by selecting an appropriate one from the received data, it is more uncomfortable than playing back the missing data. Audio without sound can be played.
なお、 前記ダミーデータは制御部 1 2 0側で破棄されるので、 パケット構成で 規定されている長さであればどのようなデータであっても良い。 また、 ダミー データをデータ領域 D A T Aに格納せずに、 予約領域 R S Vにバケツトの損失を 知らせるための所定のコードを格納した H C Iデータバケツトを生成して制御部 1 2 0へ供給するように構成してもよい。 Since the dummy data is discarded on the control unit 120 side, any data having a length specified by the packet configuration may be used. Also, instead of storing the dummy data in the data area DATA, an HCI data bucket that stores a predetermined code for notifying the bucket loss to the reserved area RSV is generated and the control unit generates the HCI data bucket. It may be configured to supply to 120.
図 1 2には、 第 2の実施例を適用したブルートゥース通信デバイスの構成を示 す。 図 1 2において、 図 3と同一の機能を有するブロックには同一の符号を付し て重複した説明は省略する。  FIG. 12 shows a configuration of a Bluetooth communication device to which the second embodiment is applied. In FIG. 12, blocks having the same functions as those in FIG. 3 are denoted by the same reference numerals, and redundant description will be omitted.
この第 2の実施例のブルートゥース通信デパイスは、 通信実行部 1 1 0のリン クコントローラ 1 1 2、 ィンタフェース部 1 1 3、 パケット損失検出部 1 1 5と 制御部 1 2 0のプロ トコルスタック部 1 2 2を 1つの半導体チップに半導体集積 回路 (ブルートウース通信用 I C ) 1 0 0として構成したものである。 物理層 1 1 1を構成する高周波信号処理装置としての R Fモジュール 2 0 0とアプリケー シヨン部 1 2 3としてのフラッシュメモリ 3 1 0は、 このブルートゥース通信用 I C 1 0 0に外付け部品として接続され、 これらがプリント配線基板などの上に 実装されて通信システムが構成される。  The Bluetooth communication device of the second embodiment includes a protocol stack of a link controller 112 of the communication execution unit 110, an interface unit 113, a packet loss detection unit 115, and a control unit 120. The unit 122 is configured as a semiconductor integrated circuit (IC for bluetooth communication) 100 on one semiconductor chip. An RF module 200 as a high-frequency signal processing device constituting the physical layer 111 and a flash memory 310 as an application unit 123 are connected to the Bluetooth communication IC 100 as external components. These are mounted on a printed wiring board or the like to form a communication system.
R Fモジュール 2 0 0は、 変復調用 I Cやパワーアンプ (高周波電力増幅器) 、 不要波除去用のフィルタ、 送受信切替えスィッチなどにより構成される。 本実施 例のプノレートゥース通信用 I C 1 0 0においては、 リンクコントローラ 1 1 2と パケット損失検出部 1 1 5は専用ロジック回路により一体的に構成されており、 図 1 2には 1つのブロックとして示されている。  The RF module 200 is composed of an IC for modulation and demodulation, a power amplifier (high-frequency power amplifier), a filter for removing unnecessary waves, and a transmission / reception switching switch. In the IC 100 of the present embodiment, the link controller 112 and the packet loss detector 115 are integrally formed by a dedicated logic circuit, and are shown as one block in FIG. Have been.
また、 特に制限されるものでないが、 本実施例のシステムでは、 3 . 3 Vのよ うなバッテリ電源からの電源電圧を、 ブルートウース通信用 I C 1 0 0および R Fモジュール 2 0 0に必要とされる 2 . 8 Vのような電源電圧に変換する電圧レ ギユレータ (D C— D Cコンバータ) 4 0 0や、 データの一時記憶領域や C P U の作業領域を提供する外付けの S R AM (スタティックメモリ) 3 2 0が設けら れている。 S R AM 3 2 0が設けられているため、 前に受信したデータを保存し ておくことができ、 それによつてパケット損失が検出されたときに、 すでに受信 したデータに基づいてデータの補償を行なうことができる。 音声データはテキス トデータのように正確性をそれほど必要としないため、 ブルートウース通信を使 用した音声通信において前に受信したデータに基づいてデータの補償を行なうこ とで音声の途切れによる音質の低下を回避することができるという利点がある。 また、 この実施例のシステムにおいては、 RFモジュール 200に 1 3MH z のような高い周波数の発振子 2 1 0が接続され、 RFモジュール 20 0の動作に 必要なク口ック信号 φ 0が生成されるとともに、 そのク口ック信号 0がブルー トウース通信用 I C 1 0 0にも供給され、 プロトコルスタック部 1 2 2の動作ク ロック φ 1の基準となるクロック信号とされている。 そして、 本実施例のブルー トウース通信用 I C 1 0 0には、 RFモジユーノレ 2 0 0からのク口ック信号 φ 0 を遁倍して 2 6 MH zまたは 5 2 MH zの動作クロック φ 1を生成するクロック パルスジェネレータ (CPG) が設けられている。 Although not particularly limited, in the system of the present embodiment, a power supply voltage from a battery power supply such as 3.3 V is required for the Bluetooth communication IC 100 and the RF module 200. A voltage regulator (DC-DC converter) 400 that converts to a power supply voltage such as 2.8 V, and an external SRAM (static memory) 3 that provides a temporary storage area for data and a work area for the CPU 3 20 are provided. Since the SRAM320 is provided, previously received data can be stored, and when packet loss is detected, data is compensated based on already received data. be able to. Since voice data does not require much accuracy like text data, in voice communication using Bluetooth communication, data is compensated based on previously received data, resulting in sound quality degradation due to audio interruption. There is an advantage that can be avoided. In the system of this embodiment, a high-frequency oscillator 210 such as 13 MHz is connected to the RF module 200 to generate a cut-off signal φ 0 required for the operation of the RF module 200. At the same time, the clock signal 0 is also supplied to the Bluetooth communication IC 100 and is used as a reference clock signal for the operation clock φ 1 of the protocol stack section 122. Further, the Bluetooth communication IC 100 according to the present embodiment is configured to add the operation signal φ 1 of 26 MHz or 52 MHz by multiplying the mouth signal φ 0 from the RF module 200 by the multiplication. There is a clock pulse generator (CPG) to generate the clock.
同様に、 R Fモジュール 2 0 0力、ら出力されるク口ック信号 φ 0はブルー トウース通信の基準クロックとして通信実行部 1 1 0に入力される。  Similarly, the output signal φ 0 output from the RF module 200 is input to the communication execution unit 110 as a reference clock for Bluetooth communication.
この実施例では、 リンタコントローラ 1 1 2が物理層 1 1 1としての R Fモ ジュール 200とは別個の半導体チップ上に形成されているため、 RFモジユー ル 20 0とリンタコントローラ 1 1 2との間の信号のタイミングを調整したりレ ベルを合わせるための RFインタフェース 1 6 1が設けられている。 制御部側の インタフェースである HC Iインタフェース 1 1 3は、 周辺パス HP Βに接続さ れている。  In this embodiment, since the linter controller 112 is formed on a semiconductor chip separate from the RF module 200 serving as the physical layer 111, a connection between the RF module 200 and the linter controller 112 is made. An RF interface 161 is provided to adjust the timing and level of these signals. The HCI interface 113, which is the interface on the control unit side, is connected to the peripheral path HP #.
プロトコルスタック部 1 2 2は、 マイクロプロセッサ (C PU) 1 7 1やメモ リアクセスコントローラ (MAC) 1 7 2などにより構成されている。 C PU 1 7 1には、 第 1。?1;パス1^ー13 u sを介してキャッシュメモリ 1 8 1と RAM 1 8 2が接続されている。 キャッシュメモリ 1 8 1と RAMI 8 2は第 2 C PU パス I一 b u sに接続され、 第 2 CPUパス I一 b u sと周辺パス HP Bとの間 にはバス間のデータのやりとりを行うパスブリッジ P P B Sが設けられている。 また、 第 2 C PUバス I— b u sには DMA (ダイレク トメモリアクセス) 転送 制御を行なう DMAコントローラ DMACが接続されている。  The protocol stack section 122 is composed of a microprocessor (CPU) 171 and a memory access controller (MAC) 172. The CPU 1 7 1 has the first. ? 1; the cache memory 18 1 and the RAM 18 2 are connected via the path 1 ^ -13 us. The cache memory 18 1 and RAMI 82 are connected to the second CPU path I-bus, and a path bridge PPBS for exchanging data between buses between the second CPU path I-bus and the peripheral path HPB Is provided. Further, a DMA controller DMAC that controls DMA (direct memory access) transfer is connected to the second CPU bus I-bus.
この実施例においては、 図 3のプロ トコルスタック部 1 2 2は、 フラッシュメ モリ 3 1 0内のアプリケーションプログラムのうちプロトコル処理ルーチンとそ れを実行する C PU 1 7 1とによりファームウェアとして構成されているとみる ことができる。 図 3の HC Iインタフェース部 1 2 1も、 フラッシュメモリ 3 1 0内のアプリケーションプログラムのうちホストとホストコントローラとの間の 通信を行なう処理ルーチンとそれを実行する C PU 1 7 1とによりファームゥェ ァとして構成されているとみることができる。 In this embodiment, the protocol stack section 122 of FIG. 3 is configured as firmware by a protocol processing routine among the application programs in the flash memory 310 and a CPU 171 executing the protocol processing routine. Can be seen. HCI interface 1 2 1 in Fig. 3 is also flash memory 3 1 It can be considered that the processing routine for performing communication between the host and the host controller among the application programs in 0 and the CPU 171 for executing the processing routine are configured as a firmware.
さらに、 この実施例のブルートゥース通信デバイスにおいては、 第 2 CPUパ ス I _b u sにパス上の信号のタイミング調整などの制御を行なうパスステート コントローラ B S Cが設けられ、 第 2 CPUパス I一 b u sはこのパスステート コントローラ B S Cを介してフラッシュメモリ 3 1 0が接続された外部システム パス 3 3 0との間でデータ信号のやり取りが可能にされている。  Further, in the Bluetooth communication device of this embodiment, the second CPU path I_bus is provided with a path state controller BSC for performing control such as timing adjustment of a signal on the path. Data signals can be exchanged with an external system path 330 to which the flash memory 310 is connected via the path state controller BSC.
また、 周辺パス HPBには、 各種時間管理用のタイマユニット TMU、 外部デ パイスとの間でシリアルで信号の入出力を行なうシリアルコミュニケーションィ ンタフェース S C I F l , S C I F 0、 外部デバイスからの割込みを受け付ける 割込みコントローラ I NTC、 アナログ ·デジタルや変換やデジタル ·アナログ 変換を行なう変換回路 D ACなどの周辺回路が接続されている。  The peripheral path HPB has a timer unit TMU for various time management, serial communication interfaces SCIFl and SCIF0 that input and output signals serially to and from external devices, and interrupts that accept interrupts from external devices. Peripheral circuits such as a controller I NTC and a conversion circuit DAC that performs analog-to-digital or conversion or digital-to-analog conversion are connected.
特に制限されるものでないが、 この実施例においては、 通信実行部 1 1 0側か ら制御部 1 2 0側へ受信パケットの損失を前記変形例 (図 1 1) で説明したよう な HC Iデータバケツトで知らせるようにされている。 通信実行部と制御部とが 同一のチップ上に形成されているので、 通信実行部側から制御部側へ受信バケツ トの損失を知らせる手段として必ずしも HC Iデータパケットを用いる必要はな いが、 HC Iデータパケットを用いることにより、 セットメーカ側においてフ ラッシュメモリ 3 1 0に格納するアプリケーションプログラムを開発する際に、 過去の設計資産を利用することができ開発が容易になるなどの利点がある。  Although not particularly limited, in this embodiment, the loss of the received packet from the communication execution unit 110 to the control unit 120 is determined by the HC I as described in the above-described modification (FIG. 11). It is made to notify in the data bucket. Since the communication execution unit and the control unit are formed on the same chip, it is not always necessary to use the HCI data packet as a means to notify the reception unit of the loss of the received bucket from the communication execution unit. Use of HC I data packets has the advantage that when designing application programs to be stored in the flash memory 310 on the set manufacturer side, past design resources can be used and development becomes easier. .
なお、 この第 2実施例においても、 受信パケットの損失を知らせる手段として 必ずしも HC Iデータパケットを用いる必要はなく、 テスト制御ィンタフェース (TC I ) を HC Iインタフェース部 1 1 3に設けて HC Iパケットの代わりに TC Iパケットで受信バケツトの損失を知らせるように構成することができる。 以上説明したように、 前記実施例においては、 パケット再送機能を持たず ヘッダにバケツトの順序を示す情報が入る領域のないパケットの同期通信が可 能なブルートウース通信の通信装置としてのホストコントローラに、 所定の周 期で受信パケットの有無を判定し、 受信パケットがないときはバケツトの損失 (欠落) を上位の制御装置としてのホストへ知らせる機能を設けるようにした ので、 受信側でパケットの損失を検出するために余分な情報をバケツトに入れ る必要がない。 そのため、 送信パケットを変更する必要がなく、 相互接続性を 損なうことなくパケットの損失を検出できるとともに、 伝送効率を向上させる ことができる。 In the second embodiment, it is not always necessary to use the HC I data packet as a means for notifying the loss of the received packet, and a test control interface (TC I) is provided in the HC I interface section 113 to provide the HC I data. It can be configured so that the loss of the received bucket is indicated by a TCI packet instead of the packet. As described above, in the above-described embodiment, the host controller as a communication device of the bluetooth communication capable of performing synchronous communication of a packet having no packet retransmission function and having no area in which information indicating a bucket order is included in a header is provided. , The predetermined circumference A function is provided to notify the host as a higher-level control device of the presence / absence of a received packet at the end of the period, and when there is no received packet, a function to notify the host as a higher-level control device is provided. There is no need to put extra information in the bucket. Therefore, it is not necessary to change the transmission packet, it is possible to detect the packet loss without impairing the interconnectivity, and it is possible to improve the transmission efficiency.
また、 受信データがオール " 0 " かオール " 1 " であるか否かで判定するこ とで受信パケットの有無を判定するようにしたので、 簡単なハードウエアもし くはソフトウエアの追加で受信パケットの有無を判定することができる。  Also, the presence or absence of a received packet is determined by determining whether the received data is all "0" or all "1", so reception can be performed with simple hardware or additional software. The presence or absence of a packet can be determined.
さらに、 通信装置の上位の制御装置とのインタフェース部にテスト機能を支 援するテスト制御インタフェースを設け、 該テスト制御インタフヱースを介し て上位の制御装置へパケットの損失 (欠落) を知らせるように構成したので、 通信装置にテスト機能を持たせる場合に簡単なハードウエアもしくはソフト ウェアの追加で受信パケットの欠落を上位の制御装置へ知らせることができる。 さらに、 ブルートゥース規格で規定されている所定のプロ トコル制御を行な う回路から上位の制御装置へ供給される H C I同期通信データバケツトのへッ ド部の予約領域を利用して、 そこに受信パケットの損失 (欠落) を示す情報を 入れて上位の制御装置へ知らせるとともに、 その H C I同期通信データパケッ トのデータ領域に、 ダミーのデータを格納して上位の制御装置へ供給するよう にしたので、 ハードウェアやソフトウェアを大幅に変更することなく受信パ ケットの損失 (欠落) を上位の制御装置へ知らせることができる。  Further, a test control interface for supporting a test function is provided at an interface of the communication device with a higher-level control device, and the higher-level control device is notified of a packet loss (dropout) via the test control interface. Therefore, when a communication device has a test function, the lack of a received packet can be notified to a higher-level control device by adding simple hardware or software. Furthermore, using the reserved area of the head part of the HCI synchronous communication data bucket supplied to the higher-level control device from the circuit that performs the predetermined protocol control specified by the Bluetooth standard, reception is performed there. Since information indicating packet loss (loss) is inserted to notify the higher-level control device, dummy data is stored in the data area of the HCI synchronous communication data packet and supplied to the higher-level control device. In addition, the loss (loss) of the received packet can be reported to a higher-level control device without significantly changing the hardware or software.
また、 すでに受信した音声データを蓄積可能なメモリを備えるため、 受信パ ケットが損失しても既に受信してあるデータを用いて擬似的な修復を行なうこ とが可能であり、 かかる修復を行なうことにより音声通信の品質を向上させる ことができる。  In addition, since a memory capable of storing already received audio data is provided, even if a reception packet is lost, it is possible to perform pseudo restoration using already received data, and perform such restoration. As a result, the quality of voice communication can be improved.
以上本発明者によってなされた発明を実施例に基づき具体的に説明したが、 本発明は上記実施例に限定されるものではなく、 その要旨を逸脱しない範囲で 種々変更可能であることはいうまでもない。 例えば、 上記実施例では、 フラッシュメモリ 3 1 0を外付けメモリとしてプ ルートウース通信用 I Cに接続するようにしているが、 ブルートウース通信用 I Cに内部メモリとして内蔵させてもよい。 また、 所定量の受信データを蓄積 可能なバッファメモリをリンクコントローラ側に設けておいて、 パケット損失 を知らせる H C I同期通信データパケットの中に入れるダミーデータの代わり にすでに受信したデータの中から適当なものを選択して制御部側へ供給するよ うにしても良い。 これにより、 制御部側におけるデータ補償処理を省き、 C P Uの負担を軽減することができる。 さらに、 上記実施例では、 音声データの 入ったパケットの通信を例にとって説明したが、 本発明は音声データのみでな く画像データを通信する場合にも適用することができる。 産業上の利用可能性 Although the invention made by the inventor has been specifically described based on the embodiments, the present invention is not limited to the above-described embodiments, and it is needless to say that various modifications can be made without departing from the gist of the invention. Nor. For example, in the above embodiment, the flash memory 310 is connected as an external memory to the Bluetooth communication IC, but may be built in the Bluetooth communication IC as an internal memory. In addition, a buffer memory capable of storing a predetermined amount of received data is provided in the link controller, and instead of the dummy data included in the HCI synchronous communication data packet indicating the packet loss, appropriate data is selected from the already received data. It is also possible to select an object and supply it to the control unit. As a result, the data compensation processing on the control unit side can be omitted, and the burden on the CPU can be reduced. Further, in the above-described embodiment, the communication of the packet containing the audio data has been described as an example. However, the present invention can be applied to the case of communicating not only the audio data but also the image data. Industrial applicability
以上本発明をブルートゥース通信具体的には携帯電話機とへッドセットから なるハンズフリ一システムを想定した実施例に適用した場合を説明したが、 本 発明はこれに限定されず、 ブルートゥース通信によるトランシーバあるいは内 線電話として利用したり、 インターネットを利用した音声通信システム (いわ ゆるインターネットフオン) に使用するへッドセットとパソコンとの間の音声 通信、 M P 3プレーヤーなど形態オーディオ機器とへッドセットとの間の音楽 データ通信、 さらにはプル一トゥース通信以外のバケツトによる同期通信にも 広く利用することができる。  The case where the present invention is applied to the embodiment assuming a Bluetooth communication, specifically, a hands-free system including a mobile phone and a headset has been described. However, the present invention is not limited to this, and a transceiver or extension using Bluetooth communication is used. Voice communication between a headset and a personal computer used as a telephone or voice communication system using the Internet (so-called Internet phone), music data communication between a portable audio device such as an MP3 player and a headset It can also be widely used for synchronous communication using buckets other than pull-tooth communication.

Claims

請求の範囲 The scope of the claims
1 . 所定のプロトコルに従ってパケットの同期通信を行なうことが可能であつ て、 相互接続性を有する上記同期通信が可能な無線通信装置であって、 所定の 周期で受信パケットの有無を判定し、 受信パケットがないと判定したときに受 信パケットの欠落を上位の制御装置へ知らせる機能を備えることを特徴とする 無線通信装置。 1. A wireless communication device capable of performing synchronous communication of packets in accordance with a predetermined protocol and capable of performing the above-described synchronous communication having interconnectivity. A wireless communication device having a function of notifying a higher-level control device of a lack of a received packet when it is determined that there is no packet.
2 . 前記同期通信のためのクロック信号に基づいて計時動作を行なうカウンタ もしくはタイマを備え、 該カウンタもしくはタイマの値に従って所定の周期で 受信パケットの有無を判定することを特徴とする請求項 1に記載の無線通信装 置。 2. The apparatus according to claim 1, further comprising: a counter or a timer for performing a clocking operation based on a clock signal for the synchronous communication, and determining the presence or absence of a received packet at a predetermined cycle according to the value of the counter or the timer. The wireless communication device described.
3 . 前記パケット通信はブルートゥース規格に従った通信であることを特徴と する請求項 1または 2に記載の無線通信装置。 3. The wireless communication device according to claim 1, wherein the packet communication is communication according to the Bluetooth standard.
4 . 前記カウンタもしくはタイマは、 ブルートゥース規格に従った同期通信に 使用されるクロック信号に基づいて計時動作を行なうことを特徴とする請求項 2に記載の無線通信装置。 4. The wireless communication device according to claim 2, wherein the counter or the timer performs a timing operation based on a clock signal used for synchronous communication according to the Bluetooth standard.
5. ブルートウース規格のホストコントロールインタフェースで規定されてい る受信データを上位の制御装置へ渡すためのデータパケットと同一仕様のパ ケットで、 前記受信パケットの欠落を前記上位の制御装置へ知らせることを特 徴とする請求項 1〜 4のいずれかに記載の無線通信装置。 5. A packet with the same specification as the data packet for passing the received data specified by the Bluetooth standard host control interface to the higher-level control device, and notifying the lack of the received packet to the higher-level control device. The wireless communication device according to any one of claims 1 to 4, which is characterized in that:
6 . ブルートウース規格で規定されているテストコントロールインタフェース を備え、 該テストコントロールインタフェースの仕様のパケットで、 前記受信 パケットの欠落を前記上位の制御装置へ知らせることを特徴とする請求項 1〜 4のいずれかに記載の無線通信装置。 6. A test control interface stipulated by the Bluetooth standard, and the packet of the test control interface specification is notified to the higher-level control device of the lack of the received packet. 5. The wireless communication device according to any one of 4.
7 . 前記受信パケッ トの欠落を判定する周期は、 パケットの送信の周期と同一 であることを特徴とする請求項 1〜 6のいずれかに記載の無線通信装置。 7. The wireless communication apparatus according to claim 1, wherein a cycle for determining the loss of the received packet is the same as a cycle for transmitting the packet.
8 . 前記パケットにより送信されるデータは音声データであることを特徴とす る請求項 1〜 7のいずれかに記載の無線通信装置。 8. The wireless communication device according to claim 1, wherein the data transmitted by the packet is voice data.
9 . ブルートゥース規格で規定されているプロトコルに従ってパケット通信を 行なう無線通信装置であって、 ブルートゥース規格で規定されているテス トコ ントロールインタフェースを備え、 該テストコントロールインタフヱ一スの仕 様のパケットで、 受信バケツトの欠落を上位の制御装置へ知らせる機能を備え ることを特徴とする無線通信装置。 9. A wireless communication device that performs packet communication in accordance with the protocol specified by the Bluetooth standard, has a test control interface specified by the Bluetooth standard, and is a packet of the specification of the test control interface. A wireless communication device having a function of notifying a higher-level control device of a lack of a reception bucket.
1 0 . ブルートゥース規格に従った同期通信に使用されるクロック信号もしく はそれに基づいて生成された信号に同期して前記受信パケットの欠落を上位の 制御装置へ知らせることを特徴とする請求項 9に記載の無線通信装置。 10. The control device according to claim 9, wherein said higher-level control device is notified of the lack of said received packet in synchronization with a clock signal used for synchronous communication according to the Bluetooth standard or a signal generated based on said clock signal. A wireless communication device according to claim 1.
1 1 . ブルートウース規格で規定されているプロトコルに従ってパケット通信 を行なう無線通信装置であって、 ブルートゥース規格で規定されているホス ト コントロー/レインタフエースを備え、 該ホス トコントロー レインタフェースの 仕様のパケットで、 受信パケットの欠落を上位の制御装置へ知らせる機能を備 えることを特徴とする無線通信装置。 1 1. A wireless communication device that performs packet communication according to the protocol specified by the Bluetooth standard, has a host controller / rain interface specified by the Bluetooth standard, and has the specifications of the host controller interface. A wireless communication device having a function of notifying a higher-level control device of a lack of a received packet by a packet.
1 2 . 前記受信パケッ トの欠落を上位の制御装置へ知らせる情報は、 前記ホス トコントロールインタフエースの仕様のパケットの予約領域に格納されて出力 されることを特徴とする請求項 1 1に記載の無線通信装置。 12. The information according to claim 11, wherein the information for notifying the higher-level control device of the lack of the reception packet is stored in a reserved area of a packet of the specification of the host control interface and output. Wireless communication device.
1 3 . 請求項 1〜1 1のいずれかに記載の無線通信装置と、 該無線通信装置を 制御する上位の制御装置と、 前記無線通信装置から出力される送信バケツト信 号を変調しアンテナより受信されたパケットの信号を復調するとともに送受信 信号の周波数変換機能を有する高周波信号処理装置と、 を備えることを特徴と する通信システム。 13. The wireless communication device according to any one of claims 1 to 11, a higher-level control device that controls the wireless communication device, and an antenna that modulates a transmission bucket signal output from the wireless communication device. A high-frequency signal processing device having a function of demodulating a received packet signal and having a frequency conversion function of a transmitted / received signal.
1 4 . 前記上位の制御装置は、 マイクロプロセッサと該マイクロプロセッサが 実行するァプケーシヨンプログラムを格納した不揮発性メモリとから構成され ていることを特徴とする請求項 1 3に記載の通信システム。 14. The communication system according to claim 13, wherein said higher-level control device comprises a microprocessor and a nonvolatile memory storing an application program executed by said microprocessor. .
1 5 . 所定のプロトコルに従ってバケツト通信を行なう同期通信が可能であつ て、 相互接続性を有する上記同期通信が可能な通信実行部と、 該通信実行部を 制御する制御部とがーつの半導体チップに形成されてなる通信用半導体集積回 路であって、 所定の周期で受信パケットの有無を判定し、 受信パケットがない と判定したときに受信パケットの欠落を前記制御部へ知らせる機能を備えるこ とを特徴とする通信用半導体集積回路。 15. A semiconductor chip capable of performing synchronous communication for performing bucket communication in accordance with a predetermined protocol and having a communication execution unit capable of performing the synchronous communication having interconnectivity and a control unit for controlling the communication execution unit A communication semiconductor integrated circuit formed at a predetermined period, and having a function of determining presence / absence of a received packet at a predetermined cycle, and notifying the control unit of the lack of the received packet when determining that there is no received packet. And a semiconductor integrated circuit for communication.
1 6 . 前記通信実行部はブルートウース規格に従って通信処理を行なうロジッ ク部とブルートゥース規格のホストコントロールインタフェースとを備え、 前 記制御部へ渡すためのデータパケットと同一仕様であるブルートゥース規格の パケットで、 前記受信パケットの欠落を前記制御部へ知らせることを特徴とす る請求項 1 5に記載の通信用半導体集積回路。 16. The communication execution unit includes a logic unit that performs communication processing in accordance with the Bluetooth standard and a Bluetooth standard host control interface, and is a Bluetooth standard packet having the same specifications as the data packet to be passed to the control unit. 16. The communication semiconductor integrated circuit according to claim 15, wherein the control unit is notified of the lack of the received packet.
1 7 . 前記受信パケットの欠落を前記制御部へ知らせる情報は、 前記ホストコ ントロールインタフェースの仕様のパケッ トの予約領域に格納されて出力され ることを特徴とする請求項 1 6に記載の通信装置。 17. The communication device according to claim 16, wherein the information for notifying the control unit of the lack of the received packet is stored and output in a reserved area of a packet of the specification of the host control interface. .
1 8 . 前記制御部はマイクロプロセッサを含んでいることを特徴とする請求項 1 6に記載の通信用半導体集積回路。 18. The control unit includes a microprocessor. 16. The semiconductor integrated circuit for communication according to item 16.
1 9 . 前記パケット通信はブルートゥース規格に従った通信であることを特徴 とする請求項 1 5のいずれかに記載の通信用半導体集積回路。 19. The communication semiconductor integrated circuit according to claim 15, wherein the packet communication is communication according to the Bluetooth standard.
2 0 . 請求項 1 5〜1 9のいずれかに記載の通信用半導体集積回路と、 該通信 用半導体集積回路から出力される送信パケット信号を変調しアンテナより受信 されたパケットの信号を復調するとともに送受信信号の周波数変換機能を有す る高周波信号処理装置と、 を備えることを特徴とする通信システム。 20. A communication semiconductor integrated circuit according to any one of claims 15 to 19, and a transmission packet signal output from the communication semiconductor integrated circuit is modulated to demodulate a packet signal received from an antenna. And a high-frequency signal processing device having a frequency conversion function of a transmission / reception signal.
2 1 . 請求項 1 8に記載の通信用半導体集積回路と、 該通信用半導体集積回路 から出力される送信パケット信号を変調しアンテナより受信されたバケツトの 信号を復調するとともに送受信信号の周波数変換機能を有する高周波信号処理 装置と、 前記マイクロプロセッサが実行するアブケーシヨンプログラムを格納 した不揮発性メモリと、 を備えることを特徴とする通信システム。  21. A communication semiconductor integrated circuit according to claim 18, and a transmission packet signal output from the communication semiconductor integrated circuit is modulated to demodulate a bucket signal received from an antenna and frequency-convert a transmission / reception signal. A communication system comprising: a high-frequency signal processing device having a function; and a non-volatile memory storing an absorption program executed by the microprocessor.
2 2 . 既に受信したバケツトのデータを記憶可能な揮発性メモリをさらに備え ることを特徴とする請求項 2 0または 2 1に記載の通信システム。  22. The communication system according to claim 20 or 21, further comprising a volatile memory capable of storing bucket data already received.
2 3 . 所定のプロトコルに従ってパケットの通信を行なうことが可能な無線通 信装置であって、 受信バケツトの有無を判定し、 判定結果を上記所定のプロト コルを守りつつ上記所定のプロトコルのパケット内に上記判定結果を格納して 上位の制御装置へ知らせる機能を備えることを特徴とする無線通信装置。  23. A wireless communication device capable of performing packet communication in accordance with a predetermined protocol, which determines whether or not there is a received bucket, and determines a determination result within a packet of the predetermined protocol while observing the predetermined protocol. A wireless communication device having a function of storing the above determination result and informing a higher-level control device of the result.
2 4 . 所定のプロトコルに従ってパケット通信を行なうことが可能であって、 相互接続性を有する上記バケツト通信が可能な通信実行部と、 該通信実行部を 制御する制御部とがーつの半導体チップに形成されてなる通信用半導体集積回 路であって、 受信バケツトの有無を判定し、 判定結果を上記所定のプロトコル を守りつつ上記所定のプロトコルのバケツト内に上記判定結果を格納して前記 制御部へ知らせる機能を備えることを特徴とする通信用半導体集積回路。 24. A communication execution unit capable of performing packet communication according to a predetermined protocol and capable of performing the above-described bucket communication having interconnectivity, and a control unit that controls the communication execution unit are integrated into one semiconductor chip. A communication semiconductor integrated circuit formed, which determines the presence or absence of a reception bucket, and outputs the determination result to the predetermined protocol. A communication semiconductor integrated circuit having a function of storing the determination result in a bucket of the predetermined protocol and informing the control unit of the determination result while observing the above.
2 5 . 前記通信実行部はブルートウース規格に従って通信処理を行なうロジッ ク部とプノレートゥース規格のホストコントロールインタフェースとを備え、 ブ ルートウース規格で規定されている受信データを前記制御部へ渡すためのデー タパケットと同一仕様のパケットで、 上記判定結果を前記制御部へ知らせるこ とを特徴とする請求項 2 4に記載の通信用半導体集積回路。 25. The communication execution unit includes a logic unit that performs communication processing in accordance with the Bluetooth standard and a host control interface that conforms to the Puno rate standard. 26. The communication semiconductor integrated circuit according to claim 24, wherein the determination result is notified to the control unit using a packet having the same specification as that of the communication semiconductor integrated circuit.
2 6 . 上記判定結果は、 前記ホス トコントロールインタフェースの仕様のパ ケットの予約領域に格納されて出力されることを特徴とする請求項 2 5に記載 の通信用半導体集積回路。 26. The communication semiconductor integrated circuit according to claim 25, wherein the determination result is stored and output in a reserved area of a packet of the specification of the host control interface.
2 7 . 前記通信実行部はブルートウース規格で規定されているテストコント ローノレインタフェースを備え、 該テス トコントロールインタフェースの仕様の パケットで、 上記判定結果を上記制御部へ知らせる機能を備えることを特徴と する無線通信装置。 27. The communication execution unit is provided with a test control interface specified by the Bluetooth standard, and is provided with a function of notifying the control unit of the above determination result with a packet of the test control interface specification. Wireless communication device.
PCT/JP2004/006193 2004-04-28 2004-04-28 Radio communication unit, semiconductor integrated circuit for communication, and communication system WO2005107185A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2004/006193 WO2005107185A1 (en) 2004-04-28 2004-04-28 Radio communication unit, semiconductor integrated circuit for communication, and communication system
JP2006512700A JPWO2005107185A1 (en) 2004-04-28 2004-04-28 Wireless communication device, semiconductor integrated circuit for communication, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2004/006193 WO2005107185A1 (en) 2004-04-28 2004-04-28 Radio communication unit, semiconductor integrated circuit for communication, and communication system

Publications (1)

Publication Number Publication Date
WO2005107185A1 true WO2005107185A1 (en) 2005-11-10

Family

ID=35242028

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2004/006193 WO2005107185A1 (en) 2004-04-28 2004-04-28 Radio communication unit, semiconductor integrated circuit for communication, and communication system

Country Status (2)

Country Link
JP (1) JPWO2005107185A1 (en)
WO (1) WO2005107185A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009090781A1 (en) * 2008-01-18 2009-07-23 Sony Corporation Remotely operating device, electric device and communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001007818A (en) * 1999-06-25 2001-01-12 Sony Corp Communication method, communication system and communication terminal
JP2002344455A (en) * 2001-05-14 2002-11-29 Matsushita Electric Ind Co Ltd Communications apparatus and communication method and recording medium
JP2004015715A (en) * 2002-06-11 2004-01-15 Renesas Technology Corp Semiconductor integrated circuit and radio communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001007818A (en) * 1999-06-25 2001-01-12 Sony Corp Communication method, communication system and communication terminal
JP2002344455A (en) * 2001-05-14 2002-11-29 Matsushita Electric Ind Co Ltd Communications apparatus and communication method and recording medium
JP2004015715A (en) * 2002-06-11 2004-01-15 Renesas Technology Corp Semiconductor integrated circuit and radio communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009090781A1 (en) * 2008-01-18 2009-07-23 Sony Corporation Remotely operating device, electric device and communication system
US8638397B2 (en) 2008-01-18 2014-01-28 Sony Corporation Remote control apparatus, electric apparatus and communication system

Also Published As

Publication number Publication date
JPWO2005107185A1 (en) 2008-03-21

Similar Documents

Publication Publication Date Title
US8982899B2 (en) Apparatus and control interface therefor
JP5258343B2 (en) Semiconductor device and semiconductor integrated circuit
EP1794930A4 (en) Communication apparatus and communication method
EP2219400B1 (en) Performing diagnostics in a wireless system
EP1880350A4 (en) Contactless type integrated circuit card and method for communicating data by multiprotocol
JP4854668B2 (en) Wireless transmission apparatus and wireless transmission method
CN110089176A (en) A kind of data transmission method and equipment
GB2394331B (en) Error detection system for a FIFO memory
WO2005107185A1 (en) Radio communication unit, semiconductor integrated circuit for communication, and communication system
US20110096758A1 (en) Method for enhancing throughput of a wlan module collocated with a bt slave module, and associated wireless communication apparatus and wireless communication module
JP3444532B2 (en) Time division multiplex wireless communication apparatus and method
JP5681449B2 (en) Information processing apparatus and portable terminal
JP4566726B2 (en) Semiconductor integrated circuit for wireless communication
JP2006191405A (en) Semiconductor integrated circuit for radio communication and radio communication apparatus
TWI386099B (en) System including bluetooth module and wireless lan module and control method therefor
KR20080004097A (en) Bluetooth system module
JP2021514556A (en) Measurement method, network device and terminal device
CN104115410B (en) Wireless device and base band processing device and communication means
ATE317204T1 (en) ELECTRONIC SWITCH FOR COMMUNICATION TERMINALS WITH SEVERAL CHIP CARDS, AND COMMUNICATION METHOD
JP2011147082A (en) Radio communication system
JP2007096624A (en) Radio communication device equipped with carrier frequency changing means
JPH11122677A (en) Cordless telephone set
JP3225164B2 (en) Mobile communication device
JP4624252B2 (en) Data packet transfer device, data packet transfer method, and data packet transfer program
JP2004072535A (en) Method for controlling voice communication in bluetooth

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

DPEN Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed from 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006512700

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase