WO2019244410A1 - Communication system, master device, slave device, and communication method - Google Patents

Communication system, master device, slave device, and communication method Download PDF

Info

Publication number
WO2019244410A1
WO2019244410A1 PCT/JP2019/007540 JP2019007540W WO2019244410A1 WO 2019244410 A1 WO2019244410 A1 WO 2019244410A1 JP 2019007540 W JP2019007540 W JP 2019007540W WO 2019244410 A1 WO2019244410 A1 WO 2019244410A1
Authority
WO
WIPO (PCT)
Prior art keywords
slave
read data
slave devices
transmits
master
Prior art date
Application number
PCT/JP2019/007540
Other languages
French (fr)
Japanese (ja)
Inventor
彰人 関谷
Original Assignee
ソニーセミコンダクタソリューションズ株式会社
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 ソニーセミコンダクタソリューションズ株式会社 filed Critical ソニーセミコンダクタソリューションズ株式会社
Priority to JP2020525252A priority Critical patent/JP7284751B2/en
Publication of WO2019244410A1 publication Critical patent/WO2019244410A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation

Definitions

  • the present technology relates to a communication system, a master device, a slave device, and a communication method. More specifically, the present invention relates to a communication system in which a master device and a slave device communicate, a master device, a slave device, and a communication method.
  • the I2C (Inter-Integrated Circuit) communication standard has been widely used when devices communicate on the same board.
  • a gaming machine has been proposed in which an IC (Integrated Circuit) as a master device and an I / O (Input / Output) expander as a slave device communicate using the I2C communication standard (for example, Patent Document 1). reference.).
  • I2C communication standard when a master device reads data from a slave device, a procedure is performed in which the master device first transmits a slave address, and then the slave device transmits data to the master device.
  • a master device (such as an IC) can read data from a slave device (such as an I / O expander) using a relatively high-speed I2C communication standard.
  • a master device in the I2C communication standard, a master device must transmit a slave address every time a slave device is accessed. Therefore, as the number of slave devices to be read increases, the number of slave addresses to be transmitted at the time of reading increases, and there is a problem that the communication amount increases.
  • the present technology has been created in view of such a situation, and has an object to suppress an increase in communication amount in a communication system in which a master device reads data from a slave device.
  • a communication system including a slave device, a master device that receives the read data in order from the plurality of slave devices when the specific address is transmitted to the plurality of slave devices, and a communication method thereof. This brings about an effect that read data is sequentially transmitted from a plurality of slave devices in response to reception of a specific address.
  • a different order may be assigned to each of the plurality of slave devices, and each of the plurality of slave devices may transmit the read data in the assigned order. . This brings about an effect that the read data is transmitted in the assigned order.
  • each of the plurality of slave devices may transmit the read data of a predetermined number of bits. This brings about an effect that data is transmitted by a predetermined number of bits.
  • each of the plurality of slave devices may transmit the 1-bit read data. This brings about an effect that data is transmitted one bit at a time.
  • the master device sets the number of bits of the read data to each of the plurality of slave devices, and each of the plurality of slave devices sets the number of bits of the read data of the set number of bits. Data may be transmitted. This brings about an effect that the read data of the set number of bits is transmitted.
  • the master device transmits a predetermined clock signal, and each of the plurality of slave devices generates a count value in synchronization with the clock signal, and transmits the read data.
  • the read data may be transmitted when the count values match in order. This brings about an effect that the read data is transmitted at the number of clocks corresponding to the data transmission order.
  • the master device transmits a predetermined clock signal, and each of the plurality of slave devices generates a count value in synchronization with the clock signal.
  • the read data may be transmitted when the value obtained by performing the predetermined operation matches the order in which the read data is transmitted. This brings about an effect that the number of counters for counting the count value is reduced.
  • the master device and the slave device may perform communication using an I2C (Inter-Integrated Circuit) communication standard. This brings about an effect that the communication efficiency of the communication system using the I2C communication standard is improved.
  • I2C Inter-Integrated Circuit
  • a master device that sequentially receives read data from the plurality of slave devices It is. This brings about an effect that read data from a plurality of slave devices is sequentially received in response to transmission of a specific address.
  • the count value is counted in synchronization with a predetermined clock signal, and the count values match in a predetermined order.
  • This is a slave device that transmits read data when performing read. This brings about an effect that read data is transmitted in a predetermined order in response to reception of a specific address.
  • FIG. 1 is a block diagram illustrating a configuration example of an electronic device according to a first embodiment of the present technology.
  • FIG. 2 is a block diagram illustrating a configuration example of a master according to the first embodiment of the present technology.
  • FIG. 3 is a diagram illustrating an example of an auxiliary number table according to the first embodiment of the present technology.
  • FIG. 2 is a block diagram illustrating a configuration example of a slave according to the first embodiment of the present technology.
  • FIG. 5 is a diagram illustrating an example of a data sequence transmitted and received when reading data of 2 bits or more for each slave according to the first embodiment of the present technology.
  • 6 is a timing chart illustrating an example of a signal line level according to the first embodiment of the present technology.
  • FIG. 1 is a block diagram illustrating a configuration example of an electronic device according to a first embodiment of the present technology.
  • FIG. 2 is a block diagram illustrating a configuration example of a master according to the first embodiment of the present technology.
  • FIG. 3
  • FIG. 6 is a diagram illustrating an example of a data sequence transmitted and received when reading 1-bit data for each slave according to the first embodiment of the present technology.
  • 5 is a flowchart illustrating an example of an operation of a master according to the first embodiment of the present technology.
  • 5 is a flowchart illustrating an example of an operation of a slave according to the first embodiment of the present technology.
  • FIG. 14 is a block diagram illustrating a configuration example of a slave according to the second embodiment of the present technology.
  • FIG. 13 is a diagram illustrating an example of a data sequence transmitted and received when 2-bit data is read for each slave according to the second embodiment of the present technology.
  • 15 is a flowchart illustrating an example of an operation of a master according to the second embodiment of the present technology.
  • FIG. 15 is a flowchart illustrating an example of an operation of a slave according to the second embodiment of the present technology.
  • 15 is a flowchart illustrating an example of an operation of a slave according to a modified example of the second embodiment of the present technology.
  • FIG. 15 is a block diagram illustrating a configuration example of a slave according to a third embodiment of the present technology.
  • FIG. 1 is a diagram illustrating an example of a schematic configuration of an IoT system to which the technology according to the present disclosure can be applied.
  • FIG. 1 is a block diagram illustrating a configuration example of an electronic device 100 according to the first embodiment of the present technology.
  • the electronic device 100 includes a master device 110 and a plurality of slave devices 120.
  • the master device 110 is simply referred to as “master”, and the slave device 120 is referred to as “slave”.
  • the number of slaves is N (N is an integer), and the n-th (n is an integer from 1 to N) slave is hereinafter referred to as “slave #n”.
  • Each slave is assigned a unique slave address.
  • a global address which is a specific address not defined in the I2C communication standard is commonly assigned to each of the slaves. This global address is a global address used to designate the N slaves as a read destination collectively.
  • the master is a device that controls the slave
  • the slave is a device that operates according to the control of the master.
  • the master and the plurality of slaves are commonly connected to an SCL (Serial @ Clock) line for transmitting a clock signal and an SDA (Serial @ Data) line for transmitting data.
  • SCL Serial @ Clock
  • SDA Serial @ Data
  • the master can transmit a global address and receive read data sequentially from a plurality of slaves. The details of this communication procedure will be described later.
  • ICICs and processors are assumed as masters.
  • Various sensors and drivers are assumed as slaves.
  • a master may be arranged inside the electronic device 100, and a slave (such as a sensor) may be arranged outside the electronic device 100.
  • a system including a master and a plurality of slaves is an example of a communication system described in the claims.
  • FIG. 2 is a block diagram illustrating a configuration example of a master (master device 110) according to the first embodiment of the present technology.
  • the master includes an auxiliary number table 111 and a communication processing unit 112.
  • the communication processing unit 112 performs communication with a slave (slave device 120) using the I2C communication standard.
  • the master when the master communicates with the slave in the I2C communication standard, the master first transmits a start condition, a unique slave address of an access destination, and a read or write request in order. Then, the slave returns ACK (ACKnowledge), and the slave transmits read data at the time of reading, and the master transmits write data at the time of writing.
  • ACK ACKnowledge
  • the communication processing unit 112 performs communication according to the above-described procedure of the I2C communication standard when transmitting write data to a slave and when receiving read data of 2 bits or more from a slave.
  • the communication processing unit 112 when receiving 1-bit read data from each of the plurality of slaves, transmits a global address and a read request to those slaves. Then, the read data is sequentially received from each of the plurality of slaves.
  • the auxiliary number table 111 is a table for holding auxiliary numbers for each slave.
  • the auxiliary number is information indicating the order in which the slave transmits the read data when the global address is received.
  • the communication processing unit 112 refers to the auxiliary number table 111 when transmitting the global address, receives the read data transmitted in each order (auxiliary number) as slave data corresponding to the auxiliary number, and processes the read data.
  • FIG. 3 is a diagram illustrating an example of the auxiliary number table 111 according to the first embodiment of the present technology.
  • the auxiliary number table 111 holds auxiliary numbers in association with each of the slave addresses. For example, an auxiliary number “1” is associated with the slave address 1 of the slave # 1. An auxiliary number “2” is associated with the slave address 2 of the slave # 2.
  • the auxiliary number “n” indicates that the transmission order is the nth. Different auxiliary numbers (that is, order) are set for the N slave addresses.
  • FIG. 4 is a block diagram illustrating a configuration example of a slave (slave device 120) according to the first embodiment of the present technology.
  • This slave includes an I2C communication processing unit 121, a global address recognition unit 122, a state machine 123, a counter 124, an address holding unit 125, and an auxiliary number holding unit 126.
  • the address holding unit 125 holds a slave address individually assigned to a slave and a global address commonly assigned to all slaves.
  • the auxiliary number holding unit 126 holds an auxiliary number associated with a slave.
  • the I2C communication processing unit 121 performs communication with the master using the I2C communication standard.
  • the I2C communication processing unit 121 reads the slave address from the address holding unit 125, and determines whether the address received from the master is a slave address. If it is a slave address (that is, the slave address is recognized), the I2C communication processing unit 121 performs communication according to the procedure of the I2C communication standard.
  • the global address recognition unit 122 reads a global address from the address holding unit 125 and determines whether the address received from the master is a global address.
  • the global address recognition unit 122 supplies a recognition result indicating whether the address is a global address (that is, the global address has been recognized) to the state machine 123.
  • the state machine 123 transmits read data when a global address is recognized.
  • the state machine 123 sets the count value CNT of the counter 124 to an initial value (for example, “1”) when returning an ACK.
  • the state machine 123 reads the auxiliary number from the auxiliary number holding unit 126, and determines whether or not the value corresponding to the count value CNT matches the auxiliary number.
  • the state machine 123 transmits 1-bit read data to the master via the SDA line.
  • the state machine 123 causes the counter 124 to count up the count value CNT in synchronization with the clock signal from the SCL line.
  • the counter 124 counts the number of times the read data has been transmitted and generates a count value CNT.
  • the read data is transmitted by the state machine 123 when the number of transmissions reaches the order of the slaves.
  • FIG. 5 is a diagram illustrating an array of data transmitted and received when reading data of 2 bits or more for each slave (slave device 120) according to the first embodiment of the present technology.
  • a is a diagram illustrating an example of a data sequence transmitted and received when the slave # 1 is a read destination.
  • B in the figure is a diagram showing an example of a data sequence transmitted and received when the slave # 2 is a read destination.
  • the master first transmits the start condition S during the period from the timing T0 to T1, and transmits the 7-bit slave address 1 during the period from the timing T1 to T2. Next, the master transmits the read request R during a period from timing T2 to timing T3.
  • the slave # 1 returns ACK during the period from timing T3 to T4, and transmits read data 1 of a plurality of bits (for example, 8 bits) to the master during the period from timing T4 to T5.
  • the master returns NAK (Negative @Acknowledgement) during the period from timing T5 to timing T6, and transmits the stop condition P after timing T6.
  • the master when reading from the slave # 2, the master similarly transmits the start condition S, the slave address 2, and the read request R.
  • the slave transmits ACK and read data 2
  • the master transmits NAK and stop condition P.
  • the master In the procedure of the ⁇ I2C communication standard, the master needs to transmit a slave address and a start condition S for each slave as illustrated in FIG. For this reason, the communication amount increases as the number of slaves increases. Even if only one bit is read for each slave, the I2C communication standard requires that each slave transmit a slave address or the like.
  • FIG. 6 is a timing chart illustrating an example of transition of the level of the signal line according to the first embodiment of the present technology.
  • the master sets the SCL line to high level and sets the SDA line to low level. This state is called a start condition.
  • the master sequentially transmits data such as A [1] to A [5] in synchronization with a clock signal.
  • a [m] (m is an integer) is the m-th bit in the address.
  • the master sets the SCL line to low level and sets the SDA line to low level. This state is called a stop condition.
  • FIG. 7 is a diagram illustrating an example of a data sequence transmitted and received when reading 1-bit data for each slave (slave device 120) according to the first embodiment of the present technology.
  • the master transmits the start condition S during the period from timing T0 to T1, and transmits the 7-bit global address during the period from timing T1 to T2.
  • the master transmits the read request R during a period from timing T2 to timing T3.
  • any of the slaves returns ACK during the period from timing T3 to T4.
  • ACK is returned by the slave # 1 whose auxiliary number (order) is “1”.
  • the N slaves sequentially transmit 1-bit read data.
  • the slave # 1 having the auxiliary number “1” first transmits the read data D [1].
  • the slave # 2 having the auxiliary number “2” transmits the read data D [2].
  • data is transmitted in the order of auxiliary numbers, and finally, read data D [N] is transmitted by the slave #N.
  • the plurality of slaves since the plurality of slaves sequentially transmit the read data, collision of the read data of each slave can be prevented.
  • the master returns NAK during the period from timing T5 to T6, and transmits the stop condition P after timing T6.
  • slave #n is transmitting data n-th time, but the transmission order is not limited to this example.
  • slave # 2 can transmit data first
  • slave #N can transmit data second.
  • the master Comparing the procedure of FIG. 5 with the procedure of FIG. 7 according to the I2C communication standard, it is necessary for the master to transmit a slave address for each slave in the I2C communication standard. Increase. For example, if the slave address is 7 bits and the number of slaves is N, the master needs to transmit an address group of 7 ⁇ N bits. Therefore, as the data size of the read data decreases, the communication efficiency decreases. Here, the communication efficiency indicates a ratio of read data to all data to be transmitted and received.
  • the procedure illustrated in FIG. 7 is executed, for example, when the master collects the status flags from a plurality of slaves (sensors and the like).
  • FIG. 8 is a flowchart illustrating an example of an operation of the master (master device 110) according to the first embodiment of the present technology. This operation is started, for example, when an application for reading one bit for each slave is executed.
  • the master first transmits a global address after a start condition (step S901).
  • the master transmits a read request and, upon receiving an ACK, sets a variable n to an initial value “1” (step S902). Then, the master receives 1-bit read data from the slave with the auxiliary number n (step S903). The master determines whether or not read data has been received from all slaves (step S904).
  • step S904 If the read data has not been received from any of the slaves (step S904: No), the master increments n in synchronization with the clock signal (step S905), and repeatedly executes step S903 and subsequent steps. On the other hand, when read data has been received from all slaves (step S904: Yes), the master transmits a NAK and a stop condition, and ends the read processing.
  • FIG. 9 is a flowchart illustrating an example of an operation of the slave (slave device 120) according to the first embodiment of the present technology. This operation is started when an application for communication is started.
  • the slave determines whether the global address has been recognized (step S951). If the slave does not recognize the global address (Step S951: No), the slave performs processing according to the I2C communication standard, and repeats Step S951 and the subsequent steps.
  • step S951 determines whether or not the count value CNT matches the auxiliary number (step S953). If the count value CNT does not match the auxiliary number (step S953: No), the slave increments the count value CNT in synchronization with the clock signal (step S955), and repeats the steps from step S953.
  • step S953 when the count value CNT matches the auxiliary number (step S953: Yes), the slave transmits 1-bit read data (step S954), and ends the communication.
  • the master since the master transmits the global address and sequentially receives the read data from each of the slaves, compared with the case where the slave address is transmitted for each slave. An increase in the amount of communication can be suppressed.
  • the master sequentially receives 1-bit read data from each of the slaves. However, when receiving read data of 2 bits or more, the master must transmit a slave address for each slave. And the amount of communication increases.
  • the communication system according to the second embodiment differs from the first embodiment in that when a master transmits a global address, it sequentially receives read data of 2 bits or more from each of the slaves.
  • FIG. 10 is a block diagram illustrating a configuration example of a slave (slave device 120) according to the second embodiment of the present technology.
  • the slave according to the second embodiment is different from the first embodiment in further including a transmission bit number holding unit 127 and a counter 128.
  • the counter 128 counts the number of bits transmitted by the slave.
  • the counter 124 is used to count the number of times of transmission of the read data as in the first embodiment.
  • the transmission bit number holding unit 127 holds the number of bits of the read data to be transmitted by each of the slaves as the number of transmission bits.
  • FIG. 11 is a diagram illustrating an example of a data sequence transmitted and received when 2-bit data is read for each slave (slave device 120) according to the second embodiment of the present technology.
  • the procedure up to timing T4 in the second embodiment is the same as in the first embodiment.
  • the N slaves sequentially transmit 2-bit read data.
  • slave # 1 first transmits read data composed of D [1] and D [2].
  • slave # 2 transmits read data including D [3] and D [4].
  • data is transmitted two bits at a time in order.
  • the master returns NAK during the period from timing T5 to T6, and transmits the stop condition P after timing T6.
  • the number of transmission bits for each slave when a global address is received is set to 2 bits, but the number of transmission bits is not limited to 2 bits.
  • each slave can transmit read data of a fixed number of bits of 3 bits or more.
  • FIG. 12 is a flowchart illustrating an example of an operation of the master (master device 110) according to the second embodiment of the present technology.
  • the operation of the master according to the second embodiment is different from that of the first embodiment in that step S911 is executed instead of step S903.
  • the master sets the variable n to an initial value “1” (step S902), and receives 2-bit read data from the slave having the auxiliary number n (step S911).
  • FIG. 13 is a flowchart illustrating an example of an operation of a slave (slave device 120) according to the second embodiment of the present technology.
  • the operation of the slave of the second embodiment is different from that of the first embodiment in that step S961 is executed instead of step S952, and steps S962 to S965 are further executed.
  • step S951: Yes the slave resets the count value CNT of the counter 124 and the count value k of the counter 128 to “1” at the timing of returning the ACK (step S961).
  • the slave determines whether or not the count value CNT matches the auxiliary number (step S953).
  • step S953: Yes the slave transmits one bit of the read data (step S954).
  • step S953: No the slave increments the count value k (step S962).
  • step S963 judges whether or not the count value k matches the number of transmission bits. If the count value k does not match the number of transmission bits (step S963: No), the slave repeatedly executes step S954 and subsequent steps. On the other hand, when the count k matches the number of transmission bits (step S963: Yes), the slave increments the count CNT (step S955) and resets the count k (step S964). The slave determines whether the transmission of the read data has been completed by executing the step S954 a fixed number of times (step S965).
  • step S965 If the transmission has not been completed (step S965: No), the slave repeatedly executes step S953 and subsequent steps. On the other hand, if the transmission has been completed (step S965: Yes), the slave ends the communication.
  • the communication efficiency is reduced as compared with the first embodiment. Can be improved.
  • the counter 128 is further provided in the slave for counting the number of transmitted bits.
  • the addition of the counter 128 increases the circuit scale.
  • the slave according to the modification of the second embodiment is different from the second embodiment in that the counter 128 is deleted and an operation is performed on the count value k of the counter 128.
  • FIG. 14 is a flowchart illustrating an example of an operation of a slave (slave device 120) according to a modification of the second embodiment of the present technology.
  • the operation of the slave in the modification of the second embodiment is different from that of the first embodiment in that steps S971 to S973 are executed instead of steps S954 and S955.
  • the slave After the step S952, the slave performs, for example, an operation of dividing the count value CNT by the number of transmission bits K and processing a fraction (eg, rounding) (step S971).
  • step S972 determines whether or not the calculation result matches the auxiliary number (step S972). If it does not match the auxiliary number (step S972: No), the slave repeats the steps from step S955.
  • step S972 if the operation result matches the auxiliary number (step S972: Yes), the slave transmits K-bit read data (step S973) and ends the communication.
  • the slave counts the number of transmitted bits in order to compare the value obtained by dividing the count value k by the number of transmitted bits with the auxiliary number.
  • the counter 128 can be reduced.
  • the number of transmission bits is a fixed value. However, when read data having a larger number of bits than the fixed value is read for each slave, communication efficiency may be reduced.
  • the communication system according to the third embodiment differs from the second embodiment in that the number of transmission bits is variable and the value is set by a master.
  • FIG. 15 is a block diagram illustrating a configuration example of a slave (slave device 120) according to the third embodiment of the present technology.
  • the slave according to the third embodiment is different from the slave according to the second embodiment in that an I2C communication processing unit 129 is provided instead of the I2C communication processing unit 121.
  • the I2C communication processing unit 129 receives the set value of the transmission bit number from the master, and updates the value stored in the transmission bit number storage unit 127 with the set value.
  • the master of the third embodiment individually sets the number of transmission bits for each slave by transmitting a slave address, for example.
  • the master can also set the number of transmission bits to all slaves simultaneously by transmitting a common address similar to the global address.
  • the master since the master sets the number of transmission bits for each of the slaves, it is possible to suppress a decrease in communication efficiency when reading read data having a large number of bits. it can.
  • the technology according to the present disclosure is applicable to a technology called IoT (Internet of things), which is a so-called “Internet of Things”.
  • IoT Internet of things
  • the IoT is a mechanism in which an IoT device 9100, which is a “thing,” is connected to another IoT device 9003, the Internet, a cloud 9005, and the like, and controls each other by exchanging information.
  • IoT can be used in various industries such as agriculture, home, automobile, manufacturing, distribution, and energy.
  • FIG. 16 is a diagram illustrating an example of a schematic configuration of an IoT system 9000 to which the technology according to the present disclosure can be applied.
  • the IoT device 9001 includes various sensors such as a temperature sensor, a humidity sensor, an illuminance sensor, an acceleration sensor, a distance sensor, an image sensor, a gas sensor, and a human sensor. Further, the IoT device 9001 may include a terminal such as a smartphone, a mobile phone, a wearable terminal, and a game device.
  • the IoT device 9001 is supplied with power from an AC power supply, a DC power supply, a battery, a non-contact power supply, a so-called energy harvest, or the like.
  • the IoT device 9001 can communicate by wire, wireless, close proximity wireless communication, or the like.
  • a communication method 3G / LTE, WiFi, IEEE 802.15.4, Bluetooth, Zigbee (registered trademark), Z-Wave, or the like is preferably used.
  • the IoT device 9001 may perform communication by switching a plurality of these communication units.
  • the IoT device 9001 may form a one-to-one, star, tree, or mesh network.
  • the IoT device 9001 may connect to an external cloud 9005 directly or through a gateway 9002.
  • An address is assigned to the IoT device 9001 by IPv4, IPv6, 6LoWPAN, or the like.
  • Data collected from the IoT device 9001 is transmitted to another IoT device 9003, a server 9004, a cloud 9005, and the like.
  • the timing and frequency of transmitting data from the IoT device 9001 are appropriately adjusted, and the data may be compressed and transmitted.
  • Such data may be used as it is, or the data may be analyzed by the computer 9008 by various means such as statistical analysis, machine learning, data mining, cluster analysis, discriminant analysis, combination analysis, and time series analysis.
  • various services such as control, warning, monitoring, visualization, automation, and optimization can be provided.
  • IoT devices 9001 at home include washing machines, dryers, dryers, microwaves, dishwashers, refrigerators, ovens, rice cookers, cookware, gas appliances, fire alarms, thermostats, air conditioners, televisions, recorders, audio, Includes lighting equipment, water heaters, water heaters, vacuum cleaners, fans, air purifiers, security cameras, locks, door and shutter opening and closing devices, sprinklers, toilets, thermometers, scales, blood pressure monitors, and the like.
  • the IoT device 9001 may include a solar cell, a fuel cell, a storage battery, a gas meter, a power meter, and a distribution board.
  • the IoT device 9001 may perform communication indoors by WiFi and outdoor by 3G / LTE.
  • An external server 9006 for controlling IoT devices may be installed on the cloud 9005 to control the IoT devices 9001.
  • the IoT device 9001 transmits data such as the status of home appliances, temperature, humidity, power consumption, and the presence or absence of people and animals inside and outside the house. Data transmitted from the home device is accumulated in the external server 9006 via the cloud 9005. New services are provided based on such data.
  • Such an IoT device 9001 can be controlled by voice by using voice recognition technology.
  • various home devices By sending information directly from various home devices to the television, the status of various home devices can be visualized. Furthermore, various sensors determine the presence or absence of a resident and send data to an air conditioner, lighting, or the like, so that the power can be turned on / off. Further, an advertisement can be displayed on a display provided for various home appliances through the Internet.
  • the example of the IoT system 9000 to which the technology according to the present disclosure can be applied has been described above.
  • the technology according to the present disclosure can be suitably applied to the IoT device 9001 among the configurations described above.
  • the communication amount between the master and the slave in the IoT device 9001 can be reduced, and the performance can be improved.
  • the processing procedure described in the above embodiment may be considered as a method having a series of these procedures, and a program for causing a computer to execute the series of procedures or a recording medium for storing the program. May be caught.
  • a recording medium for example, a CD (Compact Disc), an MD (MiniDisc), a DVD (Digital Versatile Disc), a memory card, a Blu-ray Disc (Blu-ray (registered trademark) Disc), or the like can be used.
  • the present technology may have the following configurations.
  • a plurality of slave devices each of which sequentially transmits read data when receiving a specific address commonly allocated;
  • a communication system comprising: a master device that receives the read data sequentially from the plurality of slave devices when the specific address is transmitted to the plurality of slave devices.
  • each of the plurality of slave devices transmits the one-bit read data.
  • the master device sets the number of bits of the read data to each of the plurality of slave devices, The communication system according to any one of (1) to (4), wherein each of the plurality of slave devices transmits the read data having the set number of bits.
  • the master device transmits a predetermined clock signal, Each of the plurality of slave devices generates a count value in synchronization with the clock signal, and transmits the read data when the count values match in the order in which the read data is transmitted.
  • the communication system according to any one of 5).
  • the master device transmits a predetermined clock signal
  • Each of the plurality of slave devices generates a count value in synchronization with the clock signal, and performs a read operation when a value obtained by performing a predetermined operation on the count value matches an order in which the read data is transmitted.
  • the communication system according to any one of (1) to (5), which transmits data.
  • I2C Inter-Integrated Circuit

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Information Transfer Systems (AREA)

