Measurement system, measurement device, measurement system control method, and measurement system control program

JP7547805B2Active Publication Date: 2024-09-10INSTITUTE OF SCIENCE TOKYO
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020104863
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-06-17
Publication Date
2024-09-10
Estimated Expiration
2040-06-17

AI Technical Summary

Benefits of technology

【0008】 センサを動作させる制御コマンドの制御ユニットへの送信のリアルタイム性が阻害されることを抑止することができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000013_0000
    Figure 00000013_0000
  • Figure 00000013_0001
    Figure 00000013_0001
  • Figure 00000013_0002
    Figure 00000013_0002
Patent Text Reader

Abstract

To prevent the real-time properties of transmission to a sensor control unit of a command for operating a sensor from being inhibited.SOLUTION: A data collection unit to which each of a predetermined number of sensors for measuring data is connected and that is connected to a plurality of sensor control units connected in series, has: a master controller that outputs a first control command in respond to a second control command received from a data processing device; a storage device that stores a plurality of parameters; a parameter storage unit that stores a plurality of parameters received from the data processing device into a storage device; and an output control unit by which the first control command output from the master controller is output to the sensor control units and by which the plurality of parameters stored in the storage unit are output to a sensor control unit at a leading position separately through more than one time during a period of time that the first control command is not output.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a measurement system, a measurement device, a control method for a measurement system, and a control program for a measurement system. [Background technology]

[0002] For example, a motor control system has a motor control device that controls a motor, and multiple sensors connected in series to obtain information related to the operation of the motor. A lower-level sensor transmits a detection value to a higher-level sensor, and a sensor that receives a detection value from a lower-level sensor transmits its own detection value together with the received detection value to the higher-level sensor. The top-level sensor then transmits its own detection value together with the detection value received from the lower-level sensor to the motor control device. The motor control device is capable of outputting commands to all of the multiple sensors connected in series, as well as commands to each individual sensor (see, for example, Patent Document 1). Summary of the Invention [Problem to be solved by the invention]

[0003] A measurement system that collects data measured by a large number of sensors and processes the data includes, for example, a sensor control unit that controls a predetermined number of sensors connected in series, and a data collection unit that collects data from the sensors via the sensor control units in sequence. The data collected by the data collection unit is transferred to a data processing device and processed. The data processing device transmits, via the data collection unit, to the control unit, control commands for causing the sensor control unit to control the operation of the sensors, and a large number of parameters to be set for the sensors and the sensor control unit.

[0004] For example, in a biomagnetic field measurement system, which is one of the measurement systems, a plurality of sensor control units operate a plurality of biosensors in synchronization with each other to acquire biodata, and transmit the acquired data to a data collection unit. In this case, a data processing device repeatedly transmits control commands for operating each sensor to the sensor control unit, and transmits a large amount of parameters to be set in the sensors and the sensor control unit to the sensor control unit.

[0005] When multiple sensor control units are connected in series to a data collection unit and control commands and parameters are transmitted using a common transmission path, there is a risk that the transmission of commands and the transmission of parameters will conflict with each other. In this case, if the real-time transmission of control commands to the sensor control units is hindered, there is a risk that the measurement of biological data by the sensor will not be performed normally.

[0006] The disclosed technology has been made in consideration of the above-mentioned problems, and aims to prevent the real-time transmission of control commands for operating a sensor to a sensor control unit from being hindered. [Means for solving the problem]

[0007] In order to solve the above technical problems, a measurement system according to one aspect of the present invention includes a plurality of serially connected sensor control units, each connected to a predetermined number of sensors that measure data and sequentially transferring data from the sensors, a data collection unit connected to a leading sensor control unit of the plurality of sensor control units, transmitting a first control command that controls operation of the plurality of sensor control units and a plurality of parameters to be set in at least one of the plurality of sensor control units and the sensors, and receiving data measured by the sensors via the plurality of sensor control units, and transmitting a second control command and the plurality of parameters corresponding to the first control command to the data collection unit, and a data processing device that receives the data collected by a sensor control unit from the data collection unit, wherein the data collection unit comprises a master controller that outputs the first control command in response to the second control command received from the data processing device, a storage device that stores the multiple parameters, a parameter storage unit that stores the multiple parameters received from the data processing device in the storage device, and an output control unit that outputs the first control command output by the master controller to the sensor control unit and outputs the multiple parameters stored in the storage device to the leading sensor control unit in multiple installments during a period when the first control command is not output. Effect of the Invention

