WO2021095387A1 - デバイス駆動装置、及びデバイス駆動システム - Google Patents

デバイス駆動装置、及びデバイス駆動システム Download PDF

Info

Publication number
WO2021095387A1
WO2021095387A1 PCT/JP2020/037129 JP2020037129W WO2021095387A1 WO 2021095387 A1 WO2021095387 A1 WO 2021095387A1 JP 2020037129 W JP2020037129 W JP 2020037129W WO 2021095387 A1 WO2021095387 A1 WO 2021095387A1
Authority
WO
WIPO (PCT)
Prior art keywords
identification code
setting
unit
wiring
control
Prior art date
Application number
PCT/JP2020/037129
Other languages
English (en)
French (fr)
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 日本電産サーボ株式会社
Publication of WO2021095387A1 publication Critical patent/WO2021095387A1/ja

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/14Handling requests for interconnection or transfer
    • 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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors

Definitions

  • the present invention relates to a device drive device and a device drive system.
  • Patent Document 1 a motor drive system that drives a plurality of motors according to an instruction from a host device is known (see, for example, Patent Document 1).
  • the motor drive system described in Patent Document 1 discloses a configuration in which a host device controls a drive control circuit provided for each of a plurality of motors.
  • each drive control circuit includes a communication unit having a relay function of transmitting data received from a device in the previous stage connected in series to the device in the subsequent stage.
  • Each drive control circuit has an address generation function for generating an address for identifying itself from a plurality of drive control circuits, stores the generated address, and reports the generated address to the host device.
  • the host device specifies the drive control circuit of the destination of the transmitted data by including the address in the transmitted data. An example is shown in Patent Document 1.
  • a device drive system that drives a motor which is an example of a device
  • a plurality of device drive devices provided for each device are controlled (rotation, stop instruction) by one host device, which is an example of a control device, by using serial communication or the like.
  • serial communication or the like For example, it is necessary to give a different identification number for each device drive device.
  • a communication unit is provided in each drive control circuit, and transmission data is relayed and transmitted, if any communication unit fails, it is connected to the subsequent stage of the communication unit. Normal data could not be transmitted to the drive control circuit, and even the drive control circuit other than the failed drive control circuit could not operate, and there was a risk that the entire motor drive system would become unstable.
  • An object of the present invention is to provide a device drive device and a device drive system capable of making the entire system less likely to become unstable as compared with a configuration in which devices are connected in series and transmission data is relayed and transmitted. That is.
  • An exemplary first invention of the present application is a device drive device for driving a device, and is a wiring for setting an identification code that connects the control device that controls the device drive device and the control device and the device drive device in series. And the identification code setting wiring that further connects the device drive device and another device drive device other than the device drive device in series, and the identification code connected to the device drive device on the side close to the control device.
  • a serial data communication wiring that connects an input unit for inputting a setting signal from a setting wiring, a control device, and a device driving device in parallel with a connection between the control device and the other device driving device, and the above.
  • serial data communication wirings a communication unit that communicates with the control device via a wiring that connects the control device and the device drive device, an identification code storage unit that stores its own identification code, and the input.
  • a control unit that stores the identification code received by the communication unit as its own identification code in the identification code storage unit when the setting signal is input to the unit, and an identification code stored in the identification code storage unit by the control unit.
  • the identification code setting wiring connected to the device in the subsequent stage of the series when the above-mentioned is stored is provided with an output unit for outputting the setting time signal.
  • a device drive device capable of making the entire system less likely to become unstable as compared with a configuration in which devices are connected in series and transmission data is relayed and transmitted. Can be provided.
  • the present invention is applicable to systems that drive motors.
  • the present invention is applicable to devices other than motors, such as systems that drive various actuators.
  • FIG. 1 is a block diagram showing a configuration of a device drive system according to the first embodiment of the present invention.
  • the identification code setting for connecting the plurality of device drive devices 103, the control device 102 for controlling the plurality of device drive devices 103, and the control device 102 and the plurality of device drive devices 103 in series.
  • the wiring 106 and the serial data communication wiring 105 that connects the control device 102 and the plurality of device driving devices 103 in parallel are provided.
  • the number of the device driving devices 103 included in the device driving system 100 may be a plurality, and the number is not limited.
  • the plurality of device drive devices 103 drive different devices.
  • the device drive system 100 has a plurality of devices driven by each of the plurality of device drive devices 103.
  • the device driven by the device drive 103 is, for example, a motor.
  • the device driven by the device driving device 103 is not limited to the motor, and may be various actuators, sensors, or any other device.
  • Each of the plurality of device drive devices 103 includes an identification code setting wiring 106 that connects the control device 102 and the device drive device 103 in series, a device drive device 103, and a device drive device 103 other than the device drive device 103.
  • the identification code setting wiring 106 that further connects the devices in series, the input unit that inputs the setting signal from the identification code setting wiring 106 connected to the device drive device 103 on the side closer to the control device 102, and the control device 102 and the device.
  • the serial data communication wiring 105 that connects the drive device 103 in parallel with the connection between the control device 102 and the other device drive device 103, and the control device 102 and the device drive device 103 among the serial data communication wiring 105.
  • a communication unit that communicates with the control device 102 via the connecting wiring, an identification code storage unit that stores its own identification code, and an identification code received by the communication unit when a setting signal is input to the input unit.
  • a setting signal is sent to the control unit that stores the identification code as its own identification code in the identification code storage unit and the identification code setting wiring that is connected to the subsequent device in series when the identification code is stored in the identification code storage unit by the control unit. It includes an output unit for output.
  • control device 102 controls a plurality of device drive devices 103
  • a command is transmitted via the serial data communication wiring 105.
  • the control device 102 specifies which device drive device 103 the command is addressed to by including the identification code of the device drive device 103 to be controlled in the command to be transmitted.
  • the process of setting the identification code for each of the plurality of device drive devices 103 will be described in Examples described later.
  • FIG. 2 is a block diagram showing a configuration of a device drive system according to a second embodiment of the present invention.
  • the device drive system 200 of the present embodiment sets an identification code for connecting the plurality of device drive devices 203, the control device 202 for controlling the plurality of device drive devices 203, and the control device 202 and the plurality of device drive devices 203 in series.
  • the wiring 206 and the serial data communication wiring 205 that connect the control device 202 and the plurality of device drive devices 203 in parallel are provided.
  • the number of the device driving devices 203 included in the device driving system 200 may be a plurality, and the number is not limited.
  • the plurality of device drive devices 203 drive different devices.
  • the device drive system 200 has a plurality of devices driven by each of the plurality of device drive devices 203.
  • the device driven by the device drive device 203 is, for example, a motor.
  • the device driven by the device driving device 203 is not limited to the motor, and may be various actuators, sensors, or any other device.
  • Each of the plurality of device drive devices 203 is an input unit that inputs a setting time signal from the identification code setting wiring 206 connected to the device drive device in the previous stage close to the output of the control device of the plurality of device drive devices connected in series. To be equipped.
  • Each of the plurality of device drive devices 203 includes a communication unit that communicates with the control device 202 via the serial data communication wiring 205.
  • Each of the plurality of device drive devices 203 includes an identification code storage unit that stores its own identification code.
  • Each of the plurality of device drive devices 203 includes a control unit that stores the identification code received by the communication unit as its own identification code in the identification code storage unit when a setting signal is input to the input unit.
  • Each of the plurality of device drive devices 203 has an output unit that outputs a setting signal to the identification code setting wiring 206 connected to the subsequent device in series when the identification code is stored in the identification code storage unit by the control unit. Be prepared.
  • the identification code setting wiring 206 connected to the output unit of the device drive device 203 located at the rearmost stage of the series connection by the identification code setting wiring 206 is connected so as to return to the control device 202.
  • control device 202 controls a plurality of device drive devices 203
  • a command is transmitted via the serial data communication wiring 205.
  • the control device 202 specifies which device drive device 203 the command is addressed to by including the identification code of the device drive device 203 to be controlled in the command to be transmitted.
  • the process of setting the identification code for each of the plurality of device drive devices 203 will be described in Examples described later.
  • FIG. 3 is a block diagram showing a configuration of a motor drive system according to a first embodiment of the present invention.
  • the motor drive system 1 of the present embodiment includes a host device 2, motor drive devices 3a, 3b and 3c, and motors 4a, 4b and 4c.
  • the motor drive system 1 is an example of a device drive system.
  • the host device 2 is an example of a control device.
  • the motor drive devices 3a, 3b, and 3c are examples of device drive devices.
  • Motors 4a, 4b and 4c are examples of devices.
  • the motor drive devices 3a, 3b and 3c drive the motors 4a, 4b and 4c, respectively.
  • the number of motor drive devices may be a plurality.
  • the host device 2 and the motor drive devices 3a, 3b and 3c are connected in series by the identification number setting wirings 6a, 6b, 6c and 6d.
  • the identification number setting wirings 6a, 6b, 6c and 6d are examples of the identification code setting wirings.
  • the identification number is used to identify each of the motor drive devices 3a, 3b, and 3c, but the present invention is not limited to this, and may be other than the number, for example, characters and symbols.
  • Each of the motor drive devices 3a, 3b and 3c may be specified by using the included reference numerals.
  • the identification number is an example of an identification code.
  • the host device 2 is connected to the motor drive device 3a by the identification number setting wiring 6a.
  • the motor drive device 3a is connected to the motor drive device 3b by the identification number setting wiring 6b.
  • the motor drive device 3b is connected to the motor drive device 3c by the identification number setting wiring 6c.
  • the motor drive device 3c is connected to the host device 2 by the identification number setting wiring 6d.
  • the identification number setting wirings 6a, 6b, 6c and 6d are used for transmission of a setting signal, which will be described in detail later.
  • the serial data communication wiring 5 is an example of the serial data communication wiring.
  • the serial data communication wiring 5 is, for example, a serial bus.
  • the identification number that identifies the motor drive device of the transmission destination is included in the command or the like to be transmitted, and serial data communication is performed. It is transmitted via the wiring 5.
  • the serial data communication wiring 5 may be a wiring for a full-duplex communication system in which the transmission wiring and the reception wiring are separate wirings, or the transmission wiring and the reception wiring are the same wirings. Wiring for the heavy communication method may be used.
  • FIG. 4 is a block diagram showing the configuration of the host device 2 shown in FIG.
  • the host device 2 is an example of a control device.
  • the host device 2 includes an input unit 21 for inputting a setting signal from the identification number setting wiring 6d connected to the motor drive device 3c which is a device in the first stage in series, and a motor drive device 3a which is a device in the second stage in series.
  • An output unit 26 that outputs a setting signal to the connected identification number setting wiring 6a, a communication unit 22 that communicates with the motor drive devices 3a, 3b, and 3c via the serial data communication wiring 5, and a host device 2.
  • a control unit 23 for controlling the operation of the above is provided.
  • the input unit 21 is an example of an input unit on the control device side.
  • the output unit 26 is an example of an output unit on the control device side.
  • the communication unit 22 is an example of a communication unit on the control device side.
  • the control unit 23 is an example of a control unit on the control device side. The control unit 23 executes the process on the host device 2 side of the identification number setting process for setting the identification numbers of the motor drive devices 3a, 3b, and 3c.
  • FIG. 5 is a block diagram showing the configuration of the motor drive device 3a shown in FIG. Since the configurations of the motor drive devices 3b and 3c are the same as the configurations of the motor drive devices 3a, the configurations of the motor drive devices 3a will be described here as a representative.
  • the motor drive device 3a is a host device 2 via an input unit 31 for inputting a setting signal from the identification number setting wiring 6a connected to the host device 2 which is a device in the previous stage in series, and a serial data communication wiring 5.
  • the identification number is stored in the storage unit 34 by the communication unit 32 that communicates with, the storage unit 34 that stores its own identification number, the control unit 33 that controls the operation of the motor drive device 3a, and the control unit 33.
  • An output unit 36 that outputs a setting signal to the identification number setting wiring 6b connected to the motor drive device 3b, which is a subsequent device in series, and a drive unit 35 that drives the motor 4a connected to the motor drive device 3a.
  • the input unit 31 is an example of an input unit.
  • the communication unit 32 is an example of the communication unit.
  • the storage unit 34 is an example of an identification code storage unit.
  • the control unit 33 is an example of a control unit.
  • the output unit 36 is an example of an output unit.
  • the control unit 33 stores the identification number received by the communication unit 32 as its own identification number in the storage unit 34 when the setting signal is input to the input unit 31.
  • the control unit 33 executes the process on the motor drive device 3a side of the identification number setting process for setting the identification numbers of the motor drive devices 3a, 3b, and 3c.
  • FIG. 6 is a flowchart showing a process on the host device 2 side in the identification number setting process.
  • FIG. 7 is a flowchart showing a process on the motor drive device 3a side in the identification number setting process.
  • FIG. 8 is a flow chart showing a flow of data between the host device 2 and the motor drive devices 3a, 3b, and 3c in the identification number setting process.
  • the control unit 23 of the host device 2 Upon receiving the instruction to start the identification number setting process, the control unit 23 of the host device 2 outputs a setting signal to the identification number setting wiring 6a by the output unit 26 (step S401 in FIG. 6 and step S601 in FIG. 8). ..
  • both the output unit 26 of the host device 2 and the output units 36 of the motor drive devices 3a, 3b, and 3c output a setting signal. It is not in a state.
  • the setting signal is, for example, low active, and when the setting signal is not output, the values of the identification number setting wirings 6a, 6b, 6c and 6d are 1 (high), and the setting signal is output.
  • the values of the identification number setting wirings 6a, 6b, 6c and 6d are 0 (low).
  • the state in which the signal at the time of setting is not output is described as (1) in the identification code setting wiring 106.
  • the device driving device 103 stores the state of the setting signal output by itself as the setting output. The signal at the time of setting may be set to high active.
  • the same number as the initial identification number is used as the identification number in any of the storage units 34 of the motor drive devices 3a, 3b, and 3c (this embodiment). 0) is stored and set (step S501 in FIG. 7).
  • the identification code of each of the device drive devices 103 is described as ID (0).
  • step S501 the control unit 33 of the motor drive device 3a receives the input of the setting signal of the identification number setting wiring 6a (that the setting signal is low) by the input unit 31 (FIG. 7).
  • Step S502: Yes the control unit 33 of the motor drive devices 3b and 3c does not accept the input of the setting signal (step S502: No in FIG. 7).
  • step S502: No in FIG. 7 the control unit 33 enters the standby state in S502 in FIG.
  • the control unit 23 of the host device 2 outputs a setting signal (step S401 in FIG. 6 and step S601 in FIG. 8), and then transmits a setting command by the communication unit 22 via the serial data communication wiring 5. (Step S402 in FIG. 6 and step S602 in FIG. 8).
  • This setting command is a command addressed to the motor drive device in which the initial identification number is set. Further, this setting command is a command instructing that the identification number of the destination motor drive device is set to a predetermined number (1 in this embodiment) other than the initial identification number.
  • the control unit 33 of the motor drive device 3a receives a setting command by the communication unit 32 via the serial data communication wiring 5 (step S503: Yes in FIG. 7). After that, the control unit 33 of the motor drive device 3a transmits a return command to the host device 2 via the serial data communication wiring 5 by the communication unit 32 (step S504 in FIG. 7 and step S603 in FIG. 8). ..
  • the control unit 23 of the host device 2 receives the return command by the communication unit 22 via the serial data communication wiring 5 (step S403: Yes in FIG. 6). After that, the control unit 23 of the host device 2 transmits a confirmation command by the communication unit 22 via the serial data communication wiring 5 (step S404 in FIG. 6 and step S604 in FIG. 8).
  • This confirmation command is a command addressed to the motor drive device for which the initial identification number is set.
  • the control unit 33 of the motor drive device 3a receives a confirmation command from the communication unit 32 via the serial data communication wiring 5 (step S505: Yes in FIG. 7). After that, the control unit 33 of the motor drive device 3a stores in the storage unit 34 the identification number instructed to be set by the setting command received in step S503, and sets it as its own identification number (step S506 in FIG. 7). ).
  • the control unit 33 of the motor drive device 3a is instructed to set by the setting command received in step S503 after receiving the setting command in step S503 and before receiving the confirmation command in step S505.
  • the identification number may be stored in the storage unit 34 and set as its own identification number. Further, the control unit 33 of the motor drive device 3a is instructed to set by the setting command received in step S503 after receiving the setting command in step S503 and before transmitting the return command in step S504.
  • the identification number may be stored in the storage unit 34 and set as its own identification number.
  • the confirmation command transmitted by the control unit 23 of the host device 2 in step S404 is a command addressed to the motor drive device in which the identification number instructed to be set by the setting command transmitted in step S402 is set.
  • control unit 33 of the motor drive device 3a may execute the setting signal output in step S507 when the confirmation command is received.
  • the timing of storing the identification number instructed to be set by the setting command received in step S503 in the storage unit 34 may be the same as that of the motor drive device 3a in the motor drive devices 3b and 3c, or may be different. May be good.
  • step S506 in FIG. 7 the control unit 33 of the motor drive device 3a outputs a setting signal to the identification number setting wiring 6b by the output unit 36 (step S507 in FIG. 7, step S605 in FIG. 8). After that, the control unit 33 of the motor drive device 3a waits for the input unit 31 to stop the input of the setting signal of the identification number setting wiring 6a (waiting for the setting signal to become high) (FIG. 7). Step S508).
  • the identification number of the motor drive device 3b is set.
  • the control unit 33 of the motor drive device 3b receives the input of the setting signal of the identification number setting wiring 6b (that the setting signal is low) by the input unit 31 (FIG. 7).
  • Step S502: Yes and waits for the reception of the setting command addressed to itself (step S503 in FIG. 7).
  • the control unit 33 since the control unit 33 of the motor drive device 3c does not accept the input of the setting signal (step S502: No in FIG. 7), the control unit 33 enters the standby state in S502 in FIG. At this time, the control unit 33 of the motor drive device 3a is in the standby state in S508 of FIG.
  • step S405 No in FIG. 6
  • the process returns to step S402.
  • the control unit 23 of the host device 2 transmits a setting command by the communication unit 22 via the serial data communication wiring 5 (step S402 in FIG. 6 and step S606 in FIG. 8).
  • This setting command is a command addressed to the motor drive device in which the initial identification number is set. Further, this setting command instructs to set the identification number of the destination motor drive device to a predetermined number (2 in this embodiment) other than the initial identification number and the identification number already set in the other motor drive device. It is a command.
  • the identification number to be set may be a serial number, or may have a missing number instead of a serial number. Moreover, the same identification number may be given.
  • the control unit 33 of the motor drive device 3b receives the setting command by the communication unit 32 via the serial data communication wiring 5 (step S503: Yes in FIG. 7). After that, the control unit 33 of the motor drive device 3b transmits a return command to the host device 2 via the serial data communication wiring 5 by the communication unit 32 (step S504 in FIG. 7, step S607 in FIG. 8). ..
  • the control unit 23 of the host device 2 receives the return command by the communication unit 22 via the serial data communication wiring 5 (step S403: Yes in FIG. 6). After that, the control unit 23 of the host device 2 transmits a confirmation command by the communication unit 22 via the serial data communication wiring 5 (step S404 in FIG. 6 and step S608 in FIG. 8).
  • This confirmation command is a command addressed to the motor drive device for which the initial identification number is set.
  • the control unit 33 of the motor drive device 3b receives a confirmation command from the communication unit 32 via the serial data communication wiring 5 (step S505: Yes in FIG. 7). After that, the control unit 33 of the motor drive device 3b stores the identification number instructed to be set by the setting command received in step S503 in the storage unit 34 and sets it as its own identification number (step S506 in FIG. 7). ).
  • step S506 in FIG. 7 the control unit 33 of the motor drive device 3b outputs a setting signal to the identification number setting wiring 6c by the output unit 36 (step S507 in FIG. 7, step S609 in FIG. 8). After that, the control unit 33 of the motor drive device 3b waits for the input unit 31 to stop the input of the setting signal of the identification number setting wiring 6b (waiting for the setting signal to become high) (FIG. 7). Step S508).
  • the identification number of the motor drive device 3c is set.
  • the control unit 33 of the motor drive device 3c receives the input of the setting signal of the identification number setting wiring 6c (that the setting signal is low) by the input unit 31 (FIG. 7).
  • Step S502 Yes) and waits for the reception of the setting command addressed to itself (step S503 in FIG. 7).
  • the control unit 33 of the motor drive devices 3a and 3b is in the standby state in S508 of FIG.
  • step S405 No in FIG. 6
  • the process returns to step S402.
  • the control unit 23 of the host device 2 transmits a setting command by the communication unit 22 via the serial data communication wiring 5 (step S402 in FIG. 6 and step S610 in FIG. 8).
  • This setting command is a command addressed to the motor drive device in which the initial identification number is set. Further, this setting command instructs to set the identification number of the destination motor drive device to a predetermined number (3 in this embodiment) other than the initial identification number and the identification number already set in the other motor drive device. It is a command.
  • the control unit 33 of the motor drive device 3c receives a setting command by the communication unit 32 via the serial data communication wiring 5 (step S503: Yes in FIG. 7). After that, the control unit 33 of the motor drive device 3c transmits a return command to the host device 2 via the serial data communication wiring 5 by the communication unit 32 (step S504 in FIG. 7, step S611 in FIG. 8). ..
  • the control unit 23 of the host device 2 receives the return command by the communication unit 22 via the serial data communication wiring 5 (step S403: Yes in FIG. 6). After that, the control unit 23 of the host device 2 transmits a confirmation command by the communication unit 22 via the serial data communication wiring 5 (step S404 in FIG. 6 and step S612 in FIG. 8).
  • This confirmation command is a command addressed to the motor drive device for which the initial identification number is set.
  • the control unit 33 of the motor drive device 3c receives a confirmation command by the communication unit 32 via the serial data communication wiring 5 (step S505: Yes in FIG. 7). After that, the control unit 33 of the motor drive device 3c stores in the storage unit 34 the identification number instructed to be set by the setting command received in step S503, and sets it as its own identification number (step S506 in FIG. 7). ).
  • step S506 in FIG. 7 the control unit 33 of the motor drive device 3c outputs a setting signal to the identification number setting wiring 6d by the output unit 36 (step S507 in FIG. 7, step S613 in FIG. 8). After that, the control unit 33 of the motor drive device 3c waits for the input unit 31 to stop the input of the setting signal of the identification number setting wiring 6c (waiting for the setting signal to become high) (FIG. 7). Step S508).
  • step S405 Yes in FIG. 6
  • the process proceeds to step S406.
  • the control unit 23 of the host device 2 stops the output of the setting signal to the identification number setting wiring 6a by the output unit 26 (step S406 in FIG. 6 and step S614 in FIG. 8).
  • the control unit 33 of the motor drive device 3a receives that the input unit 31 has stopped the input of the signal at the time of setting the identification number setting wiring 6a (step S508: Yes in FIG. 7), and the output unit 36 identifies the signal.
  • the output of the setting signal to the number setting wiring 6b is stopped (step S509 in FIG. 7, step S615 in FIG. 8).
  • step S508 Yes in FIG. 7
  • the output unit 36 identifies the signal.
  • the output of the setting signal to the number setting wiring 6c is stopped (step S509 in FIG. 7, step S616 in FIG. 8).
  • step S508 Yes in FIG. 7
  • the output unit 36 identifies the signal.
  • the output of the setting signal to the number setting wiring 6d is stopped (step S509 in FIG. 7, step S617 in FIG. 8).
  • the identification numbers of the motor drive devices 3a, 3b and 3c can be set.
  • the host device 2 can identify and control each of the motor drive devices 3a, 3b, and 3c by using the identification number set as described above.
  • FIG. 9 is a diagram showing an arrangement example of terminals and wiring according to a second embodiment of the present invention.
  • this embodiment an example of arranging the terminals and wiring of the host device 2 and the motor drive devices 3a, 3b, and 3c in the motor drive system 1 shown in the first embodiment will be shown.
  • the same reference numerals are given to the same configurations as those in FIGS. 3, 4, and 5.
  • the wiring 5a in FIG. 9 is a wiring for transmitting data from the host device 2 to the motor driving devices 3a, 3b, and 3c among the wirings 5 for serial data communication shown in FIG.
  • the wiring 5b in FIG. 9 is a wiring in which the host device 2 receives data from the motor driving devices 3a, 3b, and 3c among the wirings 5 for serial data communication shown in FIG.
  • the terminal 701 is a terminal to which the wiring 5a is connected among the terminals of the host device 2.
  • Terminal 701 is a terminal of the communication unit 22.
  • the terminal 702 is a terminal to which the wiring 5b is connected among the terminals of the host device 2.
  • the terminal 702 is a terminal of the communication unit 22.
  • the terminal 703 is a terminal to which the identification number setting wiring 6d is connected among the terminals of the host device 2.
  • Terminal 703 is a terminal of the input unit 21.
  • the terminal 704 is a terminal to which the identification number setting wiring 6a is connected among the terminals of the host device 2.
  • the terminal 704 is a terminal of the output unit 26.
  • the terminal 705 is a terminal to which the wiring 5a is connected among the terminals of the motor drive device 3a.
  • the terminal 705 is a terminal of the communication unit 32.
  • the terminal 706 is a terminal to which the wiring 5b is connected among the terminals of the motor driving device 3a.
  • the terminal 706 is a terminal of the communication unit 32.
  • the terminal 707 is a terminal to which the identification number setting wiring 6a is connected among the terminals of the motor driving device 3a.
  • the terminal 707 is a terminal of the input unit 31.
  • the terminal 708 is a terminal to which the identification number setting wiring 6b is connected among the terminals of the motor drive device 3a.
  • the terminal 708 is a terminal of the output unit 36.
  • the terminal 709 is a terminal to which the wiring 5a is connected among the terminals of the motor drive device 3b.
  • the terminal 709 is a terminal of the communication unit 32.
  • the terminal 710 is a terminal to which the wiring 5b is connected among the terminals of the motor driving device 3b.
  • Terminal 710 is a terminal of the communication unit 32.
  • the terminal 711 is a terminal to which the identification number setting wiring 6b is connected among the terminals of the motor drive device 3b.
  • the terminal 711 is a terminal of the input unit 31.
  • the terminal 712 is a terminal to which the identification number setting wiring 6c is connected among the terminals of the motor drive device 3b.
  • the terminal 712 is a terminal of the output unit 36.
  • the terminal 713 is a terminal to which the wiring 5a is connected among the terminals of the motor drive device 3c.
  • Terminal 713 is a terminal of the communication unit 32.
  • the terminal 714 is a terminal to which the wiring 5b is connected among the terminals of the motor driving device 3c.
  • Terminal 714 is a terminal of the communication unit 32.
  • the terminal 715 is a terminal to which the identification number setting wiring 6c is connected among the terminals of the motor drive device 3c.
  • the terminal 715 is a terminal of the input unit 31.
  • the terminal 716 is a terminal to which the identification number setting wiring 6d is connected among the terminals of the motor drive device 3c.
  • the terminal 716 is a terminal of the output unit 36.
  • the terminal of the communication unit 32 is arranged at the uppermost position, the terminal of the input unit 31 is arranged at the lower position, and the output unit 36 is arranged.
  • the terminal of is arranged at the position below it.
  • FIG. 10 is a diagram showing an arrangement example of terminals and wiring according to a third embodiment of the present invention.
  • this embodiment an example of arranging the terminals and wiring of the host device 2 and the motor drive devices 3a, 3b, and 3c in the motor drive system 1 shown in the first embodiment will be shown.
  • the same reference numerals are given to the same configurations as those in FIGS. 3, 4, and 5.
  • the wiring 5a in FIG. 10 is a wiring for transmitting data from the host device 2 to the motor driving devices 3a, 3b, and 3c among the serial data communication wirings 5 shown in FIG.
  • the wiring 5b in FIG. 10 is a wiring in which the host device 2 receives data from the motor driving devices 3a, 3b, and 3c among the serial data communication wirings 5 shown in FIG.
  • the terminal 801 is a terminal to which the wiring 5a is connected among the terminals of the host device 2.
  • Terminal 801 is a terminal of the communication unit 22.
  • the terminal 802 is a terminal to which the wiring 5b is connected among the terminals of the host device 2.
  • the terminal 802 is a terminal of the communication unit 22.
  • the terminal 803 is a terminal to which the identification number setting wiring 6a is connected among the terminals of the host device 2.
  • the terminal 803 is a terminal of the output unit 26.
  • the terminal 804 is a terminal to which the identification number setting wiring 6d is connected among the terminals of the host device 2.
  • Terminal 704 is a terminal of the input unit 21.
  • the terminal 805 is a terminal to which the wiring 5a is connected among the terminals of the motor drive device 3a.
  • the terminal 805 is a terminal of the communication unit 32.
  • the terminal 806 is a terminal to which the wiring 5b is connected among the terminals of the motor driving device 3a.
  • the terminal 806 is a terminal of the communication unit 32.
  • the terminal 807 is a terminal to which the identification number setting wiring 6a is connected among the terminals of the motor drive device 3a.
  • the terminal 707 is a terminal of the input unit 31.
  • the terminal 808 is a terminal to which the identification number setting wiring 6b is connected among the terminals of the motor drive device 3a.
  • the terminal 808 is a terminal of the output unit 36.
  • the terminal 809 is a terminal to which the wiring 5a is connected among the terminals of the motor drive device 3b.
  • the terminal 809 is a terminal of the communication unit 32.
  • the terminal 810 is a terminal to which the wiring 5b is connected among the terminals of the motor driving device 3b.
  • Terminal 810 is a terminal of the communication unit 32.
  • the terminal 811 is a terminal to which the identification number setting wiring 6c is connected among the terminals of the motor drive device 3b.
  • Terminal 811 is a terminal of the output unit 36.
  • the terminal 812 is a terminal to which the identification number setting wiring 6b is connected among the terminals of the motor drive device 3b.
  • the terminal 812 is a terminal of the input unit 31.
  • the terminal 813 is a terminal to which the wiring 5a is connected among the terminals of the motor drive device 3c.
  • Terminal 813 is a terminal of the communication unit 32.
  • the terminal 814 is a terminal to which the wiring 5b is connected among the terminals of the motor driving device 3c.
  • Terminal 814 is a terminal of the communication unit 32.
  • the terminal 815 is a terminal to which the identification number setting wiring 6c is connected among the terminals of the motor drive device 3c.
  • the terminal 815 is a terminal of the input unit 31.
  • the terminal 816 is a terminal to which the identification number setting wiring 6d is connected among the terminals of the motor drive device 3c.
  • the terminal 816 is a terminal of the output unit 36.
  • the output unit and its own input of the device in the previous stage of the series connection by the identification number setting wirings 6a, 6b, 6c, and 6d are aligned, and the positions of the input part of the device in the subsequent stage and the output part of itself are aligned.
  • the device driving device for driving the device the control device for controlling the device driving device, and the identification code setting wiring for connecting the control device and the device driving device in series.
  • the identification code setting wiring that further connects the device drive device and another device drive device other than the device drive device in series, and the identification code connected to the device drive device on the side close to the control device.
  • a serial data communication wiring that connects an input unit for inputting a setting signal from a setting wiring, a control device, and a device driving device in parallel with a connection between the control device and the other device driving device, and the above.
  • serial data communication wirings a communication unit that communicates with the control device via a wiring that connects the control device and the device drive device, an identification code storage unit that stores its own identification code, and the input.
  • a control unit that stores the identification code received by the communication unit as its own identification code in the identification code storage unit when the setting signal is input to the unit, and an identification code stored in the identification code storage unit by the control unit.
  • the identification code setting wiring connected to the device in the subsequent stage of the series when the above-mentioned is stored is provided with an output unit for outputting the setting time signal.
  • a special configuration such as a DIP switch is required while reducing the wiring cost by connecting the plurality of device drive devices in parallel.
  • by storing the device installation location and the serial connection order in the control device it is possible to assign an identification code according to the location.
  • the data transmitted from the host device can be transmitted to each motor drive system, and data can be received normally except for the drive control circuit in which the failure occurred. , It is not possible to identify each of the plurality of drive control circuits from the host device.
  • control unit uses the received identification code as its own identification code only when the setting signal is input to the input unit and the identification code received by the communication unit is addressed to itself. It is stored in the identification code storage unit. Therefore, it is possible to prevent an identification code that is not addressed to itself from being set as its own identification code.
  • control unit uses the identification code received by the communication unit as its own identification code only when the setting signal is input to the input unit and the current setting of its own identification code is not completed. It is stored in the identification code storage unit. Therefore, when the setting of the own identification code has already been completed, it is possible to prevent the identification code not addressed to the own identification code from being set as the own identification code.
  • the device drive system for driving the device, the plurality of devices, the plurality of device drive devices for driving each of the plurality of devices, and the plurality of device drive devices.
  • a control device for controlling the control device, an identification code setting wiring for connecting the control device and the plurality of device drive devices in series, and a serial data communication wiring for connecting the control device and the plurality of device drive devices in parallel.
  • Each of the plurality of device driving devices is provided with an input unit for inputting a setting signal from the identification code setting wiring connected to the device in the preceding stage in series, and via the serial data communication wiring.
  • the communication unit that communicates with the control device, the identification code storage unit that stores its own identification code, and the identification code received by the communication unit when the setting signal is input to the input unit are identified by themselves.
  • the setting is made in the control unit stored in the identification code storage unit as a code and in the identification code setting wiring connected to the subsequent device in series when the identification code is stored in the identification code storage unit by the control unit. It is equipped with an output unit that outputs an hour signal. Therefore, when a plurality of device drive devices controlled by a control device to drive a device are provided, a special configuration such as a DIP switch is required while reducing the wiring cost by connecting the plurality of device drive devices in parallel. However, it is possible to assign an identification code that can identify each of the plurality of device drive devices.
  • control unit uses the received identification code as its own identification code only when the setting signal is input to the input unit and the identification code received by the communication unit is addressed to itself. It is stored in the identification code storage unit. Therefore, it is possible to prevent an identification code that is not addressed to itself from being set as its own identification code.
  • control unit uses the identification code received by the communication unit as its own identification code only when the setting signal is input to the input unit and the current setting of its own identification code is not completed. It is stored in the identification code storage unit. Therefore, when the setting of the own identification code has already been completed, it is possible to prevent the identification code not addressed to the own identification code from being set as the own identification code.
  • control device includes a control device side output unit that outputs a setting signal to the identification code setting wiring connected to the device in the subsequent stage of the series, and the identification code connected to the device in the front stage of the series.
  • a control device side input unit that inputs the setting time signal from the setting wiring, a control device side communication unit that communicates with the plurality of device drive devices via the serial data communication wiring, and the plurality of device drive devices.
  • the control device side control unit includes a control device side control unit that controls the setting process for setting the identification code of the device, and the control device side control unit outputs the control device side output in response to the start of the identification code setting process of the plurality of device drive devices.
  • the unit outputs the setting signal to the identification code setting wiring, and the control device side input unit identifies the plurality of device drive devices according to the input of the setting signal from the identification code setting wiring.
  • the code setting process ends. Therefore, when the setting of the identification code is completed for all of the plurality of device drive devices, the processing of the identification code can be completed, and the identification code can be set without stagnation.
  • control device side control unit outputs the setting time signal to the identification code setting wiring by the control device side output unit, and the control device side communication unit connects the serial data communication wiring.
  • An identification code setting command including an identification code to be set for each of the plurality of device drive devices is transmitted via the device. Therefore, by transmitting the identification code through the serial data communication wiring, the wiring cost can be reduced as compared with the case where the communication wiring is provided for each of the plurality of device drive devices.
  • the control unit issues an identification code return command including the received identification code by the communication unit. It is transmitted via the serial data communication wiring. Therefore, when the device drive device returns the identification code in the serial data communication wiring, the control device can confirm that the identification code has reached the device drive device, and the identification code can be reliably set.
  • control device side control unit receives the identification code return command via the serial data communication wiring by the control device side communication unit, and the control device side communication unit receives the identification code return command for the serial data communication. Send an identification code confirmation command via wiring. Therefore, by transmitting the identification code confirmation command on the serial data communication wiring, it is possible to prevent the identification code from being erroneously set in each of the plurality of device drive devices.
  • the control unit uses the identification code received by the communication unit as its own identification code. Store in the storage section. Therefore, by storing the identification code in response to the reception of the identification code confirmation command in the serial data communication wiring, it is possible to prevent the identification code from being erroneously set in each of the plurality of device drive devices. You can.
  • the identification code storage unit is a non-volatile memory. Therefore, even if the power is turned off, the set identification code can be stored and resetting can be unnecessary.
  • two or more device drive devices among the plurality of device drive devices are set with the same identification code as the other device drive devices. Therefore, when there are a plurality of devices that perform the same operation, the device drive device having the same identification code can be controlled by one instruction, and the control device can be easily controlled by the control device.
  • the identification code is an identification number. Therefore, since the identification code is an identification number, it is easy for the control device to generate the identification number.
  • the identification numbers of the plurality of device drive devices have missing numbers. Therefore, by providing a missing number in the identification number, it is possible to facilitate management such as grouping the device and the device driving device. For example, by making a certain digit number of the identification number the same for each group, the device and the device drive device can be grouped, and the program manufacturing process when programming the operation control for each group is efficient. Can be transformed into. Further, by providing a missing number in the identification number, when a device and a device driving device are added later, the missing number can be used as an identification number for convenience of management.
  • the device is a motor. Therefore, in driving the motor, it is possible to assign an identification code that can identify each of the plurality of device drive devices while reducing the wiring cost.
  • the device is a fan motor. Therefore, in driving the fan motor, it is possible to assign an identification code that can identify each of the plurality of device drive devices while reducing the wiring cost.
  • the use of the device drive device of the above-described embodiment is not particularly limited.
  • the above-mentioned configurations can be appropriately combined within a range that does not contradict each other.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Control Of Multiple Motors (AREA)
  • Information Transfer Systems (AREA)