Abstract

In this communication system in which a master device reads data from slave devices, an increase of communication traffic volume is suppressed. The communication system is provided with a master device and a plurality of slave devices. Upon reception of a specific address that is commonly assigned, the plurality of slave devices sequentially transmit read data. Upon transmission of the specific address to the plurality of slave devices, the master device receives the read data sequentially from the plurality of slave devices.

Description

通信システム、マスタデバイス、スレーブデバイスおよび通信方法Communication system, master device, slave device, and communication method
 本技術は、通信システム、マスタデバイス、スレーブデバイスおよび通信方法に関する。詳しくは、マスタデバイスとスレーブデバイスとが通信を行う通信システム、マスタデバイス、スレーブデバイスおよび通信方法に関する。 技術 The present technology relates to a communication system, a master device, a slave device, and a communication method. More specifically, the present invention relates to a communication system in which a master device and a slave device communicate, a master device, a slave device, and a communication method.
 従来より、同一基板内のデバイス同士で通信を行う際などに、I2C(Inter-Integrated Circuit)通信規格が広く用いられている。例えば、マスタデバイスであるIC(Integrated Circuit)と、スレーブデバイスであるI/O(Input Output)エクスパンダとがI2C通信規格を用いて通信を行う遊技機が提案されている(例えば、特許文献1参照。)。このI2C通信規格において、マスタデバイスがスレーブデバイスからデータを読み出す際には、まずマスタデバイスがスレーブアドレスを送信し、次にスレーブデバイスがマスタデバイスにデータを送信するという手順が実行される。 (2) Conventionally, the I2C (Inter-Integrated Circuit) communication standard has been widely used when devices communicate on the same board. For example, a gaming machine has been proposed in which an IC (Integrated Circuit) as a master device and an I / O (Input / Output) expander as a slave device communicate using the I2C communication standard (for example, Patent Document 1). reference.). In the I2C communication standard, when a master device reads data from a slave device, a procedure is performed in which the master device first transmits a slave address, and then the slave device transmits data to the master device.