[0008] This makes it possible to prevent the real-time transmission of control commands for operating the sensors to the control unit from being hindered. [Brief description of the drawings]

[0009] [Figure 1] 1 is a block diagram showing an example of a measurement system and a measurement device according to a first embodiment of the present invention. [Diagram 2] 1. FIG. 4 is an explanatory diagram showing an example of a data format of parameters transmitted from the data processing device of FIG. 1 to a data collecting unit. [Diagram 3]2 is an explanatory diagram showing an example of a frame including data sequentially transferred from each sensor control unit in FIG. 1 to a data collection unit. [Figure 4] 2 is an operation sequence diagram showing an example of the operation of the measurement system and the measurement device in FIG. 1. [Diagram 5] FIG. 11 is an explanatory diagram showing an example of a data format of parameters transmitted from a data processing device to a data collecting unit in a measurement system and a measurement device according to a second embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, the embodiments will be described with reference to the drawings. In the following, the same reference numerals as the signal names are used for signal lines through which information such as signals is transmitted. In addition, in each drawing, the same components are given the same reference numerals, and duplicated explanations may be omitted.

[0011] (First embodiment) Fig. 1 is a block diagram showing an example of a measurement system and a measurement device according to a first embodiment of the present invention. The measurement system 100 shown in Fig. 1 includes a data collection unit 10, n sensor control units 20 connected in series to the data collection unit 10, a plurality of sensors 30, and a data processing device 40.

[0012] For example, the data collection unit 10, the n sensor control units 20, and the plurality of sensors 30 are included in a measurement device 110. That is, the measurement system 100 has the measurement device 110 and a data processing device 40. The data collection unit 10 has a master controller 11, a data transmission / reception unit 12, a storage device 13, an access control unit 14, and a command transmission unit 15. Each sensor control unit 20 has a command reception unit 21 and a command transmission unit 22, and is connected to a predetermined number of sensors 30 that measure data.

[0013] The data collection unit 10 has a function of collecting data transferred sequentially from each sensor control unit 20 and transferring the data to the data processing device 40. The data collection unit 10 also has a function of transferring control commands CMD and parameters PRM received from the data processing device 40 to each sensor control unit 20. The various functions of the data collection unit 10 may be realized by, for example, a control program executed by a processor such as a central processing unit (CPU) mounted on the measurement device 110 or the data collection unit 10.

[0014] 1, the sensor control units 20 are labeled with the symbols (1), (2), ..., (n) in order from the closest to the data collection unit 10. The command receiving unit 21, the command transmitting unit 22, and the sensors 30 connected to each sensor control unit 20 are also labeled with the same symbols (1), (2), ..., (n) as the corresponding sensor control units 20.

[0015] The master controller 11 initializes and controls in detail the data collection unit 10 and each sensor control unit 20. Based on the control command CMD received from the data processing device 40 via the control command signal line CMD, the master controller 11 outputs the control command CMD to operate each sensor control unit 20 and each sensor 30 to the access control unit 14. For example, the control signal CNTL output from the master controller 11 to the access control unit 14 includes the control command CMD used for initializing and controlling each sensor control unit 20. The control command CMD received from the data processing device 40 is an example of a second control command, and the control command CMD output to the access control unit 14 is an example of a first control command. The control command signal line CMD connected between the data processing device 40 and the data collection unit 10 is an example of a first transfer path.

[0016] The data transmitter / receiver 12 receives the parameters PRM from the data processing device 40 via the parameter signal line PRM, and stores the received parameters PRM in the storage device 13. The data transmitter / receiver 12 is an example of a parameter storage unit. The parameter signal line PRM connected between the data processing device 40 and the data collection unit 10 is an example of a second transfer path. The parameters PRM include at least one of the parameters PRM to be set in each sensor control unit 20 and the parameters PRM to be set in each sensor 30. For example, the data processing device 40 transmits the parameters PRM to be set in at least one of the sensor control units 20 and each sensor 30 to the data collection unit 10 all at once.

[0017] For example, the storage device 13 is a memory such as a RAM (Random Access Memory). For example, assume that the access control unit 14 transmits the parameters PRM received collectively from the data processing device 40 to each sensor control unit 20 as is. In this case, the access control unit 14 cannot transmit the control command CMD (control signal CNTL) to the sensor control unit 20 while transmitting the parameters PRM. Therefore, it is not possible to ensure real-time transmission of the control command CMD from the data collection unit 10 to the sensor control unit 20.