Abstract

システム全体を不安定になりにくくしながら、構成を簡略化可能なデバイス駆動 装置及びデバイス駆動システムを提供することである。 デバイスを駆動するデバイス駆動装置であって、シリアルデータ通信用配線 のうち、制御装置とデバイス駆動装置とを接続する配線を介して制御装置と通信を行う通信部と、自身の識別符号を記憶する識別符号記憶部と、入力部に設定時信号が入力された場合に通信部により受信した識別符号を自身の識別符号として識別符号記憶部に記憶する制御部と、制御部により識別符号記憶部に識別符号を記憶した場合に直列の後段の装置と接続された識別符号設定用配線に設定時信号を出力する出力部と、を備えた。

Description

デバイス駆動装置、及びデバイス駆動システム
 本発明は、デバイス駆動装置、及びデバイス駆動システムに関する。
 従来、ホスト装置からの指示で複数のモータを駆動するモータ駆動システムが知られている(例えば特許文献1参照)。特許文献1に記載のモータ駆動システムでは、ホスト装置が、複数のモータのそれぞれに対して設けた駆動制御回路を制御する構成を開示している。
 例えば、ホスト装置と複数の駆動制御回路をシリアル通信バスで直列に接続する。各駆動制御回路は、直列接続された前段の装置から受信したデータを、後段の装置へと送信する中継機能を有する通信部を備える。各駆動制御回路は、複数の駆動制御回路の中から自身を特定するためのアドレスを生成するアドレス生成機能を有し、生成したアドレスを記憶するとともにホスト装置に報告する。ホスト装置は、送信するデータにアドレスを含めることで、送信データの宛先の駆動制御回路を指定する。特許文献1に一例を示す。