特開2011-194044号公報JP 2011-194044 A
 上述の従来技術では、比較的高速なI2C通信規格を用いて、マスタデバイス(ICなど)が、スレーブデバイス(I/Oエクスパンダなど)からデータを読み出すことができる。しかしながら、I2C通信規格においてマスタデバイスは、スレーブデバイスにアクセスするたびにスレーブアドレスを送信しなければならない。このため、読出し先のスレーブデバイス数が多くなるほど、リード時に送信するスレーブアドレス数が多くなり、通信量が増大してしまうという問題がある。 According to the above-described conventional technique, a master device (such as an IC) can read data from a slave device (such as an I / O expander) using a relatively high-speed I2C communication standard. However, in the I2C communication standard, a master device must transmit a slave address every time a slave device is accessed. Therefore, as the number of slave devices to be read increases, the number of slave addresses to be transmitted at the time of reading increases, and there is a problem that the communication amount increases.
 本技術はこのような状況に鑑みて生み出されたものであり、マスタデバイスがスレーブデバイスからデータを読み出す通信システムにおいて、通信量の増大を抑制することを目的とする。 The present technology has been created in view of such a situation, and has an object to suppress an increase in communication amount in a communication system in which a master device reads data from a slave device.
 本技術は、上述の問題点を解消するためになされたものであり、その第1の側面は、共通に割り当てられた特定のアドレスを受信した場合には各々が順にリードデータを送信する複数のスレーブデバイスと、上記複数のスレーブデバイスに上記特定のアドレスを送信した場合には上記複数のスレーブデバイスから順に上記リードデータを受信するマスタデバイスとを具備する通信システム、および、その通信方法である。これにより、特定のアドレスの受信に応じて複数のスレーブデバイスからリードデータが順に送信されるという作用をもたらす。 The present technology has been made in order to solve the above-described problem, and a first aspect of the present technology is that when a specific address commonly allocated is received, each of the plurality of devices sequentially transmits read data. A communication system including a slave device, a master device that receives the read data in order from the plurality of slave devices when the specific address is transmitted to the plurality of slave devices, and a communication method thereof. This brings about an effect that read data is sequentially transmitted from a plurality of slave devices in response to reception of a specific address.
 また、この第1の側面において、上記複数のスレーブデバイスのそれぞれには、互いに異なる順番が割り当てられ、上記複数のスレーブデバイスのそれぞれは、割り当てられた上記順番で上記リードデータを送信してもよい。これにより、割り当てられた順番でリードデータが送信されるという作用をもたらす。 In the first aspect, a different order may be assigned to each of the plurality of slave devices, and each of the plurality of slave devices may transmit the read data in the assigned order. . This brings about an effect that the read data is transmitted in the assigned order.
 また、この第1の側面において、上記複数のスレーブデバイスのそれぞれは、所定ビット数の上記リードデータを送信してもよい。これにより、所定ビット数ずつデータが送信されるという作用をもたらす。 Also, in the first aspect, each of the plurality of slave devices may transmit the read data of a predetermined number of bits. This brings about an effect that data is transmitted by a predetermined number of bits.
 また、この第1の側面において、上記複数のスレーブデバイスのそれぞれは、1ビットの上記リードデータを送信してもよい。これにより、1ビットずつデータが送信されるという作用をもたらす。 Also, in the first aspect, each of the plurality of slave devices may transmit the 1-bit read data. This brings about an effect that data is transmitted one bit at a time.
 また、この第1の側面において、上記マスタデバイスは、上記リードデータのビット数を上記複数のスレーブデバイスのそれぞれに設定し、上記複数のスレーブデバイスのそれぞれは、上記設定されたビット数の上記リードデータを送信してもよい。これにより、設定されたビット数のリードデータが送信されるという作用をもたらす。 In the first aspect, the master device sets the number of bits of the read data to each of the plurality of slave devices, and each of the plurality of slave devices sets the number of bits of the read data of the set number of bits. Data may be transmitted. This brings about an effect that the read data of the set number of bits is transmitted.
 また、この第1の側面において、上記マスタデバイスは、所定のクロック信号を送信し、上記複数のスレーブデバイスのそれぞれは、上記クロック信号に同期して計数値を生成し、上記リードデータを送信する順番に上記計数値が一致する際に上記リードデータを送信してもよい。これにより、データを送信する順番に対応するクロック数の際にリードデータが送信されるという作用をもたらす。 In the first aspect, the master device transmits a predetermined clock signal, and each of the plurality of slave devices generates a count value in synchronization with the clock signal, and transmits the read data. The read data may be transmitted when the count values match in order. This brings about an effect that the read data is transmitted at the number of clocks corresponding to the data transmission order.
 また、この第1の側面において、上記マスタデバイスは、所定のクロック信号を送信し、上記複数のスレーブデバイスのそれぞれは、上記クロック信号に同期して計数値を生成し、上記計数値に対して所定の演算を行った値が上記リードデータを送信する順番に一致する際に上記リードデータを送信してもよい。これにより、計数値を計数するカウンタが削減されるという作用をもたらす。 Further, in the first aspect, the master device transmits a predetermined clock signal, and each of the plurality of slave devices generates a count value in synchronization with the clock signal. The read data may be transmitted when the value obtained by performing the predetermined operation matches the order in which the read data is transmitted. This brings about an effect that the number of counters for counting the count value is reduced.
 また、この第1の側面において、上記マスタデバイスと上記スレーブデバイスとは、I2C(Inter-Integrated Circuit)通信規格を用いて通信を行ってもよい。これにより、I2C通信規格を用いる通信システムの通信効率が向上するという作用をもたらす。 In addition, in the first aspect, the master device and the slave device may perform communication using an I2C (Inter-Integrated Circuit) communication standard. This brings about an effect that the communication efficiency of the communication system using the I2C communication standard is improved.
 また、本技術の第2の側面は、複数のスレーブデバイスに共通に割り当てられた特定のアドレスを上記複数のスレーブデバイスに送信した場合には上記複数のスレーブデバイスから順にリードデータを受信するマスタデバイスである。これにより、特定のアドレスの送信に応じて複数のスレーブデバイスからのリードデータが順に受信されるという作用をもたらす。 According to a second aspect of the present technology, when a specific address commonly assigned to a plurality of slave devices is transmitted to the plurality of slave devices, a master device that sequentially receives read data from the plurality of slave devices It is. This brings about an effect that read data from a plurality of slave devices is sequentially received in response to transmission of a specific address.
 また、本技術の第3の側面は、他のスレーブデバイスと共通の特定のアドレスを受信した場合には所定のクロック信号に同期して計数値を計数して上記計数値が所定の順番に一致する際にリードデータを送信するスレーブデバイスである。これにより、特定のアドレスの受信に応じてリードデータが所定の順番で送信されるという作用をもたらす。 According to a third aspect of the present technology, when a specific address common to another slave device is received, the count value is counted in synchronization with a predetermined clock signal, and the count values match in a predetermined order. This is a slave device that transmits read data when performing read. This brings about an effect that read data is transmitted in a predetermined order in response to reception of a specific address.
 本技術によれば、マスタデバイスがスレーブデバイスからデータを読み出す通信システムにおいて、通信量の増大を抑制することができるという優れた効果を奏し得る。なお、ここに記載された効果は必ずしも限定されるものではなく、本開示中に記載されたいずれかの効果であってもよい。 According to the present technology, in a communication system in which a master device reads data from a slave device, an excellent effect that an increase in communication traffic can be suppressed can be achieved. Note that the effects described here are not necessarily limited, and may be any of the effects described in the present disclosure.