[0018] Therefore, in this embodiment, the storage device 13 is made to function as a buffer for temporarily storing the parameters PRM, thereby making it possible to prevent the transmission of the control commands CMD to the sensor control unit 20 from being hindered by the transmission of the parameters PRM. As a result, it is possible to ensure the real-time nature of the control commands CMD transmitted from the data collection unit 10 to the sensor control unit 20.

[0019] In response to receiving a control signal CNTL (control command CMD) from the master controller 11, the access control unit 14 outputs the control signal CNTL to the command transmission unit 15. Furthermore, when parameters PRM are stored in the storage device 13, the access control unit 14 outputs the parameters PRM stored in the storage device 13 in multiple batches to the command transmission unit 15 during a period in which the access control unit 14 is not receiving a control signal CNTL (control command CMD). The access control unit 14 is an example of an output control unit.

[0020] The command transmitting unit 15 transmits the control signal CNTL (including the control command CMD) or the parameter PRM received from the access control unit 14 to each sensor control unit 20 via the transmission path TRS. In Fig. 1, each transmission path TRS is given the same reference numeral (1), (2), ..., (n) as the sensor control unit 20 of the transmission destination.

[0021] The access control unit 14 performs control to output the control signal CNTL (particularly the control command CMD) which requires real-time performance to the command transmission unit 15 in preference to the parameter PRM, without arbitrating between the control signal CNTL and the parameter PRM. That is, the access control unit 14 transmits the parameter PRM to the sensor control unit 20 during intervals between transmissions of the control signal CNTL to the sensor control unit 20. This makes it possible to prevent interruption of the transmission of the control signal CNTL, and to transmit the control signal CNTL output from the master controller 11 to each sensor control unit 20 without delay. As a result, the real-time performance of the control of the sensor control unit 20 can be ensured.

[0022] Furthermore, the access control unit 14 outputs a status signal STS indicating the setting status of the parameters PRM stored in the storage device 13 in each sensor control unit 20 to the data processing device 40. The status signal line STS that transfers the status signal STS is an example of a third transfer path. By receiving the status signal STS via a dedicated status signal line STS, the data processing device 40 can grasp in real time to what extent the parameters PRM transmitted collectively to the data collecting unit 10 have been set in the sensor control units 20 and the sensors 30.

[0023] That is, even if there is a time lag between when the parameters PRM are transmitted collectively to the data collecting unit 10 and when they are actually set in the sensor control unit 20, etc., the data processing device 40 can accurately grasp the setting status of the parameters PRM. As a result, after the parameters PRM are set in the sensor control unit 20, etc., the data processing device 40 can immediately issue a control command CMD to start measurement of the sensor 30, thereby improving the performance of the measurement system 100.

[0024] In each sensor control unit 20, the command receiving section 21 receives the control signal CNTL (CMD) and the parameter PRM from the data collecting unit 10. The sensor control unit 20 uses the received control signal CNTL (CMD) and parameter PRM for itself for its own control and setting. The sensor control unit 20 also transmits the received control signal CNTL (CMD) and parameter PRM to the subsequent sensor control unit 20 via the command transmitting section 22.

[0025] The code in parentheses at the end of each transmission path TRS corresponds to the code at the end of the sensor control unit 20 to which information is transmitted by the transmission path TRS. The command transmission unit 22(n) provided in the sensor control unit 20(n) is used when an additional sensor control unit 20 is installed.

[0026] For example, a high-speed serial interface is adopted for each transmission path TRS. For example, the command receiving unit 21 and the command transmitting unit 22 of each sensor control unit 20 have a serial interface such as SerDes (SERializer / DESerializer). The command receiving unit 21, which receives a serial signal from the transmission path TRS, converts the received serial signal into a parallel signal and outputs it to the internal circuit of the sensor control unit 20. The internal circuit extracts necessary signals from the signals received by the command receiving unit 21, and outputs a signal (parallel signal) to be used in the sensor control unit 20 on the terminal side to the command transmitting unit 22. The command transmitting unit 22 converts the parallel signal into a serial signal and outputs it to the transmission path TRS.

[0027] 1 shows only a transmission path TRS that transmits data from the data collection unit 10 to the sensor control unit 20. However, the measurement device 110 also has a reception path RSV that sequentially transfers data measured by each sensor 30 to the data collection unit 10 via each sensor control unit 20. The reception path RSV will be described in FIG.