国際公開第2009/128216号
 デバイスの一例であるモータを駆動するデバイス駆動システムにおいては、デバイスごとに設けた複数のデバイス駆動装置を、制御装置の一例である一つのホスト装置でシリアル通信等を用いて制御(回転、停止指示など)する場合、デバイス駆動装置ごとに異なる識別番号を与える必要がある。たとえば、装置を直列に接続し、それぞれの駆動制御回路に通信部を設け、送信データを中継して送信する構成では、いずれかの通信部に障害が起きた場合、その通信部の後段に接続された駆動制御回路に正常なデータを送信することが出来ず、障害が生じた駆動制御回路以外の駆動制御回路までも動作出来ず、モータ駆動システム全体が不安定になる虞があった。
 本発明の目的は、装置を直列に接続し、送信データを中継して送信する構成と比較して、システム全体を不安定になりにくくすることが可能なデバイス駆動装置及びデバイス駆動システムを提供することである。
 本願の例示的な第1発明は、デバイスを駆動するデバイス駆動装置であって、前記デバイス駆動装置を制御する制御装置と、前記制御装置と前記デバイス駆動装置とを直列に繋ぐ識別符号設定用配線と、前記デバイス駆動装置と前記デバイス駆動装置以外の他のデバイス駆動装置とを更に直列に繋ぐ前記識別符号設定用配線と、前記制御装置に近い側の前記デバイス駆動装置と接続された前記識別符号設定用配線から設定時信号を入力する入力部と、前記制御装置と前記デバイス駆動装置とを、前記制御装置と前記他のデバイス駆動装置との接続と並列に繋ぐシリアルデータ通信用配線と、前記シリアルデータ通信用配線のうち、前記制御装置と前記デバイス駆動装置とを接続する配線を介して前記制御装置と通信を行う通信部と、自身の識別符号を記憶する識別符号記憶部と、前記入力部に前記設定時信号が入力された場合に前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する制御部と、前記制御部により前記識別符号記憶部に識別符号を記憶した場合に前記直列の後段の装置と接続された前記識別符号設定用配線に前記設定時信号を出力する出力部と、を備えた。
 本願の例示的な第1発明によれば、装置を直列に接続し、送信データを中継して送信する構成と比較して、システム全体を不安定になりにくくすることが可能なデバイス駆動装置を提供することが出来る。