本技術の第1の実施の形態における電子装置の一構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of an electronic device according to a first embodiment of the present technology. 本技術の第1の実施の形態におけるマスタの一構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of a master according to the first embodiment of the present technology. 本技術の第1の実施の形態における補助番号テーブルの一例を示す図である。FIG. 3 is a diagram illustrating an example of an auxiliary number table according to the first embodiment of the present technology. 本技術の第1の実施の形態におけるスレーブの一構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of a slave according to the first embodiment of the present technology. 本技術の第1の実施の形態におけるスレーブごとに2ビット以上のデータを読み出す場合に送受信されるデータ系列の一例を示す図である。FIG. 5 is a diagram illustrating an example of a data sequence transmitted and received when reading data of 2 bits or more for each slave according to the first embodiment of the present technology. 本技術の第1の実施の形態における信号線のレベルの一例を示すタイミングチャートである。6 is a timing chart illustrating an example of a signal line level according to the first embodiment of the present technology. 本技術の第1の実施の形態におけるスレーブごとに1ビットのデータを読み出す場合に送受信されるデータ系列の一例を示す図である。FIG. 6 is a diagram illustrating an example of a data sequence transmitted and received when reading 1-bit data for each slave according to the first embodiment of the present technology. 本技術の第1の実施の形態におけるマスタの動作の一例を示すフローチャートである。5 is a flowchart illustrating an example of an operation of a master according to the first embodiment of the present technology. 本技術の第1の実施の形態におけるスレーブの動作の一例を示すフローチャートである。5 is a flowchart illustrating an example of an operation of a slave according to the first embodiment of the present technology. 本技術の第2の実施の形態におけるスレーブの一構成例を示すブロック図である。FIG. 14 is a block diagram illustrating a configuration example of a slave according to the second embodiment of the present technology. 本技術の第2の実施の形態におけるスレーブごとに2ビットのデータを読み出す場合に送受信されるデータ系列の一例を示す図である。FIG. 13 is a diagram illustrating an example of a data sequence transmitted and received when 2-bit data is read for each slave according to the second embodiment of the present technology. 本技術の第2の実施の形態におけるマスタの動作の一例を示すフローチャートである。15 is a flowchart illustrating an example of an operation of a master according to the second embodiment of the present technology. 本技術の第2の実施の形態におけるスレーブの動作の一例を示すフローチャートである。15 is a flowchart illustrating an example of an operation of a slave according to the second embodiment of the present technology. 本技術の第2の実施の形態の変形例におけるスレーブの動作の一例を示すフローチャートである。15 is a flowchart illustrating an example of an operation of a slave according to a modified example of the second embodiment of the present technology. 本技術の第3の実施の形態におけるスレーブの一構成例を示すブロック図である。FIG. 15 is a block diagram illustrating a configuration example of a slave according to a third embodiment of the present technology. 本開示に係る技術が適用され得るIoTシステムの概略的な構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of a schematic configuration of an IoT system to which the technology according to the present disclosure can be applied.
 以下、本技術を実施するための形態(以下、実施の形態と称する)について説明する。説明は以下の順序により行う。
 1.第1の実施の形態(複数のスレーブデバイスが順にデータを送信する例)
 2.第2の実施の形態(複数のスレーブデバイスが順に複数ビットのデータを送信する例)
 3.第3の実施の形態(マスタデバイスが送信ビット数を設定し、複数のスレーブデバイスが順にデータを送信する例)
 4.応用例
Hereinafter, a mode for implementing the present technology (hereinafter, referred to as an embodiment) will be described. The description will be made in the following order.
1. First Embodiment (Example in which a plurality of slave devices sequentially transmit data)
2. 2. Second embodiment (example in which a plurality of slave devices sequentially transmit data of a plurality of bits)
3. Third embodiment (an example in which a master device sets the number of transmission bits and a plurality of slave devices sequentially transmit data)
4. Application examples
 <1.第1の実施の形態>
 電子装置の構成例]
 図1は、本技術の第1の実施の形態における電子装置100の一構成例を示すブロック図である。この電子装置100は、マスタデバイス110と、複数のスレーブデバイス120とを備える。以下、マスタデバイス110を単に「マスタ」と称し、スレーブデバイス120を「スレーブ」と称する。また、スレーブの個数はN(Nは整数)であり、以下、n(nは1乃至Nの整数)番目のスレーブを「スレーブ#n」と称する。
<1. First Embodiment>
Configuration example of electronic device]
FIG. 1 is a block diagram illustrating a configuration example of an electronic device 100 according to the first embodiment of the present technology. The electronic device 100 includes a master device 110 and a plurality of slave devices 120. Hereinafter, the master device 110 is simply referred to as “master”, and the slave device 120 is referred to as “slave”. The number of slaves is N (N is an integer), and the n-th (n is an integer from 1 to N) slave is hereinafter referred to as “slave #n”.
 スレーブのそれぞれには、固有のアドレスであるスレーブアドレスが割り当てられている。また、スレーブのそれぞれには、固有のスレーブアドレスに加え、I2C通信規格に規定されていない特定のアドレスであるグローバルアドレスが共通に割り当てられている。このグローバルアドレスは、N個のスレーブをまとめて読出し先として指定するために用いられるグローバルなアドレスである。 Each slave is assigned a unique slave address. In addition, in addition to the unique slave address, a global address which is a specific address not defined in the I2C communication standard is commonly assigned to each of the slaves. This global address is a global address used to designate the N slaves as a read destination collectively.
 マスタは、スレーブを制御するデバイスであり、スレーブは、マスタの制御に従って動作するデバイスである。マスタと複数のスレーブとは、クロック信号を伝送するSCL(Serial Clock)線と、データを伝送するSDA(Serial Data)線とに共通に接続される。マスタと、それぞれのスレーブとはこれらの信号線を介してI2C通信規格を用いて通信する。 The master is a device that controls the slave, and the slave is a device that operates according to the control of the master. The master and the plurality of slaves are commonly connected to an SCL (Serial @ Clock) line for transmitting a clock signal and an SDA (Serial @ Data) line for transmitting data. The master and each slave communicate with each other via these signal lines using the I2C communication standard.
 また、マスタは、グローバルアドレスを送信し、複数のスレーブから順にリードデータを受信することができる。この通信手順の詳細については後述する。 マ ス タ Also, the master can transmit a global address and receive read data sequentially from a plurality of slaves. The details of this communication procedure will be described later.
 マスタとしては、ICやプロセッサが想定される。スレーブとしては、各種のセンサーやドライバが想定される。 ICICs and processors are assumed as masters. Various sensors and drivers are assumed as slaves.
 なお、マスタなどのデバイスの全てを1つの装置内に配置しているが、この構成に限定されない。例えば、マスタを電子装置100内に配置し、スレーブ(センサーなど)を、電子装置100の外部に配置してもよい。なお、マスタと複数のスレーブとからなるシステムは、特許請求の範囲に記載の通信システムの一例である。 Although all devices such as a master are arranged in one apparatus, the present invention is not limited to this configuration. For example, a master may be arranged inside the electronic device 100, and a slave (such as a sensor) may be arranged outside the electronic device 100. Note that a system including a master and a plurality of slaves is an example of a communication system described in the claims.
 [マスタの構成例]
 図2は、本技術の第1の実施の形態におけるマスタ(マスタデバイス110)の一構成例を示すブロック図である。このマスタは、補助番号テーブル111および通信処理部112を備える。
[Master configuration example]
FIG. 2 is a block diagram illustrating a configuration example of a master (master device 110) according to the first embodiment of the present technology. The master includes an auxiliary number table 111 and a communication processing unit 112.
 通信処理部112は、I2C通信規格を用いてスレーブ(スレーブデバイス120)との間で通信を行うものである。 The communication processing unit 112 performs communication with a slave (slave device 120) using the I2C communication standard.
 ここで、I2C通信規格においてマスタがスレーブとの間で通信を行う際には、まずマスタがスタートコンディションと、アクセス先の固有のスレーブアドレスと、リードまたはライトの要求とを順に送信する。そして、スレーブがACK(ACKnowledge)を返し、リードの際はスレーブがリードデータを送信し、ライトの際はマスタがライトデータを送信する。 Here, when the master communicates with the slave in the I2C communication standard, the master first transmits a start condition, a unique slave address of an access destination, and a read or write request in order. Then, the slave returns ACK (ACKnowledge), and the slave transmits read data at the time of reading, and the master transmits write data at the time of writing.
 通信処理部112は、スレーブへライトデータを送信する場合と、スレーブから2ビット以上のリードデータを受信する場合とにおいて、上述のI2C通信規格の手順に従って通信を行う。 The communication processing unit 112 performs communication according to the above-described procedure of the I2C communication standard when transmitting write data to a slave and when receiving read data of 2 bits or more from a slave.
 一方、通信処理部112は、複数のスレーブのそれぞれから1ビットのリードデータを受信する場合において、それらのスレーブにグローバルアドレスとリードの要求とを送信する。そして、複数のスレーブのそれぞれから順にリードデータを受信する。 On the other hand, when receiving 1-bit read data from each of the plurality of slaves, the communication processing unit 112 transmits a global address and a read request to those slaves. Then, the read data is sequentially received from each of the plurality of slaves.
 補助番号テーブル111は、スレーブごとに補助番号を保持するテーブルである。ここで、補助番号は、グローバルアドレスを受信した際にスレーブがリードデータを送信する順番を示す情報である。 The auxiliary number table 111 is a table for holding auxiliary numbers for each slave. Here, the auxiliary number is information indicating the order in which the slave transmits the read data when the global address is received.
 通信処理部112は、グローバルアドレスの送信時に補助番号テーブル111を参照し、それぞれの順番(補助番号)で送信されたリードデータを、その補助番号に対応するスレーブのデータとして受信し、処理する。 The communication processing unit 112 refers to the auxiliary number table 111 when transmitting the global address, receives the read data transmitted in each order (auxiliary number) as slave data corresponding to the auxiliary number, and processes the read data.
 図3は、本技術の第1の実施の形態における補助番号テーブル111の一例を示す図である。この補助番号テーブル111には、スレーブアドレスのそれぞれに対応付けて補助番号が保持される。例えば、スレーブ#1のスレーブアドレス1には、補助番号「1」が対応付けられる。スレーブ#2のスレーブアドレス2には、補助番号「2」が対応付けられる。補助番号「n」は、送信の順番がn番目であることを示す。N個のスレーブアドレスには、互いに異なる補助番号(すなわち、順番)が設定される。 FIG. 3 is a diagram illustrating an example of the auxiliary number table 111 according to the first embodiment of the present technology. The auxiliary number table 111 holds auxiliary numbers in association with each of the slave addresses. For example, an auxiliary number “1” is associated with the slave address 1 of the slave # 1. An auxiliary number “2” is associated with the slave address 2 of the slave # 2. The auxiliary number “n” indicates that the transmission order is the nth. Different auxiliary numbers (that is, order) are set for the N slave addresses.
 [スレーブの構成例]
 図4は、本技術の第1の実施の形態におけるスレーブ(スレーブデバイス120)の一構成例を示すブロック図である。このスレーブは、I2C通信処理部121、グローバルアドレス認識部122、ステートマシン123、カウンタ124、アドレス保持部125および補助番号保持部126を備える。