[0028] For example, the data processing device 40 is a PC (Personal Computer) or a server. The data processing device 40 is operated by a user of the measurement system 100, and controls the setting of parameters PRM and the measurement of data by each sensor 30. The data processing device 40 also processes data measured by each sensor 30 and received via the data collecting unit 10, and displays the results of the data processing on a display device (not shown). Note that in FIG. 1, the path for transmitting the measurement data from the data collecting unit 10 to the data processing device 40 is omitted.

[0029] For example, the measurement system 100 is a biomagnetic field measurement system such as a magnetoencephalography system, and the measurement device 110 is a biomagnetic field measurement device. For example, the sensor 30 is a superconducting quantum interference device (SQUID). Recently, the number of channels (the number of SQUIDs) of a biomagnetic field measurement system tends to increase due to improved measurement accuracy and versatility to accommodate various measurement sites. For example, the number of channels is from tens to hundreds. As a result, the number of parameters PRM transmitted from the data collection unit 10 also tends to increase, and it is becoming increasingly difficult to transmit the parameters PRM to multiple sensor control units 20 connected in series without interfering with the transmission of the control signal CNTL.

[0030] Fig. 2 is an explanatory diagram showing an example of a data format of the parameters PRM transmitted from the data processing device 40 in Fig. 1 to the data collecting unit 10. The left side of Fig. 2 shows a memory map assigned to the data collecting unit 10. A base address is assigned to the data collecting unit 10. In the memory map, an address area indicating the data collecting unit 10 and an address area corresponding to each sensor control unit 20 are assigned in order.

[0031] In the data format of the parameter PRM, for example, one entry is provided for the parameter PRM corresponding to each sensor 30 of one sensor control unit 20. Each entry includes an area for holding a pair of an address and data (parameter PRM) corresponding to one of the sensors 30 of the sensor control unit 20 for which the parameter PRM is set.

[0032] The data processing device 40 generates pairs of addresses, each of which is the base address assigned to the data collecting unit 10 plus the register offset of the data collecting unit 10, and data (parameters PRM) to be set in the register, as many as are required. The data processing device 40 transmits the generated address and data pairs to the data collecting unit 10 all at once.

[0033] For example, the data transmitter / receiver 12 stores successively received data (corresponding to data of each entry) in the storage device 13, and counts the number of pieces of data stored in the storage device 13. When the data transmitter / receiver 12 stores all the received data in the storage device 13, it notifies the access control unit 14 of the count value and instructs the access control unit 14 to transmit a parameter PRM.

[0034] For example, the data transmitter / receiver 12 may determine whether all data has been received by receiving one burst of data transmitted to the parameter transmission path PRM, or by receiving special data (end data) added after the last parameter PRM to be transferred. Moreover, the data count unit may be a count by the number of data words, or a count by entry.

[0035] The access control unit 14 recognizes the number of parameters PRM to be transmitted to the sensor control unit 20 based on the count value notified by the data transmission / reception unit 12, and reads out the recognized number of parameters PRM from the storage device 13. For example, during a period in which the access control unit 14 does not output a control signal CNTL (control command CMD), the access control unit 14 outputs pairs of addresses and parameters PRM read out from the storage device 13 in multiple batches to the leading sensor control unit 20(1) via the command transmission unit 15.

[0036] Each sensor control unit 20 acquires and sets the parameter PRM received together with the address assigned to itself, and transfers pairs of the address other than the address assigned to itself and the parameter PRM to the downstream sensor control unit 20. This allows the parameter PRM transferred together with the address to be set correctly.

[0037] By making the data format of the parameter PRM a set of the address of the destination of the parameter PRM and the parameter PRM, the data processing device 40 does not need to transmit the parameter PRM to the data collecting unit 10 for each destination address. Also, the access control unit 14 can separate the parameter PRM in units of entries including an address and data (parameter PRM). Therefore, the parameter PRM can be transmitted to the sensor control unit 20 without hindering the control of the sensor control unit 20 by the master controller 11.

[0038] 3 is an explanatory diagram showing an example of a frame FRM including data sequentially transferred from each sensor control unit 20 in FIG. 1 to the data collection unit 10. The frame FRM is transferred from the downstream end (end point) sensor control unit 20(n) to the data collection unit 10 while data DATA is sequentially added. Each sensor control unit 20 outputs the frame FRM in synchronization with a synchronization signal. Receiving paths RSV are provided between adjacent sensor control units 20 and between the sensor control unit 20(1) and the data collection unit 10.

