Communication device, communication system, and communication control method
AssigneePanasonic Intellectual Property Management Co., Ltd.
InventorsYosuke Majima, Hayata Sakai
Life of this patent
Estimating the term…
Abstract
Communication device is a communication device to which a plurality of slaves are daisy-chained and which communicates with the plurality of slaves. Communication device includes processor. Processor executes setting processing. In the setting processing, an update cycle of a specific slave that is a slave having a shortest data update cycle among the plurality of slaves is set to a reference cycle, and an update cycle of another slave different from specific slave among the plurality of slaves is set to an integral multiple of the reference cycle.
Claims17
A communication device to which a plurality of slaves are daisy-chained, the communication device communicating with the plurality of slaves, the communication device comprising:
- a processor that executes setting processing of (i) setting, to a reference cycle, an update cycle of a specific slave that is a slave having a shortest data update cycle among the plurality of slaves and (ii) setting, to an integral multiple of the reference cycle, the update cycle of another slave different from the specific slave among the plurality of slaves, and
- a calculator that calculates a maximum transmission number that is a maximum value of a number of slaves to which data is capable of being transmitted by a frame transmitted from the communication device for each reference cycle among the plurality of slaves, wherein:
- the processor that adds, to the frame, a region for storing device-to-device data that is data between any two slaves of the plurality of slaves in a case where a number of slaves corresponding to data included in the frame among the plurality of slaves is smaller than the maximum transmission number calculated by the calculator,
- the processor further executes calculation processing of calculating an adjustment value for synchronizing the communication device with the plurality of slaves, and
- the adjustment value is a sum of (1) a first time that is a processing time from when each of the plurality of slaves receives the frame to when a predetermined pulse is generated and (2) a second time that is a product of a difference value between a number of the plurality of slaves and a connection order of each of the plurality of slaves from the communication device and a fixed delay value.
A communication device to which a plurality of slaves are daisy-chained, the communication device communicating with the plurality of slaves, the communication device comprising:
- a processor that executes setting processing of (i) setting, to a reference cycle, an update cycle of a specific slave that is a slave having a shortest data update cycle among the plurality of slaves and (ii) setting, to an integral multiple of the reference cycle, the update cycle of another slave different from the specific slave among the plurality of slaves, and
- a calculator that calculates a maximum transmission number that is a maximum value of a number of slaves to which data is capable of being transmitted by a frame transmitted from the communication device for each reference cycle among the plurality of slaves,
- wherein the processor adds, to the frame, unused data that is data not used in communication between the communication device and the plurality of slaves in a case where a number of slaves corresponding to data included in the frame among the plurality of slaves is smaller than the maximum transmission number calculated by the calculator, and
- the adjustment value is a sum of (1) a first time that is a processing time from when each of the plurality of slaves receives the frame to when a predetermined pulse is generated and (2) a second time that is a product of a difference value between a number of the plurality of slaves and a connection order of each of the plurality of slaves from the communication device and a fixed delay value.
A communication control method used in a communication device to which a plurality of slaves are daisy-chained, the communication device communicating with the plurality of slaves, the method comprising:
- setting, to a reference cycle, an update cycle of a specific slave that is a slave having a shortest data update cycle among the plurality of slaves and setting, to an integral multiple of the reference cycle, the update cycle of another slave different from the specific slave among the plurality of slaves;
- calculating a maximum transmission number that is a maximum value of a number of slaves to which data is capable of being transmitted by a frame transmitted from the communication device for each reference cycle among the plurality of slaves;
- and
- adding, to the frame, a region for storing device-to-device data that is data between any two slaves of the plurality of slaves in a case where a number of slaves corresponding to data included in the frame among the plurality of slaves is smaller than the maximum transmission number.
Dependencies are inferred from the claim text.