[Slave configuration example]
FIG. 4 is a block diagram illustrating a configuration example of a slave (slave device 120) according to the first embodiment of the present technology. This slave includes an I2C communication processing unit 121, a global address recognition unit 122, a state machine 123, a counter 124, an address holding unit 125, and an auxiliary number holding unit 126.
 アドレス保持部125は、スレーブに個別に割り当てられたスレーブアドレスと、全てのスレーブに共通に割り当てられたグローバルアドレスとを保持するものである。補助番号保持部126は、スレーブに対応付けられた補助番号を保持するものである。 The address holding unit 125 holds a slave address individually assigned to a slave and a global address commonly assigned to all slaves. The auxiliary number holding unit 126 holds an auxiliary number associated with a slave.
 I2C通信処理部121は、I2C通信規格を用いてマスタとの間で通信を行うものである。このI2C通信処理部121は、アドレス保持部125からスレーブアドレスを読出し、マスタから受信したアドレスがスレーブアドレスであるか否かを判断する。そして、スレーブアドレスである(すなわち、スレーブアドレスを認識した)場合にI2C通信処理部121は、I2C通信規格の手順に従って通信を行う。 The I2C communication processing unit 121 performs communication with the master using the I2C communication standard. The I2C communication processing unit 121 reads the slave address from the address holding unit 125, and determines whether the address received from the master is a slave address. If it is a slave address (that is, the slave address is recognized), the I2C communication processing unit 121 performs communication according to the procedure of the I2C communication standard.
 グローバルアドレス認識部122は、アドレス保持部125からグローバルアドレスを読出し、マスタから受信したアドレスがグローバルアドレスであるか否かを判断するものである。このグローバルアドレス認識部122は、グローバルアドレスである(すなわち、グローバルアドレスを認識した)か否かを示す認識結果をステートマシン123に供給する。 The global address recognition unit 122 reads a global address from the address holding unit 125 and determines whether the address received from the master is a global address. The global address recognition unit 122 supplies a recognition result indicating whether the address is a global address (that is, the global address has been recognized) to the state machine 123.
 ステートマシン123は、グローバルアドレスが認識された際にリードデータを送信するものである。このステートマシン123は、グローバルアドレスが認識されると、ACKを返信する際に、カウンタ124の計数値CNTを初期値(例えば、「1」)にする。そして、ステートマシン123は、補助番号保持部126から補助番号を読み出し、計数値CNTに応じた値と補助番号とが一致するか否かを判断する。計数値CNTが補助番号に一致した際にステートマシン123は、1ビットのリードデータをSDA線を介してマスタに送信する。一方、補助番号に一致しない場合にステートマシン123は、SCL線からのクロック信号に同期してカウンタ124に計数値CNTをカウントアップさせる。 The state machine 123 transmits read data when a global address is recognized. When the global address is recognized, the state machine 123 sets the count value CNT of the counter 124 to an initial value (for example, “1”) when returning an ACK. Then, the state machine 123 reads the auxiliary number from the auxiliary number holding unit 126, and determines whether or not the value corresponding to the count value CNT matches the auxiliary number. When the count value CNT matches the auxiliary number, the state machine 123 transmits 1-bit read data to the master via the SDA line. On the other hand, if they do not match the auxiliary number, the state machine 123 causes the counter 124 to count up the count value CNT in synchronization with the clock signal from the SCL line.
 カウンタ124は、リードデータが送信された回数を計数して計数値CNTを生成するものである。この送信回数がスレーブの順番になったときにステートマシン123によりリードデータが送信される。 The counter 124 counts the number of times the read data has been transmitted and generates a count value CNT. The read data is transmitted by the state machine 123 when the number of transmissions reaches the order of the slaves.
 図5は、本技術の第1の実施の形態におけるスレーブ(スレーブデバイス120)ごとに2ビット以上のデータを読み出す場合に送受信されるデータの配列を示す図である。同図におけるaは、スレーブ#1が読出し先の場合に送受信されるデータ系列の一例を示す図である。同図におけるbは、スレーブ#2が読出し先の場合に送受信されるデータ系列の一例を示す図である。 FIG. 5 is a diagram illustrating an array of data transmitted and received when reading data of 2 bits or more for each slave (slave device 120) according to the first embodiment of the present technology. In the figure, a is a diagram illustrating an example of a data sequence transmitted and received when the slave # 1 is a read destination. B in the figure is a diagram showing an example of a data sequence transmitted and received when the slave # 2 is a read destination.
 マスタは、まず、タイミングT0乃至T1の期間において、スタートコンディションSを送信し、タイミングT1乃至T2の期間において7ビットのスレーブアドレス1を送信する。次いでマスタは、タイミングT2乃至T3の期間においてリード要求Rを送信する。 The master first transmits the start condition S during the period from the timing T0 to T1, and transmits the 7-bit slave address 1 during the period from the timing T1 to T2. Next, the master transmits the read request R during a period from timing T2 to timing T3.
 一方、スレーブ#1は、タイミングT3乃至T4の期間においてACKを返し、タイミングT4乃至T5の期間において複数ビット(例えば、8ビット)のリードデータ1をマスタに送信する。 On the other hand, the slave # 1 returns ACK during the period from timing T3 to T4, and transmits read data 1 of a plurality of bits (for example, 8 bits) to the master during the period from timing T4 to T5.
 マスタは、タイミングT5乃至T6の期間においてNAK(Negative AcKnowledgement)を返し、タイミングT6以降においてストップコンディションPを送信する。 The master returns NAK (Negative @Acknowledgement) during the period from timing T5 to timing T6, and transmits the stop condition P after timing T6.
 また、スレーブ#2から読み出す際も同様にマスタがスタートコンディションS、スレーブアドレス2およびリード要求Rを送信する。スレーブは、ACKおよびリードデータ2を送信し、マスタは、NAKおよびストップコンディションPを送信する。 (4) Also when reading from the slave # 2, the master similarly transmits the start condition S, the slave address 2, and the read request R. The slave transmits ACK and read data 2, and the master transmits NAK and stop condition P.
 I2C通信規格の手順では、同図に例示したように、マスタは、スレーブごとにスレーブアドレスやスタートコンディションSを送信する必要がある。このため、スレーブ数が多くなるほど、通信量が増大する。仮に、スレーブごとに1ビットしか読み出さない場合であってもI2C通信規格では、スレーブごとにスレーブアドレス等を送信することが要求される。 In the procedure of the 規格 I2C communication standard, the master needs to transmit a slave address and a start condition S for each slave as illustrated in FIG. For this reason, the communication amount increases as the number of slaves increases. Even if only one bit is read for each slave, the I2C communication standard requires that each slave transmit a slave address or the like.
 図6は、本技術の第1の実施の形態における信号線のレベルの遷移の一例を示すタイミングチャートである。 FIG. 6 is a timing chart illustrating an example of transition of the level of the signal line according to the first embodiment of the present technology.
 タイミングT0乃至T1の期間においてマスタは、SCL線をハイレベルにし、SDA線をローレベルにする。この状態はスタートコンディションと呼ばれる。このスタートコンディションSの次に、マスタは、A[1]乃至A[5]などのデータをクロック信号に同期して順に送信する。A[m](mは整数)は、アドレス内のm番目のビットである。 (4) During the period from timing T0 to T1, the master sets the SCL line to high level and sets the SDA line to low level. This state is called a start condition. After the start condition S, the master sequentially transmits data such as A [1] to A [5] in synchronization with a clock signal. A [m] (m is an integer) is the m-th bit in the address.
 そして、タイミングT6以降においてマスタは、SCL線をローレベルにし、SDA線をローレベルにする。この状態はストップコンディションと呼ばれる。 (4) After the timing T6, the master sets the SCL line to low level and sets the SDA line to low level. This state is called a stop condition.
 図7は、本技術の第1の実施の形態におけるスレーブ(スレーブデバイス120)ごとに1ビットのデータを読み出す場合に送受信されるデータ系列の一例を示す図である。 FIG. 7 is a diagram illustrating an example of a data sequence transmitted and received when reading 1-bit data for each slave (slave device 120) according to the first embodiment of the present technology.
 マスタは、まず、タイミングT0乃至T1の期間において、スタートコンディションSを送信し、タイミングT1乃至T2の期間において7ビットのグローバルアドレスを送信する。次いでマスタは、タイミングT2乃至T3の期間においてリード要求Rを送信する。 First, the master transmits the start condition S during the period from timing T0 to T1, and transmits the 7-bit global address during the period from timing T1 to T2. Next, the master transmits the read request R during a period from timing T2 to timing T3.
 一方、いずれかのスレーブは、タイミングT3乃至T4の期間においてACKを返す。例えば、補助番号(順番)が「1」のスレーブ#1によりACKが返信される。 On the other hand, any of the slaves returns ACK during the period from timing T3 to T4. For example, ACK is returned by the slave # 1 whose auxiliary number (order) is “1”.
 タイミングT4乃至T5の期間において、N個のスレーブは、順に1ビットのリードデータを送信する。例えば、補助番号が「1」のスレーブ#1が、最初にリードデータD[1]を送信する。次に補助番号が「2」のスレーブ#2が、リードデータD[2]を送信する。以下、同様に、補助番号の順にデータが送信され、最後に、スレーブ#NによりリードデータD[N]が送信される。このように、複数のスレーブは、順番にリードデータを送信するため、それぞれのスレーブのリードデータの衝突を防止することができる。 に お い て During the period from timing T4 to T5, the N slaves sequentially transmit 1-bit read data. For example, the slave # 1 having the auxiliary number “1” first transmits the read data D [1]. Next, the slave # 2 having the auxiliary number “2” transmits the read data D [2]. Hereinafter, similarly, data is transmitted in the order of auxiliary numbers, and finally, read data D [N] is transmitted by the slave #N. As described above, since the plurality of slaves sequentially transmit the read data, collision of the read data of each slave can be prevented.
 そして、マスタは、タイミングT5乃至T6の期間においてNAKを返し、タイミングT6以降においてストップコンディションPを送信する。 Then, the master returns NAK during the period from timing T5 to T6, and transmits the stop condition P after timing T6.
 なお、n番目にスレーブ#nがデータを送信しているが、送信順序は、この例に限定されない。例えば、最初にスレーブ#2がデータを送信し、2番目にスレーブ#Nがデータを送信することもできる。 {Note that the slave #n is transmitting data n-th time, but the transmission order is not limited to this example. For example, slave # 2 can transmit data first, and slave #N can transmit data second.
 I2C通信規格に従った図5の手順と、図7の手順とを比較すると、I2C通信規格では、マスタが、スレーブごとにスレーブアドレスを送信する必要があるため、スレーブ数が多くなるほど通信量が増大する。例えば、スレーブアドレスが7ビットであり、スレーブ数がNである場合には、7×Nビットのアドレス群をマスタが送信する必要がある。このため、リードデータのデータサイズが少なくなるほど、通信効率が低下してしまう。ここで、通信効率は、送受信する全データに対するリードデータの比率を示す。 Comparing the procedure of FIG. 5 with the procedure of FIG. 7 according to the I2C communication standard, it is necessary for the master to transmit a slave address for each slave in the I2C communication standard. Increase. For example, if the slave address is 7 bits and the number of slaves is N, the master needs to transmit an address group of 7 × N bits. Therefore, as the data size of the read data decreases, the communication efficiency decreases. Here, the communication efficiency indicates a ratio of read data to all data to be transmitted and received.
 これに対して、図7に例示した手順では、スレーブ数に関わらず、マスタはグローバルアドレスのみを送信すればよいため、通信量の増大を抑制することができる。例えば、グローバルアドレスが7ビットであり、スレーブ数がNであってもアドレスについて送信するデータは、7ビットで済む。このため、図5の手順と比較して通信効率を向上させることができる。 In contrast, in the procedure illustrated in FIG. 7, since the master only needs to transmit the global address regardless of the number of slaves, it is possible to suppress an increase in the traffic. For example, even if the global address is 7 bits and the number of slaves is N, the data transmitted for the address needs only 7 bits. Therefore, the communication efficiency can be improved as compared with the procedure of FIG.
 図7に例示する手順は、例えば、複数のスレーブ(センサーなど)から、そのステータスフラグをマスタが収集する際などに実行される。 The procedure illustrated in FIG. 7 is executed, for example, when the master collects the status flags from a plurality of slaves (sensors and the like).
 [マスタの動作例]
 図8は、本技術の第1の実施の形態におけるマスタ(マスタデバイス110)の動作の一例を示すフローチャートである。この動作は、例えば、スレーブごとに1ビットを読み出すためのアプリケーションが実行されたときに開始される。マスタは、まず、スタートコンディションの後にグローバスアドレスを送信する(ステップS901)。
[Example of master operation]
FIG. 8 is a flowchart illustrating an example of an operation of the master (master device 110) according to the first embodiment of the present technology. This operation is started, for example, when an application for reading one bit for each slave is executed. The master first transmits a global address after a start condition (step S901).
 マスタは、リード要求を送信し、ACKを受信すると変数nを初期値「1」に設定する(ステップS902)。そして、マスタは、補助番号がnのスレーブから1ビットのリードデータを受信する(ステップS903)。マスタは、全スレーブからリードデータを受信したか否かを判断する(ステップS904)。 The master transmits a read request and, upon receiving an ACK, sets a variable n to an initial value “1” (step S902). Then, the master receives 1-bit read data from the slave with the auxiliary number n (step S903). The master determines whether or not read data has been received from all slaves (step S904).
 いずれかのスレーブからリードデータを受信していない場合に(ステップS904:No)、マスタは、クロック信号に同期してnをインクリメントし(ステップS905)、ステップS903以降を繰り返し実行する。一方、全スレーブからリードデータを受信した場合に(ステップS904:Yes)、マスタは、NAKおよびストップコンディションを送信し、リード処理を終了する。 If the read data has not been received from any of the slaves (step S904: No), the master increments n in synchronization with the clock signal (step S905), and repeatedly executes step S903 and subsequent steps. On the other hand, when read data has been received from all slaves (step S904: Yes), the master transmits a NAK and a stop condition, and ends the read processing.
 [スレーブの動作例]
 図9は、本技術の第1の実施の形態におけるスレーブ(スレーブデバイス120)の動作の一例を示すフローチャートである。この動作は、通信のためのアプリケーションが開始された場合に開始される。