[0039] The frame FRM has a number of lines including a control area in which one of the symbols S, U, or E is stored corresponding to each of the multiple synchronization symbols SYNC, and a data area in which the data DATA measured by the sensor 30 is stored. The code at the end of the data DATA stored in the data area corresponds to the code at the end of the sensor control unit 20. Data from all the sensors 30 corresponding to one synchronization signal can be embedded in one line. In this way, the frame FRM has a format similar to an image format, in which an embedding area for data acquired from the sensor 30 by each sensor control unit 20 is assigned to one line.

[0040] The synchronization symbol SYNC includes a code for synchronizing 10 bits of the 8B10B converted signal transmitted on the receiving path RSV, and a code for adjusting the frequency deviation between the sensor control units 20. The symbol S is a frame start symbol indicating the start of a frame. The symbol U is a unit data start symbol indicating the head of the embedding position of data from the sensor 30 connected to each sensor control unit 20. The symbol E is a frame end symbol indicating the end of the frame.

[0041] As with the transmission path TRS, a high-speed serial interface is used for each reception path RSV wired between the sensor control units 20 and between the sensor control unit 20(1) and the data collection unit 10. The code in parentheses at the end of each reception path RSV corresponds to the code at the end of the sensor control unit 20 that is the source of information transmitted by the reception path RSV.

[0042] Each sensor control unit 20 has a signal receiving unit and a signal transmitting unit similar to the command receiving unit 21 and the command transmitting unit 22 in Fig. 1 in order to transmit a signal from the terminal sensor control unit 20(n) side to the data collection unit 10 side. Similarly to the command receiving unit 21 and the command transmitting unit 22, the signal receiving unit and the signal transmitting unit have a serial interface such as SerDes.

[0043] 3, the frame FRM output by the terminal sensor control unit 20(n) to the receiving path RSV(n) includes data DATA(n) measured by a plurality of sensors 30(n) connected to the sensor control unit 20(n). The frame FRM output by the head sensor control unit 20(1) to the receiving path RSV(1) includes data DATA(n) to DATA(1) measured by a plurality of sensors 30 connected to each sensor control unit 20.

[0044] For example, the data output from each sensor 30 to the sensor control unit 20 is an analog signal. Each sensor control unit 20 has a function of converting the analog signal measured by each sensor 30 into a digital signal and generating digital value data DATA.

[0045] Fig. 4 is an operation sequence diagram showing an example of the operation of the measurement system 100 and the measurement device 110 in Fig. 1. Note that Fig. 4 shows only the leading sensor control unit 20(1), but the subsequent sensor control units 20(2)-(n) also operate in the same manner as the sensor control unit 20(1). Fig. 4 shows an example of a control method for the measurement system 100 and a control method for the measurement device 110. The control method for the measurement system 100 and the control method for the measurement device 110 may be realized by a control program executed by a CPU mounted on the measurement device 110 or the data collection unit 10.

[0046] First, the data processing device 40 outputs a start-up command to instruct the master controller 11 of the data collection unit 10 to start up via the control command signal line CMD based on an operation by an operator (FIG. 4(a)). Based on the start-up instruction, the master controller 11 instructs each sensor control unit 20 to start up via the access control unit 14 (FIGS. 4(b) and (c)). After instructing each sensor control unit 20 to start up, the master controller 11 causes each sensor control unit 20 to start an initialization process via the access control unit 14 (FIGS. 4(d) and (e)).

[0047] After instructing the data collecting unit 10 to start up, the data processing device 40 starts a setting process for the entire measurement system 100. The setting process includes initialization processes other than the sensor 30, and setting of parameters PRM for each sensor control unit 20 and the sensors 30 connected to each sensor control unit 20.

[0048] For example, the data processing device 40 transmits parameters PRM to be set for each sensor control unit 20 and each sensor 30 together with the addresses to the data transmitter / receiver 12 via the parameter signal line PRM in a batch (FIG. 4(f)). The transmission of the addresses and parameters PRM to the data transmitter / receiver 12 is performed asynchronously with the initialization process by the master controller 11. Hereinafter, the pair of the address and the parameters PRM will be simply referred to as the parameters PRM.

[0049] The data transmitter / receiver 12 temporarily writes the parameters PRM received from the data processing device 40 to the storage device 13 (FIG. 4(g)). When writing of all received parameters PRM to the storage device 13 is completed, the data transmitter / receiver 12 outputs a transfer request for the parameters PRM to the access control unit 14 (FIG. 4(h)).

[0050] The access control unit 14 confirms that a command has not been received from the master controller 11 based on receipt of a transfer request for the parameters PRM from the data transmission / reception unit 12. If the access control unit 14 has not received a command from the master controller 11, it reads the parameters PRM from the storage device 13 (FIG. 4(i)). For example, the read size of the parameters PRM from the storage device 13 is a size equivalent to the storage capacity of a buffer for the parameters PRM included in the access control unit 14.