本発明の第1実施形態に係るデバイス駆動システムの構成を示すブロック図である。 本発明の第2実施形態に係るデバイス駆動システムの構成を示すブロック図である。 本発明の実施例1に係るモータ駆動システムの構成を示すブロック図である。 図3に示したホスト装置2の構成を示すブロック図である。 図3に示したモータ駆動装置3aの構成を示すブロック図である。 識別番号設定処理のうちのホスト装置2側の処理を示すフローチャートである。 識別番号設定処理のうちのモータ駆動装置3a側の処理を示すフローチャートである。 識別番号設定処理におけるホスト装置2とモータ駆動装置3a、3b及び3cとのデータの流れを示す流れ図である。 本発明の実施例2に係る端子及び配線の配置例を示す図である。 本発明の実施例3に係る端子及び配線の配置例を示す図である。
 以下、図面を参照しながら、本発明の実施形態に係るデバイス駆動システムについて説明する。本発明は、モータを駆動するシステムに適用可能である。本発明は、モータ以外のデバイス、例えば各種アクチュエータを駆動するシステムに適用可能である。
[第1実施形態]
 図1は、本発明の第1実施形態に係るデバイス駆動システムの構成を示すブロック図である。本実施形態のデバイス駆動システム100は、複数のデバイス駆動装置103と、複数のデバイス駆動装置103を制御する制御装置102と、制御装置102と複数のデバイス駆動装置103とを直列に繋ぐ識別符号設定用配線106と、制御装置102と複数のデバイス駆動装置103とを並列に繋ぐシリアルデータ通信用配線105と、を備える。デバイス駆動システム100が備えるデバイス駆動装置103の数は、複数であればよく、数が限定されるものではない。
 複数のデバイス駆動装置103は、それぞれ異なるデバイスを駆動する。デバイス駆動システム100は、複数のデバイス駆動装置103のそれぞれによって駆動される複数のデバイスを有する。デバイス駆動装置103によって駆動されるデバイスは、例えばモータである。デバイス駆動装置103によって駆動されるデバイスは、モータに限られるものではなく、各種アクチュエータであってもよいし、センサーであってもよいし、その他の如何なるデバイスであってもよい。
 複数のデバイス駆動装置103のそれぞれは、制御装置102とデバイス駆動装置103とを直列に繋ぐ識別符号設定用配線106と、デバイス駆動装置103とこのデバイス駆動装置103以外の他のデバイス駆動装置103とを更に直列に繋ぐ識別符号設定用配線106と、制御装置102に近い側のデバイス駆動装置103と接続された識別符号設定用配線106から設定時信号を入力する入力部と、制御装置102とデバイス駆動装置103とを、制御装置102と他のデバイス駆動装置103との接続と並列に繋ぐシリアルデータ通信用配線105と、シリアルデータ通信用配線105のうち、制御装置102とデバイス駆動装置103とを接続する配線を介して制御装置102と通信を行う通信部と、自身の識別符号を記憶する識別符号記憶部と、入力部に設定時信号が入力された場合に通信部により受信した識別符号を自身の識別符号として識別符号記憶部に記憶する制御部と、制御部により識別符号記憶部に識別符号を記憶した場合に直列の後段の装置と接続された識別符号設定用配線に設定時信号を出力する出力部と、を備える。
 制御装置102が、複数のデバイス駆動装置103を制御する際には、シリアルデータ通信用配線105を介してコマンドを送信する。制御装置102は、送信するコマンドに制御対象のデバイス駆動装置103の識別符号を含めることで、どのデバイス駆動装置103宛てのコマンドであるかを指定する。複数のデバイス駆動装置103のそれぞれに識別符号を設定する処理は、後述の実施例において説明する。