[Example of slave operation]
FIG. 9 is a flowchart illustrating an example of an operation of the slave (slave device 120) according to the first embodiment of the present technology. This operation is started when an application for communication is started.
 スレーブは、グローバルアドレスを認識したか否かを判断する(ステップS951)。グローバルアドレスを認識しない場合に(ステップS951:No)、スレーブは、I2C通信規格に従って処理を行い、ステップS951以降を繰り返す。 The slave determines whether the global address has been recognized (step S951). If the slave does not recognize the global address (Step S951: No), the slave performs processing according to the I2C communication standard, and repeats Step S951 and the subsequent steps.
 一方、グローバルアドレスを認識した場合に(ステップS951:Yes)、スレーブは、ACKの返信のタイミングでカウンタ124の計数値CNTを「1」にリセットする(ステップS952)。スレーブは、計数値CNTが補助番号と一致するか否かを判断する(ステップS953)。計数値CNTが補助番号と一致しない場合(ステップS953:No)、スレーブは、クロック信号に同期して計数値CNTをインクリメントし(ステップS955)、ステップS953以降を繰り返す。 On the other hand, if the slave recognizes the global address (step S951: Yes), the slave resets the count value CNT of the counter 124 to “1” at the timing of returning the ACK (step S952). The slave determines whether or not the count value CNT matches the auxiliary number (step S953). If the count value CNT does not match the auxiliary number (step S953: No), the slave increments the count value CNT in synchronization with the clock signal (step S955), and repeats the steps from step S953.
 一方、計数値CNTが補助番号と一致する場合に(ステップS953:Yes)、スレーブは、1ビットのリードデータを送信し(ステップS954)、通信を終了する。 On the other hand, when the count value CNT matches the auxiliary number (step S953: Yes), the slave transmits 1-bit read data (step S954), and ends the communication.
 このように、本技術の第1の実施の形態によれば、マスタがグローバルアドレスを送信し、スレーブのそれぞれからリードデータを順に受信するため、スレーブごとにスレーブアドレスを送信する場合と比較して通信量の増大を抑制することができる。 As described above, according to the first embodiment of the present technology, since the master transmits the global address and sequentially receives the read data from each of the slaves, compared with the case where the slave address is transmitted for each slave. An increase in the amount of communication can be suppressed.
 <2.第2の実施の形態>
 上述の第1の実施の形態では、マスタは、スレーブのそれぞれから1ビットのリードデータを順に受信していたが、2ビット以上のリードデータを受信する際はスレーブごとにスレーブアドレスを送信しなければならず、通信量が増大してしまう。この第2の実施の形態の通信システムは、マスタがグローバルアドレスを送信時に、スレーブのそれぞれから2ビット以上のリードデータを順に受信する点において第1の実施の形態と異なる。
<2. Second Embodiment>
In the above-described first embodiment, the master sequentially receives 1-bit read data from each of the slaves. However, when receiving read data of 2 bits or more, the master must transmit a slave address for each slave. And the amount of communication increases. The communication system according to the second embodiment differs from the first embodiment in that when a master transmits a global address, it sequentially receives read data of 2 bits or more from each of the slaves.
 図10は、本技術の第2の実施の形態におけるスレーブ(スレーブデバイス120)の一構成例を示すブロック図である。この第2の実施の形態のスレーブは、送信ビット数保持部127およびカウンタ128をさらに備える点において第1の実施の形態と異なる。 FIG. 10 is a block diagram illustrating a configuration example of a slave (slave device 120) according to the second embodiment of the present technology. The slave according to the second embodiment is different from the first embodiment in further including a transmission bit number holding unit 127 and a counter 128.
 カウンタ128は、スレーブが送信したビット数を計数するものである。カウンタ124は、第1の実施の形態と同様にリードデータの送信回数を計数するために用いられる。送信ビット数保持部127は、スレーブのそれぞれが送信すべきリードデータのビット数を送信ビット数として保持するものである。 The counter 128 counts the number of bits transmitted by the slave. The counter 124 is used to count the number of times of transmission of the read data as in the first embodiment. The transmission bit number holding unit 127 holds the number of bits of the read data to be transmitted by each of the slaves as the number of transmission bits.
 図11は、本技術の第2の実施の形態におけるスレーブ(スレーブデバイス120)ごとに2ビットのデータを読み出す場合に送受信されるデータ系列の一例を示す図である。 FIG. 11 is a diagram illustrating an example of a data sequence transmitted and received when 2-bit data is read for each slave (slave device 120) according to the second embodiment of the present technology.
 第2の実施の形態におけるタイミングT4までの手順は、第1の実施の形態と同様である。タイミングT4乃至T5の期間において、N個のスレーブは、順に2ビットのリードデータを送信する。例えば、スレーブ#1が、最初に、D[1]およびD[2]からなるリードデータを送信する。次にスレーブ#2が、D[3]およびD[4]からなるリードデータを送信する。以下、同様に、順に2ビットずつデータが送信される。 手 順 The procedure up to timing T4 in the second embodiment is the same as in the first embodiment. During the period from timing T4 to T5, the N slaves sequentially transmit 2-bit read data. For example, slave # 1 first transmits read data composed of D [1] and D [2]. Next, slave # 2 transmits read data including D [3] and D [4]. Hereinafter, similarly, data is transmitted two bits at a time in order.
 そして、マスタは、タイミングT5乃至T6の期間においてNAKを返し、タイミングT6以降においてストップコンディションPを送信する。 Then, the master returns NAK during the period from timing T5 to T6, and transmits the stop condition P after timing T6.
 なお、第2の実施の形態において、グローバルアドレスを受信した際のスレーブごとの送信ビット数を2ビットに設定しているが、送信ビット数は2ビットに限定されない。グローバルアドレスを受信した際に、それぞれのスレーブが、3ビット以上の固定のビット数のリードデータを送信することもできる。 In the second embodiment, the number of transmission bits for each slave when a global address is received is set to 2 bits, but the number of transmission bits is not limited to 2 bits. When the global address is received, each slave can transmit read data of a fixed number of bits of 3 bits or more.
 図12は、本技術の第2の実施の形態におけるマスタ(マスタデバイス110)の動作の一例を示すフローチャートである。この第2の実施の形態のマスタの動作は、ステップS903の代わりにステップS911が実行される点において第1の実施の形態と異なる。 FIG. 12 is a flowchart illustrating an example of an operation of the master (master device 110) according to the second embodiment of the present technology. The operation of the master according to the second embodiment is different from that of the first embodiment in that step S911 is executed instead of step S903.
 マスタは、変数nを初期値「1」に設定し(ステップS902)、補助番号がnのスレーブから2ビットのリードデータを受信する(ステップS911)。 The master sets the variable n to an initial value “1” (step S902), and receives 2-bit read data from the slave having the auxiliary number n (step S911).
 図13は、本技術の第2の実施の形態におけるスレーブ(スレーブデバイス120)の動作の一例を示すフローチャートである。この第2の実施の形態のスレーブの動作は、ステップS952の代わりにステップS961を実行し、ステップS962乃至S965をさらに実行する点において第1の実施の形態と異なる。 FIG. 13 is a flowchart illustrating an example of an operation of a slave (slave device 120) according to the second embodiment of the present technology. The operation of the slave of the second embodiment is different from that of the first embodiment in that step S961 is executed instead of step S952, and steps S962 to S965 are further executed.
 グローバルアドレスを認識した場合に(ステップS951:Yes)、スレーブは、ACKの返信のタイミングでカウンタ124の計数値CNTとカウンタ128の計数値kとを「1」にリセットする(ステップS961)。スレーブは、計数値CNTが補助番号と一致するか否かを判断する(ステップS953)。計数値CNTが補助番号と一致する場合に(ステップS953:Yes)、スレーブは、リードデータのうち1ビットを送信する(ステップS954)。計数値CNTが補助番号と一致しない場合(ステップS953:No)、または、ステップS954の後にスレーブは、計数値kをインクリメントする(ステップS962)。 When the global address is recognized (step S951: Yes), the slave resets the count value CNT of the counter 124 and the count value k of the counter 128 to “1” at the timing of returning the ACK (step S961). The slave determines whether or not the count value CNT matches the auxiliary number (step S953). When the count value CNT matches the auxiliary number (step S953: Yes), the slave transmits one bit of the read data (step S954). When the count value CNT does not match the auxiliary number (step S953: No), or after step S954, the slave increments the count value k (step S962).
 そして、スレーブは、計数値kが送信ビット数と一致するか否かを判断する(ステップS963)。計数値kが送信ビット数と一致しない場合に(ステップS963:No)、スレーブは、ステップS954以降を繰り返し実行する。一方、計数値kが送信ビット数と一致する場合に(ステップS963:Yes)、スレーブは、計数値CNTをインクリメントし(ステップS955)、計数値kをリセットする(ステップS964)。スレーブは、一定回数のステップS954の実行により、リードデータの送信が完了したか否かを判断する(ステップS965)。 Then, the slave judges whether or not the count value k matches the number of transmission bits (step S963). If the count value k does not match the number of transmission bits (step S963: No), the slave repeatedly executes step S954 and subsequent steps. On the other hand, when the count k matches the number of transmission bits (step S963: Yes), the slave increments the count CNT (step S955) and resets the count k (step S964). The slave determines whether the transmission of the read data has been completed by executing the step S954 a fixed number of times (step S965).
 送信が完了していない場合(ステップS965:No)、スレーブは、ステップS953以降を繰り返し実行する。一方、送信が完了した場合(ステップS965:Yes)、スレーブは、通信を終了する。 If the transmission has not been completed (step S965: No), the slave repeatedly executes step S953 and subsequent steps. On the other hand, if the transmission has been completed (step S965: Yes), the slave ends the communication.
 このように、本技術の第2の実施の形態によれば、グローバルアドレスを受信したスレーブのそれぞれが2ビット以上のリードデータを送信するため、第1の実施の形態と比較して通信効率を向上させることができる。 As described above, according to the second embodiment of the present technology, since each of the slaves that have received the global address transmits the read data of 2 bits or more, the communication efficiency is reduced as compared with the first embodiment. Can be improved.
 [変形例]
 上述の第2の実施の形態では、送信したビット数を計数するためにスレーブ内にカウンタ128をさらに設けていたが、カウンタ128を追加した分、回路規模が増大してしまう。この第2の実施の形態の変形例のスレーブは、カウンタ128を削除し、カウンタ128の計数値kに対して演算を行う点において第2の実施の形態と異なる。
[Modification]
In the above-described second embodiment, the counter 128 is further provided in the slave for counting the number of transmitted bits. However, the addition of the counter 128 increases the circuit scale. The slave according to the modification of the second embodiment is different from the second embodiment in that the counter 128 is deleted and an operation is performed on the count value k of the counter 128.
 図14は、本技術の第2の実施の形態の変形例におけるスレーブ(スレーブデバイス120)の動作の一例を示すフローチャートである。この第2の実施の形態の変形例におけるスレーブの動作は、ステップS954およびS955の代わりに、ステップS971乃至S973が実行される点において第1の実施の形態と異なる。 FIG. 14 is a flowchart illustrating an example of an operation of a slave (slave device 120) according to a modification of the second embodiment of the present technology. The operation of the slave in the modification of the second embodiment is different from that of the first embodiment in that steps S971 to S973 are executed instead of steps S954 and S955.
 スレーブは、ステップS952の後に、例えば、計数値CNTを送信ビット数Kにより除算し、端数を処理(四捨五入など)する演算を行う(ステップS971)。 After the step S952, the slave performs, for example, an operation of dividing the count value CNT by the number of transmission bits K and processing a fraction (eg, rounding) (step S971).
 スレーブは、演算結果が補助番号と一致するか否かを判断する(ステップS972)。補助番号と一致しない場合(ステップS972:No)、スレーブは、ステップS955以降を繰り返す。 The slave determines whether or not the calculation result matches the auxiliary number (step S972). If it does not match the auxiliary number (step S972: No), the slave repeats the steps from step S955.
 一方、演算結果が補助番号と一致する場合に(ステップS972:Yes)、スレーブは、Kビットのリードデータを送信し(ステップS973)、通信を終了する。 On the other hand, if the operation result matches the auxiliary number (step S972: Yes), the slave transmits K-bit read data (step S973) and ends the communication.
 このように、本技術の第2の実施の形態の変形例によれば、スレーブが、計数値kを送信ビット数で除算した値と補助番号とを比較するため、送信したビット数を計数するカウンタ128を削減することができる。 As described above, according to the modification of the second embodiment of the present technology, the slave counts the number of transmitted bits in order to compare the value obtained by dividing the count value k by the number of transmitted bits with the auxiliary number. The counter 128 can be reduced.
 <3.第3の実施の形態>
 上述の第2の実施の形態では、送信ビット数を固定値としているが、その固定値よりビット数の多いリードデータをスレーブごとに読み出す際に通信効率が低下するおそれがある。この第3の実施の形態の通信システムは、送信ビット数を可変とし、その値をマスタが設定する点において第2の実施の形態と異なる。