[0051] The access control unit 14 may read the parameters PRM from the storage device 13 in advance before confirming that no command has been received from the master controller 11. The access control unit 14 converts the read parameters PRM into a command and starts transferring it to the sensor control unit 20 (FIG. 4(j)).

[0052] If the access control unit 14 receives a command such as an initialization instruction from the master controller 11 while transferring the parameters PRM, the access control unit 14 interrupts the transfer of the parameters PRM to the sensor control unit 20 (FIGS. 4(k) and (l)). Then, the access control unit 14 transmits the command received from the master controller 11 to the sensor control unit 20 (FIG. 4(m)).

[0053] When the access control unit 14 has completed transmitting the command received from the master controller 11 to the sensor control unit 20 and has not received any commands from the master controller 11, the access control unit 14 resumes transmitting the parameters PRM to the sensor control unit 20 (FIG. 4(n)). When there are no more parameters PRM to transmit to the sensor control unit 20, the access control unit 14 reads the parameters PRM following the parameters PRM read previously from the storage device 13 (FIG. 4(o)). The access control unit 14 then converts the read parameters PRM into a command and transfers it to the sensor control unit 20 (FIG. 4(p)).

[0054] When the transfer of all the parameters PRM collectively transmitted from the master controller 11 to the sensor control unit 20 is completed, the access control unit 14 transmits a transmission completion notification to the data processing device 40 via the status signal line STS (FIG. 4(q)). That is, the parameter transfer status is transferred to the status signal line STS.

[0055] After receiving the transmission completion notification, if there are further parameters PRM to be set in each sensor control unit 20 and each sensor 30, the data processing device 40 transmits the parameters PRM all at once to the data transmitter / receiver 12 (FIG. 4(r)). Thereafter, in the same manner as described above, the data transmitter / receiver 12 writes the received parameters PRM to the storage device 13. Between command transmission instructions from the master controller 11, the access control unit 14 reads the parameters PRM from the storage device 13 and transmits them to the sensor control unit 20.

[0056] As described above, in the first embodiment, the access control unit 14 transmits pairs of addresses and parameters PRM received collectively from the data processing device 40 to the sensor control units 20 during intervals between transmissions of control signals CNTL to the sensor control units 20. This makes it possible to prevent interruption of transmission of the control signals CNTL, and to transmit the control signals CNTL output from the master controller 11 to each sensor control unit 20 without delay. As a result, it is possible to ensure real-time control of the sensor control units 20.

[0057] At this time, by temporarily storing the parameters PRM received collectively from the data processing device 40 in the storage device 13, the parameters PRM can be transmitted to the sensor control unit 20 in multiple batches between transmissions of the control signal CNTL to the sensor control unit 20. Furthermore, the access control unit 14 outputs a status signal STS indicating the setting status of the parameters PRM stored in the storage device 13 in each sensor control unit 20 to the data processing device 40. By receiving the status signal STS, the data processing device 40 can grasp in real time to what extent the parameters PRM transmitted collectively to the data collection unit 10 have been set in the sensor control unit 20 and the sensor 30.

[0058] By making the data format of the parameter PRM a set of the address of the destination of the parameter PRM and the parameter PRM, the data processing device 40 does not need to transmit the parameter PRM to the data collecting unit 10 for each destination address. Also, the access control unit 14 can separate the parameter PRM in units of entries including an address and data (parameter PRM). Therefore, the parameter PRM can be transmitted to the sensor control unit 20 without hindering the control of the sensor control unit 20 by the master controller 11.

[0059] Second embodiment 5 is an explanatory diagram showing an example of a data format of parameters PRM transmitted from a data processing device to a data collecting unit in a measurement system and a measurement device according to a second embodiment of the present invention. Elements similar to those in the first embodiment are given the same reference numerals and detailed descriptions are omitted.

[0060] The data processing device 40 and the measurement device 110 (the data collection unit 10 and the sensor control unit 20) that transmit and receive the parameters PRM using the data format shown in Fig. 5 are the same as those in Fig. 1. Therefore, in this embodiment, the data measured by each sensor 30 is transmitted to the data collection unit 10 via the sensor control unit 20 using the frame FRM shown in Fig. 3. Also, the operation of the measurement system 100 in this embodiment is the same as that in Fig. 4.

