WO2025254091A1 - 分配制御装置及び分配制御方法 - Google Patents
分配制御装置及び分配制御方法Info
- Publication number
- WO2025254091A1 WO2025254091A1 PCT/JP2025/019977 JP2025019977W WO2025254091A1 WO 2025254091 A1 WO2025254091 A1 WO 2025254091A1 JP 2025019977 W JP2025019977 W JP 2025019977W WO 2025254091 A1 WO2025254091 A1 WO 2025254091A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- time
- unit
- request
- synchronization
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C15/00—Arrangements characterised by the use of multiplexing for the transmission of a plurality of signals over a common path
- G08C15/06—Arrangements characterised by the use of multiplexing for the transmission of a plurality of signals over a common path successively, i.e. using time division
Definitions
- the present invention relates to a distribution control device and a distribution control method.
- Machine tools such as drilling machines are connected to multiple slave devices, such as a calculation device that calculates the amount of movement of the drilling machine, and a judgment device that determines whether the drilling machine is operating correctly.
- the machine tool and each slave device are connected wirelessly or via a wire, and data communication is carried out.
- Patent Document 1 discloses that when a master transmits data such as a measurement start signal to multiple slaves, the reception timing of the signal may differ for each slave. Therefore, by adding a delay time to the transmitted data, the reception timing of the transmitted data at each slave is aligned.
- Patent Document 1 makes it possible to align the timing of receiving transmitted data among each slave, but because the results of the processing assigned to each slave are sent to the device at their own individual timing, the device receives the processing results from each slave at random times. As a result, it is not possible to unify the processing results from each slave to evaluate the operation of the machine tool.
- the present invention aims to provide a distribution control device and distribution control method that can synchronize each device with the device's cycle start time and transmit the judgment results of each slave device to the device in a synchronized manner.
- a distribution control device includes a control unit, a first communication unit that communicates with a device, and a second communication unit that communicates with a plurality of slave devices that operate in conjunction with the operation of the device.
- the control unit outputs a data request to the device via the first communication unit, requesting the device to transmit measurement data.
- the control unit acquires the measurement data from the device via the first communication unit, and classifies the acquired measurement data into individual data to be distributed to each slave device.
- a synchronization request sent from each slave unit is received, and upon receiving the synchronization request, the divided individual data is transmitted to each slave unit via the second communication unit, the judgment results transmitted from each slave unit based on the divided individual data are synchronized, and the synchronized judgment results are transmitted to the device via the first communication unit.
- a distribution control method is a distribution control method executed by a control unit, and includes the steps of: outputting a data request requesting a device to transmit measurement data via a first communication unit; acquiring the measurement data from the device via the first communication unit when the data request is accepted by the device; classifying the acquired measurement data into individual data to be distributed to each of a plurality of slave devices that operate in conjunction with the operation of the device; accepting a synchronization request sent from each slave device after acquiring the measurement data; transmitting the classified individual data to each slave device via a second communication unit when the synchronization request is accepted; synchronizing determination results sent from each slave device based on the classified individual data; and transmitting the synchronized determination results to the device via the first communication unit.
- FIG. 1 is a block diagram showing the configuration of a distribution control device according to an embodiment.
- FIG. 2 is a timing chart showing the transmission and reception of data between the distribution control device and the slave units.
- FIG. 3 is a timing chart showing the transmission and reception of data in the first embodiment, where (a) shows the measurement data output by the machine tool, (b) shows the data request output by the distribution control device, and (c) to (g) show the synchronization requests output by each slave device.
- FIG. 4 is a timing chart showing data transmission and reception in the first comparative example, where (a) shows measurement data output by the machine tool, and (b) to (f) show data requests output by each terminal.
- FIG. 1 is a block diagram showing the configuration of a distribution control device according to an embodiment.
- FIG. 2 is a timing chart showing the transmission and reception of data between the distribution control device and the slave units.
- FIG. 3 is a timing chart showing the transmission and reception of data in the first embodiment, where (a) shows the measurement data output by the
- FIG. 5 is an explanatory diagram showing individual data acquired by transmitting a data request from each terminal in the first comparative example.
- FIG. 6 is an explanatory diagram showing individual data acquired by each slave device transmitting a synchronization request in the first embodiment.
- Figure 7 is a timing chart showing the transmission and reception of data in the second embodiment, where (a) shows the measurement data output by the machine tool, (b) shows the data request output by the distribution control device, and (c) to (g) show the synchronization requests output by each child device.
- Figure 8 is a timing chart showing the transmission and reception of data in the second comparative example, where (a) shows the measurement data output by the machine tool, (b) shows the data request output by the distribution control device, and (c) to (g) show the synchronization requests output by each child device.
- Figure 1 is a block diagram showing the configuration of a distribution control device 2 according to an embodiment, a machine tool 1 (equipment) connected to the distribution control device 2, and multiple slave units 3A-3E.
- the distribution control device 2 and machine tool 1, and the distribution control device 2 and each of the slave units 3A-3E shown in Figure 1, are connected wirelessly or via a wire, enabling data communication.
- Machine tool 1 includes a spindle motor M1 and an encoder E1, as well as servo motors M2 and M3 and encoders E2 and E3.
- Machine tool 1 also includes a communication unit 11, a sequence control unit 12, a numerical control unit 13, and power amplifiers 14 and 15.
- Machine tool 1 is, for example, a hole drill.
- Machine tool 1 is an example of equipment.
- the sequence control unit 12 and numerical control unit 13 control the drive of the spindle motor M1 and servo motors M2 and M3.
- the power amplifier unit 14 amplifies the power supplied to the spindle motor M1.
- the power amplifier unit 15 amplifies the power supplied to the servo motors M2 and M3.
- the communication unit 11 transmits and receives data to and from the distribution control device 2.
- the communication unit 11 acquires measurement data, such as NC data, detected by the encoders E1-E3 of the machine tool 1 and transmits it to the distribution control device 2.
- the measurement data includes data to be transmitted to each of the slave units 3A-3E (hereinafter referred to as "individual data").
- individual data to be transmitted to each of the slave units 3A-3E is referred to as individual data 4a-4e, respectively.
- the measurement data is a combination of multiple sets of time-series data, each set being a set of time-shared data that divides one cycle of the machine tool 1's operation into multiple parts. If the machine tool 1 is a drilling machine, a "cycle" is, for example, the period from when the drill starts to rotate, drilling a hole in the workpiece, and ending when the drill rotation is stopped, completing the series of processes.
- the time-shared data can be divided, for example, by the unit communication time when data is communicated between the machine tool 1 and the distribution control device 2.
- the communication unit 11 starts tracing the measurement data when a trace start signal ("Q" in Figure 3, described below) is sent from the distribution control device 2, and stops tracing the measurement data when a trace end signal ("E" in Figure 3) is sent.
- the communication unit 11 starts tracing the measurement data, and when the number of pieces of data (the number of time-shared data, described below) reaches a predetermined number, it accepts a data request (described in detail below) and sends the measurement data to the distribution control device 2.
- the communication unit 11 receives the determination result (details will be described later) sent from the distribution control device 2.
- the distribution control device 2 distributes data sent and received between the machine tool 1 (equipment) and multiple slave units 3A-3E that operate in conjunction with the operation of the machine tool 1.
- the distribution control device 2 includes a communication unit 21 (first communication unit), a data acquisition unit 22, a determination notification unit 23, a synchronization control unit 24, a data distribution unit 25, a memory unit 26, interlock units 28a-28e, and an inter-process communication unit 29 (second communication unit).
- the communication unit 21 sends and receives data to and from the communication unit 11 of the machine tool 1. Specifically, the communication unit 21 outputs a trace start signal and a trace end signal to the machine tool 1. When a data request is output from the synchronization control unit 24 at regular time intervals, the communication unit 21 sends this data request to the machine tool 1.
- a "data request” refers to a signal that requests the machine tool 1 to send measurement data.
- the communication unit 21 When a data request is accepted by the machine tool 1 and measurement data is transmitted from the machine tool 1, the communication unit 21 receives this measurement data and outputs it to the data acquisition unit 22. As mentioned above, the measurement data includes individual data 4a to 4e to be transmitted to each of the slave units 3A to 3E. Note that the data requests output by the synchronization control unit 24 are not limited to fixed time intervals and may be transmitted at any timing.
- the communication unit 21 transmits the judgment result (synchronized judgment result) output from the synchronization control unit 24 to the machine tool 1.
- the "judgment result" refers to data derived from the calculation results of each calculation unit 34, which will be described later.
- the data acquisition unit 22 acquires the measurement data transmitted from the machine tool 1 and separates the acquired measurement data into individual data to be distributed to each of the slave units 3A-3E.
- the data acquisition unit 22 outputs the individual data 4a-4e to the synchronization control unit 24.
- the synchronization control unit 24 outputs a data request to the machine tool 1 at regular time intervals.
- the data request is sent from the communication unit 21 to the machine tool 1.
- the measurement data is sent from the machine tool 1.
- the synchronization control unit 24 When the above data request is accepted by the machine tool 1 (for example, when the synchronization control unit 24 receives measurement data from the machine tool 1), the synchronization control unit 24 then accepts synchronization requests (details will be described later) sent from each of the slave units 3A-3E.
- a "synchronization request" refers to a signal sent by each of the slave units 3A-3E to request the distribution control device 2 to send measurement data. Until a data request is accepted by the machine tool 1, the synchronization control unit 24 will not accept synchronization requests sent from each of the slave units 3A-3E.
- the synchronization control unit 24 accepts the synchronization request when it is sent from each of the slave units 3A-3E.
- the synchronization control unit 24 can accept the synchronization request sent from each of the slave units 3A-3E so that the same cycle of time series data in the machine tool 1 is sent to each of the slave units 3A-3E.
- the synchronization control unit 24 can also accept synchronization requests sent from each of the slave units 3A-3E for each of multiple time-series data sets, as long as the number of time-shared data sets does not exceed a predetermined upper limit.
- the "predetermined upper limit" can be set to the time during which each of the slave units 3A-3E can execute its calculation processing during the interval between the end of one cycle of the machine tool 1's operation and the start of the next cycle.
- the synchronization control unit 24 When the synchronization control unit 24 receives a synchronization request sent from each of the slave units 3A-3E, it transmits individual data 4a-4e to each of the slave units 3A-3E in synchronization with this synchronization request. In other words, the synchronization control unit 24 outputs a data request to the machine tool 1 requesting the transmission of measurement data, and after the data request is accepted by the machine tool 1, it accepts the synchronization request sent from each of the slave units 3A-3E. The synchronization control unit 24 synchronizes the determination results sent from each of the slave units 3A-3E. This determination result is sent from the communication unit 21 to the machine tool 1.
- the synchronization control unit 24 synchronizes the judgment results and outputs them to the judgment notification unit 23.
- the determination notification unit 23 acquires data requests output at regular time intervals from the synchronization control unit 24 and outputs them to the communication unit 21.
- the determination notification unit 23 outputs the determination results acquired by the calculation processing in each of the slave units 3A to 3E to the communication unit 21.
- the data distribution unit 25 outputs the individual data 4a-4e acquired and classified by the data acquisition unit 22 to the storage unit 26.
- the memory unit 26 stores each of the individual data 4a to 4e.
- the interlock units 28a-28e (denoted as "IR" in Figure 1) store addresses indicating the divisions when individual data 4a-4e is sent to each of the slave units 3A-3E synchronized by the synchronization control unit 24. For example, if individual data was sent up to address x in the current transmission, the addresses are stored so that the next transmission will start from address (x+1).
- the inter-process communication unit 29 transmits each of the individual data 4a-4e acquired by the data acquisition unit 22 to each of the slave units 3A-3E at the timing synchronized by the synchronization control unit 24.
- the inter-process communication unit 29 receives the determination results transmitted from each of the slave units 3A-3E and outputs them to the synchronization control unit 24.
- the inter-process communication unit 29 functions as a second communication unit that transmits the individual data corresponding to each of the slave units 3A-3E contained in the measurement data to each of the slave units 3A-3E when the synchronization control unit 24 accepts a synchronization request transmitted from each of the slave units 3A-3E.
- the distribution control device 2 can be configured as an integrated computer comprising, for example, a central processing unit (CPU) and storage means such as RAM, ROM, and a hard disk.
- the data acquisition unit 22, judgment notification unit 23, synchronization control unit 24, and data distribution unit 25 constitute the control unit of the distribution control device 2.
- handset units 3A to 3E shown in Figure 1. Note that each handset unit 3A to 3E has the same configuration, so the following will explain the configuration of handset unit 3A.
- the slave unit 3A includes a reading unit 31, a synchronization unit 32, a control unit 33, and a calculation unit 34.
- the reading unit 31 reads the individual data 4a transmitted from the distribution control device 2. That is, when the individual data 4a corresponding to the slave device 3A is transmitted from the distribution control device 2, the reading unit 31 reads this individual data 4a.
- the synchronization unit 32 When a synchronization command (described below) is output from the control unit 33, the synchronization unit 32 outputs a synchronization request to the distribution control device 2. The synchronization unit 32 determines whether the synchronization request has been accepted by the distribution control device 2. If the synchronization request has been accepted, the reading unit 31 reads the individual data 4a sent from the distribution control device 2.
- the synchronization unit 32 transmits the determination result by the calculation unit 34 to the distribution control device 2.
- the control unit 33 outputs the individual data 4a acquired by the reading unit 31 to the calculation unit 34 and acquires the judgment result from the calculation unit 34.
- the control unit 33 outputs a synchronization command to the synchronization unit 32 at a predetermined timing (for example, at regular time intervals).
- the synchronization unit 32 outputs a synchronization request to the distribution control device 2 in response to the output of the synchronization command.
- the calculation unit 34 performs calculation processing based on the individual data 4a. For example, if the slave unit 3A is a rotational torque measuring device, it calculates the rotational torque based on the individual data 4a (e.g., NC data) synchronized with the trace start signal. The calculation unit 34 outputs a determination result as to whether or not this calculation result is a normal value to the control unit 33. This determination result is sent to the distribution control device 2 via the control unit 33 and synchronization unit 32.
- the individual data 4a e.g., NC data
- sub-units 3B to 3E shown in Figure 1 have the same configuration as sub-unit 3A, so a description of their configuration will be omitted.
- (1a) to (1e) indicate the operation of the synchronization control unit 24
- (2a) to (2f) indicate the operation of the slave unit 3A
- (3a) to (3f) indicate the operation of the slave unit 3B. Note that illustration of the slave units 3C to 3E is omitted.
- slave units 3A and 3B begin reading individual data 4a and 4b at time t2 shown in Figure 2 (2a) and (3a).
- the synchronization control unit 24 updates the write pointer.
- the slave units 3A and 3B import individual data 4a and 4b.
- the slave units 3A and 3B update the read pointer.
- the synchronization control unit 24 updates the write pointer again.
- the slave units 3A and 3B import the individual data 4a and 4b.
- the slave units 3A and 3B update the read pointer.
- the synchronization control unit 24 updates the write pointer again.
- the slave units 3A and 3B import the individual data 4a and 4b.
- the slave units 3A and 3B update the read pointer.
- Fig. 3(a) is a timing chart showing, in time series, measurement data (e.g., NC data) output by the machine tool 1.
- Fig. 3(b) is a timing chart showing, in time series, data requests output by the synchronization control unit 24 of the distribution control device 2.
- Fig. 3(c) to (g) are timing charts showing, in time series, synchronization requests output by each of the slave units 3A to 3E.
- the horizontal axis indicates the passage of time.
- symbol x1 indicates one cycle of one machining process (e.g., drilling a hole) in machine tool 1.
- machine tool 1 acquires ten sets of measurement data ranging from “1" to "0.”
- the cycles indicated by x2, x3, x4, ... are sequentially processed.
- each of the ten sets of measurement data will be referred to as "time-shared data.”
- Time-shared data can be measurement data that machine tool 1 transmits to each of slave units 3A-3E in one communication unit.
- the measurement data includes individual data 4a-4e to be transmitted to each of slave units 3A-3E.
- machine tool 1 receives a data request transmitted from distribution control device 2, it transmits the measurement data to distribution control device 2.
- FIG. 3 shows the timing at which a data request is sent by the synchronization control unit 24.
- "R” indicates the timing at which the communication unit 21 sends a data request
- an "R” surrounded by a dotted line indicates that the data request was not accepted (failed)
- an "R” surrounded by a solid line indicates that the data request was accepted.
- the symbols r1, r2, ... shown as ellipses in (b) in Figure 3 indicate the measurement data acquired by the synchronization control unit 24 when a data request was accepted by the machine tool 1.
- the synchronization control unit 24 when a trace start signal Q is input, the synchronization control unit 24 outputs a data request to the machine tool 1 at a predetermined timing (in this example, at regular time intervals).
- a trace end signal E When a trace end signal E is input, the synchronization control unit 24 stops outputting data requests.
- the trace start signal Q is a signal sent from the distribution control device 2 to the machine tool 1 to request that it start tracing measurement data (e.g., NC data).
- the trace end signal E is a signal sent from the distribution control device 2 to the machine tool 1 to request that it end tracing measurement data.
- the machine tool 1 When the traced measurement data reaches a predetermined number, the machine tool 1 accepts a data request. When the machine tool 1 accepts a data request, it transmits one cycle of measurement data (10 times of time-shared data) to the distribution control device 2. The communication unit 21 receives this measurement data. That is, the communication unit 21 receives the 10 pieces of time-shared data "1" to "0" shown by the symbol x1 in Figure 3(a). Note that the number of pieces of time-shared data is not limited to 10.
- the data acquisition unit 22 acquires the measurement data indicated by the symbol r1.
- the acquired measurement data is output to the synchronization control unit 24.
- the time-division data included in the measurement data r1 matches the time-division data "1" to "0" of the symbol x1.
- the data acquisition unit 22 acquires the measurement data indicated by the symbol r2, and then sequentially acquires the measurement data indicated by the symbols r3, r4, ...
- the measurement data indicated by the symbols r2 to r4 in Figure 3(b) matches the time-division data "1" to "0" of the cycle indicated by the symbols x2 to x4 in Figure 3(a).
- FIG. 3 shows the timing at which slave unit 3A sends a synchronization request.
- "S” indicates the timing at which slave unit 3A sends a synchronization request to synchronization control unit 24, with "S" surrounded by a dotted line indicating non-acceptance (failure) of the synchronization request and "S" surrounded by a solid line indicating acceptance of the synchronization request.
- the oval symbol s1A in (c) in Figure 3 indicates individual data 4a (data about slave unit 3A included in the measurement data) acquired by slave unit 3A when the synchronization request is accepted by synchronization control unit 24. In other words, when the synchronization request is accepted by synchronization control unit 24, reading unit 31 of slave unit 3A acquires individual data 4a for 10 pieces of time-shared data "1" to "0" indicated by symbol x1 in one cycle of machine tool 1.
- the reading unit 31 of the slave unit 3A sequentially acquires the individual data 4a indicated by symbols s2A, s3A, s4A, ... in Figure 3(c).
- the calculation unit 34 of the slave unit 3A (see Figure 1) performs the desired calculation processing based on the acquired individual data 4a and transmits the determination results from the calculation processing to the distribution control device 2.
- the "P" indicated in Figure 3(c) and the "P” indicated in Figures 3(d) to 3(g) described below indicate internal processing in each of the slave units 3A to 3E.
- (d) to (g) in Figure 3 show the timing of transmission of synchronization requests by slave units 3B to 3E.
- "S" indicates the timing when slave units 3B to 3E transmit a synchronization request to the synchronization control unit 24, with an "S" surrounded by a dotted line indicating non-acceptance (failure) of the synchronization request and an "S" surrounded by a solid line indicating acceptance of the synchronization request.
- oval symbols s1B, s1C, s1D, and s1E in (d) to (g) in Figure 3 respectively indicate individual data 4b to 4e (data about slave units 3B to 3E included in the measurement data) acquired by slave units 3B to 3E upon acceptance of a synchronization request by synchronization control unit 24.
- reading unit 31 of slave units 3B to 3E acquires individual data 4b to 4e for 10 pieces of time-shared data "1" to "0" indicated by symbol x1 in one cycle of machine tool 1.
- the reading units 31 of slave units 3B to 3E sequentially acquire the individual data 4b to 4e indicated by the symbols "s2B, s3B, s4B, ...,” “s2C, s3C, s4C, ...,” “s2D, s3D, s4D, ...,” and "s2E, s3E, s4E, " in (d) to (g) of Figure 3.
- the calculation units 34 of slave units 3B to 3E perform the desired calculation processing based on the acquired individual data 4b to 4e and transmit the results of the calculation processing to the distribution control device 2.
- the measurement data for the cycle indicated by the symbol x1 is received by the distribution control device 2.
- This measurement data is divided into individual data 4a-4e to be sent to each of the slave units 3A-3E and stored in the memory unit 26.
- the distribution control device 2 By accepting synchronization requests sent from each of the slave units 3A-3E, the distribution control device 2 transmits the individual data 4a-4e stored in the memory unit 26 to each of the slave units 3A-3E. As a result, the individual data 4a-4e read by each of the slave units 3A-3E is synchronized in time. Specifically, all of the individual data 4a-4e correspond to the time-sharing data "1" to "0" of the cycle of symbol x1 shown in Figure 3(a) and are data from the same period. Therefore, by using the judgment results obtained by the calculation unit 34 of each of the slave units 3A-3E, it is possible to evaluate the operation of the machine tool 1 with high accuracy. Furthermore, because the time-sharing data is divided by unit communication time, it is possible to transmit measurement data at fixed communication time intervals.
- Fig. 4(a) is a timing chart showing the measurement data output by the machine tool 1 in chronological order.
- Fig. 4(b) to (f) are timing charts showing the data requests output by the five terminals 5A to 5E connected to the machine tool 1 in chronological order.
- the horizontal axis indicates the passage of time.
- symbol x1 indicates the duration of one cycle of processing (e.g., drilling a hole) in machine tool 1.
- machine tool 1 detects ten cycles of measurement data ranging from “1" to "0" in one cycle indicated by symbol x1.
- the cycles indicated by symbols x2, x3, x4, ... are sequentially processed.
- the measurement data includes individual data to be sent to each terminal 5A-5E (referred to as "individual data 6a-6e").
- the first comparative example does not include the distribution control device 2 shown in Figure 1. Therefore, the measurement data output from the machine tool 1 is sent individually to each of the terminals 5A to 5E. Specifically, as shown in Figure 4(b), when a trace start signal Q is input to terminal 5A, terminal 5A sends a data request to the machine tool 1 at a predetermined timing (for example, at regular time intervals). When a trace end signal E is input to terminal 5A, terminal 5A stops sending the data request.
- FIG. 4 shows the timing at which terminal 5A sends a data request.
- “R” indicates the timing at which terminal 5A sends a data request, with an "R” surrounded by a dotted line indicating that the data request was not accepted (failed), and an "R” surrounded by a solid line indicating that the data request was accepted.
- the oval symbol r1A in (b) in Figure 4 indicates individual data 6a (data about terminal 5A included in the measurement data) acquired by terminal 5A when the data request was accepted by machine tool 1. In other words, when a data request is accepted by machine tool 1, terminal 5A acquires individual data 6a for 10 pieces of time-shared data "1" to "0" in one cycle of machine tool 1.
- the individual data 6a received at symbol r1A does not necessarily match the time-shared data of "1" to "0" indicated by symbol x1 on the machine tool 1.
- the measurement data indicated by symbol x1 in Figure 4(a) and the individual data indicated by symbol r1A in Figure 4(b) may not match in time.
- each terminal 5A to 5E independently transmits a data request, and when each of these is accepted by machine tool 1, each terminal 5A to 5E receives individual data 6a to 6e.
- each terminal 5A to 5E is not synchronized in time with the measurement data during period x1 shown in (a) of Figure 4.
- Figure 5 is an explanatory diagram showing individual data 6a to 6d acquired by terminals 5A to 5D sending data requests in the first comparative example.
- Figure 6 is an explanatory diagram showing individual data 4a to 4c acquired by slave units 3A to 3C sending synchronization requests in the first embodiment.
- the symbol x1 in Figures 5 and 6 indicates one cycle.
- each terminal 5A-5D independently acquires individual data 6a-6d, so the time-sharing data included in each individual data 6a-6d does not match in time with the measurement data for one cycle of the machine tool 1.
- the distribution control device 2 synchronizes the individual data 4a-4c between each of the slave units 3A-3C, so the time-sharing data included in each individual data 4a-4c matches in time with the measurement data for one cycle of the machine tool 1.
- each of the terminals 5A-5E shown in FIG. 4 independently sends a data request to the machine tool 1, and when this request is accepted, the individual data 6a-6e is acquired, so the determination results at each of the terminals 5A-5E are not synchronized.
- the distribution control device 2 by adopting the distribution control device 2 according to this embodiment, as shown in FIG. 3, the individual data 4a-4e received by each of the slave units 3A-3E is synchronized with one cycle's worth of data from the machine tool 1. As a result, the distribution control device 2 can obtain time-synchronized judgment results from each of the slave units 3A-3E, and can then transmit these judgment results to the machine tool 1. As a result, the machine tool 1 can obtain time-synchronized judgment results from each of the slave units 3A-3E, enabling the operation of the machine tool 1 to be evaluated with high accuracy.
- Fig. 7(a) is a timing chart showing measurement data output by the machine tool 1 in chronological order.
- Fig. 7(b) is a timing chart showing data requests output by the distribution control device 2 in chronological order.
- Fig. 7(c) to (g) are timing charts showing synchronization requests output by each of the slave units 3A to 3E in chronological order.
- the horizontal axis indicates the passage of time.
- symbol x1 indicates the duration of one cycle of processing in machine tool 1 (for example, drilling a hole).
- machine tool 1 detects ten cycles of measurement data ranging from "1" to "0".
- the cycles indicated by x2, x3, x4, ... are sequentially processed.
- the measurement data includes individual data 4a to 4e to be sent to each of slave units 3A to 3E.
- machine tool 1 receives a data request sent from distribution control device 2, it sends the measurement data to distribution control device 2.
- FIG. 7 shows the timing at which a data request is sent by the synchronization control unit 24.
- “R” indicates the timing at which the communication unit 21 sends a data request
- an "R” surrounded by a dotted line indicates that the data request was not accepted (failed)
- an "R” surrounded by a solid line indicates that the data request was accepted.
- the symbols r12, r34, ... shown as ellipses in (b) in Figure 7 indicate the measurement data acquired by the synchronization control unit 24 when a data request was accepted by the machine tool 1.
- the synchronization control unit 24 when a trace start signal Q is input, the synchronization control unit 24 outputs a data request to the machine tool 1 at a predetermined timing (for example, at regular time intervals). When a trace end signal E is input, the synchronization control unit 24 stops outputting the data request.
- Machine tool 1 decides whether to accept or reject the data request depending on the status of its internal processing. If machine tool 1 accepts a data request, it transmits two cycles of measurement data (20 times of time-shared data) to distribution control device 2. That is, while the first embodiment (see Figure 3) described above describes an example in which one cycle of measurement data (10 times of time-shared data) is transmitted to distribution control device 2, the second embodiment differs from the first embodiment in that two cycles of measurement data are transmitted.
- the synchronization control unit 24 receives this measurement data. That is, the synchronization control unit 24 receives the 20 pieces of time-division data indicated by symbols x1 and x2 in Figure 7(a). As a result, the data acquisition unit 22 acquires the measurement data indicated by symbol r12. The time-division data included in the measurement data r12 matches the time-division data "1" to "0" of the cycle indicated by symbol x1 and the time-division data "1" to "0" of the cycle indicated by symbol x2, a total of 20 pieces. Furthermore, when the next data request is accepted, the data acquisition unit 22 acquires the measurement data indicated by symbol r34, and then sequentially acquires the measurement data indicated by symbols r56, ... The measurement data indicated by symbol r34 in Figure 7(b) matches the time-division data "1" to "0" of the cycle indicated by symbols x3 and x4 in Figure 7(a).
- (c) in Figure 7 shows the timing at which slave unit 3A sends a synchronization request.
- "S” indicates the timing at which slave unit 3A sends a synchronization request to the synchronization control unit 24, with an "S" surrounded by a dotted line indicating non-acceptance (failure) of the synchronization request and an "S" surrounded by a solid line indicating acceptance of the synchronization request.
- the oval symbol s12A in (c) in Figure 7 indicates individual data 4a (data about slave unit 3A included in the measurement data) acquired by slave unit 3A when the synchronization request is accepted by the synchronization control unit 24.
- the reading unit 31 (see Figure 1) of slave unit 3A acquires a total of 20 pieces of time-shared data: 10 pieces of time-shared data "1" to "0" for the cycle indicated by symbol x1 of the machine tool 1, and 10 pieces of time-shared data "1" to "0” for the cycle indicated by symbol x2.
- the reading unit 31 of the slave unit 3A sequentially acquires the individual data 4a indicated by symbols s34A, s56A, ... in Figure 7(c).
- the calculation unit 34 of the slave unit 3A performs the desired calculation processing based on the acquired individual data 4a, and transmits the determination results from the calculation processing to the distribution control device 2.
- "P" in Figure 7(c) and “P” in Figures 7(d) to 7(g) described below indicate internal processing in each of the slave units 3A to 3E.
- (d) to (g) in Figure 7 show the timing of transmission of synchronization requests by slave units 3B to 3E.
- (d) to (g) in Figure 7 indicate the timing at which slave units 3B to 3E transmit synchronization requests to the synchronization control unit 24, with an "S" surrounded by a dotted line indicating non-acceptance (failure) of the synchronization request and an "S" surrounded by a solid line indicating acceptance of the synchronization request.
- the oval symbols s12B, s12C, s12D, and s12E in Figure 7 (d) to (g) indicate individual data 4b to 4e (data about slave units 3B to 3E included in the measurement data) acquired by slave units 3B to 3E upon acceptance of the synchronization request by the synchronization control unit 24.
- the reading units 31 of the slave units 3B-3E acquire a total of 20 pieces of time-division data: 10 pieces of time-division data "1" to "0" for the cycle indicated by symbol x1 of the machine tool 1, and 10 pieces of time-division data "1" to "0” for the cycle indicated by symbol x2.
- the reading unit 31 of each of the slave units 3B to 3E sequentially acquires the individual data 4b to 4e indicated by the symbols "s34B, s56B, ...,” “s34C, s56C, ...,” “s34D, s56D, ...,” and “s34E, s56E, " in (d) to (g) of Figure 7.
- the calculation unit 34 of each of the slave units 3B to 3E performs the desired calculation process based on the acquired individual data 4b to 4e and transmits the results of the calculation process to the distribution control device 2.
- the distribution control device 2 receives two cycles of measurement data indicated by the symbols x1 and x2. This measurement data is divided into individual data 4a to 4e to be sent to each of the slave units 3A to 3E and stored in the memory unit 26.
- the distribution control device 2 By accepting synchronization requests sent from each of the slave units 3A-3E, the distribution control device 2 transmits individual data 4a-4e to each of the slave units 3A-3E.
- the individual data 4a-4e (20 pieces of time-shared data) read by each of the slave units 3A-3E are synchronized in time.
- all of the individual data 4a-4e correspond to the two cycles of time-shared data marked x1 and x2 in Figure 7(a) and are data from the same period. Therefore, by using the judgment results obtained by calculations in the calculation unit 34 of each of the slave units 3A-3E, it is possible to evaluate the operation of the machine tool 1 with high accuracy.
- Fig. 8(a) is a timing chart showing measurement data output by machine tool 1 in chronological order.
- Fig. 8(b) is a timing chart showing data requests output by distribution control device 2 in chronological order.
- Fig. 8(c) to (g) are timing charts showing synchronization requests output by each of slave units 3A to 3E in chronological order.
- the horizontal axis indicates the passage of time.
- symbol x1 indicates the duration of one cycle of processing in machine tool 1 (for example, drilling a hole).
- machine tool 1 detects ten cycles of measurement data ranging from "1" to "0".
- the cycles indicated by x2, x3, x4, ... are sequentially processed.
- the measurement data includes individual data 4a to 4e to be sent to each of slave units 3A to 3E.
- machine tool 1 receives a data request sent from distribution control device 2, it sends the measurement data to distribution control device 2.
- FIG. 8 shows the timing at which a data request is sent by the synchronization control unit 24.
- “R” indicates the timing at which the communication unit 21 sends a data request
- an "R” surrounded by a dotted line indicates that the data request was not accepted (failed)
- an "R” surrounded by a solid line indicates that the data request was accepted.
- the symbols r123, r456, ... shown as ellipses in (b) in Figure 8 indicate the measurement data acquired by the synchronization control unit 24 when a data request was accepted by the machine tool 1.
- the synchronization control unit 24 when a trace start signal Q is input, the synchronization control unit 24 outputs a data request to the machine tool 1 at a predetermined timing (for example, at regular time intervals). When a trace end signal E is input, the synchronization control unit 24 stops outputting the data request.
- the machine tool 1 decides whether to accept or reject the data request depending on the status of its internal processing. If the machine tool 1 accepts the data request, it transmits three cycles of measurement data (30 times of time-shared data) to the distribution control device 2. That is, while the second embodiment (see Figure 7) described above describes an example in which two cycles of measurement data (20 times of time-shared data) are transmitted to the distribution control device 2, the second comparative example differs from the second embodiment in that three cycles of measurement data are transmitted.
- the synchronization control unit 24 receives this measurement data. That is, the synchronization control unit 24 receives the 30 pieces of time-division data indicated by symbols x1, x2, and x3 in Figure 8(a). As a result, the data acquisition unit 22 acquires the measurement data indicated by symbol r123.
- the time-division data included in the measurement data r123 matches the time-division data "1" to "0" of the cycle indicated by symbol x1, the time-division data "1" to "0” of the cycle indicated by symbol x2, and the time-division data "1" to "0” of the cycle indicated by symbol x3, a total of 30 pieces. Furthermore, when the next data request is accepted, the data acquisition unit 22 acquires the measurement data indicated by symbol r456.
- (c) in Figure 8 shows the timing at which slave unit 3A transmits a synchronization request.
- "S” indicates the timing at which slave unit 3A transmits a synchronization request to the synchronization control unit 24, with an "S" surrounded by a dotted line indicating non-acceptance (failure) of the synchronization request and an "S" surrounded by a solid line indicating acceptance of the synchronization request.
- the oval symbol s123A in (c) in Figure 8 indicates individual data 4a (data about slave unit 3A included in the measurement data) acquired by slave unit 3A when the synchronization request is accepted by the synchronization control unit 24.
- the reading unit 31 (see Figure 1) of slave unit 3A acquires a total of 30 pieces of time-shared data: 10 pieces of time-shared data "1" to "0" for the cycle indicated by symbol x1 of the machine tool 1, 10 pieces of time-shared data "1" to "0” for the cycle indicated by symbol x2, and 10 pieces of time-shared data "1" to "0” for the cycle indicated by symbol x3.
- the reading unit 31 of the slave unit 3A sequentially acquires the individual data 4a indicated by symbols s456A, ... in Figure 8(c).
- the calculation unit 34 of the slave unit 3A performs the desired calculation process based on the acquired individual data 4a, and transmits the determination results from this calculation to the distribution control device 2.
- "P" in Figure 8(c) and "P” in Figures 8(d) to 8(g) described below indicate internal processing in each of the slave units 3A to 3E.
- (d) to (g) in Figure 8 show the timing of transmission of synchronization requests by slave units 3B to 3E.
- (d) to (g) in Figure 8 indicate the timing at which slave units 3B to 3E transmit synchronization requests to the synchronization control unit 24, with an "S" surrounded by a dotted line indicating non-acceptance (failure) of the synchronization request and an "S" surrounded by a solid line indicating acceptance of the synchronization request.
- oval symbols s123B, s123C, s123D, and s123E in (d) to (g) in Figure 8 indicate individual data 4b to 4e (data about slave units 3A to 3E included in the measurement data) acquired by slave units 3B to 3E upon acceptance of the synchronization request by the synchronization control unit 24, respectively.
- the reading units 31 of the slave units 3B-3E acquire a total of 30 pieces of time-sharing data: 10 pieces of time-sharing data "1" to “0” for the cycle indicated by reference symbol x1 of the machine tool 1, 10 pieces of time-sharing data "1” to “0” for the cycle indicated by reference symbol x2, and 10 pieces of time-sharing data "1" to "0” for the cycle indicated by reference symbol x3.
- the reading unit 31 of each of the slave units 3B to 3E sequentially acquires the individual data 4b to 4e indicated by the symbols "s456B, !, “s456C, !, “s456D, !, and “s456E, " in (d) to (g) of Figure 8.
- the calculation unit 34 of each of the slave units 3B to 3E performs the desired calculation process based on the acquired individual data 4b to 4e, and transmits the results of the calculation process to the distribution control device 2.
- the number of time-shared data items is 10 or 20, and the amount of calculations processed at one time by each of the slave units 3A-3E is 10 or 20 pieces of time-shared data.
- a synchronization request is accepted for each of multiple pieces of time-series data, as long as the number of time-shared data items executed in one calculation process by each of the slave units 3A-3E does not exceed a predetermined upper limit (for example, 20).
- a predetermined upper limit for example, 20
- the number of time-shared data items is 30, and the number of time-shared data items executed by each of the slave units 3A to 3E in one calculation process exceeds the specified upper limit.
- the amount of calculations processed at one time increases, and the time required for calculations exceeds the standby time.
- the synchronization control unit 24 of the distribution control device 2 accepts synchronization requests transmitted from each of the slave units 3A-3E for each of multiple time-series data, as long as the number of time-shared data does not exceed a predetermined upper limit. Furthermore, the synchronization control unit 24 synchronizes the judgment results transmitted from each of the slave units 3A-3E and transmits them to the machine tool 1. Therefore, the machine tool 1 can obtain synchronized judgment results from each of the slave units 3A-3E, enabling highly accurate evaluation using the judgment results.
- the communication unit 11, communication unit 21, inter-process communication unit 29, reading unit 31, and synchronization unit 32 have a wireless communication I/F or a wired communication I/F.
- the machine tool 1 and the distribution control device 2 are integrated, or if the distribution control device 2 and each of the slave units 3A-3E are integrated, the machine tool 1, distribution control device 2, and each of the slave units 3A-3E may be directly connected by wiring to send and receive signals directly.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Numerical Control (AREA)
Abstract
分配制御装置(2)及び分配制御方法は、機器(1)に対して測定データの送信を要求するデータ要求を出力し、前記データ要求が機器(1)により受理されると前記測定データを機器(1)から取得し、前記取得した測定データを、機器(1)の作動に連動して作動する複数の子機(3A~3E)のそれぞれに分配する個別データに区分し、前記測定データを取得した後に、各子機(3A~3E)から送信される同期要求を受理し、前記同期要求を受理すると前記区分した個別データを各子機(3A~3E)に送信し、前記区分した個別データに基づく各子機(3A~3E)から送信された判定結果どうしを同期させ、前記同期させた判定結果を機器(1)に送信する。
Description
本発明は、分配制御装置及び分配制御方法に関する。
穴あけ加工機などの工作機械は、穴開け加工機の動作量を計算する計算装置、穴開け加工機が正確に作動しているか否かを判定する判定装置などの複数の子機に連結されている。工作機械と各子機とは、無線或いは有線にて連結されデータ通信が行なわれる。工作機械に複数の子機を連結することにより、例えば工作機械にてワークに穴あけ加工する場合に、工作機械が正常に作動しているか否かの判定を並列処理し、リアルタイムで監視することが可能になる。
従来において、工作機械などの機器に連結される複数の子機どうしは連動しておらず、それぞれが独自のタイミングで作動していた。このため、各子機において機器のデータを読み取るタイミングが一致しない場合があり、各子機において検出したデータを適正に把握することができない。
例えば、第1の子機において時刻t0でデータ検出を開始して、機器の1サイクル分となる時間TのデータDaを取得したとする。また、第2の子機において時刻t0よりも遅い時刻t1でデータ検出を開始して、時間TのデータDbを取得したとする。この場合、データDaとデータDbとは、検出の開始時刻及び終了時刻に時間差が生じているので、単純に比較することができない。
特許文献1は、マスタから複数のスレーブに対して測定開始信号などのデータを送信する場合には、スレーブごとに信号の受信タイミングが異なる場合があるため、送信データに遅延時間を付加することにより、各スレーブにおける送信データの受信タイミングを揃えることを開示している。
特許文献1の技術では、各スレーブにおいて送信データの受信タイミングを揃えることができるものの、各スレーブに分担されている処理の結果を、それぞれ独自のタイミングで機器に送信しているため、機器側では、各スレーブによる処理結果をランダムなタイミングで受信することになる。その結果、各スレーブにおける処理結果を統一して工作機械の作動を評価することができない。
本発明は、機器のサイクル開始時刻に各機器を同期させ、且つ各子機における判定結果を同期させて機器に送信することが可能な分配制御装置及び分配制御方法を提供することを目的とする。
本発明の実施形態に係る分配制御装置は、制御部と、機器と通信する第1通信部と、前記機器の作動に連動して作動する複数の子機と通信する第2通信部と、を備える。前記制御部は、前記機器に対して測定データの送信を要求するデータ要求を前記第1通信部を介して出力し、前記データ要求が前記機器により受理されると、前記測定データを前記機器から前記第1通信部を介して取得し、前記取得した測定データを各子機に分配する個別データに区分し、
前記測定データを取得した後に、各子機から送信される同期要求を受理し、前記同期要求を受理すると、前記区分した個別データを前記第2通信部を介して各子機に送信し、前記区分した個別データに基づく各子機から送信された判定結果どうしを同期させ、前記同期させた判定結果を前記第1通信部を介して前記機器に送信する。
前記測定データを取得した後に、各子機から送信される同期要求を受理し、前記同期要求を受理すると、前記区分した個別データを前記第2通信部を介して各子機に送信し、前記区分した個別データに基づく各子機から送信された判定結果どうしを同期させ、前記同期させた判定結果を前記第1通信部を介して前記機器に送信する。
本発明の実施形態に係る分配制御方法は、制御部により実行される分配制御方法であって、機器に対して測定データの送信を要求するデータ要求を第1通信部を介して出力することと、前記データ要求が前記機器により受理されると、前記測定データを前記機器から前記第1通信部を介して取得することと、前記取得した測定データを、前記機器の作動に連動して作動する複数の子機のそれぞれに分配する個別データに区分することと、前記測定データを取得した後に、各子機から送信される同期要求を受理することと、前記同期要求を受理すると、前記区分した個別データを第2通信部を介して各子機に送信することと、前記区分した個別データに基づく各子機から送信された判定結果どうしを同期させることと、前記同期させた判定結果を前記第1通信部を介して前記機器に送信することと、を備える。
上記構成によれば、機器のサイクル開始時刻に各機器を同期させ、且つ各子機における処理結果を同期させて機器に送信することが可能になる。
以下、実施形態について図面を参照して説明する。図1は、実施形態に係る分配制御装置2、及び分配制御装置2に接続される工作機械1(機器)、複数の子機3A~3Eの構成を示すブロック図である。図1に示す分配制御装置2と工作機械1との間、分配制御装置2と各子機3A~3Eとの間は、無線或いは有線により接続され、データ通信が可能とされている。
工作機械1は、スピンドルモータM1及びエンコーダE1と、サーボモータM2、M3及びエンコーダE2、E3を備えている。工作機械1は、通信部11と、シーケンス制御部12と、数値制御部13と、電力増幅部14、15を備えている。工作機械1は、例えば穴開けドリルである。工作機械1は、機器の一例である。
シーケンス制御部12及び数値制御部13は、スピンドルモータM1及びサーボモータM2、M3の駆動を制御する。電力増幅部14は、スピンドルモータM1に供給する電力を増幅する。電力増幅部15は、サーボモータM2、M3に供給する電力を増幅する。
通信部11は、分配制御装置2との間でデータの送受信を行う。通信部11は、工作機械1のエンコーダE1~E3で検出したNCデータなどの測定データを取得し、分配制御装置2に送信する。測定データは、各子機3A~3Eに送信するデータ(以下「個別データ」という)を含む。本実施形態では、各子機3A~3Eに送信する個別データをそれぞれ個別データ4a~4eとする。
測定データは、工作機械1の動作の1サイクルを複数に区分した時分割データを1つの組とした時系列データを、複数組み合わせたデータである。「1サイクル」とは、工作機械1が穴開け加工機の場合には、例えばドリルの回転を開始してからワークに穴開け加工して、ドリルの回転を停止するまでの一連の処理が終了するまでの期間である。時分割データは、例えば工作機械1と分配制御装置2との間でのデータ通信を行う際の単位通信時間で区分することができる。
通信部11は、分配制御装置2からトレース開始信号(後述する図3に示す「Q」)が送信されたときに測定データのトレースを開始し、トレース終了信号(図3に示す「E」)が送信されたときに測定データのトレースを終了する。通信部11は、測定データのトレースを開始し、データ数(後述する時分割データの数)が所定数に達したときに、データ要求(詳細は後述)を受理し、測定データを分配制御装置2に送信する。
通信部11は、分配制御装置2から送信された判定結果(詳細は後述)を受信する。
分配制御装置2は、工作機械1(機器)と、工作機械1の作動に連動して作動する複数の子機3A~3Eとの間で送受信するデータを分配する。分配制御装置2は、通信部21(第1通信部)と、データ取得部22と、判定通知部23と、同期制御部24と、データ分配部25と、記憶部26と、インターロック部28a~28eと、プロセス間通信部29(第2通信部)、を備えている。
通信部21は、工作機械1の通信部11との間でデータの送受信を行う。具体的に通信部21は、工作機械1にトレース開始信号、及びトレース終了信号を出力する。通信部21は、同期制御部24から一定の時間間隔でデータ要求が出力されたときに、このデータ要求を工作機械1に送信する。「データ要求」とは、工作機械1に対して測定データの送信を要求するための信号を指す。
通信部21は、データ要求が工作機械1にて受理され、工作機械1から測定データが送信された際には、この測定データを受信し、データ取得部22に出力する。前述したように、測定データには各子機3A~3Eに送信する個別データ4a~4eが含まれている。なお、同期制御部24が出力するデータ要求は、一定の時間間隔に限定されるものではなく、任意のタイミングとしてもよい。通信部21は、同期制御部24から出力される判定結果(同期した判定結果)を工作機械1に送信する。「判定結果」は、後述する各演算部34による演算結果により導出されるデータを指す。
データ取得部22は、工作機械1から送信された測定データを取得し、取得した測定データを各子機3A~3Eに分配する個別データに区分する。データ取得部22は、個別データ4a~4eを同期制御部24に出力する。
同期制御部24は、一定の時間間隔で工作機械1に対してデータ要求を出力する。データ要求は、通信部21から工作機械1に送信される。工作機械1にてデータ要求が受理されると、工作機械1から測定データが送信される。
同期制御部24は、上記のデータ要求が工作機械1にて受理されると(例えば、同期制御部24が工作機械1から測定データを受信すると)、その後において各子機3A~3Eから送信される同期要求(詳細は後述)を受理する。「同期要求」とは、各子機3A~3Eが、分配制御装置2に対して測定データの送信を要求する信号を指す。同期制御部24は、工作機械1にてデータ要求が受理されるまでは、各子機3A~3Eから同期要求が送信されてもこれを受理しない。
同期制御部24は、工作機械1にてデータ要求が受理された後において、各子機3A~3Eから同期要求が送信された際には、この同期要求を受理する。同期制御部24は、工作機械1における同一サイクルの時系列データが各子機3A~3Eに送信されるように、各子機3A~3Eから送信される同期要求を受理することができる。
同期制御部24は、時分割データ数が所定の上限値を超えない範囲で、複数の時系列データごとに、各子機3A~3Eから送信される同期要求を受理することも可能である。「所定の上限値」は、工作機械1の動作の1サイクルが終了して次のサイクルが開始するまでのインターバルにおいて、各子機3A~3Eの演算処理を実行可能な時間に設定することができる。
同期制御部24は、各子機3A~3Eから送信される同期要求を受理すると、この同期要求に同期して各子機3A~3Eに個別データ4a~4eを送信する。即ち、同期制御部24は、工作機械1に対して、測定データの送信を要求するデータ要求を出力し、工作機械1にてデータ要求が受理された後に、各子機3A~3Eから送信される同期要求を受理する。同期制御部24は、各子機3A~3Eから送信された判定結果を同期させる。この判定結果は、通信部21から工作機械1に送信される。
同期制御部24は、各子機3A~3Eから判定結果が送信された際に、各判定結果を同期させて判定通知部23に出力する。
判定通知部23は、同期制御部24から一定の時間間隔で出力されるデータ要求を取得し、通信部21に出力する。判定通知部23は、各子機3A~3Eにおける演算処理で取得された判定結果を通信部21に出力する。
データ分配部25は、データ取得部22で取得、区分された個別データ4a~4eを記憶部26に出力する。
記憶部26は、各個別データ4a~4eを記憶する。
インターロック部28a~28e(図1では、「IR」と表記)は、同期制御部24にて同期させた各子機3A~3Eに個別データ4a~4eを送信したときの区切りを示すアドレスを記憶する。例えば今回の送信で個別データをx番地まで送信した場合に、次回の送信で(x+1)番地から送信するように、アドレスを記憶する。
プロセス間通信部29は、同期制御部24で同期したタイミングで、データ取得部22で取得された各個別データ4a~4eを、各子機3A~3Eに送信する。プロセス間通信部29は、各子機3A~3Eから送信される判定結果を受信し、同期制御部24に出力する。即ち、プロセス間通信部29は、各子機3A~3Eから送信される同期要求が同期制御部24にて受理されたとき、測定データに含まれる各子機3A~3Eに対応する個別データを各子機3A~3Eに送信する第2通信部としての機能を備えている。
分配制御装置2は、例えば、中央演算ユニット(CPU)や、RAM、ROM、ハードディスク等の記憶手段からなる一体型のコンピュータとして構成することができる。データ取得部22、判定通知部23、同期制御部24、データ分配部25は、分配制御装置2の制御部を構成する。
次に、図1に示す子機3A~3Eについて説明する。なお、各子機3A~3Eは同一構成を有しているので、以下では子機3Aについての構成について説明する。
子機3Aは、読込部31と、同期部32と、制御部33と、演算部34を備えている。
読込部31は、分配制御装置2から送信される個別データ4aを読み込む。即ち、読込部31は、分配制御装置2から子機3Aに対応する個別データ4aが送信された際に、この個別データ4aを読み込む。
同期部32は、制御部33から後述する同期指令が出力された際に、分配制御装置2に同期要求を出力する。同期部32は、同期要求が分配制御装置2にて受理されたか否かを判定する。同期要求が受理された場合に、読込部31は、分配制御装置2から送信される個別データ4aを読み込む。
同期部32は、演算部34による判定結果を分配制御装置2に送信する。
制御部33は、読込部31で取得した個別データ4aを演算部34に出力し、演算部34における判定結果を取得する。制御部33は、所定のタイミング(例えば、一定の時間間隔)で同期部32に同期指令を出力する。上述したように、同期部32は同期指令の出力に応じて分配制御装置2に同期要求を出力する。
演算部34は、個別データ4aに基づいて演算処理を実行する。例えば、子機3Aが回転トルクの測定装置である場合には、トレース開始信号に同期した個別データ4a(例えば、NCデータ)に基づいて回転トルクを演算する。演算部34は、この演算結果が正常値であるか否かの判定結果を、制御部33に出力する。この判定結果は、制御部33、同期部32を経由して分配制御装置2に送信される。
図1に示す子機3B~3Eについても子機3Aと同様の構成であるので、構成説明を省略する。
次に、図2に示すタイミングチャートを参照して、同期制御部24と、各子機3A、3Bとの間のデータの送受信について説明する。
図2において、(1a)~(1e)は同期制御部24の動作を示し、(2a)~(2f)は子機3Aの動作を示し、(3a)~(3f)は子機3Bの動作を示している。なお、子機3C~3Eについては記載を省略している。
図2の(1a)に示す時刻t1において工作機械1のサイクルが開始すると、子機3A、3Bは、図2の(2a)、(3a)に示す時刻t2にて個別データ4a、4bの読み取りを開始する。
図2の(1b)の時刻t3において同期制御部24は、ライトポインタを更新する。図2の(2b)、(3b)の時刻t4において、子機3A、3Bは個別データ4a、4bを取り込む。図2の(2c)、(3c)の時刻t5において、子機3A、3Bはリードポインタを更新する。
図2の(1b)の時刻t6において同期制御部24は、再度ライトポインタを更新する。図2の(2b)、(3b)の時刻t7において、子機3A、3Bは個別データ4a、4bを取り込む。図2の(2c)、(3c)の時刻t8において、子機3A、3Bはリードポインタを更新する。
図2の(1b)の時刻t9において同期制御部24は、再度ライトポインタを更新する。図2の(2b)、(3b)の時刻t10において、子機3A、3Bは個別データ4a、4bを取り込む。図2の(2c)、(3c)の時刻t11において子機3A、3Bはリードポインタを更新する。
図2の(1c)の時刻t12においてサイクルが終了すると、図2の(2d)、(3d)に示す時刻t13において、子機3A、3Bは個別データ4a、4bの読み取りを終了する。
図2の(2e)、(3e)の時刻t14において、子機3A、3Bにより判定結果の通知が出力されると、図2の(1d)の時刻t15において、同期制御部24に判定結果が通知される。その後、図2の(2f)、(3f)の時刻t16において、子機3A、3Bがリセットされ、図2の(1e)の時刻t17において、同期制御部24がリセットされる。図2に示す期間L0においては、次のサイクルに備えるため、一定時間は強制的にデータの送信をリセットする。
(第1実施例の説明)
次に、本実施形態に係る分配制御装置2の第1実施例の処理手順について、図3に示すタイミングチャートを参照して説明する。図3の(a)は、工作機械1が出力する測定データ(例えば、NCデータ)を時系列的に示すタイミングチャートである。図3の(b)は、分配制御装置2の同期制御部24が出力するデータ要求を時系列的に示すタイミングチャートである。図3の(c)~(g)は、各子機3A~3Eが出力する同期要求をそれぞれ時系列的に示すタイミングチャートである。図3のタイミングチャートにおいて、横軸は時間経過を示す。
次に、本実施形態に係る分配制御装置2の第1実施例の処理手順について、図3に示すタイミングチャートを参照して説明する。図3の(a)は、工作機械1が出力する測定データ(例えば、NCデータ)を時系列的に示すタイミングチャートである。図3の(b)は、分配制御装置2の同期制御部24が出力するデータ要求を時系列的に示すタイミングチャートである。図3の(c)~(g)は、各子機3A~3Eが出力する同期要求をそれぞれ時系列的に示すタイミングチャートである。図3のタイミングチャートにおいて、横軸は時間経過を示す。
図3の(a)において、符号x1は、工作機械1における1回の加工処理(例えば、ドリルによる穴あけ加工)の内の1サイクルを示す。工作機械1は、符号x1に示す1サイクルにおいて、「1」~「0」の10回分の測定データを取得する。また、1サイクルの処理が終了すると、順次x2、x3、x4、・・・に示すサイクルの処理が行なわれる。以下、10回に分割した個々の測定データを「時分割データ」という。時分割データは、工作機械1が1回の通信単位で各子機3A~3Eに送信する測定データとすることができる。前述したように、測定データには、各子機3A~3Eに送信する個別データ4a~4eが含まれている。工作機械1は、分配制御装置2から送信されるデータ要求を受理すると、測定データを分配制御装置2に送信する。
図3の(b)は、同期制御部24によるデータ要求の送信タイミングを示している。図3の(b)において、「R」は通信部21がデータ要求を送信するタイミングを示し、点線で囲まれた「R」はデータ要求の不受理(失敗)、実線で囲まれた「R」はデータ要求の受理を示している。図3の(b)に楕円で示す符号r1、r2、・・・は、工作機械1にてデータ要求が受理されて同期制御部24が取得した測定データを示している。
図3の(b)に示すように、同期制御部24は、トレース開始信号Qが入力されると、所定のタイミング(この例では、一定の時間間隔)で、工作機械1にデータ要求を出力する。同期制御部24は、トレース終了信号Eが入力されるとデータ要求の出力を終了する。トレース開始信号Qは、分配制御装置2から工作機械1に対して測定データ(例えば、NCデータ)のトレース開始を要求するための信号である。トレース終了信号Eは、分配制御装置2から工作機械1に対して測定データのトレース終了を要求するための信号である。
工作機械1は、トレースされた測定データが所定数に達すると、データ要求を受理する。工作機械1は、データ要求を受理した場合には、1サイクルの測定データ(10回分の時分割データ)を分配制御装置2に送信する。通信部21は、この測定データを受信する。即ち、通信部21は、図3の(a)の符号x1に示す10個の時分割データ「1」~「0」を受信する。なお、時分割データの個数は10個に限定されるものではない。
その結果、データ取得部22は、符号r1に示す測定データを取得する。取得した測定データは、同期制御部24に出力される。測定データr1に含まれる時分割データは、符号x1の時分割データ「1」~「0」と一致する。更に、データ取得部22は、次回のデータ要求が受理されると、符号r2に示す測定データを取得し、その後順次符号r3、r4、・・・に示す測定データを取得する。図3の(b)の符号r2~r4に示す測定データは、図3の(a)に示す符号x2~x4に示すサイクルの各時分割データ「1」~「0」と一致する。
図3の(c)は、子機3Aによる同期要求の送信タイミングを示している。図3の(c)において、「S」は子機3Aが同期制御部24に同期要求を送信するタイミングを示し、点線で囲まれた「S」は同期要求の不受理(失敗)、実線で囲まれた「S」は同期要求の受理を示している。図3の(c)に楕円で示す符号s1Aは、同期制御部24にて同期要求が受理されて子機3Aが取得した個別データ4a(測定データに含まれる子機3Aについてのデータ)を示している。即ち、同期制御部24にて同期要求が受理されると子機3Aの読込部31は、工作機械1における1サイクルにおいて符号x1に示す10個分の時分割データ「1」~「0」における個別データ4aを取得する。
更に、子機3Aの読込部31は、次回以降の同期要求が受理されると、順次図3の(c)の符号s2A、s3A、s4A、・・・に示す個別データ4aを取得する。子機3Aの演算部34(図1参照)は、取得した個別データ4aに基づいて所望の演算処理を実施し、演算処理による判定結果を分配制御装置2に送信する。図3の(c)に示す「P」及び後述する図3の(d)~(g)に示す「P」は、各子機3A~3Eにおける内部処理を示す。
図3の(d)~(g)は、子機3B~3Eによる同期要求の送信タイミングを示している。図3の(c)と同様に、図の(d)~(g)において、「S」は子機3B~3Eが同期制御部24に同期要求を送信するタイミングを示し、点線で囲まれた「S」は同期要求の不受理(失敗)、実線で囲まれた「S」は同期要求の受理を示している。図3の(d)~(g)に楕円で示す符号s1B、s1C、s1D、s1Eは、それぞれ同期制御部24にて同期要求が受理されて子機3B~3Eが取得した個別データ4b~4e(測定データに含まれる子機3B~3Eについてのデータ)を示している。即ち、同期制御部24にて同期要求が受理されると子機3B~3Eの読込部31は、工作機械1における1サイクルにおいて符号x1に示す10個分の時分割データ「1」~「0」における個別データ4b~4eを取得する。
更に、子機3B~3Eの読込部31は、次回以降の同期要求が受理されると、順次図3の(d)~(g)の符号「s2B、s3B、s4B、・・・」、「s2C、s3C、s4C、・・・」、「s2D、s3D、s4D、・・・」、「s2E、s3E、s4E、・・・」に示す個別データ4b~4eを取得する。子機3B~3Eの演算部34は、取得した個別データ4b~4eに基づいて所望の演算処理を実施し、演算処理による判定結果を分配制御装置2に送信する。
即ち、分配制御装置2が送信したデータ要求が工作機械1にて受理され、工作機械1から分配制御装置2に測定データ(例えば、NCデータ)が送信されると、分配制御装置2にて符号x1に示すサイクルの測定データが受信される。この測定データは、各子機3A~3Eに送信する個別データ4a~4eに区分され、記憶部26に記憶される。
分配制御装置2は、各子機3A~3Eから送信される同期要求を受理することにより、記憶部26に記憶された個別データ4a~4eを各子機3A~3Eにそれぞれ送信する。このため、各子機3A~3Eにて読み込まれる個別データ4a~4eは、それぞれが時間的に同期したデータとなる。具体的には、全ての個別データ4a~4eは、図3の(a)に示した符号x1のサイクルの時分割データ「1」~「0」に対応しており、同一期間におけるデータである。従って、各子機3A~3Eの演算部34にて得られる判定結果を用いることにより、工作機械1の作動を高精度に評価することが可能になる。また、時分割データを、単位通信時間で区分するので、一定の通信時間ごとに測定データを送信することが可能になる。
(第1比較例の説明)
次に、本実施形態に係る分配制御装置2を使用せずに測定データの送信を実施したときの処理(第1比較例)について、図4に示すタイミングチャートを参照して説明する。図4の(a)は、工作機械1が出力する測定データを時系列的に示すタイミングチャートである。図4の(b)~(f)は、工作機械1に接続される5個の端末5A~5Eが出力するデータ要求をそれぞれ時系列的に示すタイミングチャートである。図4のタイミングチャートにおいて、横軸は時間経過を示している。
次に、本実施形態に係る分配制御装置2を使用せずに測定データの送信を実施したときの処理(第1比較例)について、図4に示すタイミングチャートを参照して説明する。図4の(a)は、工作機械1が出力する測定データを時系列的に示すタイミングチャートである。図4の(b)~(f)は、工作機械1に接続される5個の端末5A~5Eが出力するデータ要求をそれぞれ時系列的に示すタイミングチャートである。図4のタイミングチャートにおいて、横軸は時間経過を示している。
図4の(a)において符号x1は、工作機械1における処理(例えば、ドリルによる穴あけ加工)の1サイクルの期間を示す。図3と同様に、工作機械1は、符号x1に示す1サイクルにおいて、「1」~「0」の10回分の測定データを検出する。また、1サイクルの処理が終了すると、順次符号x2、x3、x4、・・・に示すサイクルの処理が行なわれる。測定データには、各端末5A~5Eに送信する個別データ(これを「個別データ6a~6e」とする)が含まれている。
第1比較例では、図1に示した分配制御装置2を備えていない。従って、工作機械1から出力される測定データは、それぞれ個別に各端末5A~端末5Eに送信される。具体的には、図4の(b)に示すように、端末5Aにトレース開始信号Qが入力されると、端末5Aは所定のタイミング(例えば、一定の時間間隔)で、工作機械1にデータ要求を送信する。端末5Aにトレース終了信号Eが入力されると、端末5Aはデータ要求の送信を終了する。
図4の(b)は、端末5Aによるデータ要求の送信タイミングを示している。図4の(b)において、「R」は端末5Aがデータ要求を送信するタイミングを示し、点線で囲まれた「R」はデータ要求の不受理(失敗)、実線で囲まれた「R」はデータ要求の受理を示している。図4の(b)に楕円で示す符号r1Aは、工作機械1にてデータ要求が受理されて端末5Aが取得した個別データ6a(測定データに含まれる端末5Aについてのデータ)を示している。即ち、工作機械1にてデータ要求が受理されると端末5Aは、工作機械1における1サイクルにおいて10個分の時分割データ「1」~「0」についての個別データ6aを取得する。
この際、符号r1Aで受信する個別データ6aは、工作機械1の符号x1に示す「1」~「0」の時分割データと一致するとは限らない。例えば、符号x1の「3」~「0」の8個と、期間x2の「1」、「2」の2個の、合計10個の時分割データになる可能性がある。つまり、図4の(a)の符号x1に示す測定データと、図4の(b)の符号r1Aに示す個別データは、時間が一致しない可能性がある。
図4の(c)~図4の(f)は、端末5B~5Eによるデータ要求の送信タイミングを示している。端末5B~5Eについても、上記した端末5Aと同様に、符号r1B、r1C、r1D、r1Eで受信する個別データ6b~6eは、工作機械1の符号x1に示す「1」~「0」の時分割データと一致するとは限らない。即ち第1比較例では、各端末5A~5Eがそれぞれ独立してデータ要求を送信し、これらのそれぞれが工作機械1で受理されたときに、各端末5A~5Eにおいて個別データ6a~6eを受信するので、各端末5A~5Eで受信される個別データ6a~6eは、図4の(a)に示す期間x1における測定データと時間的に同期しない。また、符号「r2A、r2B、r2C、r2D、r2E」、「r3A、r3B、r3C、r3D、r3E」、「r4A、r4B、r4C、r4D、r4E」についても同様である。
以下、図5、図6を参照して、第1実施例による処理(図3)と第1比較例による処理(図4)の相違について説明する。図5は、第1比較例において端末5A~端末5Dがデータ要求を送信して取得した個別データ6a~6dを示す説明図である。図6は、第1実施例において子機3A~子機3Cが同期要求を送信して取得した個別データ4a~4cを示す説明図である。図5、図6に示す符号x1が1サイクルを示している。
図5に示すように、第1比較例では各端末5A~5Dがそれぞれ単独で個別データ6a~6dを取得するので、各個別データ6a~6dに含まれる時分割データは、工作機械1の1サイクルにおける測定データと時間が一致しない。これに対して第1実施例では、図6に示すように、分配制御装置2により各子機3A~3Cとの間で個別データ4a~4cを同期させているので、各個別データ4a~4cに含まれる時分割データは、工作機械1の1サイクルにおける測定データと時間が一致する。
即ち、本実施形態に係る分配制御装置2を使用しない第1比較例では、図4に示す各端末5A~5Eがそれぞれ単独に工作機械1にデータ要求を送信し、これが受理された時点で個別データ6a~6eを取得しているので、各端末5A~5Eでの判定結果が同期しない。
これに対して、本実施形態に係る分配制御装置2を採用することにより、図3に示したように、各子機3A~3Eで受信される個別データ4a~4eは、工作機械1の1サイクル分のデータに同期する。このため、分配制御装置2は、時間的に同期した判定結果を各子機3A~3Eから取得することができ、更にこれらの判定結果を工作機械1に送信することができる。従って、工作機械1では各子機3A~3Eから時間的に同期した判定結果を取得することができ、工作機械1の作動を高精度に評価することが可能になる。
(第2実施例の説明)
次に、本実施形態の第2実施例に係る分配制御装置2の処理手順について、図7に示すタイミングチャートを参照して説明する。図7の(a)は、工作機械1が出力する測定データを時系列的に示すタイミングチャートである。図7の(b)は、分配制御装置2が出力するデータ要求を時系列的に示すタイミングチャートである。図7の(c)~(g)は、各子機3A~3Eが出力する同期要求をそれぞれ時系列的に示すタイミングチャートである。図7のタイミングチャートにおいて、横軸は時間経過を示している。
次に、本実施形態の第2実施例に係る分配制御装置2の処理手順について、図7に示すタイミングチャートを参照して説明する。図7の(a)は、工作機械1が出力する測定データを時系列的に示すタイミングチャートである。図7の(b)は、分配制御装置2が出力するデータ要求を時系列的に示すタイミングチャートである。図7の(c)~(g)は、各子機3A~3Eが出力する同期要求をそれぞれ時系列的に示すタイミングチャートである。図7のタイミングチャートにおいて、横軸は時間経過を示している。
図7の(a)において符号x1は、工作機械1における処理(例えば、ドリルによる穴あけ加工)の1サイクルの期間を示す。工作機械1は、符号x1に示す1サイクルにおいて、「1」~「0」の10回分の測定データを検出する。また、1サイクルの処理が終了すると、順次x2、x3、x4、・・・に示すサイクルの処理が行なわれる。前述したように、測定データには、各子機3A~3Eに送信する個別データ4a~4eが含まれている。工作機械1は、分配制御装置2から送信されるデータ要求を受理すると、測定データを分配制御装置2に送信する。
図7の(b)は、同期制御部24によるデータ要求の送信タイミングを示している。図7の(b)において、「R」は通信部21がデータ要求を送信するタイミングを示し、点線で囲まれた「R」はデータ要求の不受理(失敗)、実線で囲まれた「R」はデータ要求の受理を示している。図7の(b)に楕円で示す符号r12、r34、・・・は、工作機械1にてデータ要求が受理されて同期制御部24が取得した測定データを示している。
図7の(b)に示すように、同期制御部24は、トレース開始信号Qが入力されると、所定のタイミング(例えば、一定の時間間隔)で、工作機械1にデータ要求を出力する。同期制御部24は、トレース終了信号Eが入力されるとデータ要求の出力を終了する。
工作機械1は、内部処理の状況に応じてデータ要求の受理、不受理を決定する。工作機械1は、データ要求を受理した場合には、2サイクルの測定データ(20回分の時分割データ)を分配制御装置2に送信する。即ち、前述した第1実施例(図3参照)では、1サイクルの測定データ(10回分の時分割データ)を分配制御装置2に送信する例について説明したが、第2実施例では、2サイクルの測定データを送信する点で第1実施例と相違する。
同期制御部24は、この測定データを受信する。即ち、同期制御部24は、図7の(a)の符号x1、x2に示す20個の時分割データを受信する。その結果、データ取得部22は、符号r12に示す測定データを取得する。測定データr12に含まれる時分割データは、符号x1に示すサイクルの時分割データ「1」~「0」及び符号x2に示すサイクルの時分割データ「1」~「0」の合計20個と一致する。更に、データ取得部22は、次回のデータ要求が受理されると、符号r34に示す測定データを取得し、その後順次符号r56、・・・に示す測定データを取得する。図7の(b)の符号r34に示す測定データは、図7の(a)に示す符号x3、x4に示すサイクルの各時分割データ「1」~「0」と一致する。
図7の(c)は、子機3Aによる同期要求の送信タイミングを示している。図7の(c)において、「S」は子機3Aが同期制御部24に同期要求を送信するタイミングを示し、点線で囲まれた「S」は同期要求の不受理(失敗)、実線で囲まれた「S」は同期要求の受理を示している。図7の(c)に楕円で示す符号s12Aは、同期制御部24にて同期要求が受理されて子機3Aが取得した個別データ4a(測定データに含まれる子機3Aについてのデータ)を示している。即ち、同期制御部24にて同期要求が受理されると子機3Aの読込部31(図1参照)は、工作機械1の符号x1に示すサイクルの10個分の時分割データ「1」~「0」、及び符号x2に示すサイクルの10個分の時分割データ「1」~「0」の、合計20個分の時分割データを取得する。
更に、子機3Aの読込部31は、次回以降の同期要求が受理されると、順次図7の(c)の符号s34A、s56A、・・・に示す個別データ4aを取得する。子機3Aの演算部34は、取得した個別データ4aに基づいて所望の演算処理を実施し、演算処理による判定結果を分配制御装置2に送信する。図7の(c)に示す「P」及び後述する図7の(d)~(g)に示す「P」は、各子機3A~3Eにおける内部処理を示す。
図7の(d)~(g)は、子機3B~3Eによる同期要求の送信タイミングを示している。図7の(c)と同様に、図7の(d)~(g)において、「S」は子機3B~3Eが同期制御部24に同期要求を送信するタイミングを示し、点線で囲まれた「S」は同期要求の不受理(失敗)、実線で囲まれた「S」は同期要求の受理を示している。図7の(d)~(g)に楕円で示す符号s12B、s12C、s12D、s12Eは、それぞれ同期制御部24にて同期要求が受理されて子機3B~3Eが取得した個別データ4b~4e(測定データに含まれる子機3B~3Eについてのデータ)を示している。即ち、同期制御部24にて同期要求が受理されると子機3B~3Eの読込部31は、工作機械1の符号x1に示すサイクルの10個分の時分割データ「1」~「0」、及び符号x2に示すサイクルの10個分の時分割データ「1」~「0」の、合計20個分の時分割データを取得する。
更に、子機3B~3Eの読込部31は、次回以降の同期要求が受理されると、順次図7の(d)~(g)の符号「s34B、s56B、・・・」、「s34C、s56C、・・・」、「s34D、s56D、・・・」、「s34E、s56E、・・・」に示す個別データ4b~4eを取得する。子機3B~3Eの演算部34は、取得した個別データ4b~4eに基づいて所望の演算処理を実施し、演算処理による判定結果を分配制御装置2に送信する。
即ち、分配制御装置2が送信したデータ要求が工作機械1にて受理され、工作機械1から分配制御装置2に測定データが送信されると、分配制御装置2にて符号x1、x2に示す2サイクル分の測定データが受信される。この測定データは、各子機3A~3Eに送信する個別データ4a~4eに区分され、記憶部26に記憶される。
分配制御装置2は、各子機3A~3Eから送信される同期要求を受理することにより、各子機3A~3Eにそれぞれ個別データ4a~4eを送信する。このため、各子機3A~3Eにて読み込まれる個別データ4a~4e(20個の時分割データ)は、それぞれが時間的に同期したデータとなる。具体的には、全ての個別データ4a~4eは、図7の(a)に示した符号x1、x2の2サイクルの時分割データに対応しており、同一期間におけるデータである。従って、各子機3A~3Eの演算部34の演算により得られる判定結果を用いることにより、工作機械1の作動を高精度に評価することが可能になる。
(第2比較例の説明)
次に、第2比較例について図8に示すタイミングチャートを参照して説明する。図8の(a)は、工作機械1が出力する測定データを時系列的に示すタイミングチャートである。図8の(b)は、分配制御装置2が出力するデータ要求を時系列的に示すタイミングチャートである。図8の(c)~(g)は、各子機3A~3Eが出力する同期要求をそれぞれ時系列的に示すタイミングチャートである。図8のタイミングチャートにおいて、横軸は時間経過を示している。
次に、第2比較例について図8に示すタイミングチャートを参照して説明する。図8の(a)は、工作機械1が出力する測定データを時系列的に示すタイミングチャートである。図8の(b)は、分配制御装置2が出力するデータ要求を時系列的に示すタイミングチャートである。図8の(c)~(g)は、各子機3A~3Eが出力する同期要求をそれぞれ時系列的に示すタイミングチャートである。図8のタイミングチャートにおいて、横軸は時間経過を示している。
図8の(a)において符号x1は、工作機械1における処理(例えば、ドリルによる穴あけ加工)の1サイクルの期間を示す。工作機械1は、符号x1に示す1サイクルにおいて、「1」~「0」の10回分の測定データを検出する。また、1サイクルの処理が終了すると、順次x2、x3、x4、・・・に示すサイクルの処理が行なわれる。前述したように、測定データには、各子機3A~3Eに送信する個別データ4a~4eが含まれている。工作機械1は、分配制御装置2から送信されるデータ要求を受理すると、測定データを分配制御装置2に送信する。
図8の(b)は、同期制御部24によるデータ要求の送信タイミングを示している。図8の(b)において、「R」は通信部21がデータ要求を送信するタイミングを示し、点線で囲まれた「R」はデータ要求の不受理(失敗)、実線で囲まれた「R」はデータ要求の受理を示している。図8の(b)に楕円で示す符号r123、r456、・・・は、工作機械1にてデータ要求が受理されて同期制御部24が取得した測定データを示している。
図8の(b)に示すように、同期制御部24は、トレース開始信号Qが入力されると、所定のタイミング(例えば、一定の時間間隔)で、工作機械1にデータ要求を出力する。同期制御部24は、トレース終了信号Eが入力されるとデータ要求の出力を終了する。
工作機械1は、内部処理の状況に応じてデータ要求の受理、不受理を決定する。工作機械1は、データ要求を受理した場合には、3サイクルの測定データ(30回分の時分割データ)を分配制御装置2に送信する。即ち、前述した第2実施例(図7参照)では、2サイクルの測定データ(20回分の時分割データ)を分配制御装置2に送信する例について説明したが、第2比較例では、3サイクルの測定データを送信する点で第2実施例と相違する。
同期制御部24は、この測定データを受信する。即ち、同期制御部24は、図8の(a)の符号x1、x2、x3に示す30個の時分割データを受信する。その結果、データ取得部22は、符号r123に示す測定データを取得する。測定データr123に含まれる時分割データは、符号x1に示すサイクルの時分割データ「1」~「0」、符号x2に示すサイクルの時分割データ「1」~「0」、及び符号x3に示すサイクルの時分割データ「1」~「0」の合計30個と一致する。更に、データ取得部22は、次回のデータ要求が受理されると、符号r456に示す測定データを取得する。
図8の(c)は、子機3Aによる同期要求の送信タイミングを示している。図8の(c)において、「S」は子機3Aが同期制御部24に同期要求を送信するタイミングを示し、点線で囲まれた「S」は同期要求の不受理(失敗)、実線で囲まれた「S」は同期要求の受理を示している。図8の(c)に楕円で示す符号s123Aは、同期制御部24にて同期要求が受理されて子機3Aが取得した個別データ4a(測定データに含まれる子機3Aについてのデータ)を示している。即ち、同期制御部24にて同期要求が受理されると子機3Aの読込部31(図1参照)は、工作機械1の符号x1に示すサイクルの10個分の時分割データ「1」~「0」、符号x2に示すサイクルの10個分の時分割データ「1」~「0」、及び符号x3に示すサイクルの10個分の時分割データ「1」~「0」の、合計30個分の時分割データを取得する。
更に、子機3Aの読込部31は、次回以降の同期要求が受理されると、順次図8の(c)の符号s456A、・・・に示す個別データ4aを取得する。子機3Aの演算部34は、取得した個別データ4aに基づいて所望の演算処理を実施し、その演算による判定結果を分配制御装置2に送信する。図8の(c)に示す「P」及び後述する図8の(d)~(g)に示す「P」は、各子機3A~3Eにおける内部処理を示す。
図8の(d)~(g)は、子機3B~3Eによる同期要求の送信タイミングを示している。図8の(c)と同様に、図8の(d)~(g)において、「S」は子機3B~3Eが同期制御部24に同期要求を送信するタイミングを示し、点線で囲まれた「S」は同期要求の不受理(失敗)、実線で囲まれた「S」は同期要求の受理を示している。図8の(d)~(g)に楕円で示す符号s123B、s123C、s123D、s123Eは、それぞれ同期制御部24にて同期要求が受理されて子機3B~3Eが取得した個別データ4b~4e(測定データに含まれる子機3A~3Eについてのデータ)を示している。即ち、同期制御部24にて同期要求が受理されると、子機3B~3Eの読込部31は、工作機械1の符号x1に示すサイクルの10個分の時分割データ「1」~「0」、符号x2に示すサイクルの10個分の時分割データ「1」~「0」、及び符号x3に示すサイクルの10個分の時分割データ「1」~「0」の、合計30個分の時分割データを取得する。
更に、子機3B~3Eの読込部31は、次回以降の同期要求が受理されると、順次図8の(d)~(g)の符号「s456B、・・・」、「s456C、・・・」、「s456D、・・・」、「s456E、・・・」に示す個別データ4b~4eを取得する。子機3B~3Eの演算部34は、取得した個別データ4b~4eに基づいて所望の演算処理を実施し、演算処理による判定結果を分配制御装置2に送信する。
ここで、上述した第2比較例では、1回の受信で3サイクル分の時分割データを一括して受信し、各子機3A~3Eに送信する処理を実施する。時分割データの個数が多くなると、1回のデータ通信における処理時間が長くなり、遅れ時間が生じる。このため、図8に示すように、分配制御装置2がトレース終了信号Eを出力し、次回のトレースを開始するための待機時間に、多くの(例えば、30個の)時分割データに対して演算処理を実行するために要する時間が待機時間よりも長くなってしまう。そのため、リアルタイムで工作機械1の作動を評価することができなくなってしまう。
即ち、本実施形態の第1実施例及び第2実施例に係る分配制御装置2では、時分割データの個数が10個或いは20個であり、各子機3A~3Eにおいて一度に処理する演算量は、10個或いは20個分の時分割データである。即ち、各子機3A~3Eが一度の演算処理で実行する時分割データ数が所定の上限値(例えば、20個)を超えない範囲で、複数の時系列データごとに、同期要求を受理している。そのため、待機時間内に演算処理を実行でき、リアルタイムで工作機械1の作動を評価することができる。
一方、第2比較例では、時分割データの個数が30個であり、各子機3A~3Eが一度の演算処理で実行する時分割データ数が所定の上限値を超えている。そのため、一度に処理する演算量が多くなり、演算に要する時間が待機時間を超える。
即ち、本実施形態に係る分配制御装置2の同期制御部24は、時分割データ数が所定の上限値を超えない範囲で、複数の時系列データごとに、各子機3A~3Eから送信される同期要求を受理する。更に、同期制御部24が各子機3A~3Eから送信された判定結果を同期させて工作機械1に送信する。よって、工作機械1では各子機3A~3Eによる同期した判定結果を取得でき、判定結果を用いた高精度な評価を実施することが可能となる。
上記実施形態において、通信部11、通信部21、プロセス間通信部29、読込部31、及び同期部32は、無線通信I/Fまたは有線通信I/Fを有する。しかしながら、工作機械1と分配制御装置2とが一体である場合や、分配制御装置2と各子機3A~3Eとが一体である場合には、工作機械1、分配制御装置2、及び各子機3A~3Eの間を配線により直接接続して直接信号の送受信を行うようにしてもよい。
また、本開示は、上述の実施形態そのままに限定されるものではなく、実施段階でその要旨を逸脱しない範囲で構成要素を変形して具体化することができる。また、上述の実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成することができる。例えば、実施形態に示される全構成要素を適宜組み合わせても良い。このような、本開示の趣旨を逸脱しない範囲内において種々の変形や応用が可能であることはもちろんである。
日本国特許庁に出願された特願2024-091560号(出願日:2024年6月5日)の全内容は、ここに援用される。
1 工作機械
2 分配制御装置
3A~3E 子機
4a~4e 個別データ
5A~5E 端末
6a~6e 個別データ
11 通信部
12 シーケンス制御部
13 数値制御部
14、15 電力増幅部
21 通信部(第1通信部)
22 データ取得部(分配制御装置の制御部)
23 判定通知部(分配制御装置の制御部)
24 同期制御部(分配制御装置の制御部)
25 データ分配部(分配制御装置の制御部)
26 記憶部
28a~28e インターロック部
29 プロセス間通信部(第2通信部)
31 読込部
32 同期部
33 制御部(子機の制御部)
34 演算部
2 分配制御装置
3A~3E 子機
4a~4e 個別データ
5A~5E 端末
6a~6e 個別データ
11 通信部
12 シーケンス制御部
13 数値制御部
14、15 電力増幅部
21 通信部(第1通信部)
22 データ取得部(分配制御装置の制御部)
23 判定通知部(分配制御装置の制御部)
24 同期制御部(分配制御装置の制御部)
25 データ分配部(分配制御装置の制御部)
26 記憶部
28a~28e インターロック部
29 プロセス間通信部(第2通信部)
31 読込部
32 同期部
33 制御部(子機の制御部)
34 演算部
Claims (5)
- 制御部と、
機器と通信する第1通信部と、
前記機器の作動に連動して作動する複数の子機と通信する第2通信部と、
を備え、
前記制御部は、
前記機器に対して測定データの送信を要求するデータ要求を前記第1通信部を介して出力し、
前記データ要求が前記機器により受理されると、前記測定データを前記機器から前記第1通信部を介して取得し、
前記取得した測定データを各子機に分配する個別データに区分し、
前記測定データを取得した後に、各子機から送信される同期要求を受理し、
前記同期要求を受理すると、前記区分した個別データを前記第2通信部を介して各子機に送信し、
前記区分した個別データに基づく各子機から送信された判定結果どうしを同期させ、
前記同期させた判定結果を前記第1通信部を介して前記機器に送信する
分配制御装置。 - 前記測定データは、前記機器の動作の1サイクルを複数に区分した時分割データを1つの組とした複数の時系列データからなり、
前記制御部は、前記機器における同一サイクルの時系列データが各子機に送信されるように前記同期要求を受理する
請求項1に記載の分配制御装置。 - 前記時分割データは、前記機器との間での単位通信時間で区分されている
請求項2に記載の分配制御装置。 - 前記制御部は、前記時分割データの数が所定の上限値を超えない範囲で、複数の時系列データごとに、前記同期要求を受理する
請求項2または3に記載の分配制御装置。 - 制御部により実行される分配制御方法であって、
機器に対して測定データの送信を要求するデータ要求を第1通信部を介して出力することと、
前記データ要求が前記機器により受理されると、前記測定データを前記機器から前記第1通信部を介して取得することと、
前記取得した測定データを、前記機器の作動に連動して作動する複数の子機のそれぞれに分配する個別データに区分することと、
前記測定データを取得した後に、各子機から送信される同期要求を受理することと、
前記同期要求を受理すると、前記区分した個別データを第2通信部を介して各子機に送信することと、
前記区分した個別データに基づく各子機から送信された判定結果どうしを同期させることと、
前記同期させた判定結果を前記第1通信部を介して前記機器に送信することと、
を備えた分配制御方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024-091560 | 2024-06-05 | ||
| JP2024091560 | 2024-06-05 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025254091A1 true WO2025254091A1 (ja) | 2025-12-11 |
Family
ID=97960379
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2025/019977 Pending WO2025254091A1 (ja) | 2024-06-05 | 2025-06-03 | 分配制御装置及び分配制御方法 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2025254091A1 (ja) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004227261A (ja) * | 2003-01-22 | 2004-08-12 | Mitsubishi Electric Corp | 数値制御システム |
| JP2009225496A (ja) * | 2008-03-13 | 2009-10-01 | Toshiba Mach Co Ltd | 同期型acサーボモータおよびその制御システム |
| JP2019159951A (ja) * | 2018-03-14 | 2019-09-19 | オムロン株式会社 | センサ管理装置、センサ情報同期方法、制御プログラム、及び記録媒体 |
-
2025
- 2025-06-03 WO PCT/JP2025/019977 patent/WO2025254091A1/ja active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004227261A (ja) * | 2003-01-22 | 2004-08-12 | Mitsubishi Electric Corp | 数値制御システム |
| JP2009225496A (ja) * | 2008-03-13 | 2009-10-01 | Toshiba Mach Co Ltd | 同期型acサーボモータおよびその制御システム |
| JP2019159951A (ja) * | 2018-03-14 | 2019-09-19 | オムロン株式会社 | センサ管理装置、センサ情報同期方法、制御プログラム、及び記録媒体 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4276435B2 (ja) | 分散した入力/出力機能ユニットを有する同期クロックド通信システムおよびこのようなシステムに分散した入力/出力機能ユニットを統合するための方法 | |
| US9697164B2 (en) | Method and control device for the operation of a contact-free transmission system for an IO link | |
| JPWO2004039010A1 (ja) | 電子機器システム | |
| JP5876240B2 (ja) | インターフェース信号を操作する装置及び制御装置 | |
| US20160147695A1 (en) | Field bus coupler for connecting input/output modules to a field bus, and method of operation for a field bus coupler | |
| US8572305B2 (en) | Apparatus and method for configuring a bus system | |
| US20160357194A1 (en) | Method of controlling inverters | |
| US20070159125A1 (en) | Motor control system | |
| US20110264241A1 (en) | Systems and methods for synchronization of an external control system with fieldbus devices | |
| JP2014222871A (ja) | プロフィバスdpのマスタ装置 | |
| JP2018036881A (ja) | 高速変換器、測定システム、及び高速変換プログラム | |
| CN110914769B (zh) | 过程控制 | |
| JP6969455B2 (ja) | 制御装置、制御システム、制御方法、および、制御プログラム | |
| JP2018022477A (ja) | データ伝送装置及び方法 | |
| CN103812830A (zh) | 一种用于总线从站设备的协议认证方法 | |
| US11489697B2 (en) | Transmission of data on a local bus | |
| US11092945B2 (en) | Control device, control method, and non-transitory storage medium storing control program | |
| CN115145165A (zh) | 一种可扩展运动控制仿真系统和方法 | |
| US20210063990A1 (en) | Interface assemblies for manufacturing components | |
| JP2000227803A (ja) | プログラマブルコントローラのデータリンクシステムの伝送制御方法および伝送制御システム | |
| JP6523226B2 (ja) | 時刻同期制御システム | |
| US20240219882A1 (en) | Exchanging of a programmable logic controller | |
| CN101401364B (zh) | 具有对临界状态的可靠获取的数据传输和处理系统 | |
| JP2015060370A (ja) | ロボットコントローラを内蔵した数値制御装置 | |
| US20140374387A1 (en) | Wireless transmission in the environment of a welding apparatus |
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: 25819849 Country of ref document: EP Kind code of ref document: A1 |