[第2実施形態]
 図2は、本発明の第2実施形態に係るデバイス駆動システムの構成を示すブロック図である。本実施形態のデバイス駆動システム200は、複数のデバイス駆動装置203と、複数のデバイス駆動装置203を制御する制御装置202と、制御装置202と複数のデバイス駆動装置203とを直列に繋ぐ識別符号設定用配線206と、制御装置202と複数のデバイス駆動装置203とを並列に繋ぐシリアルデータ通信用配線205と、を備える。デバイス駆動システム200が備えるデバイス駆動装置203の数は、複数であればよく、数が限定されるものではない。
 複数のデバイス駆動装置203は、それぞれ異なるデバイスを駆動する。デバイス駆動システム200は、複数のデバイス駆動装置203のそれぞれによって駆動される複数のデバイスを有する。デバイス駆動装置203によって駆動されるデバイスは、例えばモータである。デバイス駆動装置203によって駆動されるデバイスは、モータに限られるものではなく、各種アクチュエータであってもよいし、センサーであってもよいし、その他の如何なるデバイスであってもよい。
 複数のデバイス駆動装置203のそれぞれは、直列に繋がった複数のデバイス駆動装置の制御装置の出力に近い前段のデバイス駆動装置と接続された識別符号設定用配線206から設定時信号を入力する入力部を備える。複数のデバイス駆動装置203のそれぞれは、シリアルデータ通信用配線205を介して制御装置202と通信を行う通信部を備える。複数のデバイス駆動装置203のそれぞれは、自身の識別符号を記憶する識別符号記憶部を備える。複数のデバイス駆動装置203のそれぞれは、入力部に設定時信号が入力された場合に通信部により受信した識別符号を自身の識別符号として識別符号記憶部に記憶する制御部を備える。複数のデバイス駆動装置203のそれぞれは、制御部により識別符号記憶部に識別符号を記憶した場合に直列の後段の装置と接続された識別符号設定用配線206に設定時信号を出力する出力部を備える。本実施形態では。識別符号設定用配線206による直列接続の最も後段に位置するデバイス駆動装置203の出力部に接続された識別符号設定用配線206は、制御装置202に戻るように接続される。
 制御装置202が、複数のデバイス駆動装置203を制御する際には、シリアルデータ通信用配線205を介してコマンドを送信する。制御装置202は、送信するコマンドに制御対象のデバイス駆動装置203の識別符号を含めることで、どのデバイス駆動装置203宛てのコマンドであるかを指定する。複数のデバイス駆動装置203のそれぞれに識別符号を設定する処理は、後述の実施例において説明する。
<全体構成>
 図3は、本発明の実施例1に係るモータ駆動システムの構成を示すブロック図である。本実施形態のモータ駆動システム1は、ホスト装置2とモータ駆動装置3a、3b及び3cとモータ4a、4b及び4cとを有する。モータ駆動システム1は、デバイス駆動システムの一例である。ホスト装置2は制御装置の一例である。モータ駆動装置3a、3b及び3cは、デバイス駆動装置の一例である。モータ4a、4b及び4cは、デバイスの一例である。モータ駆動装置3a、3b及び3cは、それぞれモータ4a、4b及び4cを駆動する。本実施例では、モータ駆動装置がモータ駆動装置3a、3b及び3cの3つである場合について説明するが、本発明によれば、モータ駆動装置の数は複数であればよい。
 ホスト装置2とモータ駆動装置3a、3b及び3cとは、識別番号設定用配線6a、6b、6c及び6dによって直列に接続される。識別番号設定用配線6a、6b、6c及び6dは、識別符号設定用配線の一例である。本実施形態では、モータ駆動装置3a、3b及び3cのそれぞれを特定するために識別番号を用いるが、本発明はこれに限られるものではなく、番号以外であってもよく、例えば文字や記号を含む符号を用いてモータ駆動装置3a、3b及び3cのそれぞれを特定するようにしてもよい。識別番号は、識別符号の一例である。ホスト装置2は、識別番号設定用配線6aによってモータ駆動装置3aと接続される。モータ駆動装置3aは、識別番号設定用配線6bによってモータ駆動装置3bと接続される。モータ駆動装置3bは、識別番号設定用配線6cによってモータ駆動装置3cと接続される。モータ駆動装置3cは、識別番号設定用配線6dによってホスト装置2と接続される。識別番号設定用配線6a、6b、6c及び6dは、詳しくは後述する設定時信号の伝送に用いられる。
 また、ホスト装置2は、シリアルデータ通信用配線5によって、モータ駆動装置3a、3b及び3cと接続される。シリアルデータ通信用配線5は、シリアルデータ通信用配線の一例である。シリアルデータ通信用配線5は、例えばシリアルバスである。ホスト装置2から、モータ駆動装置3a、3b及び3cのいずれかにコマンド等を送信するときは、送信先のモータ駆動装置を特定する識別番号を、送信するコマンド等に含ませて、シリアルデータ通信用配線5を介して送信する。シリアルデータ通信用配線5は、送信用配線と受信用配線とが別の配線である全二重通信方式用の配線でもよいし、送信用配線と受信用配線とが同一の配線である半二重通信方式用の配線でもよい。
<ホスト装置の構成>
 図4は、図3に示したホスト装置2の構成を示すブロック図である。ホスト装置2は、制御装置の一例である。ホスト装置2は、直列の前段の装置であるモータ駆動装置3cと接続された識別番号設定用配線6dから設定時信号を入力する入力部21と、直列の後段の装置であるモータ駆動装置3aと接続された識別番号設定用配線6aに設定時信号を出力する出力部26と、シリアルデータ通信用配線5を介してモータ駆動装置3a、3b及び3cと通信を行う通信部22と、ホスト装置2の動作を制御する制御部23と、を備える。入力部21は、制御装置側入力部の一例である。出力部26は、制御装置側出力部の一例である。通信部22は、制御装置側通信部の一例である。制御部23は、制御装置側制御部の一例である。制御部23は、モータ駆動装置3a、3b及び3cの識別番号を設定する識別番号設定処理のうちのホスト装置2側の処理を実行する。
<モータ駆動装置の構成>
 図5は、図3に示したモータ駆動装置3aの構成を示すブロック図である。モータ駆動装置3b及び3cの構成は、モータ駆動装置3aの構成と同じであるので、ここでは代表してモータ駆動装置3aの構成について説明する。モータ駆動装置3aは、直列の前段の装置であるホスト装置2と接続された識別番号設定用配線6aから設定時信号を入力する入力部31と、シリアルデータ通信用配線5を介してホスト装置2と通信を行う通信部32と、自身の識別番号を記憶する記憶部34と、モータ駆動装置3aの動作を制御する制御部33と、制御部33により記憶部34に識別番号を記憶した場合に、直列の後段の装置であるモータ駆動装置3bと接続された識別番号設定用配線6bに設定時信号を出力する出力部36と、モータ駆動装置3aに接続されたモータ4aを駆動する駆動部35と、を備える。入力部31は、入力部の一例である。通信部32は、通信部の一例である。記憶部34は、識別符号記憶部の一例である。制御部33は、制御部の一例である。出力部36は、出力部の一例である。制御部33は、入力部31に設定時信号が入力された場合に通信部32により受信した識別番号を自身の識別番号として記憶部34に記憶する。制御部33は、モータ駆動装置3a、3b及び3cの識別番号を設定する識別番号設定処理のうちのモータ駆動装置3a側の処理を実行する。
<識別番号設定処理>
 図6は、識別番号設定処理のうちのホスト装置2側の処理を示すフローチャートである。図7は、識別番号設定処理のうちのモータ駆動装置3a側の処理を示すフローチャートである。図8は、識別番号設定処理におけるホスト装置2とモータ駆動装置3a、3b及び3cとのデータの流れを示す流れ図である。まず、モータ駆動システム1の運用担当者は、モータ駆動システム1に対して、識別番号設定処理の開始を指示する。この識別番号設定処理の開始の指示は、ホスト装置2に対する所定の操作など、あらかじめ定めた操作入力である。
 識別番号設定処理の開始の指示を受けたホスト装置2の制御部23は、出力部26によって識別番号設定用配線6aに設定時信号を出力する(図6のステップS401、図8のステップS601)。本実施例のモータ駆動システム1では、識別番号設定処理の開始前では、ホスト装置2の出力部26、並びにモータ駆動装置3a、3b及び3cの出力部36のいずれもが設定時信号を出力していない状態である。設定時信号は例えばローアクティブであり、設定時信号を出力していない状態では識別番号設定用配線6a、6b、6c及び6dの値は1(ハイ)であり、設定時信号を出力している状態では識別番号設定用配線6a、6b、6c及び6dの値は0(ロー)である。図1及び図2においては、設定時信号を出力していない状態を識別符号設定用配線106に(1)と記載して示している。また、図1及び図2において、デバイス駆動装置103は、自身が出力する設定時信号の状態を、設定用出力として記憶している。なお、設定時信号はハイアクティブとしてもよい。
 本実施例のモータ駆動システム1では、識別番号設定処理の開始前では、モータ駆動装置3a、3b及び3cの記憶部34のいずれにも、識別番号として初期識別番号として同一の番号(本実施例では0)が記憶され、設定された状態である(図7のステップS501)。図1及び図2においては、デバイス駆動装置103それぞれの識別符号を、ID(0)と記載している。
 モータ駆動装置3aの制御部33は、ステップS501に続き、入力部31によって、識別番号設定用配線6aの設定時信号の入力を(設定時信号がローになったことを)受け付ける(図7のステップS502:Yes)と、自身宛ての設定コマンドの受信を待つ(図7のステップS503)。なお、このとき、モータ駆動装置3b及び3cの制御部33は、設定時信号の入力を受け付けていない(図7のステップS502:No)ので、図7のS502で待機状態になる。
 一方、ホスト装置2の制御部23は、設定時信号を出力した(図6のステップS401、図8のステップS601)後、通信部22によって、シリアルデータ通信用配線5を介して設定コマンドを送信する(図6のステップS402、図8のステップS602)。この設定コマンドは、初期識別番号が設定されたモータ駆動装置宛てのコマンドである。また、この設定コマンドは、宛先のモータ駆動装置の識別番号を初期識別番号以外の所定番