[0061] 2, a collective setting address is assigned commonly to each group of a predetermined number of the same type of sensor control units 20 (sensors 30) (ALL). When the collective setting address is used, the entry of the parameter data format contains a common address and common data (i.e., common parameters PRM) that are commonly set to the group of sensor control units 20.

[0062] When setting parameters PRM corresponding to individual sensor control units 20, the data processing device 40 generates an address by adding a base address assigned to the data collecting unit 10 to a register offset of the data collecting unit 10, as in Fig. 2. Then, the data processing device 40 generates pairs of the generated address and the data to be set (parameters PRM) as many times as necessary to set, and transmits them to the data collecting unit 10 in succession.

[0063] When setting the common parameters PRM for a group of the same type of sensor control units 20, the data processing device 40 generates a common address by adding a register offset of the data collecting unit 10 to the batch setting address as a base. Then, the data processing device 40 generates pairs of the generated common address and the common data (common parameters PRM) to be set as many times as necessary to set, and transmits them to the data collecting unit 10 in succession.

[0064] This makes it possible to reduce the number of pairs of addresses and parameters PRM set for groups of the same type of sensor control units 20, and to reduce the size of data to be collectively transmitted from the data processing device 40 to the data collecting unit 10. This makes it possible to reduce the size of data stored in the storage device 13. In addition, the number of times that the access control unit 14 divides and transmits data to the sensor control units 20 can be reduced, making it possible to build a measurement system 100 that does not impede the operation of the master controller 11.

[0065] It is desirable to map the addresses in the maximum configuration of the measurement system 100. For example, if the area size allocated to each sensor control unit 20 is M and the number of sensors 30 connected to each sensor control unit 20 is N, then the area for the collective setting address is allocated to an area of ​​N×M addresses to (N+1)×M addresses. In this way, an address map similar to that in FIG. 3 can be configured simply by adding the area for the collective setting address to the end of the address map shown in FIG. 2.

[0066] As described above, the second embodiment can also provide the same effects as the first embodiment. Furthermore, in the second embodiment, the common parameters PRM set for a group of the same type of sensor control units 20 (sensors 30) are set in one entry in the data format, thereby reducing the number of pairs of addresses and parameters PRM. This makes it possible to reduce the size of data collectively transmitted from the data processing device 40 to the data collecting unit 10, and to reduce the size of data stored in the storage device 13. Furthermore, the number of times that the access control unit 14 divides and transmits data to the sensor control units 20 can be reduced, making it possible to build a measurement system 100 that does not interfere with the operation of the master controller 11.

[0067] Although the present invention has been described above based on the embodiments, the present invention is not limited to the requirements shown in the above embodiments. These points can be changed without departing from the spirit of the present invention, and can be appropriately determined according to the application form. [Explanation of symbols]

[0068] 10 Data Collection Unit 11 Master Controller 12 Data transmission and reception unit 13 Storage device 14 Access control section 15 Command transmission section 20 Sensor control unit 21 Command receiver 22 Command transmission unit 30 Sensors 40 Data processing device 100 Measurement System 110 Measuring Equipment CMD Control command CNTL Control Signal DATA FRM Frame PRM parameters RSV receiving path STS status signal line TRS transmission line

Prior technical literature

Chartered Documents

[0069] [Patent Document 1] Patent No. 6365736

Claims

1. A plurality of serially connected sensor control units each connected to a predetermined number of sensors for measuring data, the sensor control units sequentially transferring data from the sensors; a data collection unit connected to a leading sensor control unit among the plurality of sensor control units, transmitting a first control command for controlling operations of the plurality of sensor control units and a plurality of parameters to be set in at least one of the plurality of sensor control units and the sensor, and receiving data measured by the sensor via the plurality of sensor control units; a data processing device that transmits a second control command corresponding to the first control command and the plurality of parameters to the data collection unit and receives the data collected by the data collection unit from the data collection unit; The data collection unit includes: a master controller that outputs the first control command in response to the second control command received from the data processing device; A storage device that stores the plurality of parameters; a parameter storage unit that stores the plurality of parameters received from the data processing device in a storage device; an output control unit that outputs the first control command output by the master controller to the sensor control unit, and outputs the plurality of parameters stored in the storage device to the leading sensor control unit in a plurality of divided times during a period in which the first control command is not output; A measurement system comprising:

