WO2024090064A1 - 通信回路、装置、通信システム、通信回路の制御方法、及びプログラム - Google Patents
通信回路、装置、通信システム、通信回路の制御方法、及びプログラム Download PDFInfo
- Publication number
- WO2024090064A1 WO2024090064A1 PCT/JP2023/033553 JP2023033553W WO2024090064A1 WO 2024090064 A1 WO2024090064 A1 WO 2024090064A1 JP 2023033553 W JP2023033553 W JP 2023033553W WO 2024090064 A1 WO2024090064 A1 WO 2024090064A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transmission line
- termination resistor
- switch
- communication circuit
- transmission path
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
Definitions
- This disclosure generally relates to a communication circuit, a device, a communication system, a control method for a communication circuit, and a program, and more specifically, to a communication circuit having a termination resistor, a device having the communication circuit, a communication system having the device, a control method for the communication circuit, and a program.
- the termination resistor setting device (communication circuit) described in Patent Document 1 includes a control unit, a communication controller, a termination resistor, and a switch circuit.
- the control unit controls the communication controller to send data to a LAN line (transmission path).
- the control unit receives a communication error through the communication controller, it recognizes that no termination resistor is connected to the data input/output terminal of the communication controller, and controls the switch circuit to be on. If the data transmission is successful, the control unit recognizes that a termination resistor other than the above termination resistor is connected to the data input/output terminal of the communication controller, and controls the switch circuit to be off.
- the termination resistor is switched on and off after a communication error is detected, which may result in communication being interrupted and unstable, or may cause the device to malfunction.
- the objective of this disclosure is to provide a communication circuit, device, communication system, communication circuit control method, and program that can switch between connection and disconnection between a termination resistor and a transmission line without causing a communication error.
- a communication circuit includes a communication unit, a termination resistor, a switch, a detection unit, and a control unit.
- the communication unit is provided in a device connected to a transmission line, and communicates with another communication unit provided in another device connected to the transmission line via the transmission line.
- the termination resistor is connected to the transmission line.
- the switch switches between connection and disconnection of the termination resistor and the transmission line.
- the detection unit detects the total resistance value of all resistors connected to the transmission line when the termination resistor and the transmission line are connected.
- the control unit controls the switch to switch between connection and disconnection of the termination resistor and the transmission line based on the detection result of the detection unit.
- the functional unit is connected to the communication unit of the communication circuit, transmits and receives signals to and from the communication unit, and executes a predetermined function.
- a communication system includes a transmission path and three or more devices.
- the three or more devices are connected to the transmission path.
- At least one of the three or more devices is a device according to the aspect, and the remaining devices include a termination resistor that is constantly connected to the transmission path.
- a method for controlling a communication circuit is a method for controlling a communication circuit including a communication unit, a termination resistor, and a switch.
- the communication unit is provided in a device connected to a transmission line, and communicates with another communication unit provided in another device connected to the transmission line via the transmission line.
- the termination resistor is connected to the transmission line.
- the switch switches between connection and disconnection of the termination resistor and the transmission line.
- the method for controlling the communication circuit includes a detection step and a control step. In the detection step, a total resistance value of all resistors connected to the transmission line is detected in a state in which the termination resistor and the transmission line are connected. In the control step, switching between connection and disconnection of the termination resistor and the transmission line by the switch is controlled based on the detection result in the detection step.
- a program according to another aspect of the present disclosure causes one or more processors to execute the method for controlling the communication circuit according to the above aspect.
- the present disclosure has the advantage that it is possible to switch between connection and disconnection between the termination resistor and the transmission line without causing a communication error.
- FIG. 1 is a configuration diagram of a communication system according to an embodiment.
- FIG. 2 is a flowchart illustrating the operation of the communication circuit of the first device included in the communication system of the embodiment.
- FIG. 3 is a block diagram of a communication circuit according to the second modification.
- FIG. 4 is a block diagram of a communication circuit according to the third modification.
- FIG. 1 is a configuration diagram of a communication system 1 according to an embodiment.
- a communication circuit 6A includes a communication unit 10, a termination resistor 12, a switch 13, a detection unit 15, and a control unit 16.
- the communication unit 10 is provided in a first device 2A connected to a transmission line 3, and communicates with another communication unit 10 provided in another device 2 connected to the transmission line 3 via the transmission line 3.
- the termination resistor 12 is connected to the transmission line 3.
- the switch 13 switches between connection and non-connection of the termination resistor 12 and the transmission line 3.
- the detection unit 15 detects a total resistance value R1 of all resistors connected to the transmission line 3 in a state in which the termination resistor 12 and the transmission line 3 are connected.
- the control unit 16 controls the switching by the switch 13 between connection and non-connection of the termination resistor 12 and the transmission line 3 based on the detection result of the detection unit 15.
- the switch 13 is controlled to switch between connection and disconnection between the termination resistor 12 and the transmission path 3. Therefore, it is possible to switch between connection and disconnection between the termination resistor 12 and the transmission path 3 without causing a communication error in the communication unit 10.
- the communication system 1 is a communication system in which a plurality of devices 2 communicate with each other via a transmission path 3 while performing the functions of the devices 2.
- the plurality of devices 2 are, for example, servo amplifiers and various sensors used in semiconductor manufacturing equipment or production robots.
- the communication system 1 includes a transmission path 3 and a plurality of devices 2.
- the transmission path 3, which is a differential transmission path has two signal lines 3a and 3b, and transmits a signal using the potential difference between the two signal lines 3a and 3b.
- the transmission path 3 is not limited to a differential transmission path, and may be a single-ended transmission path.
- a single-ended transmission path has one signal line, and transmits a signal using the potential difference between the one signal line and ground.
- the transmission path 3 may be another communication cable, such as a LAN (local area network) cable.
- the multiple (e.g., three or more) devices 2 include at least one first device 2A and a second device 2B, which is the remaining device (i.e., devices 2 other than the first device 2A). In the illustrated example, three first devices 2A and one second device 2B are shown.
- Each of the multiple devices 2 includes a communication circuit 6, as described below.
- the communication circuit 6 of the first device 2A may be referred to as the communication circuit 6A
- the communication circuit 6 of the second device 2B may be referred to as the communication circuit 6B.
- the first device 2A executes a predetermined function of the first device 2A while communicating with other devices 2 connected to the transmission path 3 via the transmission path 3. If the first device 2A is a servo amplifier, the predetermined function of the first device 2A is a function to control a servo motor that is the control target of the servo amplifier, and if the first device 2A is a sensor that detects a predetermined physical quantity, it is a function to detect the predetermined physical quantity.
- the first device 2A is equipped with a termination resistor 12 and has a function to automatically switch between connection and non-connection of the termination resistor 12 to the transmission path 3.
- the first device 2A includes a functional unit 5 and a communication circuit 6A (6).
- the functional unit 5 executes the above-mentioned predetermined function.
- the functional unit 5 is a control unit that controls communication with other servo amplifiers and servo motors. It also switches between connection and disconnection of the termination resistor 12 described below and the transmission path 3.
- the first device 2A is a sensor that detects a predetermined physical quantity
- the functional unit 5 is a detection unit that detects the physical quantity of the detection target.
- the functional unit 5 is connected to the communication circuit 6A, and executes the above-mentioned predetermined function while sending and receiving signals to and from the communication circuit 6A. More specifically, the functional unit 5 executes the predetermined function in response to control from the communication circuit 6A.
- the functional unit 5 executes the predetermined function and transmits the execution result from the communication circuit 6A to the other device 2 via the transmission path 3 from the communication circuit 6A.
- the above-mentioned predetermined function is not particularly limited, but is a function different from the communication circuit 6A.
- the communication circuit 6A communicates with the communication circuit 6 of another device 2 via the transmission path 3.
- the communication circuit 6A includes a power supply circuit 7, two communication terminals 8a and 8b, two wires 9a and 9b, a communication unit 10, a processing unit 11, a termination resistor 12, and a switch 13.
- the power supply circuit 7 generates a DC voltage having a voltage required by the first device 2A from a power supply voltage supplied from an external power supply (DC power supply or AC power supply). The power supply circuit 7 then supplies the generated DC voltage to the communication unit 10 and the processing unit 11.
- the two communication terminals 8a, 8b are respectively connected to the two signal lines 3a, 3b that make up the transmission path 3. More specifically, the two communication terminals 8a, 8b correspond one-to-one to the two signal lines 3a, 3b that make up the transmission path 3, and are respectively connected to the corresponding signal lines 3a, 3b via branch signal lines 3c, 3d.
- the communication unit 10 is provided in the device 2 (more specifically, the first device 2A) connected to the transmission path 3.
- the communication unit 10 communicates with the communication unit 10 of the other device 2 via the transmission path 3.
- the communication unit 10 also exchanges signals with the functional unit 5, is controlled by the functional unit 5, and transmits the execution result of the functional unit 5 to the outside via the transmission path 3.
- the communication unit 10 is connected to the two communication terminals 8a, 8b via two wires 9a, 9b. That is, the communication unit 10 is connected to the transmission path 3 via the two wires 9a, 9b and the two branch signal lines 3c, 3d.
- the communication unit 10 passes a detection current through the transmission path 3 via the two wires 9a, 9b and the two branch signal lines 3c, 3d with the switch 13 in the on state (i.e., the termination resistor 12 connected to the transmission path 3).
- the detection current is a current that the detection unit 15 described below uses to detect the total resistance value R1 of the transmission line 3 described below.
- the termination resistor 12 is a resistor for suppressing the generation of reflected waves of the transmission signal at the end of the transmission path 3.
- the termination resistor 12 is connected across the two wirings 9a, 9b.
- the termination resistor 12 is connected to the transmission path 3 via the two wirings 9a, 9b and the two branch signal lines 3c, 3d.
- the switch 13 switches between connection and disconnection between the termination resistor 12 and the transmission path 3 according to the control of the processing unit 11 (more specifically, the control unit 16 described below).
- the switch 13 is switched on and off according to the control of the processing unit 11.
- the switch 13 is also connected in series with the termination resistor 12. More specifically, the switch 13 is connected between one of the wirings 9a and one end of the termination resistor 12.
- the switch 13 switches from off to on according to the control of the processing unit 11, thereby connecting the termination resistor 12 between the two wirings 9a and 9b, thereby connecting the termination resistor 12 to the transmission path 3.
- the switch 13 switches from on to off according to the control of the processing unit 11, thereby disconnecting the termination resistor 12 from one of the wirings 9a, thereby disconnecting the termination resistor 12 from the transmission path 3.
- termination resistor 12 being connected to the transmission path 3 means that the termination resistor 12 is electrically connected between the two signal lines 3a, 3b (i.e., the termination resistor 12 is connected to the transmission path 3 so that it functions as a resistor).
- the termination resistor 12 being disconnected from the transmission path 3 means that one end of the termination resistor 12 is disconnected from one of the wirings 9a (i.e., the termination resistor 12 is disconnected from the transmission path 3 so that it does not function as a resistor).
- Switch 13 is, for example, a semiconductor switch. This allows switch 13 to be made smaller. More specifically, if switch 13 is, for example, an N-channel MOSFET, the voltage drop due to the depletion layer capacitance of the N-channel MOSFET can be reduced, improving the signal quality of communication on transmission path 3.
- the processing unit 11 detects the total resistance value R1 of the transmission path 3 and controls the on/off of the switch 13.
- the processing unit 11 includes a detection unit 15, a control unit 16, and a storage unit 17.
- the total resistance value (hereinafter referred to as the total
- the control unit 16 controls the switch 13 to switch between connection and disconnection between the termination resistor 12 and the transmission path 3 based on the detection result (total resistance value R1) of the detection unit 15. That is, the control unit 16 compares the total resistance value R1 with the threshold value Rs, and controls the switch 13 to switch between connection and disconnection between the termination resistor 12 and the transmission path 3 based on the comparison result.
- the threshold value Rs is, for example, the same as the total resistance value of the transmission line 3 when two termination resistors 12 (i.e., the termination resistors 12 of each of the two devices 2) are connected to the transmission line 3.
- the characteristic impedance R0 of the differential line of the transmission line 3 is 100 ⁇
- two 100 ⁇ termination resistors 12 may be connected in parallel to the transmission line 3 in order to optimize the signal quality of the transmission line 3. That is, the termination resistors 12 of each of the two devices 2 may be connected to the transmission line 3.
- the total resistance value of the transmission line 3 is 50 ⁇ , which is the parallel connection of two 100 ⁇ . Therefore, in this case, the threshold value Rs is set to 50 ⁇ .
- the threshold value Rs is the same as the total resistance value of the transmission line 3 when two termination resistors 12 are connected to the transmission line 3, but it is possible to set it to the same as the total resistance value of the transmission line 3 when N (N: natural number) termination resistors 12 are connected to the transmission line 3.
- the control unit 16 determines that two or less termination resistors 12, including the termination resistor 12 of the first device 2A, are already connected to the transmission path 3. In this case, the control unit 16 controls the switch 13 so that the termination resistor 12 and the transmission path 3 are connected. That is, the control unit 16 turns on the switch 13. In this embodiment, the switch 13 is turned on when the communication unit 10 passes the detection current through the transmission path 3, so that the switch 13 is maintained in the on state.
- the control unit 16 determines that more than two termination resistors 12, including the termination resistor 12 of the first device 2A, are already connected to the transmission path 3. In this case, the control unit 16 controls the switch 13 so that the termination resistor 12 and the transmission path 3 are not connected. That is, the control unit 16 turns off the switch 13.
- a method for passing a detection current through the transmission path 3 and reading the voltage value V1 of the voltage generated between the communication terminals 8a and 8b (i.e., between the signal lines 3a and 3b) with the control unit 16 there is, for example, a method for reading the voltage value V1 with an analog-to-digital (AD) converter, or a method for reading the voltage value V1 by using a comparator to determine whether the voltage value V1 is H (High) or L (Low) higher than a specified voltage value.
- AD analog-to-digital
- the storage unit 17 is, for example, an electrically rewritable non-volatile semiconductor memory.
- the storage unit 17 stores information (impedance information) related to the characteristic impedance R0 of the differential line of the transmission path 3.
- the control unit 16 calculates the threshold value Rs based on the information related to the characteristic impedance R0 of the differential line stored in the storage unit 17, and uses the calculated threshold value Rs to compare the magnitude of the total resistance value R1 with the threshold value Rs, as described above.
- the information regarding the characteristic impedance R0 of the differential line may be written to the memory unit 17 by a person using a storage medium (e.g., a USB memory) from the outside.
- the first device 2A has an external connection part for removably connecting the storage medium.
- the information regarding the characteristic impedance R0 of the differential line may be written to the memory unit 17 by accessing the first device 2A via the transmission path 3 from an external device.
- Each of the functional unit 5, the processing unit 11, and the communication unit 10 is mainly composed of a computer system having one or more processors and one or more memories.
- the processing unit 11 may have all of its functions configured by a computer system, or some of its functions may be configured by a computer system.
- the communication unit 10 does not necessarily have to be configured by a computer system.
- one or more processors execute a program recorded in the memory, thereby realizing each function of the processing unit 11 and the communication unit 10.
- the program may be pre-recorded in the memory, may be provided through a telecommunications line such as the Internet, or may be recorded and provided on a non-temporary recording medium such as a memory card.
- the second device 2B executes a predetermined function of the second device 2B while communicating with other devices 2 connected to the transmission path 3 via the transmission path 3.
- the predetermined function of the second device 2B is a function to control a servo motor that is the control target of the servo amplifier.
- the predetermined function is a function to detect the predetermined physical quantity.
- the second device 2B has a termination resistor 12 that is constantly connected to the transmission path 3 while connected to the transmission path 3. In other words, the second device 2B has a configuration in which the switch 13 and processing unit 11 are omitted from the first device 2A, and does not have a function to pass a detection current from the communication unit 10 to the transmission path 3.
- the second device 2B includes a functional unit 5 and a communication circuit 6B (6).
- the functional unit 5 executes a predetermined function of the second device 2B.
- the functional unit 5 is a control unit that controls a servo motor.
- the functional unit 5 is a detection unit that detects the physical quantity of the detection target.
- the functional unit 5 is connected to the communication circuit 6B, and executes the above-mentioned predetermined function while sending and receiving signals with the communication circuit 6B. More specifically, the functional unit 5 executes the predetermined function in response to control from the communication circuit 6B.
- the functional unit 5 executes the predetermined function and transmits the execution result from the communication circuit 6B to the other device 2 via the transmission path 3 from the communication circuit 6B.
- the above-mentioned predetermined function is not particularly limited, but is a function different from the communication circuit 6B.
- the communication circuit 6B communicates with the communication circuit 6 of the other device 2 via the transmission path 3.
- the communication circuit 6B includes a power circuit 7, two communication terminals 8a, 8b, two wires 9a, 9b, a communication unit 10, and a termination resistor 12. That is, the second device 2B has a configuration in which the switch 13 and the processing unit 11 are omitted from the first device 2A.
- the communication unit 10 of the second device 2B is configured similarly to the communication unit 10 of the first device 2A, except that it does not have the function of passing a detection current through the transmission path 3. That is, the communication unit 10 of the second device 2B does not pass a detection current through the transmission path 3.
- the same components of the second device 2B as those of the first device 2A are given the same reference numerals and will not be described.
- the termination resistor 12 is constantly connected between the two wires 9a, 9b.
- the termination resistor 12 is automatically constantly connected to the transmission line 3.
- the value of the termination resistor 12 in the second device 2B is set to the same value as the characteristic impedance R0 of the differential line of the transmission line 3, for example, as in the case of the termination resistor 12 in the first device 2A.
- Fig. 2 is a flowchart illustrating the operation of the communication circuit 6A of the first device 2A included in the communication system 1 of the embodiment.
- the control unit 16 turns on the switch 13 (S2). This connects the termination resistor 12 to the transmission path 3.
- the control unit 16 controls the switch 13 to switch between connection and disconnection of the termination resistor 12 and the transmission path 3 based on the detection result (total resistance value R1) of the detection unit 15 (S5). More specifically, if the total resistance value R1 detected by the detection unit 15 is equal to or greater than the threshold value Rs (S5: Yes), the control unit 16 determines that two or less termination resistors 12 are connected to the transmission path 3. In this case, the control unit 16 controls the switch 13 to be on so that the termination resistor 12 and the transmission path 3 are connected. That is, the control unit 16 keeps the switch 13 on (S6).
- the control unit 16 determines that more than two termination resistors 12 are connected to the transmission path 3. In this case, the control unit 16 controls the switch 13 to be off so that the termination resistor 12 and the transmission path 3 are disconnected (S7). Then, the process ends.
- the method for controlling a communication circuit controls the switching of connection and disconnection between the termination resistor 12 and the transmission path 3 by the switch 13 in the communication circuit 6A.
- the communication circuit 6A includes a communication unit 10, a termination resistor 12, and a switch 13.
- the communication unit 10 is provided in a device 2 connected to the transmission path 3, and communicates with another communication unit 10 provided in another device 2 connected to the transmission path 3 via the transmission path 3.
- the termination resistor 12 is connected to the transmission path 3.
- the method for controlling the communication circuit includes a detection step and a control step. In the detection step, a total resistance value R1 of all resistors connected to the transmission path 3 is detected in a state in which the termination resistor 12 and the transmission path 3 are connected. In the control step, the switching of connection and disconnection between the termination resistor 12 and the transmission path 3 by the switch 13 is controlled based on the detection result in the detection step.
- the program causes one or more processors to execute the above-mentioned communication circuit control method.
- a non-transitory recording medium records a program that causes one or more processors to execute the above-mentioned communication circuit control method.
- the switch 13 can periodically switch between connection and disconnection of the termination resistor 12 and the transmission path 3.
- the number of termination resistors 12 connected to the transmission path 3 can be adjusted to an optimal number by switching between connection and disconnection of the termination resistor 12 and the transmission path 3 in the communication circuit 6A of the present disclosure.
- FIG. 3 is a block diagram of a communication circuit 6A of the modified example 2.
- the communication circuit 6A of the modified example 2 further includes a manual switch 18 for switching between an automatic mode and a forced mode in the communication circuit 6A of the first embodiment.
- control unit 16 controls the switch 13 to switch between connection and disconnection between the termination resistor 12 and the transmission path 3 based on the detection result of the detection unit 15.
- control unit 16 controls the switch 13 to be on so that the termination resistor 12 and the transmission path 3 are forcibly connected.
- the communication unit 10 passes a detection current through the transmission path 3 via the wiring 9a, 9b and the branch signal lines 3c, 3d.
- the detection unit 15 detects the voltage value V1 of the voltage generated in the termination resistor 12 by this current flow, and detects the total resistance value R1 of the transmission path 3 based on the detected voltage value V1 and the current value I1 of the detection current.
- the control unit 16 compares the total resistance value R1 with a threshold value Rs, and controls the on and off of the switch 13 based on the comparison result.
- the communication unit 10, detection unit 15, and control unit 16 do not perform the above processes, and the control unit 16 controls the switch 13 to be on so that the termination resistor 12 and the transmission path 3 are connected.
- the operation mode of the communication circuit 6A can be switched between automatic mode and forced mode by the manual switch 18.
- the termination resistor 12 can be forcibly connected to the transmission path 3.
- Fig. 4 is a block diagram of a communication circuit 6A of Modification 3.
- the communication circuit 6A of the above embodiment includes one termination resistor 12 (see Fig. 1), but as shown in Fig. 4, the communication circuit 6A of Modification 3 includes a plurality of termination resistors 12a, 12b, and 12c having different resistance values.
- the switch 13D of Modification 3 selects one of the plurality of termination resistors 12a to 12c under the control of the control unit 16, and switches between connection and non-connection of the selected termination resistor and the transmission line 3.
- each of the termination resistors 12a to 12c is connected in parallel between the two wirings 9a and 9b.
- the switch 13D is composed of a number of switches 13a to 13c corresponding to the number of termination resistors 12a to 12c.
- the switches 13a, 13b, and 13c are provided between the corresponding termination resistors 12a, 12b, and 12c, respectively, and one of the wirings 9a.
- the switches 13a to 13c By turning the switches 13a to 13c on and off, the corresponding termination resistors 12a to 12c are respectively connected and disconnected from the one of the wirings 9a. In this way, each of the switches 13a to 13c switches between connection and disconnection between the corresponding termination resistors 12a, 12b, or 12c and the transmission line 3.
- the control unit 16 controls the multiple switches 13a to 13c to select one termination resistor to be used from the multiple termination resistors 12a to 12c. More specifically, the control unit 16 turns on the switch of the multiple switches 13a to 13c that corresponds to the one termination resistor to be used, and turns off the switches that correspond to the remaining unused termination resistors. As a result, of the multiple termination resistors 12a to 12c, only the one termination resistor to be used is connected to the transmission path 3.
- the control unit 16 selects, as the one termination resistor to be used, for example, from among the multiple termination resistors 12a to 12c, a termination resistor having a resistance value closest to the resistance value specified by the impedance information (information related to the characteristic impedance R0 of the differential line) stored in the memory unit 17. In other words, from among the multiple termination resistors 12a to 12c, a termination resistor that matches the characteristic impedance R0 of the differential line of the transmission path 3 is automatically selected.
- the most suitable termination resistor from among the multiple termination resistors 12a to 12b can be connected to the transmission line. This allows the communication circuit 6A disclosed herein to be compatible with various transmission lines 3 having different characteristic impedances R0 of the differential line.
- the control unit 16 compares the total resistance value R1 of the transmission path 3 with a threshold value Rs, and based on the comparison result, controls the switch 13 to switch between connection and disconnection of the termination resistors 12 and the transmission path 3.
- the control unit 16 compares the number N1 of the termination resistors 12 connected to the transmission path 3 with a threshold value Ns, and based on the comparison result, controls the switch 13 to switch between connection and disconnection of the termination resistors 12 and the transmission path 3.
- the configuration of the communication circuit 6A of the modified example 4 is the same as the configuration of the communication circuit 6A of the above embodiment.
- control unit 16 calculates the number N1 of termination resistors 12 connected to the transmission path 3 (i.e., the number of termination resistors 12 connected to the transmission path 3 among the termination resistors 12 of the device 2) from the detection result (total resistance value R1) of the detection unit 15.
- each termination resistor 12 connected to the transmission line 3 is the same as the characteristic impedance R0 of the differential line of the transmission line 3. Furthermore, each termination resistor 12 connected to the transmission line 3 is connected across the two signal lines 3a, 3b of the transmission line 3, and is also connected in parallel with each other. With these prerequisites and knowledge of electromagnetism, it is possible to calculate the above number N1 from the detection result (total resistance value R1) of the detection unit 15. Details of the calculation of the number N1 are omitted here.
- the control unit 16 performs a size comparison between the calculated number N1 and a threshold value Ns.
- the threshold value Ns is, for example, 2, but is not limited to 2. If the result of this size comparison shows that the number N1 is equal to or less than the threshold value Ns, the control unit 16 determines that Ns (e.g., 2) or less termination resistors 12, including the termination resistor 12 of the first device 2A, are already connected to the transmission path 3. In this case, the control unit 16 controls the switch 13 so that the termination resistor 12 and the transmission path 3 are connected. That is, the control unit 16 turns on the switch 13. In the fourth modification, as in the above embodiment, the switch 13 is turned on when the communication unit 10 passes the detection current through the transmission path 3, so that the switch 13 remains on.
- the control unit 16 determines that more than Ns (e.g., 2) termination resistors 12, including the termination resistor 12 of the first device 2A, are already connected to the transmission path 3. If this is the result of the determination, the control unit 16 controls the switch 13 so that the termination resistor 12 and the transmission line 3 are disconnected. In other words, the control unit 16 turns off the switch 13.
- Ns e.g., 2
- the threshold value Ns can be set to an optimal number of termination resistors 12 to be connected to the transmission path 3. In this case, the switching between connection and non-connection of the termination resistors 12 to the transmission path 3 is controlled so that an optimal number of termination resistors 12 are connected to the transmission path 3.
- the number N1 of termination resistors 12 connected to the transmission line 3 can be compared with the threshold value Ns (i.e., simple control) to control the switching between connection and disconnection of the termination resistors 12 and the transmission line 3 by the switch 13.
- Ns i.e., simple control
- the communication circuit (6A) of the first aspect includes a communication unit (10), a termination resistor (12), a switch (13), a detection unit (15), and a control unit (16).
- the communication unit (10) is provided in a device (2) connected to a transmission line (3) and communicates with another communication unit (10) provided in another device (2) connected to the transmission line (3) via the transmission line (3).
- the termination resistor (12) is connected to the transmission line (3).
- the switch (13) switches between connection and non-connection of the termination resistor (12) and the transmission line (3).
- the detection unit (15) detects the total resistance value (R1) of all resistors connected to the transmission line (3) when the termination resistor (12) and the transmission line (3) are connected.
- the control unit (16) controls the switching between connection and non-connection of the termination resistor (12) and the transmission line (3) by the switch (13) based on the detection result of the detection unit (15).
- the switch (13) is controlled to switch between connection and disconnection between the termination resistor (12) and the transmission path (3). Therefore, it is possible to switch between connection and disconnection between the termination resistor (12) and the transmission path (3) without causing a communication error in the communication unit (10).
- control unit (16) controls the switch (13) to connect the termination resistor (12) and the transmission path (3) when the total resistance value (R1) detected by the detection unit (15) is equal to or greater than the threshold value (Rs).
- the control unit (16) controls the switch (13) to disconnect the termination resistor (12) and the transmission path (3) when the total resistance value (R1) detected by the detection unit (15) is less than the threshold value (Rs).
- the switch (13) can control the switching between connection and disconnection between the termination resistor (12) and the transmission path (3) by comparing the total resistance value (R1) with the threshold value (Rs) (i.e., by simple control).
- the communication circuit (6A) of the third aspect further includes a memory unit (17) that stores impedance information related to the characteristic impedance (R0) of the differential line of the transmission path (3) in the second aspect.
- the control unit (16) sets the threshold value (Rs) based on the impedance information stored in the memory unit (17).
- the optimal threshold value (Rs) can be automatically set simply by setting the impedance information in the storage unit (17).
- the control unit (16) calculates the number (N1) of termination resistors (12) connected to the transmission path (3) based on the detection result of the detection unit (15). If the calculated number (N1) is equal to or less than the threshold (Rs), the control unit (16) controls the switch (13) to connect the termination resistors (12) and the transmission path (3). If the calculated number (N1) exceeds the threshold (Rs), the control unit (16) controls the switch (13) to disconnect the termination resistors (12) and the transmission path (3).
- the number (N1) of termination resistors (12) connected to the transmission path (3) can be compared with the threshold value (Rs) to determine whether they are large or small (i.e., by simple control), and the switch (13) can control the switching between connection and non-connection of the termination resistors (12) to the transmission path (3).
- the communication unit (10) passes a detection current through the transmission path (3).
- the detection unit (15) calculates the total resistance value (R1) of the transmission path (3) based on the voltage value (V1) of the voltage generated in the termination resistor (12) by the detection current and the current value (I1) of the detection current.
- the total resistance value (R1) of all resistors connected to the transmission line (3) can be calculated in a simple manner.
- the communication circuit (6A) of the present disclosure is compatible with the device (2) that operates by passing a current with high impedance as the device (2).
- the communication unit (10) passes a detection current through the transmission path (3) when the device (2) is powered on.
- the switch (13) can be used to switch between connection and disconnection between the termination resistor (12) and the transmission path (3).
- the detection unit (15) periodically detects the total resistance value (R1) of the transmission path (3) in a state in which the termination resistor (12) and the transmission path (3) are connected. Each time the detection unit (15) detects the total resistance value (R1) of the transmission path (3), the control unit (16) controls the switch (13) to switch between connection and non-connection of the termination resistor (12) and the switch (13) based on the detection result of the detection unit (15).
- the switch (13) can periodically switch between connection and disconnection of the termination resistor (12) and the transmission path (3).
- the number (N1) of termination resistors (12) connected to the transmission path (3) can be appropriately adjusted by switching between connection and disconnection of the termination resistor (12) and the transmission path (3) in the device (2A) of the present disclosure.
- the communication circuit (6A) of the eighth aspect further includes a manual switch (18) for switching between an automatic mode and a forced mode in any one of the first to seventh aspects.
- the control unit (16) controls the switch (13) to switch between connection and disconnection between the termination resistor (12) and the transmission path (3) based on the detection result of the detection unit (15).
- the control unit (16) controls the switch (13) to forcibly connect the termination resistor (12) and the transmission path (3).
- the manual switch (18) can be used to switch between automatic mode and forced mode.
- the termination resistor (12) can be forcibly connected to the transmission path (3).
- the termination resistor (12) of the device (2) (device (2) equipped with the communication circuit (6A) of the present disclosure) connected to the end of the transmission path (3) can be forcibly connected to the transmission path (3).
- the communication circuit (6A) of the ninth aspect is any one of the first to ninth aspects and includes a plurality of termination resistors (12).
- the plurality of termination resistors (12) have different resistance values.
- the switch (13) selects one of the plurality of termination resistors (12) and switches between connection and disconnection of the selected termination resistor (12) and the transmission path (3).
- the most suitable termination resistor (12) among the multiple termination resistors (12) can be connected to the transmission path (3).
- the device (2) of the tenth aspect includes a communication circuit (6A) of any one of the first to ninth aspects and a functional unit (5).
- the functional unit (5) is connected to the communication unit (10) of the communication circuit (6A), and transmits and receives signals to and from the communication unit (10) to execute a specified function.
- This configuration makes it possible to provide a device (2) that is connected to a transmission line (3) and includes the communication circuit (6A) disclosed herein.
- the communication system (1) of the eleventh aspect includes a transmission path (3) and three or more devices (2).
- the three or more devices (2) are connected to the transmission path (3).
- At least one device (2) among the three or more devices (2) is the device (2A) of the tenth aspect, and the remaining devices (2) include a termination resistor (12) that is constantly connected to the transmission path (3).
- This configuration makes it possible to provide a communication system (1) equipped with the device (2) of the present disclosure.
- the control method for the communication circuit (6A) of the twelfth aspect is a control method for the communication circuit (6A) including a communication unit (10), a termination resistor (12), and a switch (13).
- the communication unit (10) is provided in a device (2) connected to a transmission path (3) and communicates with another communication unit (10) provided in another device (2) connected to the transmission path (3) via the transmission path (3).
- the termination resistor (12) is connected to the transmission path (3).
- the switch (13) switches between connection and non-connection of the termination resistor (12) and the transmission path (3).
- the control method for the communication circuit (6A) includes a detection step and a control step.
- a total resistance value (R1) of all resistors connected to the transmission path (3) is detected in a state in which the termination resistor (12) and the transmission path (3) are connected.
- the control step based on the detection result in the detection step, switching between connection and non-connection of the termination resistor (12) and the transmission path (3) by the switch (13) is controlled.
- the switch (13) is controlled to switch between connection and disconnection between the termination resistor (12) and the transmission path (3). Therefore, it is possible to switch between connection and disconnection between the termination resistor (12) and the transmission path (3) without causing a communication error.
- the program of the thirteenth aspect causes one or more processors to execute the control method of the communication circuit (6A) of the twelfth aspect.
- This configuration makes it possible to provide a program for causing one or more processors to execute a control method for the communication circuit (6A).
- the communication circuit, device, communication system, communication circuit control method, and program disclosed herein have the advantage that they are capable of switching between connection and disconnection between the termination resistor and the transmission line without causing a communication error. Therefore, the communication circuit, device, communication system, communication circuit control method, and program disclosed herein are industrially useful.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Dc Digital Transmission (AREA)
Abstract
Description
(1)概要
図1は、実施形態に係る通信システム1の構成図である。図1に示すように、実施形態に係る通信回路6Aは、通信部10と、終端抵抗12と、スイッチ13と、検出部15と、制御部16と、を備える。通信部10は、伝送路3に接続された第1装置2Aに設けられ、伝送路3に接続されている他の装置2に設けられている他の通信部10と伝送路3を介して通信を行う。終端抵抗12は、伝送路3に接続されている。スイッチ13は、終端抵抗12と伝送路3との接続及び非接続とを切り替える。検出部15は、終端抵抗12と伝送路3とが接続されている状態で伝送路3に接続されている全抵抗の全抵抗値R1を検出する。制御部16は、検出部15の検出結果に基づいて、スイッチ13による終端抵抗12と伝送路3との接続及び非接続の切り替えを制御する。
図1を参照して、実施形態に係る通信システム1、第1装置2A及び通信回路6Aについて詳細に説明する。
図2を参照して第1装置2Aの通信回路6Aの動作を説明する。図2は、実施形態の通信システム1が備える第1装置2Aの通信回路6Aの動作を説明するフローチャートである。
上記実施形態に係る通信回路6Aと同様の機能は、通信回路6Aの制御方法、コンピュータプログラム(プログラム)、又はコンピュータプログラムを記録した非一時的記録媒体等で具現化されてもよい。
上記実施形態の変形例を説明する。以下の説明では、上記実施形態と異なる部分を中心に説明し、上記実施形態と同じ部分は同じ符号を付して図面及び説明を省略する場合がある。また、上記実施形態及び下記の変形例は組み合わせて実施可能である。
上記実施形態の通信回路6Aでは、第1装置2Aの電源投入時に、スイッチ13による終端抵抗12と伝送路3との接続及び非接続の切り替えを行う。これに対し、変形例1の通信回路6Aでは、定期的に、スイッチ13による終端抵抗12と伝送路3との接続及び非接続の切り替えを行う。より詳細には、変形例1では、検出部15は、定期的に、終端抵抗12と伝送路3とが接続されている状態で伝送路3の全抵抗値R1を検出する。検出部15が伝送路3の全抵抗値R1を検出する毎に、制御部16は、検出部15の検出結果に基づいて、スイッチ13による終端抵抗12と伝送路3との接続及び非接続の切り替えを制御する。
図3は、変形例2の通信回路6Aのブロック図である。図3に示すように、変形例2の通信回路6Aは、実施形態1の通信回路6Aにおいて、自動モードと強制モードとを切替える手動スイッチ18を更に備える。
図4は、変形例3の通信回路6Aのブロック図である。上記実施形態の通信回路6Aは、1つの終端抵抗12を備えるが(図1参照)、図4に示すように、変形例3の通信回路6Aは、互いに異なる抵抗値を有する複数の終端抵抗12a、終端抵抗12bおよび終端抵抗12cを備える。そして、変形例3のスイッチ13Dは、制御部16の制御に基づいて、複数の終端抵抗12a~12cのうちの1つを選択し、選択した終端抵抗と伝送路3との接続及び非接続の切り替えを行う。
上記実施形態の通信回路6Aでは、制御部16は、伝送路3の全抵抗値R1と閾値Rsとの大小比較を行い、その比較結果に基づいて、スイッチ13による終端抵抗12と伝送路3との接続及び非接続の切り替えを制御する。これに対し、変形例4の通信回路6Aでは、制御部16は、伝送路3に接続されている終端抵抗12の個数N1と閾値Nsとの大小比較を行い、その比較結果に基づいて、スイッチ13による終端抵抗12と伝送路3との接続及び非接続の切り替えを制御する。なお、変形例4の通信回路6Aの構成は、上記実施形態の通信回路6Aの構成と同じである。
以上説明した実施形態及び変形例から明らかなように、本明細書には以下の態様が開示されている。
2 装置
2A 第1装置
2B 第2装置
3 伝送路
6、6A、6B 通信回路
10 通信部
12、12a、12b、12c 終端抵抗
13、13a、13b、13c、13D スイッチ
15 検出部
16 制御部
17 記憶部
18 手動スイッチ
I1 電流値
N1 個数
Ns 閾値
R0 差動線路の特性インピーダンス
R1 全抵抗値
Rs 閾値
V1 電圧値
Claims (13)
- 伝送路に接続された装置に設けられ、前記伝送路に接続されている他の装置に設けられている他の通信部と前記伝送路を介して通信を行う通信部と、
前記伝送路に接続された終端抵抗と、
前記終端抵抗と前記伝送路との接続及び非接続とを切り替えるスイッチと、
前記終端抵抗と前記伝送路とが接続されている状態で前記伝送路に接続されている全抵抗の全抵抗値を検出する検出部と、
前記検出部の検出結果に基づいて、前記スイッチによる前記終端抵抗と前記伝送路との接続及び非接続の切り替えを制御する制御部と、を備える、
通信回路。 - 前記制御部は、
前記検出部によって検出された前記全抵抗値が閾値以上である場合は、前記終端抵抗と前記伝送路とが接続されるように前記スイッチを制御し、
前記検出部によって検出された前記全抵抗値が前記閾値未満である場合は、前記終端抵抗と前記伝送路とが非接続にされるように前記スイッチを制御する、
請求項1に記載の通信回路。 - 前記伝送路の差動線路の特性インピーダンスに関するインピーダンス情報を記憶する記憶部をさらに有し、
前記制御部は、前記記憶部に記憶された前記インピーダンス情報に基づいて前記閾値を設定する、
請求項2に記載の通信回路。 - 前記制御部は、
前記検出部の検出結果に基づいて、前記伝送路に接続されている終端抵抗の個数を算出し、
算出した前記個数が閾値以下である場合は、前記終端抵抗と前記伝送路とが接続されるように前記スイッチを制御し、
算出した前記個数が前記閾値を超える場合は、前記終端抵抗と前記伝送路とが非接続にされるように前記スイッチを制御する、
請求項1に記載の通信回路。 - 前記通信部は、前記伝送路に検出用電流を通電させ、
前記検出部は、前記終端抵抗と前記伝送路とが接続されている状態で、前記検出用電流によって前記終端抵抗に発生する電圧の電圧値と前記検出用電流の電流値とに基づいて、前記伝送路の前記全抵抗値を算出する、
請求項1に記載の通信回路。 - 前記通信部は、前記装置の電源投入時に、前記伝送路に前記検出用電流を通電させる、
請求項5に記載の通信回路。 - 前記検出部は、定期的に、前記終端抵抗と前記伝送路とが接続されている状態で前記伝送路の前記全抵抗値を検出し、
前記検出部が前記伝送路の前記全抵抗値を検出する毎に、前記制御部は、前記検出部の検出結果に基づいて、前記スイッチによる前記終端抵抗と前記スイッチとの接続及び非接続の切り替えを制御する、
請求項1に記載の通信回路。 - 自動モードと強制モードとを切替える手動スイッチを更に備え、
前記自動モードでは、
前記制御部は、前記検出部の検出結果に基づいて、前記スイッチによる前記終端抵抗と前記伝送路との接続及び非接続の切り替えを制御し、
前記強制モードでは、
前記制御部は、強制的に、前記終端抵抗と前記伝送路とが接続されるように前記スイッチを制御する、
請求項1に記載の通信回路。 - 前記終端抵抗を複数備え、
前記複数の終端抵抗は、互いに異なる抵抗値を有し、
前記スイッチは、前記複数の終端抵抗のうちの1つを選択し、選択した前記終端抵抗と前記伝送路との接続及び非接続の切り替えを行う、
請求項1に記載の通信回路。 - 請求項1に記載の通信回路と、
前記通信回路の前記通信部と接続され、前記通信部と信号の授受を行い、所定の機能を実行する機能部と、を備える、
装置。 - 伝送路と、
前記伝送路に接続された3つ以上の装置と、を備え、
前記3つ以上の装置のうち、
少なくとも1つの装置は、請求項10に記載の装置であり、
残りの装置は、前記伝送路に常時接続された終端抵抗を備える、
通信システム。 - 伝送路に接続された装置に設けられ、前記伝送路に接続されている他の装置に設けられている他の通信部と前記伝送路を介して通信を行う通信部と、前記伝送路に接続された終端抵抗と、前記終端抵抗と前記伝送路との接続及び非接続とを切り替えるスイッチと、を備える通信回路の制御方法であって、
前記終端抵抗と前記伝送路とが接続されている状態で前記伝送路に接続されている全抵抗の全抵抗値を検出する検出工程と、
前記検出工程での検出結果に基づいて、前記スイッチによる前記終端抵抗と前記伝送路との接続及び非接続の切り替えを制御する制御工程と、を含む、
通信回路の制御方法。 - 請求項12に記載の通信回路の制御方法を1以上のプロセッサに実行させるためのプログラム。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2024552872A JPWO2024090064A1 (ja) | 2022-10-25 | 2023-09-14 | |
CN202380073074.5A CN120035960A (zh) | 2022-10-25 | 2023-09-14 | 通信电路、装置、通信系统、通信电路的控制方法以及程序 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022-170864 | 2022-10-25 | ||
JP2022170864 | 2022-10-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024090064A1 true WO2024090064A1 (ja) | 2024-05-02 |
Family
ID=90830489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2023/033553 WO2024090064A1 (ja) | 2022-10-25 | 2023-09-14 | 通信回路、装置、通信システム、通信回路の制御方法、及びプログラム |
Country Status (3)
Country | Link |
---|---|
JP (1) | JPWO2024090064A1 (ja) |
CN (1) | CN120035960A (ja) |
WO (1) | WO2024090064A1 (ja) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04315335A (ja) * | 1991-04-15 | 1992-11-06 | Matsushita Electric Works Ltd | 多重伝送システム |
JPH09326811A (ja) | 1996-06-07 | 1997-12-16 | Matsushita Electric Ind Co Ltd | 終端抵抗設定装置 |
JP2021520735A (ja) * | 2018-04-06 | 2021-08-19 | ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツングRobert Bosch Gmbh | バスシステムのための回路および回路を動作させる方法 |
-
2023
- 2023-09-14 WO PCT/JP2023/033553 patent/WO2024090064A1/ja active Application Filing
- 2023-09-14 JP JP2024552872A patent/JPWO2024090064A1/ja active Pending
- 2023-09-14 CN CN202380073074.5A patent/CN120035960A/zh active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04315335A (ja) * | 1991-04-15 | 1992-11-06 | Matsushita Electric Works Ltd | 多重伝送システム |
JPH09326811A (ja) | 1996-06-07 | 1997-12-16 | Matsushita Electric Ind Co Ltd | 終端抵抗設定装置 |
JP2021520735A (ja) * | 2018-04-06 | 2021-08-19 | ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツングRobert Bosch Gmbh | バスシステムのための回路および回路を動作させる方法 |
Also Published As
Publication number | Publication date |
---|---|
JPWO2024090064A1 (ja) | 2024-05-02 |
CN120035960A (zh) | 2025-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2816759B1 (en) | Power over ethernet on data pairs and spare pairs | |
CN103066683B (zh) | 以太网供电系统中的导体对切换 | |
JP3538366B2 (ja) | Canバスの終端装置および終端方法 | |
JP4624430B2 (ja) | パワーオーバーイーサネット(登録商標)システムにおけるレガシー受電側機器の検出 | |
US7312628B2 (en) | Method and apparatus for CAN bus auto-termination | |
US20090037622A1 (en) | Method and system for changing operation modes of an interface device | |
US7493524B2 (en) | Network with redundancy properties, a branching unit for a user device in a network, redundancy manager for a network with redundancy properties and method for operating a network with redundancy properties | |
CN112114644A (zh) | 一种服务器电源均流的方法、系统、设备及介质 | |
WO2024090064A1 (ja) | 通信回路、装置、通信システム、通信回路の制御方法、及びプログラム | |
JPH10198473A (ja) | 終端抵抗制御型バスシステム | |
US20160118840A1 (en) | Battery pack and portable electronic apparatus | |
US10447488B2 (en) | Device and method for detecting powered devices connected to a power source equipment in a power over ethernet system | |
CN118152325A (zh) | 串行数据传输装置 | |
JP5162610B2 (ja) | Usbデバイス接続システムおよびusbハブコントローラ | |
US9331741B2 (en) | Power line communication system and control method thereof | |
JP4648166B2 (ja) | システム電源及び電力供給システム | |
KR100782853B1 (ko) | Ieee 1394 a/v 네트워크 시스템 및 그 네트워크 구성방법 | |
CN113778363B (zh) | 一种显示终端及其级联系统、控制方法 | |
US11681647B2 (en) | Electronic apparatus and hot-swappable storage device thereof | |
JP4223697B2 (ja) | プログラマブルコントローラのアナログモジュール | |
KR101936031B1 (ko) | 크로스토크 전류를 감소시키는 전압 소싱 저항형 센서 | |
JP3403347B2 (ja) | キースイッチ回路 | |
US10615550B2 (en) | Earphone recognition and connection methods and circuits and storage medium | |
KR20090011807A (ko) | 캔 통신라인의 종단저항 조절장치 | |
JP4183062B2 (ja) | ビデオ切換えシステム |
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: 23882277 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2024552872 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2023882277 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2023882277 Country of ref document: EP Effective date: 20250526 |