号(本実施例では1)に設定することを指示するコマンドである。
 モータ駆動装置3aの制御部33は、通信部32によって、シリアルデータ通信用配線5を介して設定コマンドを受信する(図7のステップS503:Yes)。その後、モータ駆動装置3aの制御部33は、通信部32によって、シリアルデータ通信用配線5を介してホスト装置2に対して返送コマンドを送信する(図7のステップS504、図8のステップS603)。
 ホスト装置2の制御部23は、通信部22によって、シリアルデータ通信用配線5を介して返送コマンドを受信する(図6のステップS403:Yes)。その後、ホスト装置2の制御部23は、通信部22によって、シリアルデータ通信用配線5を介して確認コマンドを送信する(図6のステップS404、図8のステップS604)。この確認コマンドは、初期識別番号が設定されたモータ駆動装置宛てのコマンドである。
 モータ駆動装置3aの制御部33は、通信部32によって、シリアルデータ通信用配線5を介して確認コマンドを受信する(図7のステップS505:Yes)。その後、モータ駆動装置3aの制御部33は、ステップS503で受信した設定コマンドで設定することを指示された識別番号を記憶部34に記憶し、自身の識別番号として設定する(図7のステップS506)。
 なお、モータ駆動装置3aの制御部33は、ステップS503で設定コマンドを受信した後であって、ステップS505で確認コマンドを受信する前に、ステップS503で受信した設定コマンドで設定することを指示された識別番号を記憶部34に記憶し、自身の識別番号として設定するようにしてもよい。また、モータ駆動装置3aの制御部33は、ステップS503で設定コマンドを受信した後であって、ステップS504で返送コマンドを送信する前に、ステップS503で受信した設定コマンドで設定することを指示された識別番号を記憶部34に記憶し、自身の識別番号として設定するようにしてもよい。この場合、ホスト装置2の制御部23がステップS404で送信する確認コマンドは、ステップS402で送信した設定コマンドで設定することを指示した識別番号が設定されたモータ駆動装置宛てのコマンドである。また、この場合、モータ駆動装置3aの制御部33は、確認コマンドを受信したことを契機に、ステップS507の設定時信号出力を実行してもよい。ステップS503で受信した設定コマンドで設定することを指示された識別番号を記憶部34に記憶するタイミングは、モータ駆動装置3b及び3cにおいてもモータ駆動装置3aと同様にしてもよいし、異ならせてもよい。
 図7のステップS506に続いて、モータ駆動装置3aの制御部33は、出力部36によって識別番号設定用配線6bに設定時信号を出力する(図7のステップS507、図8のステップS605)。その後、モータ駆動装置3aの制御部33は、入力部31によって、識別番号設定用配線6aの設定時信号の入力が停止されるのを(設定時信号がハイになるのを)待つ(図7のステップS508)。
 続いて、モータ駆動装置3bの識別番号の設定を行う。モータ駆動装置3bの制御部33は、ステップS501に続き、入力部31によって、識別番号設定用配線6bの設定時信号の入力を(設定時信号がローになったことを)受け付ける(図7のステップS502:Yes)と、自身宛ての設定コマンドの受信を待つ(図7のステップS503)。なお、このとき、モータ駆動装置3cの制御部33は、設定時信号の入力を受け付けていない(図7のステップS502:No)ので、図7のS502で待機状態になる。また、このとき、モータ駆動装置3aの制御部33は、図7のS508で待機状態である。
 一方、ホスト装置2の制御部23は、ステップS404で確認コマンドを送信した後、入力部21で設定時信号を受け付けていない場合(図6のステップS405:No)には、ステップS402に戻る。ホスト装置2の制御部23は、通信部22によって、シリアルデータ通信用配線5を介して設定コマンドを送信する(図6のステップS402、図8のステップS606)。この設定コマンドは、初期識別番号が設定されたモータ駆動装置宛てのコマンドである。また、この設定コマンドは、宛先のモータ駆動装置の識別番号を、初期識別番号及び他のモータ駆動装置で既に設定した識別番号以外の所定番号(本実施例では2)に設定することを指示するコマンドである。設定する識別番号は、連番であってもよいし、連番ではなく欠番があってもよい。また、同じ識別番号を付与しても良い。
 モータ駆動装置3bの制御部33は、通信部32によって、シリアルデータ通信用配線5を介して設定コマンドを受信する(図7のステップS503:Yes)。その後、モータ駆動装置3bの制御部33は、通信部32によって、シリアルデータ通信用配線5を介してホスト装置2に対して返送コマンドを送信する(図7のステップS504、図8のステップS607)。
 ホスト装置2の制御部23は、通信部22によって、シリアルデータ通信用配線5を介して返送コマンドを受信する(図6のステップS403:Yes)。その後、ホスト装置2の制御部23は、通信部22によって、シリアルデータ通信用配線5を介して確認コマンドを送信する(図6のステップS404、図8のステップS608)。この確認コマンドは、初期識別番号が設定されたモータ駆動装置宛てのコマンドである。
 モータ駆動装置3bの制御部33は、通信部32によって、シリアルデータ通信用配線5を介して確認コマンドを受信する(図7のステップS505:Yes)。その後、モータ駆動装置3bの制御部33は、ステップS503で受信した設定コマンドで設定することを指示された識別番号を記憶部34に記憶し、自身の識別番号として設定する(図7のステップS506)。
 図7のステップS506に続いて、モータ駆動装置3bの制御部33は、出力部36によって識別番号設定用配線6cに設定時信号を出力する(図7のステップS507、図8のステップS609)。その後、モータ駆動装置3bの制御部33は、入力部31によって、識別番号設定用配線6bの設定時信号の入力が停止されるのを(設定時信号がハイになるのを)待つ(図7のステップS508)。
 続いて、モータ駆動装置3cの識別番号の設定を行う。モータ駆動装置3cの制御部33は、ステップS501に続き、入力部31によって、識別番号設定用配線6cの設定時信号の入力を(設定時信号がローになったことを)受け付ける(図7のステップS502:Yes)と、自身宛ての設定コマンドの受信を待つ(図7のステップS503)。なお、このとき、モータ駆動装置3a及び3bの制御部33は、図7のS508で待機状態である。
 一方、ホスト装置2の制御部23は、ステップS404で確認コマンドを送信した後、入力部21で設定時信号を受け付けていない場合(図6のステップS405:No)には、ステップS402に戻る。ホスト装置2の制御部23は、通信部22によって、シリアルデータ通信用配線5を介して設定コマンドを送信する(図6のステップS402、図8のステップS610)。この設定コマンドは、初期識別番号が設定されたモータ駆動装置宛てのコマンドである。また、この設定コマンドは、宛先のモータ駆動装置の識別番号を、初期識別番号及び他のモータ駆動装置で既に設定した識別番号以外の所定番号(本実施例では3)に設定することを指示するコマンドである。
 モータ駆動装置3cの制御部33は、通信部32によって、シリアルデータ通信用配線5を介して設定コマンドを受信する(図7のステップS503:Yes)。その後、モータ駆動装置3cの制御部33は、通信部32によって、シリアルデータ通信用配線5を介してホスト装置2に対して返送コマンドを送信する(図7のステップS504、図8のステップS611)。
 ホスト装置2の制御部23は、通信部22によって、シリアルデータ通信用配線5を介して返送コマンドを受信する(図6のステップS403:Yes)。その後、ホスト装置2の制御部23は、通信部22によって、シリアルデータ通信用配線5を介して確認コマンドを送信する(図6のステップS404、図8のステップS612)。この確認コマンドは、初期識別番号が設定されたモータ駆動装置宛てのコマンドである。
 モータ駆動装置3cの制御部33は、通信部32によって、シリアルデータ通信用配線5を介して確認コマンドを受信する(図7のステップS505:Yes)。その後、モータ駆動装置3cの制御部33は、ステップS503で受信した設定コマンドで設定することを指示された識別番号を記憶部34に記憶し、自身の識別番号として設定する(図7のステップS506)。
 図7のステップS506に続いて、モータ駆動装置3cの制御部33は、出力部36によって識別番号設定用配線6dに設定時信号を出力する(図7のステップS507、図8のステップS613)。その後、モータ駆動装置3cの制御部33は、入力部31によって、識別番号設定用配線6cの設定時信号の入力が停止されるのを(設定時信号がハイになるのを)待つ(図7のステップS508)。
 ホスト装置2の制御部23は、ステップS404で確認コマンドを送信した後、入力部21で設定時信号を受け付けた場合(図6のステップS405:Yes)には、ステップS406に進む。ホスト装置2の制御部23は、出力部26によって識別番号設定用配線6aへの設定時信号の出力を停止する(図6のステップS406、図8のステップS614)。
 モータ駆動装置3aの制御部33は、入力部31によって、識別番号設定用配線6aの設定時信号の入力が停止されたことを受け付ける(図7のステップS508:Yes)と、出力部36によって識別番号設定用配線6bへの設定時信号の出力を停止する(図7のステップS509、図8のステップS615)。
 モータ駆動装置3bの制御部33は、入力部31によって、識別番号設定用配線6bの設定時信号の入力が停止されたことを受け付ける(図7のステップS508:Yes)と、出力部36によって識別番号設定用配線6cへの設定時信号の出力を停止する(図7のステップS509、図8のステップS616)。
 モータ駆動装置3cの制御部33は、入力部31によって、識別番号設定用配線6cの設定時信号の入力が停止されたことを受け付ける(図7のステップS508:Yes)と、出力部36によって識別番号設定用配線6dへの設定時信号の出力を停止する(図7のステップS509、図8のステップS617)。
 以上説明した処理により、モータ駆動装置3a、3b及び3cの識別番号を設定することが出来る。ホスト装置2は、上述のようにして設定した識別番号を用いて、モータ駆動装置3a、3b及び3cのそれぞれを特定して制御することが出来る。
<端子の配置>
 図9は、本発明の実施例2に係る端子及び配線の配置例を示す図である。本実施例では、実施例1に示したモータ駆動システム1における、ホスト装置2、並びにモータ駆動装置3a、3b及び3cの端子及び配線の配置例について示す。図9において、図3、図4及び図5と同じ構成については同じ符号を付している。
 図9の配線5aは、図3に示したシリアルデータ通信用配線5のうちホスト装置2からモータ駆動装置3a、3b及び3cにデータを送信する配線である。図9の配線5bは、図3に示したシリアルデータ通信用配線5のうちホスト装置2がモータ駆動装置3a、3b及び3cからデータを受信する配線である。
 端子701は、ホスト装置2の端子のうち配線5aが接続される端子である。端子701は、通信部22の端子である。端子702は、ホスト装置2の端子のうち配線5bが接続される端子である。端子702は、通信部22の端子である。端子703は、ホスト装置2の端子のうち識別番号設定用配線6dが接続される端子である。端子703は、入力部21の端子である。端子704は、ホスト装置2の端子のうち識別番号設定用配線6aが接続される端子である。端子704は、出力部26の端子である。
 端子705は、モータ駆動装置3aの端子のうち配線5aが接続される端子である。端子705は、通信部32の端子である。端子706は、モータ駆動装置3aの端子のうち配線5bが接続される端子である。端子706は、通信部32の端子である。端子707は、モータ駆動装置3aの端子のうち識別番号設定用配線6aが接続される端子である。端子707は、入力部31の端子である。端子708は、モータ駆動装置3aの端子のうち識別番号設定用配線6bが接続される端子である。端子708は、出力部36の端子である。
 端子709は、モータ駆動装置3bの端子のうち配線5aが接続される端子である。端子709は、通信部32の端子である。端子710は、モータ駆動装置3bの端子のうち配線5bが接続される端子である。端子710は、通信部32の端子である。端子711は、モータ駆動装置3bの端子のうち識別番号設定用配線6bが接続される端子である。端子711は、入力部31の端子である。端子712は、モータ駆動装置3bの端子のうち識別番号設定用配線6cが接続される端子である。端子712は、出力部36の端子である。
 端子713は、モータ駆動装置3cの端子のうち配線5aが接続される端子である。端子713は、通信部32の端子である。端子714は、モータ駆動装置3cの端子のうち配線5bが接続される端子である。端子714は、通信部32の端子である。端子715は、モータ駆動装置3cの端子のうち識別番号設定用配線6cが接続される端子である。端子715は、入力部31の端子である。端子716は、モータ駆動装置3cの端子のうち識別番号設定用配線6dが接続される端子である。端子716は、出力部36の端子である。
 本実施例によれば、モータ駆動装置3a、3b及び3cのすべてにおいて、通信部32の端子を最も上の位置に配置し、入力部31の端子をその下の位置に配置し、出力部36の端子をその下の位置に配置している。このことにより、モータ駆動装置3a、3b及び3cのすべてで端子配置位置がどう位置の装置を用いることが出来、モータ駆動装置の共通化が可能である。
