The present invention relates to a controller, a method for controlling controller, a learning device and a program.
Conventionally, transfusion devices are known in which a chemical solution in a transfusion tube is transfused by compressing and relaxing the transfusion tube to fill a filling container such as a vial container or the like (for example, see patent literature 1).
In addition, a technique for detecting blockage of the transfusion tube in these transfusion devices is known (for example, see patent literature 2). In the technique described in patent literature 2, whether the transfusion tube is blocked is detected on the basis of a sensitivity of a received signal of ultrasonic waves which are propagated in the chemical solution in the transfusion tube and received by an ultrasonic sensor.
Patent literature 1: Japanese Patent Laid-open No. 9-262283 (published on Oct. 7, 1997)
Patent literature 2: Japanese Patent Laid-open No. 2016-214793 (published on Dec. 22, 2016)
Meanwhile, in a transfusion device, a changeover that changes a chemical solution to be transfused by replacing a transfusion tube can be performed. The transfusion tubes having different diameters are used corresponding to products after filling. If a wrong transfusion tube is used to transfuse the chemical solution and perform filling, there is a problem that the product is defective, resulting in product abandonment.
Therefore, it is necessary to confirm whether a wrong transfusion tube is used in a changeover process. As described in the conventional technique, although whether an incorrect transfusion tube is used can also be confirmed using an ultrasonic sensor, there is a concern that the device may be complicated due to separately arranging the ultrasonic sensor. In addition, when the ultrasonic sensor is used, it is necessary to flow the chemical solution in the transfusion tube and detect ultrasonic waves propagating in the chemical solution in the transfusion tube, which complicates the work of the changeover.
An aspect of the present invention is accomplished in view of the situation described above, and an object of the aspect is to achieve a technique capable of efficiently performing correctness/incorrectness determination of the transfusion tube during the changeover.
In order to solve the problems, a controller according to an aspect of the present invention has a configuration in which the controller includes a control portion that controls each portion of a transfusion device, wherein the control portion obtains motor shaft information showing an action state of a motor shaft of a driving motor and performs the correctness/incorrectness determination of a transfusion tube on the basis of the motor shaft information, wherein the driving motor drives an actuating portion sequentially compressing and relaxing the transfusion tube of the transfusion device.
In addition, in order to solve the problems, a method for controlling controller according to an aspect of the present invention has a configuration in which in the method for controlling the controller which controls each portion of the transfusion device, a driving motor that drives an actuating portion sequentially compressing and relaxing a transfusion tube of the transfusion device is controlled, and correctness/incorrectness determination of the transfusion tube is performed on the basis of motor shaft information of the driving motor.
In addition, in order to solve the problems, a learning device according to an aspect of the present invention obtains the motor shaft information from the controller, generates a learned model of the motor shaft information for the transfusion tube by machine learning, and transfers the generated learned model to the controller.
In addition, in order to solve the problems, a program according to an aspect of the present invention has a configuration in which the program enables a computer to function as the controller, and enables the computer to function as the control portion.
In addition, in order to solve the problems, a program according to an aspect of the present invention enables a computer to function as the learning device.
In addition, in order to solve the problems, a transfusion system according to an aspect of the present invention includes the controller, a driving motor that drives an actuating portion sequentially compressing and relaxing a transfusion tube of the transfusion device, and a motor control portion that controls the drive of the driving motor, wherein the control portion obtains motor shaft information showing an action state of a motor shaft of the driving motor from the motor control portion, and performs correctness/incorrectness determination of the transfusion tube on the basis of the motor shaft information.
According to the aspect of the present invention, correctness/incorrectness determination of a transfusion tube during changeover can be performed efficiently.
Embodiments according to an aspect of the present invention (hereinafter, also referred to as “the embodiment”) are described below on the basis of drawings.
§ 1 Application Example
First, an example of a situation in which the present invention is applied is described with reference to
As shown
The transfusion device 10 includes a driving motor 25 that drives the plurality of fingers 13, and a motor control portion 26 that controls rotation of the driving motor 25. The motor control portion 26 supplies motor shaft information including a rotation position, a torque, and a rotation speed of a motor rotating shaft of the driving motor 25 to the controller 50.
The controller 50 is, for example, a programmable logic controller (PLC). The controller 50 includes a control portion 60 as a CPU unit that executes main computation processing. The controller 50 performs correctness/incorrectness determination of the transfusion tube 20 mounted in the transfusion device 10 on the basis of the motor shaft information which is obtained from the motor control portion 26.
In the transfusion device 10, transfusion tubes having different diameters are used for each product to be manufactured using the transfusion device 10. When a wide variety of products is manufactured by the transfusion device 10, it is necessary to replace the transfusion tubes frequently. In the transfusion device 10, when the transfusion tube replacement is performed, the correctness/incorrectness determination of the transfusion tube 20 is performed by driving the driving motor 25 in a state in which the liquid does not enter in the transfusion tube.
The controller 50 may store a threshold value in advance which is statistically generated on the basis of the motor shaft information of a plurality of transfusion tubes 20 in a normal state. Then, the controller 50 may compare the feature value calculated on the basis of the motor shaft information obtained from the motor control portion 26 with the threshold value stored in advance to perform the correctness/incorrectness determination of the transfusion tube 20 mounted in the transfusion device 10.
In addition, the controller 50 may be communicably connected to a learning device 80 that collects the motor shaft information of the plurality of transfusion tubes 20 in the normal state and performs machine learning. Then, the controller 50 may perform the correctness/incorrectness determination of the transfusion tube 20 on the basis of the feature value calculated on the basis of the motor shaft information obtained from the motor control portion 26, and a learned model learned by the learning device 80.
In this way, the controller 50 can perform the correctness/incorrectness determination of the transfusion tube 20 even if the liquid is not injected into the transfusion tube 20 in a changeover process of replacing the transfusion tube 20. In addition, the controller 50 performs the correctness/incorrectness determination of the transfusion tube 20 on the basis of drive shaft information of the driving motor 25 of the transfusion device 10. Therefore, the correctness/incorrectness determination of the transfusion tube 20 can be performed without separately arranging, in the transfusion device 10, a component such as an ultrasonic sensor or the like for detecting the state of the transfusion tube 20.
§ 2 Configuration example A configuration of the controller 50 according to the embodiment of the present invention is specifically described below on the basis of
An embodiment of the present invention is specifically described below.
Moreover, the driving motor 25, the motor control portion 26 that controls drive of the driving motor 25, and the controller 50 are also collectively referred to as a transfusion system.
(With Regard to Configuration of Transfusion Device 10)
As shown in
As shown in
Each of the plurality of fingers 13 is a rod-shaped member that performs linear motion in a direction of approaching the lid 11 or moving away from the lid 11 by the rotation of the driving motor 25 (see
Moreover, in the embodiment, as an example of the transfusion device 10, the configuration of the transfusion device of the so-called finger type is described, in which the transfusion tube 20 is sequentially compressed and relaxed to fill the filling container 30 with the liquid by the linear motion of the plurality of fingers 13 caused by the driving motor 25. However, the transfusion device 10 is not limited to the transfusion device of the finger type as described above, and may be a transfusion device of a peristaltic type that sequentially compresses and relaxes a tube by a rotary roller.
(With Regard to Configuration of Controller 50)
As shown in
The control portion 60 is a computation device having a function of comprehensively controlling each portion of the transfusion device 10. The control portion 60 obtains the motor shaft information which shows an action state of the motor shaft of the driving motor 25 from the motor control portion 26, and supplies a control signal generated on the basis of the obtained motor shaft information to the motor control portion 26, and thereby the control portion 60 can control the drive of the driving motor 25.
The data recording portion 70 is a storage for storing various data used in the controller 50.
(With Regard to Configuration of Control Portion 60)
The control portion 60 includes a variable transfer portion 62, a subframe generation portion 63, a feature-value calculation portion 64, a machine-learning computation portion 65 and a determination output portion 66.
The variable transfer portion 62 obtains, from the motor control portion 26, the motor shaft information showing the action state of the motor shaft including the information of the position, the speed and the torque of the driving motor 25.
The subframe generation portion 63 determines, with reference to the obtained motor shaft information, a subframe for confirming the motion of the transfusion device 10. The subframe generation portion 63 generates the subframe of the motor shaft information in a period in which a drive state of the driving motor 25 is a predetermined state.
The subframe generation portion 63 performs, for example, subframe generation processing of extracting, as the subframe, a period in which the rotation speed of the motor shaft of the driving motor 25 is equal to or greater than a predetermined value. The subframe generation portion 63 sets, for example, a section in which the rotation speed of the motor shaft of the driving motor 25 is speed >10 pulse/s as a subframe, and extracts motor shaft information in the subframe. The subframe generation portion 63 supplies the extracted motor shaft information to at least one of the data recording portion 70 and the feature-value calculation portion 64.
The feature-value calculation portion 64 uses the motor shaft information extracted by the subframe generation portion 63 to calculate the feature value that shows a feature of the drive state of the driving motor 25. In this way, the feature-value calculation portion 64 calculates a feature value of the motor shaft in the period in which the drive state of the driving motor 25 is in the predetermined state. For example, the feature-value calculation portion 64 calculates, as the feature value, an average value of the torque in the section in which the rotation speed of the motor shaft of the driving motor 25 is speed >10 pulse/s. The feature-value calculation portion 64 supplies the calculated feature value to the machine-learning computation portion 65.
The machine-learning computation portion 65 takes the feature value calculated by the feature-value calculation portion 64 as an input, and calculates an abnormality degree with reference to a learned model which is made by a learning flow described later. In the machine-learning computation portion 65, for example, the average value of the torque is input as the feature value, and the abnormality degree of the average value of the torque with respect to the learned model is calculated.
The determination output portion 66 takes the abnormality degree calculated by the machine-learning computation portion 65 as an input, and performs the correctness/incorrectness determination of the transfusion tube 20 corresponding to whether the abnormality degree exceeds the threshold value made by the learning flow described later.
In this way, the controller 50 calculates the feature value in the period in which the drive state of the driving motor 25 is in the predetermined state with reference to the motor shaft information of the driving motor 25, and performs the correctness/incorrectness determination of the transfusion tube 20 on the basis of the feature value. For example, the controller 50 performs the correctness/incorrectness determination of the transfusion tube 20 on the basis of the torque value of the motor shaft of the driving motor in the period in which the rotation speed of the motor shaft of the driving motor 25 is equal to or greater than the predetermined value. Therefore, the controller 50 can efficiently perform the correctness/incorrectness determination of the transfusion tube 20 during the changeover without separately arranging a sensor such as an ultrasonic sensor or the like.
(With Regard to Learned Model of Transfusion Tube 20)
In the transfusion device 10, a suitable transfusion tube 20 is selected from the plurality of transfusion tubes 20 having diameters different from each other corresponding to the product to be manufactured, and the suitable transfusion tube 20 is mounted. When the transfusion tubes 20 have different diameters, each value of the motor shaft of the driving motor 25 compressing and relaxing the transfusion tube 20 is different.
The learning device 80 is connected to the controller 50. The learning device 80 obtains, from the controller 50, the information of the speed, the torque, the position, and the like of the motor shaft of the driving motor 25 with regard to each of all the transfusion tubes 20 used in the transfusion device 10. Then, the learning device 80 performs the machine learning with regard to the motor shaft information, and generates the learned model which shows the normal state of the motor shaft information with regard to each transfusion tube 20. The learning device 80 transfers the generated learned model to the controller 50.
The learning device 80 includes a feature-value calculation portion 81 and a machine-learning-model generation portion 82.
The feature-value calculation portion 81 calculates the feature value with reference to the subframe of the value of the motor shaft of the driving motor 25, which is recorded in the data recording portion 70 of the controller 50. Particularly, the feature-value calculation portion 81 calculates the feature value with reference to the subframe of the value of the motor shaft of the driving motor 25 when the transfusion device 10 is operated in a state in which the liquid does not enter the transfusion tube 20.
Moreover, although only the parameters according to the torque of the motor shaft of the driving motor 25 are exemplified in
The machine-learning-model generation portion 82 performs the machine learning with regard to the feature value of each transfusion tube 20 which is calculated by the feature-value calculation portion 81, and generates the learned model showing the normal state of a correlation between each transfusion tube 20 and the motor shaft information. In addition, the machine-learning-model generation portion 82 generates, on the basis of the learned model, the threshold value of the abnormality degree for separating each transfusion tube 20 from other transfusion tubes 20.
(With Regard to Flow of Processing of Generating Learned Model)
When executing the processing of generating the learned model, first, an empty transfusion tube 20 which the liquid does not enter is mounted in the transfusion device 10 (step S1).
Subsequently, the driving motor 25 is driven by the function of the motor control portion 26. The control portion 60 of the controller 50 obtains the motor shaft information by the function of the variable transfer portion 62 (step S2).
The control portion 60 generates the subframe by the function of the subframe generation portion 63 on the basis of the motor shaft information obtained via the variable transfer portion 62 (step S3).
The control portion 60 records, in the data recording portion 70, the motor shaft information in the subframe which is generated by the subframe generation portion 63 (step S4).
The controller 50 repeatedly executes the processing of steps S1 to S4 with regard to all the transfusion tubes 20 that are appropriately replaced and used in the infusion device 10.
The learning device 80 obtains the subframe of the motor shaft information recorded in the data recording portion 70 of the controller 50, and calculates the feature value of each transfusion tube 20 by the function of the feature-value calculation portion 81. In addition, the learning device 80 generates the learned model and the threshold value of the abnormality degree of each transfusion tube 20 by the function of the machine-learning-model generation portion 82 (step S5) The learning device 80 supplies the learned model of each transfusion tube 20 to the controller 50. The control portion 60 of the controller 50 stores the obtained learned model of each transfusion tube 20 in the feature-value calculation portion 64 and the machine-learning computation portion 65 (step S6) In addition, the learning device 80 supplies the threshold value of the abnormality degree of each transfusion tube 20 to the controller 50. The control portion 60 of the controller 50 stores the obtained threshold value of the abnormality degree of each transfusion tube 20 in the determination output portion 66 (step S7).
(With Regard to Correctness/Incorrectness Determination Processing of Transfusion Tube 20 Performed by Controller 50)
The mounted transfusion tube 20 is replaced in the transfusion device 10. The empty transfusion tube 20 which the liquid does not enter is mounted in the transfusion device 10 (step S11).
Subsequently, the driving motor 25 is driven by the function of the motor control portion 26. The actuating portion 12 sequentially compresses and relaxes the empty transfusion tube 20 by the drive of the driving motor 25. The control portion 60 of the controller 50 obtains the motor shaft information by the function of the variable transfer portion 62 (step S12).
The control portion 60 generates the subframe by the function of the subframe generation portion 63 on the basis of the motor shaft information obtained via the variable transfer portion 62 (step S13).
The control portion 60 calculates the feature value of the mounted transfusion tube 20 by the function of the feature-value calculation portion 64 with reference to the motor shaft information in the subframe generated by the subframe generation portion 63. The feature-value calculation portion 64 calculates, for example, the average value of the torque of the driving motor 25 in each subframe as the feature value (step S14).
The control portion 60 calculates, by the function of the machine-learning computation portion 65, an abnormality degree of the feature value calculated by the feature-value calculation portion 64 with respect to a learned model of a correct transfusion tube 20 (step S15). Moreover, when the transfusion tube 20 is replaced, a user performs an input operation such as selecting a product to be manufactured and the like on the controller 50. Accordingly, the controller 50 identifies the transfusion tube 20 to be mounted, and uses the learned model of the correct transfusion tube 20 for abnormality degree calculation performed by the machine-learning computation portion 65.
The control portion 60 performs, by the function of the determination output portion 66, the correctness/incorrectness determination of the transfusion tube 20 on the basis of whether the abnormality degree calculated by the machine-learning computation portion 65 exceeds the threshold value of the target transfusion tube 20. Then, the determination output portion 66 outputs a determination result (step S16).
In this way, according to the embodiment, when the transfusion tube 20 of the transfusion device 10 is replaced, the controller 50 obtains the motor shaft information of the driving motor 25, and performs the correctness/incorrectness determination of the transfusion tube 20 on the basis of the motor shaft information. Therefore, in order to perform the correctness/incorrectness determination of the transfusion tube 20, it is not necessary to separately arrange the sensor such as the ultrasonic sensor or the like, and the device and control can be prevented from being complicated.
In addition, the controller 50 uses the learned model, in which the motor shaft information of the driving motor 25 is learned by the machine learning, to calculate the abnormality degree with respect to the learned model, and performs the correctness/incorrectness determination of the transfusion tube 20. In this way, by using the learned model learned by the machine learning, even if the information such as the motor shaft information including a plurality of parameters such as speed, torque, position, and the like is used, the threshold value with respect to a one-dimensional value which is referred to as the abnormality degree may be set to perform the correctness/incorrectness determination. Therefore, the occurrence of defective products due to the incorrect attachment of the transfusion tube 20 can be reliably prevented.
In addition, the controller 50 can perform the correctness/incorrectness determination of the transfusion tube 20 in the state in which the liquid does not enter the transfusion tube 20. Therefore, even if the result of the correctness/incorrectness determination performed by the controller 50 is that the transfusion tube 20 is incorrectly attached, the transfusion tube 20 can be easily replaced again, and the replacement work of the transfusion tube 20 can be efficiently improved.
Embodiment 2 of the present invention is described below. Moreover, for convenience of the description, members having the same functions as the members described in the aforementioned Embodiment 1 are designated by the same reference signs, and the description thereof is not repeated. In addition, the configurations of the transfusion device 10, the controller 50, and the learning device 80 according to Embodiment 2 are the same as the configurations of Embodiment 1 described with reference to
In Embodiment 1 described above, the aspect is described in which the controller 50 uses the learned model of the normal transfusion tube 20 to perform the correctness/incorrectness determination of the target transfusion tube 20. The controller 50 is not limited to this aspect and can determine the transfusion tube 20 mounted in the transfusion device 10 is which of the plurality of transfusion tubes having different types.
For example, it is assumed that any of a tube 1, a tube 2, and a tube 3 can be mounted and used in the transfusion device 10. The tube 1, the tube 2, and the tube 3 can be configured as, for example, silicone tubes respectively having diameters of 1.6 mm, 2.4 mm, and 3.2 mm. In this case, the machine-learning computation portion 65 calculates the abnormality degree of the target transfusion tube 20 with respect to learned models which determines the tube 1, the tube 2, and the tube 3 respectively to be normal.
The controller 50 specifies, by the function of the determination output portion 66, the type of the transfusion tube 20 mounted in the transfusion device 10 on the basis of the abnormality degree of the target transfusion tube 20 with respect to a learned model of each tube, and a threshold value of an abnormality degree of each tube.
As shown in
In addition, as shown in
In addition, as shown in
In this way, the controller 50 calculates the feature value of the target transfusion tube 20 on the basis of the motor shaft information of the driving motor 25. Then, with regard to the plurality of transfusion tubes having different types that can be used in the transfusion device 10, the controller 50 calculates the abnormality degree of the feature value of the target transfusion tube 20 with respect to each learned model. The controller 50 can determine the type of the transfusion tube 20 being used with reference to the calculated abnormality degree.
In this way, the controller 50 can identify the mounted transfusion tube 20 with reference to the plurality of learned models stored in the machine-learning computation portion 65 on the basis of the motor shaft information of the driving motor 25. Therefore, in the changeover process of replacing the transfusion tube 20, the user replaces the transfusion tube 20 and executes the identification determination by the controller 50, and thereby whether a correct tube is mounted or an incorrect tube is mounted can be known.
An embodiment of the present invention is described below. Moreover, for convenience of the description, members having the same functions as the members described in the aforementioned Embodiment 1 and Embodiment 2 are designated by the same reference signs, and the description thereof is not repeated.
As shown in
The rollers 113 are arranged at predetermined intervals around the rotor 112 and move in a circular motion along with rotation of the rotor 112. In addition, the rollers 113 are arranged in the rotor 112 to rotate freely, and are in contact with a transfusion tube 120 and rotated in a direction opposite to the rotation of the rotor 112.
The transfusion device 110 makes the plurality of rollers 113 rotate by the driving motor 25, and thereby sequentially compresses and relaxes a transfusion tube 120 between the rollers 113 and the jig 111 to send the liquid in the transfusion tube 120 in the same direction as the rotation direction of the rotor 112.
The tube crushing thickness shows an amount of compression of a tube material when the transfusion tube 120 is compressed by the rollers 113. That is, the tube crushing thickness is equivalent to a difference between the thickness and the pinching clearance.
(With Regard to Correctness/Incorrectness Determination Processing of Transfusion Tube 120 Performed by Controller 50)
When the transfusion tube 120 is replaced, the controller 50 performs the correctness/incorrectness determination for determining whether the incorrect attachment of the transfusion tube 120 occurs. After steps S11 to S13 of the flowchart shown in
As described above, when the driving motor 25 is driven and the transfusion tube 120 is compressed, a repulsive force corresponding to a characteristic of the transfusion tube 120 is generated. Because the repulsive force affects the torque of the motor shaft, information of the characteristic of the transfusion tube 120 is included in the torque value of the motor shaft. Therefore, the feature-value calculation portion 64 can calculate an appropriate feature value corresponding to the characteristic of the transfusion tube 120 by calculating the feature value on the basis of the torque value of the motor shaft.
In step S15, the control portion 60 calculates, by the function of the machine-learning computation portion 65, the abnormality degree (a feature-value score) of the feature value calculated by the feature-value calculation portion 64 with respect to the learned model of the correct transfusion tube 120.
The determination output portion 66 performs the correctness/incorrectness determination of the transfusion tube 120 on the basis of whether the abnormality degree of the target transfusion tube 120 exceeds the predetermined threshold value. Here, the threshold value may be set on the basis of a standard deviation in a distribution of the abnormality degree of the learned model of the correct transfusion tube 120. For example, a value, which is obtained by adding a value obtained by multiplying the standard deviation by a predetermined magnification (for example, 2 to 4 times) to an average value of the distribution of the abnormality degree of the learned model of the correct transfusion tube 120, is set as the threshold value.
When the target transfusion tube 120 has the inner diameter of 1 mm, the distribution of the abnormality degree does not exceed the threshold value, and therefore the determination output portion 66 determines that a correct transfusion tube 120 is attached. In addition, when the target transfusion tube 120 has an inner diameter of 1.5 mm, 2 mm, 2.5 mm, 3 mm, or 4 mm, the distribution of the abnormality degree exceeds the threshold value, and therefore the determination output portion 66 determines that an incorrect transfusion tube 120 is attached.
The determination output portion 66 can determine whether the abnormality degree of the target transfusion tube 120 exceeds the threshold value with reference to, for example, the threshold value corresponding to required determination precision among the plurality of threshold values such as a level-1 threshold value, a level-2 threshold value, and the like. The determination output portion 66 can perform the correctness/incorrectness determination of the transfusion tube 120 with strict precision by determining the transfusion tube 120 using a smaller threshold value, for example, the level-1 threshold value in the example of
When the target transfusion tube 120 has the inner diameter of 1.5 mm, the distribution of the abnormality degree does not exceed the threshold value, and therefore the determination output portion 66 determines that a correct transfusion tube 120 is attached. In addition, when the target transfusion tube 120 has an inner diameter of 1 mm, 2 mm, 2.5 mm, 3 mm, or 4 mm, the distribution of the abnormality degree exceeds the threshold value, and therefore the determination output portion 66 determines that an incorrect transfusion tube 120 is attached.
When the target transfusion tube 120 has the inner diameter of 2 mm, the distribution of the abnormality degree does not exceed the threshold value, and therefore the determination output portion 66 determines that a correct transfusion tube 120 is attached. In addition, when the target transfusion tube 120 has an inner diameter of 1 mm, 1.5 mm, 2.5 mm, 3 mm, or 4 mm, the distribution of the abnormality degree exceeds the threshold value, and therefore the determination output portion 66 determines that an incorrect transfusion tube 120 is attached.
When the target transfusion tube 120 has the inner diameter of 2.5 mm, the distribution of the abnormality degree does not exceed the threshold value, and therefore the determination output portion 66 determines that a correct transfusion tube 120 is attached. In addition, when the target transfusion tube 120 has an inner diameter of 1 mm, 1.5 mm, 2 mm, 3 mm, or 4 mm, the distribution of the abnormality degree exceeds the threshold value, and therefore the determination output portion 66 determines that an incorrect transfusion tube 120 is attached.
When the target transfusion tube 120 has the inner diameter of 3 mm, the distribution of the abnormality degree does not exceed the threshold value, and therefore the determination output portion 66 determines that a correct transfusion tube 120 is attached. In addition, when the target transfusion tube 120 has an inner diameter of 1 mm, 1.5 mm, 2 mm, 2.5 mm, or 4 mm, the distribution of the abnormality degree exceeds the threshold value, and therefore the determination output portion 66 determines that an incorrect transfusion tube 120 is attached.
When the target transfusion tube 120 has the inner diameter of 4 mm, the distribution of the abnormality degree does not exceed the threshold value, and therefore the determination output portion 66 determines that the correct transfusion tube 120 is attached. In addition, when the target transfusion tube 120 has an inner diameter of 1 mm, 1.5 mm, 2 mm, 2.5 mm, or 3 mm, the distribution of the abnormality degree exceeds the threshold value, and therefore the determination output portion 66 determines that an incorrect transfusion tube 120 is attached.
As described above, the control portion 60 calculates the feature value on the basis of the torque value of the motor shaft and calculates the abnormality degree of the feature value with respect to the learned model of the correct transfusion tube 120 to perform the correctness/incorrectness determination, and thereby a difference of 0.5 mm in the tube diameter can also be properly identified and the correctness/incorrectness determination can be performed. In addition, the correctness/incorrectness determination can be correctly performed even if the inner diameter of the transfusion tube 120 is different and the outer diameter, the thickness, the pinching clearance, and the tube crushing thickness are different, and therefore the correctness/incorrectness determination having robustness can be achieved.
Besides, the control portion 60 can determine the inner diameter of the attached transfusion tube 120 by sequentially performing the correctness/incorrectness determination of each inner diameter.
Moreover, in the examples described above, the examples are shown in which the inner diameters, the outer diameters, the thicknesses, the pinching clearances, and the tube crushing thicknesses of the transfusion tubes 120 are different, and a case in which the materials of the infusion tubes 120 are different can also be dealt with. That is, if the materials of the transfusion tubes 120 are different, flexibilities of the transfusion tubes 120 are different, which leads to differences in the feature-value scores. Therefore, the material of the transfusion tube 120 can also be determined by the correctness/incorrectness determination described above.
Furthermore, when the transfusion tube 120 deteriorates over time, the flexibility of the transfusion tube 120 is different, which leads to the differences in the feature-value scores. Therefore, a degree of the deterioration of the transfusion tube 120 over time can also be determined by the correctness/incorrectness determination described above.
[Implementation Example by Software]
A control block of the controller 50 (particularly the subframe generation portion 63, the feature-value calculation portion 64, the machine-learning computation portion 65, and the determination output portion 66), and a control block of the learning device 80 (particularly the feature-value calculation portion 81 and the machine-learning-model generation portion 82) may be achieved by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be achieved by software.
In the latter case, the controller 50 and the learning device 80 include a computer which executes a program instruction and is the software that achieves each function. The computer includes, for example, one or more processors and a computer-readable recording medium that stores the program. Besides, in the computer, the processor reads and executes the program from the recording medium, and thereby the object of the present invention is achieved. As the processor, for example, a central processing unit (CPU) can be used. As the recording medium, a “non-temporary tangible medium”, for example, in addition to read only memory (ROM) and the like, a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. In addition, a random access memory (RAM) and the like for expanding the program may be further included. In addition, the program may be supplied to the computer via any transmission medium (a communication network, a broadcast wave, or the like) capable of transmitting the program. Moreover, the aspect of the present invention can be achieved even in a form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.
Moreover, the present invention is not limited to each embodiment described above, and various modifications can be made within a scope shown in claims, and embodiments obtained by appropriately combining technical means respectively disclosed in the different embodiments are also included in the technical scope of the present invention.
In addition, the specific configuration of classification and learning processing for generating the learned model by the learning device 80 is not limited to the present embodiment, and for example, any one of following machine learning methods or a combination thereof can be used.
When the neural network is used, 3D data may be processed in advance to be used for input of the neural network. In this process, in addition to one-dimensional arrangement or multidimensional arrangement of the data, for example, a method such as Deta Argumentation or the like can be used.
In addition, when the neural network is used, a convolutional neural network (CNN) including convolution processing can be used. More specifically, convolution layers for performing a convolution computation may be arranged as one or more layers included in the neural network, and a filter computation (product-sum computation) may be performed on the input date which is input to the layer. In addition, when the filter computation is performed, processing such as padding and the like may be used in combination, or a stride width which is appropriately set may be used.
In addition, as the neural network, a multi-layered or super-multilayered neural network that has the layers ranging from several tens to several thousands may be used.
In addition, a machine learning method which is used in the generation processing of the learned model performed by the learning device 80 may be supervised learning or unsupervised learning.
[Summarization]
The controller according to the aspect of the present invention includes the control portion that controls each portion of the transfusion device, wherein the control portion obtains the motor shaft information showing the action state of the motor shaft of the driving motor that drives the actuating portion sequentially compressing and relaxing the transfusion tube of the transfusion device, and performs the correctness/incorrectness determination of the transfusion tube on the basis of the motor shaft information.
According to the configuration, the correctness/incorrectness determination of the transfusion tube is performed on the basis of the motor shaft information of the driving motor, and therefore it is not necessary to separately arrange a component such as a sensor or the like for detecting the state of the transfusion tube. In addition, because the correctness/incorrectness determination of the transfusion tube can be performed even if the liquid does not enter the transfusion tube, the transfusion tube after the correctness/incorrectness determination can be replaced easily even if the transfusion tube is incorrectly attached. Therefore, the correctness/incorrectness determination of the transfusion tube during the changeover can be efficiently performed.
In addition, the controller according to the aspect of the present invention has the configuration in which the control portion calculates, with reference to the motor shaft information, the feature value in the period in which the drive state of the driving motor is in the predetermined state, and performs the correctness/incorrectness determination of the transfusion tube on the basis of the feature value.
According to the configuration, the correctness/incorrectness determination of the transfusion tube is performed on the basis of the feature value in the period in which the driving motor is in the drive state. The motor shaft information does not change while the action of the driving motor is stopped, and therefore incorrect correctness/incorrectness determination can be prevented by referring the motor shaft information while the action of the driving motor is stopped.
In addition, the controller according to the aspect of the present invention has the configuration in which the control portion performs, with reference to the motor shaft information, the correctness/incorrectness determination of the transfusion tube on the basis of the torque value of the motor shaft of the driving motor in the period in which the rotation speed of the motor shaft of the driving motor is equal to or greater than the predetermined value.
According to the configuration, the period in which the rotation speed of the motor shaft of the driving motor is equal to or greater than the predetermined value is defined as the period in which the driving motor is acting, and the correctness/incorrectness determination of the transfusion tube is performed on the basis of the torque value of the motor shaft of the driving motor in this period. The torque of the driving motor when the transfusion tube is compressed and relaxed depends on the diameter of the transfusion tube. Therefore, the correctness/incorrectness determination of the transfusion tube can be correctly and efficiently performed by performing the correctness/incorrectness determination of the transfusion tube on the basis of the torque value of the motor shaft of the driving motor in the period in which the driving motor is acting.
In addition, the controller according to the aspect of the present invention has the configuration in which the control portion performs the correctness/incorrectness determination of the transfusion tube by using the learned model in which the motor shaft information of the driving motor is learned by machine learning.
According to the configuration, the plurality of parameters such as the speed, the torque, the position, and the like of the motor shaft of the driving motor are learned by the machine learning to generate the learned model, and the correctness/incorrectness determination of the transfusion tube is performed. When the correctness/incorrectness determination of the transfusion tube is performed without using the machine learning, it is necessary to set an individual threshold value with respect to each parameter to perform the correctness/incorrectness determination. On the other hand, when the correctness/incorrectness determination is performed using the learned model generated by the machine learning, the one-dimensional threshold value may be set to perform the correctness/incorrectness determination even when the plurality of parameters are used, and the correctness/incorrectness determination can be executed with a high degree of freedom in selection of the parameters.
In addition, the controller according to the aspect of the present invention has the configuration in which the plurality of transfusion tubes having different types can be used in the transfusion device, and the control portion determines the type of the transfusion tube being used on the basis of the motor shaft information of the driving motor.
According to the configuration, which transfusion tube is mounted among the plurality of transfusion tubes having different types that can be used in the transfusion device can be efficiently determined.
In addition, the controller according to the aspect of the present invention has the configuration in which the control portion determines the diameter of the transfusion tube being used on the basis of the motor shaft information of the driving motor.
According to the configuration, which diameter of the transfusion tube is mounted among the plurality of transfusion tubes having different diameters that can be used in the transfusion device can be appropriately determined.
In addition, the controller according to the aspect of the present invention can also be applied to the case in which the peristaltic pump is used as the transfusion device.
In addition, in order to solve the above problems, the method for controlling controller according to the aspect of the present invention has the configuration in which the controller controls each portion of the transfusion device, the driving motor that drives the actuating portion sequentially compressing and relaxing the transfusion tube of the transfusion device is controlled, and the correctness/incorrectness determination of the transfusion tube is performed on the basis of the motor shaft information of the driving motor.
According to the configuration, the correctness/incorrectness determination of the transfusion tube can be performed without separately arranging the component such as the sensor or the like for detecting the state of the transfusion tube. In addition, the correctness/incorrectness determination of the transfusion tube can be performed even if the liquid does not enter the transfusion tube, and therefore the transfusion tube after the correctness/incorrectness determination can be replaced easily even if the transfusion tube is incorrectly attached. Therefore, the correctness/incorrectness determination of the transfusion tube during the changeover can be efficiently performed.
In addition, in order to solve the above problems, the learning device according to the aspect of the present invention obtains the motor shaft information from the controller, generates the learned model of the motor shaft information for the transfusion tube by machine learning, and transfers the generated learned model to the controller.
According to the configuration, the correctness/incorrectness determination of the transfusion tube can be performed using the learned model of the motor shaft information generated by the learning device. Therefore, the correctness/incorrectness determination can be performed using the motor shaft information including the plurality of parameters such as the speed, the position, the torque, and the like and setting the one-dimensional threshold value.
In addition, in order to solve the above problems, the program according to the aspect of the present invention enables the computer to function as the controller, and enables the computer to function as the control portion.
According to the configuration, the computer can function as the controller to perform the correctness/incorrectness determination of the transfusion tube.
In addition, in order to solve the above problems, the program according to the aspect of the present invention enables the computer to function as the learning device.
According to the configuration, the computer can function as the learning device to generate the learned model and perform the correctness/incorrectness determination of the transfusion tube.
In addition, in order to solve the above problems, the transfusion system according to the aspect of the present invention includes: the controller; the driving motor that drives the actuating portion sequentially compressing and relaxing the transfusion tube of the transfusion device; and the motor control portion that controls the drive of the driving motor, wherein the control portion obtains the motor shaft information showing the action state of the motor shaft of the driving motor, and performs the correctness/incorrectness determination of the transfusion tube on the basis of the motor shaft information.
According to the configuration, the correctness/incorrectness determination of the transfusion tube is performed on the basis of the motor shaft information of the driving motor, and therefore it is not necessary to separately arrange the component such as the sensor or the like for detecting the state of the transfusion tube. In addition, because the correctness/incorrectness determination of the transfusion tube can be performed even if the liquid does not enter the transfusion tube, the transfusion tube after the correctness/incorrectness determination can be replaced easily even if the transfusion tube is incorrectly attached. Therefore, the correctness/incorrectness determination of the transfusion tube during the changeover can be efficiently performed.
Number | Date | Country | Kind |
---|---|---|---|
2018-110610 | Jun 2018 | JP | national |
2019-086497 | Apr 2019 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2019/020552 | 5/23/2019 | WO | 00 |