<3. Third Embodiment>
In the above-described second embodiment, the number of transmission bits is a fixed value. However, when read data having a larger number of bits than the fixed value is read for each slave, communication efficiency may be reduced. The communication system according to the third embodiment differs from the second embodiment in that the number of transmission bits is variable and the value is set by a master.
 図15は、本技術の第3の実施の形態におけるスレーブ(スレーブデバイス120)の一構成例を示すブロック図である。この第3の実施の形態のスレーブは、I2C通信処理部121の代わりにI2C通信処理部129を備える点において第2の実施の形態と異なる。 FIG. 15 is a block diagram illustrating a configuration example of a slave (slave device 120) according to the third embodiment of the present technology. The slave according to the third embodiment is different from the slave according to the second embodiment in that an I2C communication processing unit 129 is provided instead of the I2C communication processing unit 121.
 I2C通信処理部129は、マスタから送信ビット数の設定値を受信し、その設定値により送信ビット数保持部127の保持値を更新する。 The I2C communication processing unit 129 receives the set value of the transmission bit number from the master, and updates the value stored in the transmission bit number storage unit 127 with the set value.
 第3の実施の形態のマスタは、例えば、スレーブアドレスの送信によりスレーブのそれぞれに送信ビット数を個別に設定する。なお、マスタは、グローバルアドレスに類似した共通のアドレスの送信により、送信ビット数を全てのスレーブに同時に設定することもできる。 The master of the third embodiment individually sets the number of transmission bits for each slave by transmitting a slave address, for example. The master can also set the number of transmission bits to all slaves simultaneously by transmitting a common address similar to the global address.
 このように、本技術の第3の実施の形態によれば、マスタがスレーブのそれぞれに送信ビット数を設定するため、ビット数の多いリードデータを読み出す際の通信効率の低下を抑制することができる。 As described above, according to the third embodiment of the present technology, since the master sets the number of transmission bits for each of the slaves, it is possible to suppress a decrease in communication efficiency when reading read data having a large number of bits. it can.
 <4.応用例>
 本開示に係る技術は、いわゆる「物のインターネット」であるIoT(Internet of things)と呼ばれる技術へ応用可能である。IoTとは、「物」であるIoTデバイス9100が、他のIoTデバイス9003、インターネット、クラウド9005などに接続され、情報交換することにより相互に制御する仕組みである。IoTは、農業、家、自動車、製造、流通、エネルギー、など様々な産業に利用できる。
<4. Application>
The technology according to the present disclosure is applicable to a technology called IoT (Internet of things), which is a so-called “Internet of Things”. The IoT is a mechanism in which an IoT device 9100, which is a “thing,” is connected to another IoT device 9003, the Internet, a cloud 9005, and the like, and controls each other by exchanging information. IoT can be used in various industries such as agriculture, home, automobile, manufacturing, distribution, and energy.
 図16は、本開示に係る技術が適用され得るIoTシステム9000の概略的な構成の一例を示す図である。IoTデバイス9001には、温度センサー、湿度センサー、照度センサー、加速度センサー、距離センサー、画像センサー、ガスセンサー、人感センサーなどの各種センサーなどが含まれる。また、IoTデバイス9001には、スマートフォン、携帯電話、ウェアラブル端末、ゲーム機器などの端末を含めてもよい。IoTデバイス9001は、AC電源、DC電源、電池、非接触給電、いわゆるエナジーハーベストなどにより給電される。IoTデバイス9001は、有線、無線、近接無線通信などにより通信することができる。通信方式は3G/LTE、WiFi、IEEE802.15.4、Bluetooth、Zigbee(登録商標)、Z-Waveなどが好適に用いられる。IoTデバイス9001は、これらの通信手段の複数を切り替えて通信してもよい。 FIG. 16 is a diagram illustrating an example of a schematic configuration of an IoT system 9000 to which the technology according to the present disclosure can be applied. The IoT device 9001 includes various sensors such as a temperature sensor, a humidity sensor, an illuminance sensor, an acceleration sensor, a distance sensor, an image sensor, a gas sensor, and a human sensor. Further, the IoT device 9001 may include a terminal such as a smartphone, a mobile phone, a wearable terminal, and a game device. The IoT device 9001 is supplied with power from an AC power supply, a DC power supply, a battery, a non-contact power supply, a so-called energy harvest, or the like. The IoT device 9001 can communicate by wire, wireless, close proximity wireless communication, or the like. As a communication method, 3G / LTE, WiFi, IEEE 802.15.4, Bluetooth, Zigbee (registered trademark), Z-Wave, or the like is preferably used. The IoT device 9001 may perform communication by switching a plurality of these communication units.
 IoTデバイス9001は、1対1、星状、ツリー状、メッシュ状のネットワークを形成してもよい。IoTデバイス9001は、直接に、またはゲートウエイ9002を通して、外部のクラウド9005に接続してもよい。IoTデバイス9001には、IPv4、IPv6、6LoWPANなどによって、アドレスが付与される。IoTデバイス9001から収集されたデータは、他のIoTデバイス9003、サーバ9004、クラウド9005などに送信される。IoTデバイス9001からデータを送信するタイミングや頻度は好適に調整され、データを圧縮して送信してもよい。このようなデータはそのまま利用してもよく、統計解析、機械学習、データマイニング、クラスタ分析、判別分析、組み合わせ分析、時系列分析など様々な手段でデータをコンピュータ9008で分析してもよい。このようなデータを利用することにより、コントロール、警告、監視、可視化、自動化、最適化、など様々なサービスを提供することができる。 The IoT device 9001 may form a one-to-one, star, tree, or mesh network. The IoT device 9001 may connect to an external cloud 9005 directly or through a gateway 9002. An address is assigned to the IoT device 9001 by IPv4, IPv6, 6LoWPAN, or the like. Data collected from the IoT device 9001 is transmitted to another IoT device 9003, a server 9004, a cloud 9005, and the like. The timing and frequency of transmitting data from the IoT device 9001 are appropriately adjusted, and the data may be compressed and transmitted. Such data may be used as it is, or the data may be analyzed by the computer 9008 by various means such as statistical analysis, machine learning, data mining, cluster analysis, discriminant analysis, combination analysis, and time series analysis. By using such data, various services such as control, warning, monitoring, visualization, automation, and optimization can be provided.
 本開示に係る技術は、家に関するデバイス、サービスにも応用可能である。家におけるIoTデバイス9001には、洗濯機、乾燥機、ドライヤ、電子レンジ、食洗機、冷蔵庫、オーブン、炊飯器、調理器具、ガス器具、火災報知器、サーモスタット、エアコン、テレビ、レコーダ、オーディオ、照明機器、温水器、給湯器、掃除機、扇風機、空気清浄器、セキュリティカメラ、錠、扉・シャッター開閉装置、スプリンクラー、トイレ、温度計、体重計、血圧計などが含まれる。さらにIoTデバイス9001には、太陽電池、燃料電池、蓄電池、ガスメータ、電力メータ、分電盤を含んでもよい。 技術 The technology according to the present disclosure is also applicable to devices and services related to houses. IoT devices 9001 at home include washing machines, dryers, dryers, microwaves, dishwashers, refrigerators, ovens, rice cookers, cookware, gas appliances, fire alarms, thermostats, air conditioners, televisions, recorders, audio, Includes lighting equipment, water heaters, water heaters, vacuum cleaners, fans, air purifiers, security cameras, locks, door and shutter opening and closing devices, sprinklers, toilets, thermometers, scales, blood pressure monitors, and the like. Further, the IoT device 9001 may include a solar cell, a fuel cell, a storage battery, a gas meter, a power meter, and a distribution board.
 家におけるIoTデバイス9001の通信方式は、低消費電力タイプの通信方式が望ましい。また、IoTデバイス9001は屋内ではWiFi、屋外では3G/LTEにより通信するようにしてもよい。クラウド9005上にIoTデバイス制御用の外部サーバ9006を設置し、IoTデバイス9001を制御してもよい。IoTデバイス9001は、家庭機器の状況、温度、湿度、電力使用量、家屋内外の人・動物の存否などのデータを送信する。家庭機器から送信されたデータは、クラウド9005を通じて、外部サーバ9006に蓄積される。このようなデータに基づき、新たなサービスが提供される。このようなIoTデバイス9001は、音声認識技術を利用することにより、音声によりコントロールすることができる。 As a communication method of the IoT device 9001 at home, a low power consumption type communication method is preferable. Further, the IoT device 9001 may perform communication indoors by WiFi and outdoor by 3G / LTE. An external server 9006 for controlling IoT devices may be installed on the cloud 9005 to control the IoT devices 9001. The IoT device 9001 transmits data such as the status of home appliances, temperature, humidity, power consumption, and the presence or absence of people and animals inside and outside the house. Data transmitted from the home device is accumulated in the external server 9006 via the cloud 9005. New services are provided based on such data. Such an IoT device 9001 can be controlled by voice by using voice recognition technology.
 また各種家庭機器からテレビに情報を直接送付することにより、各種家庭機器の状態を可視化することができる。さらには、各種センサーが居住者の有無を判断し、データを空調機、照明などに送付することで、それらの電源をオン・オフすることができる。さらには、各種家庭機器に供えられたディスプレイにインターネットを通じて広告を表示することができる。 By sending information directly from various home devices to the television, the status of various home devices can be visualized. Furthermore, various sensors determine the presence or absence of a resident and send data to an air conditioner, lighting, or the like, so that the power can be turned on / off. Further, an advertisement can be displayed on a display provided for various home appliances through the Internet.
 以上、本開示に係る技術が適用され得るIoTシステム9000の一例について説明した。本開示に係る技術は、以上説明した構成のうち、IoTデバイス9001に好適に適用され得る。IoTデバイス9001に本開示に係る技術を適用することにより、IoTデバイス9001内のマスタおよびスレーブ間の通信量を削減して、性能を向上させることができる。 The example of the IoT system 9000 to which the technology according to the present disclosure can be applied has been described above. The technology according to the present disclosure can be suitably applied to the IoT device 9001 among the configurations described above. By applying the technology according to the present disclosure to the IoT device 9001, the communication amount between the master and the slave in the IoT device 9001 can be reduced, and the performance can be improved.
 なお、上述の実施の形態は本技術を具現化するための一例を示したものであり、実施の形態における事項と、特許請求の範囲における発明特定事項とはそれぞれ対応関係を有する。同様に、特許請求の範囲における発明特定事項と、これと同一名称を付した本技術の実施の形態における事項とはそれぞれ対応関係を有する。ただし、本技術は実施の形態に限定されるものではなく、その要旨を逸脱しない範囲において実施の形態に種々の変形を施すことにより具現化することができる。 The above-described embodiment is an example for embodying the present technology, and the matters in the embodiment and the matters specifying the invention in the claims have a corresponding relationship. Similarly, the matters specifying the invention in the claims and the matters in the embodiments of the present technology to which the same names are assigned have a corresponding relationship. However, the present technology is not limited to the embodiments, and can be embodied by applying various modifications to the embodiments without departing from the gist thereof.
 また、上述の実施の形態において説明した処理手順は、これら一連の手順を有する方法として捉えてもよく、また、これら一連の手順をコンピュータに実行させるためのプログラム乃至そのプログラムを記憶する記録媒体として捉えてもよい。この記録媒体として、例えば、CD(Compact Disc)、MD(MiniDisc)、DVD(Digital Versatile Disc)、メモリカード、ブルーレイディスク(Blu-ray(登録商標)Disc)等を用いることができる。 Further, the processing procedure described in the above embodiment may be considered as a method having a series of these procedures, and a program for causing a computer to execute the series of procedures or a recording medium for storing the program. May be caught. As the recording medium, for example, a CD (Compact Disc), an MD (MiniDisc), a DVD (Digital Versatile Disc), a memory card, a Blu-ray Disc (Blu-ray (registered trademark) Disc), or the like can be used.
 なお、本明細書に記載された効果はあくまで例示であって、限定されるものではなく、また、他の効果があってもよい。 効果 Note that the effects described in this specification are merely examples, are not limited, and may have other effects.
 なお、本技術は以下のような構成もとることができる。
(1)共通に割り当てられた特定のアドレスを受信した場合には各々が順にリードデータを送信する複数のスレーブデバイスと、
 前記複数のスレーブデバイスに前記特定のアドレスを送信した場合には前記複数のスレーブデバイスから順に前記リードデータを受信するマスタデバイスと
を具備する通信システム。
(2)前記複数のスレーブデバイスのそれぞれには、互いに異なる順番が割り当てられ、前記複数のスレーブデバイスのそれぞれは、割り当てられた前記順番で前記リードデータを送信する
前記(1)記載の通信システム。
(3)前記複数のスレーブデバイスのそれぞれは、所定ビット数の前記リードデータを送信する
前記(1)または(2)に記載の通信システム。
(4)前記複数のスレーブデバイスのそれぞれは、1ビットの前記リードデータを送信する
前記(3)記載の通信システム。
(5)前記マスタデバイスは、前記リードデータのビット数を前記複数のスレーブデバイスのそれぞれに設定し、
 前記複数のスレーブデバイスのそれぞれは、前記設定されたビット数の前記リードデータを送信する