<端子の配置>
 図10は、本発明の実施例3に係る端子及び配線の配置例を示す図である。本実施例では、実施例1に示したモータ駆動システム1における、ホスト装置2、並びにモータ駆動装置3a、3b及び3cの端子及び配線の配置例について示す。図10において、図3、図4及び図5と同じ構成については同じ符号を付している。
 図10の配線5aは、図9と同様に、図3に示したシリアルデータ通信用配線5のうちホスト装置2からモータ駆動装置3a、3b及び3cにデータを送信する配線である。図10の配線5bは、図9と同様に、図3に示したシリアルデータ通信用配線5のうちホスト装置2がモータ駆動装置3a、3b及び3cからデータを受信する配線である。
 端子801は、ホスト装置2の端子のうち配線5aが接続される端子である。端子801は、通信部22の端子である。端子802は、ホスト装置2の端子のうち配線5bが接続される端子である。端子802は、通信部22の端子である。端子803は、ホスト装置2の端子のうち識別番号設定用配線6aが接続される端子である。端子803は、出力部26の端子である。端子804は、ホスト装置2の端子のうち識別番号設定用配線6dが接続される端子である。端子704は、入力部21の端子である。
 端子805は、モータ駆動装置3aの端子のうち配線5aが接続される端子である。端子805は、通信部32の端子である。端子806は、モータ駆動装置3aの端子のうち配線5bが接続される端子である。端子806は、通信部32の端子である。端子807は、モータ駆動装置3aの端子のうち識別番号設定用配線6aが接続される端子である。端子707は、入力部31の端子である。端子808は、モータ駆動装置3aの端子のうち識別番号設定用配線6bが接続される端子である。端子808は、出力部36の端子である。
 端子809は、モータ駆動装置3bの端子のうち配線5aが接続される端子である。端子809は、通信部32の端子である。端子810は、モータ駆動装置3bの端子のうち配線5bが接続される端子である。端子810は、通信部32の端子である。端子811は、モータ駆動装置3bの端子のうち識別番号設定用配線6cが接続される端子である。端子811は、出力部36の端子である。端子812は、モータ駆動装置3bの端子のうち識別番号設定用配線6bが接続される端子である。端子812は、入力部31の端子である。
 端子813は、モータ駆動装置3cの端子のうち配線5aが接続される端子である。端子813は、通信部32の端子である。端子814は、モータ駆動装置3cの端子のうち配線5bが接続される端子である。端子814は、通信部32の端子である。端子815は、モータ駆動装置3cの端子のうち識別番号設定用配線6cが接続される端子である。端子815は、入力部31の端子である。端子816は、モータ駆動装置3cの端子のうち識別番号設定用配線6dが接続される端子である。端子816は、出力部36の端子である。
 本実施例によれば、ホスト装置2、並びにモータ駆動装置3a、3b及び3cのそれぞれにおいて、識別番号設定用配線6a、6b、6c及び6dによる直列接続の前段の装置の出力部と自身の入力部の位置を合わせ、後段の装置の入力部と自身の出力部の位置を合わせるようにしている。このように各端子を配置することによって、識別番号設定用配線6a、6b、6c及び6dの長さを短縮することが出来る
<デバイス駆動装置103、及びデバイス駆動システム100の作用・効果>
 次に、デバイス駆動装置103、及びデバイス駆動システム100の作用・効果について説明する。
 上述の実施形態に係る発明においては、デバイスを駆動するデバイス駆動装置であって、前記デバイス駆動装置を制御する制御装置と、前記制御装置と前記デバイス駆動装置とを直列に繋ぐ識別符号設定用配線と、前記デバイス駆動装置と前記デバイス駆動装置以外の他のデバイス駆動装置とを更に直列に繋ぐ前記識別符号設定用配線と、前記制御装置に近い側の前記デバイス駆動装置と接続された前記識別符号設定用配線から設定時信号を入力する入力部と、前記制御装置と前記デバイス駆動装置とを、前記制御装置と前記他のデバイス駆動装置との接続と並列に繋ぐシリアルデータ通信用配線と、前記シリアルデータ通信用配線のうち、前記制御装置と前記デバイス駆動装置とを接続する配線を介して前記制御装置と通信を行う通信部と、自身の識別符号を記憶する識別符号記憶部と、前記入力部に前記設定時信号が入力された場合に前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する制御部と、前記制御部により前記識別符号記憶部に識別符号を記憶した場合に前記直列の後段の装置と接続された前記識別符号設定用配線に前記設定時信号を出力する出力部と、を備えた。
 このため、制御装置によって制御されてデバイスを駆動するデバイス駆動装置を複数設ける場合に、複数のデバイス駆動装置を並列に接続することで配線コストを低減しながら、ディップスイッチ等の特別な構成を必要とせずに、複数のデバイス駆動装置のそれぞれを識別可能な識別符号を付与することが出来る。また、制御装置に、デバイスの設置場所と直列接続順を記憶させておくことで、場所に合わせて識別符号を付与することが出来る。また、複数の駆動制御回路を並列に接続することで、ホスト装置からの送信データがそれぞれのモータ駆動システムに伝わるようにし、障害が生じた駆動制御回路以外は正常にデータを受信可能にした場合、ホスト装置から複数の駆動制御回路のそれぞれを識別することが出来ない。このため、それぞれのモータに異なる動作をさせることが出来ず、駆動制御回路ごとに異なる識別番号を付与するためには、駆動制御回路ごとにディップスイッチを設けてアドレスを設定するなどの特別な手段が別途必要になり、構成が複雑化するという問題もある。本発明によれば、このような問題も解決できる。
 また、前記制御部は、前記入力部に前記設定時信号が入力され、且つ前記通信部により受信した識別符号が自身宛であった場合にのみ該受信した識別符号を、自身の識別符号として前記識別符号記憶部に記憶する。このため、自身宛ではない識別符号を自身の識別符号として設定してしまうことを防ぐことが出来る。
 また、前記制御部は、前記入力部に前記設定時信号が入力され、且つ自身の識別符号の今回の設定が終了していない場合にのみ前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する。このため、既に自身の識別符号の設定が終了している場合に、自身宛ではない識別符号を自身の識別符号として設定してしまうことを防ぐことが出来る。
 また、上述の実施形態に係る発明においては、デバイスを駆動するデバイス駆動システムであって、複数のデバイスと、前記複数のデバイスのそれぞれを駆動する複数のデバイス駆動装置と、前記複数のデバイス駆動装置を制御する制御装置と、前記制御装置と前記複数のデバイス駆動装置とを直列に繋ぐ識別符号設定用配線と、前記制御装置と前記複数のデバイス駆動装置とを並列に繋ぐシリアルデータ通信用配線と、を備え、前記複数のデバイス駆動装置のそれぞれは、前記直列の前段の装置と接続された前記識別符号設定用配線から設定時信号を入力する入力部と、前記シリアルデータ通信用配線を介して前記制御装置と通信を行う通信部と、自身の識別符号を記憶する識別符号記憶部と、前記入力部に前記設定時信号が入力された場合に前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する制御部と、前記制御部により前記識別符号記憶部に識別符号を記憶した場合に前記直列の後段の装置と接続された前記識別符号設定用配線に前記設定時信号を出力する出力部と、を備えた。このため、制御装置によって制御されてデバイスを駆動するデバイス駆動装置を複数設ける場合に、複数のデバイス駆動装置を並列に接続することで配線コストを低減しながら、ディップスイッチ等の特別な構成を必要とせずに、複数のデバイス駆動装置のそれぞれを識別可能な識別符号を付与することが出来る。
 また、前記制御部は、前記入力部に前記設定時信号が入力され、且つ前記通信部により受信した識別符号が自身宛であった場合にのみ該受信した識別符号を、自身の識別符号として前記識別符号記憶部に記憶する。このため、自身宛ではない識別符号を自身の識別符号として設定してしまうことを防ぐことが出来る。
 また、前記制御部は、前記入力部に前記設定時信号が入力され、且つ自身の識別符号の今回の設定が終了していない場合にのみ前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する。このため、既に自身の識別符号の設定が終了している場合に、自身宛ではない識別符号を自身の識別符号として設定してしまうことを防ぐことが出来る。
 また、前記制御装置は、前記直列の後段の装置と接続された前記識別符号設定用配線に設定時信号を出力する制御装置側出力部と、前記直列の前段の装置と接続された前記識別符号設定用配線から前記設定時信号を入力する制御装置側入力部と、前記シリアルデータ通信用配線を介して前記複数のデバイス駆動装置と通信を行う制御装置側通信部と、前記複数のデバイス駆動装置の識別符号を設定する設定処理を制御する制御装置側制御部と、を備え、前記制御装置側制御部は、前記複数のデバイス駆動装置の識別符号の設定処理の開始に応じ前記制御装置側出力部により前記識別符号設定用配線に前記設定時信号を出力し、前記制御装置側入力部により前記識別符号設定用配線から前記設定時信号を入力したことに応じて前記複数のデバイス駆動装置の識別符号の設定処理を終了する。このため、複数のデバイス駆動装置のすべてに対して識別符号の設定を完了した時点で、識別符号の処理を終了することが出来、停滞なく識別符号を設定することが出来る。
 また、前記制御装置側制御部は、前記制御装置側出力部により前記識別符号設定用配線に前記設定時信号を出力したことに応じて、前記制御装置側通信部により前記シリアルデータ通信用配線を介して前記複数のデバイス駆動装置のそれぞれに設定する識別符号を含む識別符号設定コマンドを送信する。このため、シリアルデータ通信用配線で識別符号を送信することで、複数のデバイス駆動装置のそれぞれごとに通信用配線を設ける場合と比べて配線コストを低減することが出来る。
 また、前記制御部は、前記通信部により前記シリアルデータ通信用配線を介して前記識別符号設定コマンドを受信したことに応じて、前記受信した識別符号を含む識別符号返送コマンドを、前記通信部により前記シリアルデータ通信用配線を介して送信する。このため、デバイス駆動装置がシリアルデータ通信用配線で識別符号を返信することで、識別符号がデバイス駆動装置に到達したことを制御装置が確認出来、識別符号の確実な設定を行うことが出来る。
 また、前記制御装置側制御部は、前記制御装置側通信部により前記シリアルデータ通信用配線を介して識別符号返送コマンドを受信したことに応じて、前記制御装置側通信部により前記シリアルデータ通信用配線を介して識別符号確認コマンドを送信する。このため、シリアルデータ通信用配線で識別符号確認コマンドを送信することで、複数のデバイス駆動装置のそれぞれで識別符号を誤って設定してしまうことを防ぐことが出来る。
 また、前記制御部は、前記通信部により前記シリアルデータ通信用配線を介して前記識別符号確認コマンドを受信したことに応じて、前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する。このため、シリアルデータ通信用配線で識別符号確認コマンドを受信したことに応じて識別符号を記憶することで、複数のデバイス駆動装置のそれぞれで識別符号を誤って設定してしまうことを防ぐことが出来る。
 また、前記識別符号記憶部は、不揮発性メモリである。このため、電源を落としても、設定した識別符号を記憶しておき、再設定を不要とすることが出来る。
 また、前記複数のデバイス駆動装置のうちの二つ以上のデバイス駆動装置は、他のデバイス駆動装置と同じ識別符号が設定される。このため、同じ動作をさせるデバイスが複数ある場合などにおいて、同じ識別符号のデバイス駆動装置を一つの指示で制御することが出来、制御装置によるデバイス駆動装置の制御を容易にすることが出来る。
 また、前記識別符号は、識別番号である。このため、識別符号が識別番号であることで、制御装置において識別番号の生成が容易である。
 また、前記複数のデバイス駆動装置の少なくとも一部の前記識別番号は欠番がある。このため、識別番号に欠番を設けておくことで、デバイス及びデバイス駆動装置をグループ化するなど、管理の便宜を図ることが出来る。例えば、グループごとに識別番号の、ある桁の数字を同一にしておくことなどで、デバイス及びデバイス駆動装置をグループ化することが出来、グループごとの動作制御をプログラミングする際のプログラム製造工程を効率化することが出来る。また、識別番号に欠番を設けておくことで、後からデバイス及びデバイス駆動装置を追加する際に、その欠番を識別番号として利用することで、管理の便宜を図ることが出来る。
 また、前記デバイスは、モータである。このため、モータの駆動において、配線コストを低減しながら、複数のデバイス駆動装置のそれぞれを識別可能な識別符号を付与することが出来る。
 また、前記デバイスは、ファンモータである。このため、ファンモータの駆動において、配線コストを低減しながら、複数のデバイス駆動装置のそれぞれを識別可能な識別符号を付与することが出来る。
 上述した実施形態のデバイス駆動装置の用途は、特に限定されない。また、上述した各構成は、相互に矛盾しない範囲内において、適宜組み合わせることが出来る。
 以上、本発明の好ましい実施形態について説明したが、本発明は、これらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。これらの実施形態及びその変形は、発明の範囲及び要旨に含まれると同時に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
 100 デバイス駆動システム
 102 制御装置
 103 デバイス駆動装置
 105 シリアルデータ通信用配線
 106 識別符号設定用配線
 
 