2. a first transfer path through which the second control command is transferred from the data processing device to the master controller; a second transfer path through which the parameters are transferred from the data processing device to the parameter storage unit; a third transfer path through which the transfer status of the parameters generated by the output control unit is transferred to the data processing device; having When the transfer status received via the third transfer path indicates completion of transfer of the parameter to the sensor control unit, the data processing device outputs the next parameter to the second transfer path. The measurement system according to claim 1 .

3. the data processing device outputs pairs of addresses and parameters assigned to the plurality of sensor control units to the second transfer path; the parameter storage unit stores the pair of the address and the parameter in the storage device; the output control unit outputs the pair of the address and the parameter read from the storage device to the first sensor control unit; Each of the plurality of sensor control units acquires the parameters received together with the address assigned to itself, and transfers the address and parameter pairs other than the address assigned to itself to a downstream sensor control unit.

3. The measurement system according to claim 2 .

4. the data processing device outputs a pair of a common address and a parameter, which is assigned in common to a group of a predetermined number of the sensor control units among the plurality of sensor control units, to the second transfer path; the parameter storage unit stores the pair of the common address and the parameter in the storage device; the output control unit outputs the pair of the common address and the parameter read from the storage device to the first sensor control unit; Each of the plurality of sensor control units acquires the parameter received together with the common address assigned to its own group, and transfers the received pair of the common address and the parameter to the downstream sensor control unit. The measurement system according to claim 2 or 3, characterized in that

5. A plurality of serially connected sensor control units each connected to a predetermined number of sensors for measuring data, the sensor control units sequentially transferring data from the sensors; a data collection unit connected to a leading sensor control unit among the plurality of sensor control units, transmitting a first control command for controlling operations of the plurality of sensor control units and a plurality of parameters to be set in at least one of the plurality of sensor control units and the sensor, and receiving data measured by the sensor via the plurality of sensor control units; The data collection unit includes: a master controller that outputs the first control command in response to a second control command corresponding to the first control command received from a data processing device; A storage device that stores the plurality of parameters; a parameter storage unit that stores the plurality of parameters received from the data processing device in a storage device; an output control unit that outputs the first control command output by the master controller to the sensor control unit, and outputs the plurality of parameters stored in the storage device to the leading sensor control unit in a plurality of divided times during a period in which the first control command is not output, Further, the data collection unit transmits the data received from the sensor control unit to the data processing device. A measuring device characterized by:

6. 1. A method for controlling a measurement system having a plurality of serially connected sensor control units, each connected to a predetermined number of sensors that measure data and sequentially transferring data from the sensors; a data collection unit connected to a leading sensor control unit of the plurality of sensor control units, transmitting a first control command for controlling operation of the plurality of sensor control units and a plurality of parameters to be set for at least one of the plurality of sensor control units and the sensors, and receiving data measured by the sensors via the plurality of sensor control units; and a data processing device that transmits a second control command corresponding to the first control command and the plurality of parameters to the data collection unit, and receives the data collected by the data collection unit from the data collection unit, a master controller of the data collection unit outputs the first control command in response to the second control command received from the data processing device; a parameter storage unit included in the data collection unit stores the plurality of parameters received from the data processing device in a storage device included in the data collection unit; an output control unit included in the data collection unit outputs the first control command output by the master controller to the sensor control unit, and outputs the plurality of parameters stored in the storage device to the leading sensor control unit in a plurality of divided times during a period in which the first control command is not output; A method for controlling a measurement system comprising the steps of:

7. A control program for a measurement system having a plurality of serially connected sensor control units, each connected to a predetermined number of sensors that measure data and sequentially transferring data from the sensors; a data collection unit connected to a leading sensor control unit of the plurality of sensor control units, transmitting a first control command that controls operation of the plurality of sensor control units and a plurality of parameters to be set in at least one of the plurality of sensor control units and the sensors, and receiving the data measured by the sensors via the plurality of sensor control units; and a data processing device that transmits a second control command corresponding to the first control command and the plurality of parameters to the data collection unit, and receives the data collected by the data collection unit from the data collection unit, causing a master controller of the data collection unit to output the first control command in response to the second control command received from the data processing device; a parameter storage unit included in the data collection unit stores the plurality of parameters received from the data processing device in a storage device included in the data collection unit; an output control unit included in the data collection unit is caused to output the first control command output by the master controller to the sensor control unit, and to output the plurality of parameters stored in the storage device to the leading sensor control unit in a plurality of divided times during a period in which the first control command is not output; A control program for a measurement system comprising:

Citation Information

Patent Citations

  • Exchange system

    JP1988065736A

  • Motor control system and communication method for motor control system

    JP2017163843A

  • Equipment control system

    JP2017211767A