前記(1)から(4)のいずれかに記載の通信システム。
(6)前記マスタデバイスは、所定のクロック信号を送信し、
 前記複数のスレーブデバイスのそれぞれは、前記クロック信号に同期して計数値を生成し、前記リードデータを送信する順番に前記計数値が一致する際に前記リードデータを送信する
前記(1)から(5)のいずれかに記載の通信システム。
(7)前記マスタデバイスは、所定のクロック信号を送信し、
 前記複数のスレーブデバイスのそれぞれは、前記クロック信号に同期して計数値を生成し、前記計数値に対して所定の演算を行った値が前記リードデータを送信する順番に一致する際に前記リードデータを送信する
前記(1)から(5)のいずれかに記載の通信システム。
(8)前記マスタデバイスと前記スレーブデバイスとは、I2C(Inter-Integrated Circuit)通信規格を用いて通信を行う
前記(1)から(7)のいずれかに記載の通信システム。
(9)複数のスレーブデバイスに共通に割り当てられた特定のアドレスを前記複数のスレーブデバイスに送信した場合には前記複数のスレーブデバイスから順にリードデータを受信するマスタデバイス。
(10)他のスレーブデバイスと共通の特定のアドレスを受信した場合には所定のクロック信号に同期して計数値を計数して前記計数値が所定の順番に一致する際にリードデータを送信するスレーブデバイス。
(11)共通に割り当てられた特定のアドレスを複数のスレーブデバイスが受信した場合には前記複数のスレーブデバイスの各々が順にリードデータを送信する送信手順と、
 マスタデバイスが、前記複数のスレーブデバイスに前記特定のアドレスを送信した場合には前記複数のスレーブデバイスから順に前記リードデータを受信する受信手順と
を具備する通信方法。
Note that the present technology may have the following configurations.
(1) a plurality of slave devices each of which sequentially transmits read data when receiving a specific address commonly allocated;
A communication system comprising: a master device that receives the read data sequentially from the plurality of slave devices when the specific address is transmitted to the plurality of slave devices.
(2) The communication system according to (1), wherein a different order is assigned to each of the plurality of slave devices, and each of the plurality of slave devices transmits the read data in the assigned order.
(3) The communication system according to (1) or (2), wherein each of the plurality of slave devices transmits the read data of a predetermined number of bits.
(4) The communication system according to (3), wherein each of the plurality of slave devices transmits the one-bit read data.
(5) The master device sets the number of bits of the read data to each of the plurality of slave devices,
The communication system according to any one of (1) to (4), wherein each of the plurality of slave devices transmits the read data having the set number of bits.
(6) The master device transmits a predetermined clock signal,
Each of the plurality of slave devices generates a count value in synchronization with the clock signal, and transmits the read data when the count values match in the order in which the read data is transmitted. The communication system according to any one of 5).
(7) The master device transmits a predetermined clock signal,
Each of the plurality of slave devices generates a count value in synchronization with the clock signal, and performs a read operation when a value obtained by performing a predetermined operation on the count value matches an order in which the read data is transmitted. The communication system according to any one of (1) to (5), which transmits data.
(8) The communication system according to any one of (1) to (7), wherein the master device and the slave device communicate using an I2C (Inter-Integrated Circuit) communication standard.
(9) A master device that receives read data in order from the plurality of slave devices when a specific address commonly assigned to the plurality of slave devices is transmitted to the plurality of slave devices.
(10) When a specific address common to another slave device is received, a count value is counted in synchronization with a predetermined clock signal, and read data is transmitted when the count values match in a predetermined order. Slave device.
(11) a transmission procedure in which each of the plurality of slave devices sequentially transmits read data when a plurality of slave devices receive a specific address commonly assigned;
A communication method comprising: when the master device transmits the specific address to the plurality of slave devices, receiving the read data sequentially from the plurality of slave devices.
 100 電子装置
 110 マスタデバイス
 111 補助番号テーブル
 112 通信処理部
 121、129 I2C通信処理部
 120 スレーブデバイス
 122 グローバスアドレス認識部
 123 ステートマシン
 124、128 カウンタ
 125 アドレス保持部
 126 補助番号保持部
 127 送信ビット数保持部
 9001 IoTデバイス
Reference Signs List 100 electronic device 110 master device 111 auxiliary number table 112 communication processing unit 121, 129 I2C communication processing unit 120 slave device 122 global address recognition unit 123 state machine 124, 128 counter 125 address storage unit 126 auxiliary number storage unit 127 transmission bit number storage Department 9001 IoT device

Claims (11)

  1.  共通に割り当てられた特定のアドレスを受信した場合には各々が順にリードデータを送信する複数のスレーブデバイスと、
     前記複数のスレーブデバイスに前記特定のアドレスを送信した場合には前記複数のスレーブデバイスから順に前記リードデータを受信するマスタデバイスと
    を具備する通信システム。
    A plurality of slave devices each of which sequentially transmits read data when receiving a commonly assigned specific address,
    A communication system comprising: a master device that receives the read data sequentially from the plurality of slave devices when the specific address is transmitted to the plurality of slave devices.
  2.  前記複数のスレーブデバイスのそれぞれには、互いに異なる順番が割り当てられ、前記複数のスレーブデバイスのそれぞれは、割り当てられた前記順番で前記リードデータを送信する
    請求項1記載の通信システム。
    The communication system according to claim 1, wherein a different order is assigned to each of the plurality of slave devices, and each of the plurality of slave devices transmits the read data in the assigned order.
  3.  前記複数のスレーブデバイスのそれぞれは、所定ビット数の前記リードデータを送信する
    請求項1記載の通信システム。
    The communication system according to claim 1, wherein each of the plurality of slave devices transmits the read data of a predetermined number of bits.
  4.  前記複数のスレーブデバイスのそれぞれは、1ビットの前記リードデータを送信する
    請求項3記載の通信システム。
    The communication system according to claim 3, wherein each of the plurality of slave devices transmits the read data of one bit.
  5.  前記マスタデバイスは、前記リードデータのビット数を前記複数のスレーブデバイスのそれぞれに設定し、
     前記複数のスレーブデバイスのそれぞれは、前記設定されたビット数の前記リードデータを送信する
    請求項1記載の通信システム。
    The master device sets the number of bits of the read data to each of the plurality of slave devices,
    The communication system according to claim 1, wherein each of the plurality of slave devices transmits the read data of the set number of bits.
  6.  前記マスタデバイスは、所定のクロック信号を送信し、
     前記複数のスレーブデバイスのそれぞれは、前記クロック信号に同期して計数値を生成し、前記リードデータを送信する順番に前記計数値が一致する際に前記リードデータを送信する
    請求項1記載の通信システム。
    The master device transmits a predetermined clock signal,
    2. The communication according to claim 1, wherein each of the plurality of slave devices generates a count value in synchronization with the clock signal, and transmits the read data when the count values match in the order in which the read data is transmitted. system.
  7.  前記マスタデバイスは、所定のクロック信号を送信し、
     前記複数のスレーブデバイスのそれぞれは、前記クロック信号に同期して計数値を生成し、前記計数値に対して所定の演算を行った値が前記リードデータを送信する順番に一致する際に前記リードデータを送信する
    請求項1記載の通信システム。
    The master device transmits a predetermined clock signal,
    Each of the plurality of slave devices generates a count value in synchronization with the clock signal, and performs a read operation when a value obtained by performing a predetermined operation on the count value matches an order in which the read data is transmitted. The communication system according to claim 1, wherein the communication system transmits data.
  8.  前記マスタデバイスと前記スレーブデバイスとは、I2C(Inter-Integrated Circuit)通信規格を用いて通信を行う
    請求項1記載の通信システム。
    The communication system according to claim 1, wherein the master device and the slave device communicate using an I2C (Inter-Integrated Circuit) communication standard.
  9.  複数のスレーブデバイスに共通に割り当てられた特定のアドレスを前記複数のスレーブデバイスに送信した場合には前記複数のスレーブデバイスから順にリードデータを受信するマスタデバイス。 A master device that receives read data in order from the plurality of slave devices when a specific address commonly assigned to the plurality of slave devices is transmitted to the plurality of slave devices.
  10.  他のスレーブデバイスと共通の特定のアドレスを受信した場合には所定のクロック信号に同期して計数値を計数して前記計数値が所定の順番に一致する際にリードデータを送信するスレーブデバイス。 A slave device that counts a count value in synchronization with a predetermined clock signal when a specific address common to another slave device is received, and transmits read data when the count value matches a predetermined order.
  11.  共通に割り当てられた特定のアドレスを複数のスレーブデバイスが受信した場合には前記複数のスレーブデバイスの各々が順にリードデータを送信する送信手順と、
     マスタデバイスが、前記複数のスレーブデバイスに前記特定のアドレスを送信した場合には前記複数のスレーブデバイスから順に前記リードデータを受信する受信手順と
    を具備する通信方法。
    A transmission procedure in which each of the plurality of slave devices sequentially transmits read data when a plurality of slave devices receive a commonly assigned specific address,
    A communication method comprising: when the master device transmits the specific address to the plurality of slave devices, receiving the read data sequentially from the plurality of slave devices.
PCT/JP2019/007540 2018-06-18 2019-02-27 Communication system, master device, slave device, and communication method WO2019244410A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020525252A JP7284751B2 (en) 2018-06-18 2019-02-27 Communication system, master device, slave device and communication method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018-115328 2018-06-18
JP2018115328 2018-06-18

Publications (1)

Publication Number Publication Date
WO2019244410A1 true WO2019244410A1 (en) 2019-12-26

Family

ID=68983658

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/007540 WO2019244410A1 (en) 2018-06-18 2019-02-27 Communication system, master device, slave device, and communication method

Country Status (2)

Country Link
JP (1) JP7284751B2 (en)
WO (1) WO2019244410A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03154994A (en) * 1989-11-13 1991-07-02 Fuji Electric Co Ltd Controller for automatic vending machine
JP2015114810A (en) * 2013-12-11 2015-06-22 セイコーエプソン株式会社 Detector, sensor, electronic apparatus, and mobile body

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106471483B (en) 2014-03-24 2019-12-13 伊耐斯克泰克—计算机科学与技术系统工程研究所 Setting, capturing, processing and scanning module, operation method thereof, device comprising module and mixed signal bus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03154994A (en) * 1989-11-13 1991-07-02 Fuji Electric Co Ltd Controller for automatic vending machine
JP2015114810A (en) * 2013-12-11 2015-06-22 セイコーエプソン株式会社 Detector, sensor, electronic apparatus, and mobile body

Also Published As

Publication number Publication date
JP7284751B2 (en) 2023-05-31
JPWO2019244410A1 (en) 2021-07-08

Similar Documents

Publication Publication Date Title
JP6676689B2 (en) Method and apparatus for specifying a communication protocol used in a process control system
CN108833237B (en) Intelligent home gateway and control method thereof
US10523460B2 (en) Electronic apparatus and external apparatus controlling method thereof
CN108139997A (en) Communication system, equipment, main equipment, slave device, communication system control method and program
JP2016054349A (en) Radio communication device, radio communication system, and slot allocation method
CN104903879A (en) Flexible implementation of serial bus support over display interface
CN111083180B (en) Internet of things system and Internet of things equipment linkage method and device
CN111491284B (en) Bluetooth BLE time delay optimization method, equipment and storage medium
CN110287135B (en) Bus polling method and device
US20190089813A1 (en) Dongle and control method therefor
CN110290187A (en) Transmission method and device, storage medium, the electronic device of data information
CN114007110A (en) Method for programming a remote control
KR102400681B1 (en) System for installing software on a small-memory device
JP7284751B2 (en) Communication system, master device, slave device and communication method
KR101332279B1 (en) Method and device for transmitting data packets
CN108780658A (en) The leakage sensing type of delay retainer circuit for the dynamic read operation in memory bitcell activates control
US20140149616A1 (en) I2c bus structure and address management method
JP2014082694A (en) Wireless communication apparatus, wireless communication system, wireless communication method, and program
WO2004107708A1 (en) Home network system
CN104484149A (en) Offline playing method and device of LED display screen synchronous control system
CN109413641B (en) Network system, communication method, device, equipment and storage medium based on MESH
CN107388480B (en) Air conditioner control method and device and air conditioner system
CN111367852B (en) Operation method, device, equipment and storage medium of equipment
CN113934671B (en) Interface control chip and network equipment
US20230214206A1 (en) Upgradable electronic device and method for upgrading electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19821495

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020525252

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19821495

Country of ref document: EP

Kind code of ref document: A1