Claims (17)

  1.  デバイスを駆動するデバイス駆動装置であって、
     前記デバイス駆動装置を制御する制御装置と、
     前記制御装置と前記デバイス駆動装置とを直列に繋ぐ識別符号設定用配線と、
     前記デバイス駆動装置と前記デバイス駆動装置以外の他のデバイス駆動装置とを更に直列に繋ぐ前記識別符号設定用配線と、
     前記制御装置に近い側の前記デバイス駆動装置と接続された前記識別符号設定用配線から設定時信号を入力する入力部と、
     前記制御装置と前記デバイス駆動装置とを、前記制御装置と前記他のデバイス駆動装置との接続と並列に繋ぐシリアルデータ通信用配線と、
     前記シリアルデータ通信用配線のうち、前記制御装置と前記デバイス駆動装置とを接続する配線を介して前記制御装置と通信を行う通信部と、
     自身の識別符号を記憶する識別符号記憶部と、
     前記入力部に前記設定時信号が入力された場合に前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する制御部と、
     前記制御部により前記識別符号記憶部に識別符号を記憶した場合に前記直列の後段の装置と接続された前記識別符号設定用配線に前記設定時信号を出力する出力部と、
    を備えた、
    デバイス駆動装置。
  2.  前記制御部は、前記入力部に前記設定時信号が入力され、且つ前記通信部により受信した識別符号が自身宛であった場合にのみ該受信した識別符号を、自身の識別符号として前記識別符号記憶部に記憶する、
    請求項1に記載のデバイス駆動装置。
  3.  前記制御部は、前記入力部に前記設定時信号が入力され、且つ自身の識別符号の今回の設定が終了していない場合にのみ前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する、
    請求項1に記載のデバイス駆動装置。
  4.  複数のデバイスと、
     前記複数のデバイスのそれぞれを駆動する複数のデバイス駆動装置と、
     前記複数のデバイス駆動装置を制御する制御装置と、
     前記制御装置と前記複数のデバイス駆動装置とを直列に繋ぐ識別符号設定用配線と、
     前記制御装置と前記複数のデバイス駆動装置とを並列に繋ぐシリアルデータ通信用配線と、
    を備え、
     前記複数のデバイス駆動装置のそれぞれは、
      前記直列の前段の装置と接続された前記識別符号設定用配線から設定時信号を入力する入力部と、
      前記シリアルデータ通信用配線を介して前記制御装置と通信を行う通信部と、
      自身の識別符号を記憶する識別符号記憶部と、
      前記入力部に前記設定時信号が入力された場合に前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する制御部と、
      前記制御部により前記識別符号記憶部に識別符号を記憶した場合に前記直列の後段の装置と接続された前記識別符号設定用配線に前記設定時信号を出力する出力部と、
     を備えた、
    デバイス駆動システム。
  5.  前記制御部は、前記入力部に前記設定時信号が入力され、且つ前記通信部により受信した識別符号が自身宛であった場合にのみ該受信した識別符号を、自身の識別符号として前記識別符号記憶部に記憶する、
    請求項4に記載のデバイス駆動システム。
  6.  前記制御部は、
     前記入力部に前記設定時信号が入力され、且つ自身の識別符号の今回の設定が終了していない場合にのみ前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する、
    請求項4に記載のデバイス駆動システム。
  7.  前記制御装置は、
      前記直列の後段の装置と接続された前記識別符号設定用配線に設定時信号を出力する制御装置側出力部と、
      前記直列の前段の装置と接続された前記識別符号設定用配線から前記設定時信号を入力する制御装置側入力部と、
      前記シリアルデータ通信用配線を介して前記複数のデバイス駆動装置と通信を行う制御装置側通信部と、
      前記複数のデバイス駆動装置の識別符号を設定する設定処理を制御する制御装置側制御部と、
     を備え、
     前記制御装置側制御部は、前記複数のデバイス駆動装置の識別符号の設定処理の開始に応じ前記制御装置側出力部により前記識別符号設定用配線に前記設定時信号を出力し、前記制御装置側入力部により前記識別符号設定用配線から前記設定時信号を入力したことに応じて前記複数のデバイス駆動装置の識別符号の設定処理を終了する、
    請求項4から6のいずれか1項に記載のデバイス駆動システム。
  8.  前記制御装置側制御部は、前記制御装置側出力部により前記識別符号設定用配線に前記設定時信号を出力したことに応じて、前記制御装置側通信部により前記シリアルデータ通信用配線を介して前記複数のデバイス駆動装置のそれぞれに設定する識別符号を含む識別符号設定コマンドを送信する、
    請求項7に記載のデバイス駆動システム。
  9.  前記制御部は、前記通信部により前記シリアルデータ通信用配線を介して前記識別符号設定コマンドを受信したことに応じて、前記受信した識別符号を含む識別符号返送コマンドを、前記通信部により前記シリアルデータ通信用配線を介して送信する、
    請求項8に記載のデバイス駆動システム。
  10.  前記制御装置側制御部は、前記制御装置側通信部により前記シリアルデータ通信用配線を介して識別符号返送コマンドを受信したことに応じて、前記制御装置側通信部により前記シリアルデータ通信用配線を介して識別符号確認コマンドを送信する、
    請求項9に記載のデバイス駆動システム。
  11.  前記制御部は、前記通信部により前記シリアルデータ通信用配線を介して前記識別符号確認コマンドを受信したことに応じて、前記通信部により受信した識別符号を自身の識別符号として前記識別符号記憶部に記憶する、
    請求項10に記載のデバイス駆動システム。
  12.  前記識別符号記憶部は、不揮発性メモリである、
    請求項4から11のいずれか1項に記載のデバイス駆動システム。
  13.  前記複数のデバイス駆動装置のうちの二つ以上のデバイス駆動装置は、他のデバイス駆動装置と同じ識別符号が設定される、
    請求項4から12のいずれか1項に記載のデバイス駆動システム。
  14.  前記識別符号は、識別番号である、
    請求項4から13のいずれか1項に記載のデバイス駆動システム。
  15.  前記複数のデバイス駆動装置の少なくとも一部の前記識別番号は欠番がある、
    請求項14に記載のデバイス駆動システム。
  16.  前記デバイスは、モータである、
    請求項4から15のいずれか1項に記載のデバイス駆動システム。
  17.  前記デバイスは、ファンモータである、
    請求項4から16のいずれか1項に記載のデバイス駆動システム。
     
     
     
PCT/JP2020/037129 2019-11-13 2020-09-30 デバイス駆動装置、及びデバイス駆動システム WO2021095387A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019-205664 2019-11-13
JP2019205664A JP2021077285A (ja) 2019-11-13 2019-11-13 デバイス駆動装置、及びデバイス駆動システム

Publications (1)

Publication Number Publication Date
WO2021095387A1 true WO2021095387A1 (ja) 2021-05-20

Family

ID=75898025

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/037129 WO2021095387A1 (ja) 2019-11-13 2020-09-30 デバイス駆動装置、及びデバイス駆動システム

Country Status (2)

Country Link
JP (1) JP2021077285A (ja)
WO (1) WO2021095387A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0444148A (ja) * 1990-06-11 1992-02-13 Sony Tektronix Corp アドレス割当て装置
JPH04155561A (ja) * 1990-10-19 1992-05-28 Fujitsu Ltd 機番設定制御装置
US6175891B1 (en) * 1997-04-23 2001-01-16 Micron Technology, Inc. System and method for assigning addresses to memory devices
JP2008117306A (ja) * 2006-11-07 2008-05-22 New Japan Radio Co Ltd インターフェースシステム
JP2013109628A (ja) * 2011-11-22 2013-06-06 Gs Yuasa Corp Id付与システム、及びid付与方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0444148A (ja) * 1990-06-11 1992-02-13 Sony Tektronix Corp アドレス割当て装置
JPH04155561A (ja) * 1990-10-19 1992-05-28 Fujitsu Ltd 機番設定制御装置
US6175891B1 (en) * 1997-04-23 2001-01-16 Micron Technology, Inc. System and method for assigning addresses to memory devices
JP2008117306A (ja) * 2006-11-07 2008-05-22 New Japan Radio Co Ltd インターフェースシステム
JP2013109628A (ja) * 2011-11-22 2013-06-06 Gs Yuasa Corp Id付与システム、及びid付与方法

Also Published As

Publication number Publication date
JP2021077285A (ja) 2021-05-20

Similar Documents

Publication Publication Date Title
US20170185553A1 (en) Method for assigning addresses to nodes of a bus system, and installation
US8300258B2 (en) Method for the operation of a data bus, and data bus system
EP3715976B1 (en) Modular backplane for an industrial controller
US10541917B2 (en) Method and system for data aggregation in an industrial communication protocol
EP1739569B1 (en) Device and method for performing multi-function using unique port in wireless terminal
EP1566022A1 (en) Auto-configured lin bus nodes
US20180373213A1 (en) Fieldbus coupler and system method for configuring a failsafe module
KR101735919B1 (ko) 인버터 제어 방법
WO2021095387A1 (ja) デバイス駆動装置、及びデバイス駆動システム
US11392519B2 (en) Method and apparatus for configuring I/O modules connected to a fieldbus controller
US11372788B2 (en) Bus arrangement and method for operating a bus arrangement
KR100720145B1 (ko) 마스터 모듈, 기능 모듈과 이를 포함하는 전자 디바이스 및id데이터 설정방법
JP3645668B2 (ja) モータ制御装置
JPS583343A (ja) 複数端末制御方式
JP7211567B2 (ja) 蓄電システム
JP3445668B2 (ja) 通信システム
JPH04286239A (ja) 通信装置
US10528497B2 (en) Bus arrangement and method for operating a bus arrangement
JP4849014B2 (ja) 中継ハブ及び情報通信システム
WO2023189134A1 (ja) ドライブシステム
JP2000250770A (ja) 多重化計装システム
JP3200829B2 (ja) 制御装置
CN215186528U (zh) 步进驱动串口互连系统
CN110023921B (zh) 用于自动化技术的命令和通知系统
JP2532706B2 (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: 20886870

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20886870

Country of ref document: EP

Kind code of ref document: A1