Machining equipment, such as milling machines, often include a spindle chuck into which different tools can be inserted. Equipped with these tools milling machines can be used to form objects, for example, machine parts.
Existing systems use sensors mounted (via, for example, a bearing) on the spindle connecting the chuck to the motor and limit-based monitoring to determine when a piece of material is caught between the chuck and the tool. However, these existing systems are not easily used on older or legacy machines, and the hardware used to attach the sensor to the spindle often fails. Additionally, these existing systems suffer from limited scalability and required defined measuring cycles, which cause downtime. Some existing systems require connection to a machine control system to determine when monitoring should take place (when is a tool in use), which tool is in use, or both. Some existing systems use different models for determining whether material is caught between a tool and a chuck depending on the tool in use and need to determine which tool is in use in order to select the correct model. Connecting to the machine control system is complex and requires customization for the different hardware of each machine control system vendor and each machine setup.
Therefore, embodiments herein describe, among other things, a system and method for detecting when a piece of material is caught between a chuck and a tool. Certain embodiments described herein utilize machine learning software to determine when a piece of material is caught between the chuck and the tool based on vibration data from a sensor mounted on a surface of the machine (for example, a motor housing). Certain embodiments described herein do not require a sensor to be mounted on the spindle and overcome many of the aforementioned deficiencies of existing systems. Additionally, the embodiments described herein do not require connection to machine control systems because they use vibration data to determine when a tool is in use and a machine learning model to determine, for a variety of different tools, whether a piece of material is caught between a tool and a chuck.
For example, one embodiment provides a system for detecting material caught between a chuck and a removable tool. The system includes a sensor mounted on a surface that vibrates. The vibration of the surface is caused by a rotating of the removable tool in the chuck. The system also includes an electronic processor configured to receive raw vibration data from the sensor, generate transformed vibration data by transforming the raw vibration data, and using a machine learning model, analyze the raw vibration data and transformed vibration data to determine whether there is a piece of material caught between the tool and the chuck.
Another embodiment provides a method for detecting material caught between a chuck and a tool. The method includes receiving raw vibration data from a sensor mounted on a surface that vibrates. The vibration of the surface is caused by a rotating of the removable tool in the chuck, generating transformed vibration data by transforming the raw vibration data, and using a machine learning model, analyzing the raw vibration data and transformed vibration data to determine whether there is a piece of material caught between the tool and the chuck.
Yet another embodiment provides a method for detecting material caught between a chuck and a removable tool. The method includes receiving raw vibration data from a sensor mounted on a surface that vibrates. The vibration of the surface is caused by an operation of the removable tool in the chuck and using a machine learning model, analyzing raw vibration data, transformed vibration data generated from the raw vibration data, or both to determine whether there is a piece of material caught between the removable tool and the chuck.
Other aspects, features, and embodiments will become apparent by consideration of the detailed description and accompanying drawings.
Before any embodiments are explained in detail, it is to be understood that this disclosure is not intended to be limited in its application to the details of construction and the arrangement of components set forth in the following description or illustrated in the following drawings. Embodiments are capable of other configurations and of being practiced or of being carried out in various ways.
A plurality of hardware devices and software, as well as a plurality of different structural components may be used to implement various embodiments. In addition, embodiments may include hardware, software, and electronic components or modules that, for purposes of discussion, may be illustrated and described as if the majority of the components were implemented solely in hardware. However, one of ordinary skill in the art, and based on a reading of this detailed description, would recognize that, in at least one embodiment, the electronic based aspects of the invention may be implemented in software (for example, stored on non-transitory computer-readable medium) executable by one or more processors. For example, “control units” and “controllers” described in the specification can include one or more electronic processors, one or more memory modules including non-transitory computer-readable medium, one or more communication interfaces, one or more application specific integrated circuits (ASICs), and various connections (for example, a system bus) connecting the various components. It should also be understood that although certain drawings illustrate hardware and software located within particular devices, these depictions are for illustrative purposes only. In some embodiments, the illustrated components may be combined or divided into separate software, firmware and/or hardware. For example, instead of being located within and performed by a single electronic processor, logic and processing may be distributed among multiple electronic processors. Regardless of how they are combined or divided, hardware and software components may be located on the same computing device or may be distributed among different computing devices connected by one or more networks or other suitable communication links.
The sensor 225 is a vibration sensor, capable of measuring the vibrations generated by the moving tool 220. For example, the sensor 225 may be a Structure-Borne Sound Sensor (SB SS) or a Connected Industrial Sensor Solution (CISS) manufactured by Robert Bosch LLC. The sensor 225 is communicatively connected to the local computer 230 and sends vibration data to the local computer 230 via various wired or wireless connections. For example, in some embodiments, the sensor 225 is directly coupled via a dedicated wire to the local computer 230. In other embodiments, the sensor 225 is communicatively coupled to the local computer 230 via a shared communication link such as a Bluetooth™ or other wireless connection. In some embodiments, the sensor 225 is mounted to the motor housing 205. In other embodiments, the sensor 225 is mounted to the z-axis ball screw end cap 212, an x-axis ball screw end cap (not shown), or a y-axis ball screw end cap (not shown).
The local computer 230 and the server 235 communicate over one or more wired or wireless communication networks 240. Portions of the wireless communication networks 240 may be implemented using a wide area network, such as the Internet, a local area network, such as a Wi-Fi network, short-range wireless networks, such as a Bluetooth™ network, near field communication connections, and combinations or derivatives thereof. In alternative embodiments, the server 235 is part of a cloud-based system external to the system 200 and accessible by the local computer 230 over one or more additional networks.
It should be noted that while certain functionality described herein as being performed by one component of the system 200, in some embodiments that functionality may be performed by a different component of the system 200 or a combination of components of the system 200. It should be understood that the system 200 may include a different number of machines (for example, milling machines) each with a sensor, a different number of local computers, and a different number of servers than the single machine 203, local computer 230, and server 235 illustrated in
The memory 305 includes software that, when executed by the electronic processor 300, causes the electronic processor 300 to perform the method 500 illustrated in
In some embodiments, the machine learning model 315 is trained to detect when a piece of material is caught between a chuck and a tool using training data including samples or snippets of vibration data that have been labeled to indicate whether or not they are indicative of a piece of material being caught between a tool and a chuck. The training data includes a training set, a validation set, and a test set. The training set is a set of vibration data samples or snippets used to train the machine learning model 315 (for example, to determine weights and biases in the machine learning model 315). The validation set is a set of vibration data samples or snippets used to evaluate the machine learning model 315 after each training epoch and test the loss and accuracy of the machine learning model 315 on unseen data. The test set is a set of vibration data samples or snippets used to provide an unbiased evaluation of the final machine learning model 315 and define the degree of generalization of the machine learning model 315. The training data includes data vibration data from a variety of different machines, using a variety of tools in a variety of states of wear while manufacturing a variety of different objects. The training data may include raw vibration data and transformed vibration data.
In some embodiments, the training data is segmented into snippets allowing the number of training samples having a standard length to be increased. Dataset segmentation consists of slicing a signal into smaller segments (i.e., snippets), which allow enlargement of the training population with samples having a standard length. Each snippet has a window size. For vibration data, drive motor speed and sensor sampling rate should be considered when determining the window size. In some embodiments, a window size is set to cover at least one full revolution of the motor (i.e., the selected window should contain the periodical spatial position of the drive motor). In some embodiments, the window size is determined according to the following formula:
In some embodiments, each snippet is smaller (for example, half of the window size). In some embodiments, the training data is downsampled. Downsampling is utilized to increase the performance of some neural networks (for example, Long Short-Term Networks) by using smaller window sizes. In some embodiments, the training data is normalized using, for example, Standard-Scaling.
In some embodiments, the training data is collected via one or more local computers such as the local computer 230 and sent to the server 235. The server 235 uses the received training data to train a machine learning model 315 and, when the machine learning model 315 is trained, sends the machine learning model 315 to each local computer in the system 200. When the local computer 230, executing the machine learning model 315, cannot determine whether vibration data is indicative of a piece of material being caught between a tool and a chuck, the local computer 230 may send a notification to the server 235 (for example, using a suitable network message or an application programming interface). In some embodiments, the notification may include the vibration data and a label that the machine operator has associated with the vibration data. In response to receiving the notification, the server 235 may retrain the machine learning model 315 and send the retrained machine learning model to each of the local computers in the system 200. Therefore, the machine learning model deployed to each local computer improves over time from collective awareness and the initial training time needed to apply the machine learning model to monitoring a new machine is reduced.
Although not illustrated herein, the server 235 may contain components similar to those illustrated in
The neural network has a plurality of layers including feature extraction layers 615 and a classification layer 620. There are two types of feature extraction layers 615—convolutional layers and pooling or sub-sampling layers. Each convolutional layer applies filters to the raw and transformed vibration data in the x-direction. In certain embodiments, a filter is a matrix of weight values. The weight values of the filters are set by training the neural network. Sub-sampling layers reduce the size of the input data or signals being processed by the neural network. A sub-sampling layer creates a smaller portion from a larger signal by creating the smaller signal with patterns that represent groups of patterns in the larger signal. The classification layer 620 is responsible for using the extracted features of the raw and transformed vibration data in the x-direction detecting when a piece of material is caught between a chuck and a tool.
It should be understood that the machine learning model 315 may receive different input via the two input channels than the raw and transformed vibration data in the x-direction illustrated in
In some embodiments, when a piece of material is determined to be caught between the chuck 215 and the tool 220, the electronic processor 300 is configured to send a signal to interrupt the machining process (for example, using a suitable message protocol or discrete signal), send a signal to cause a notification indicating that there is a piece of material caught between the chuck 215 and the tool 220 to a user (for example, a technician), a combination of the foregoing, and the like. For example, the user may be notified of the existence of the piece of the material via a user interface of a user device or the local computer 230. In some embodiments, interrupting the machining process includes preventing the machine 203 from manufacturing any further objects until a human operator approves the machine 203 for further manufacturing.
Embodiments described herein are described in terms of detecting a piece of material caught between a chuck and a tool during a rotation of the tool by the chuck and a spindle. However, it should be understood that the embodiments may be used to detect piece(s) of material caught between a chuck, clamp (for example, a blade clamp), or other tool holder and a tool held by the chuck, clamp, or holder during non-rotational movements of a tool by a machine. In one non-limiting example, a tool (for example, a saw blade) used in a reciprocating motion may generate vibrations during the operation of the tool that can be used to determine whether material is caught in the tool holder (for example, a blade clamp). Systems and methods described herein are also applicable to machines operating such tools.
In the foregoing specification, specific embodiments and examples have been described. However, one of ordinary skill in the art appreciates that various modifications and changes can be made without departing from the scope of the invention as set forth in the claims below. Accordingly, the specification and figures are to be regarded in an illustrative rather than a restrictive sense, and all such modifications are intended to be included within the scope of present teachings.
In this document, relational terms such as first and second, top and bottom, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms “comprises,” “comprising,” “has,” “having,” “includes,” “including,” “contains,” “containing” or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises, has, includes, contains a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by “comprises . . . a,” “has . . . a,” “includes . . . a,” or “contains . . . a” does not, without more constraints, preclude the existence of additional identical elements in the process, method, article, or apparatus that comprises, has, includes, contains the element. The terms “a” and “an” are defined as one or more unless explicitly stated otherwise herein. The terms “substantially,” “essentially,” “approximately,” “about” or any other version thereof, are defined as being close to as understood by one of ordinary skill in the art, and in one non-limiting embodiment the term is defined to be within 10%, in another embodiment within 5%, in another embodiment within 1% and in another embodiment within 0.5%. The term “coupled” as used herein is defined as connected, although not necessarily directly and not necessarily mechanically. A device or structure that is “configured” in a certain way is configured in at least that way but may also be configured in ways that are not listed.
Various features, advantages, and embodiments are set forth in the following claims.
This application is related to and claims the benefit of and priority to U.S. Provisional Patent Application Ser. No. 62/985,170, filed Mar. 4, 2020, titled “DETECTING WHEN A PIECE OF MATERIAL IS CAUGHT BETWEEN A CHUCK AND A TOOL” (Attorney Docket No. 022896-3233-US01), the disclosure of which is hereby incorporated herein by reference as if set forth in its entirety.
Number | Date | Country | |
---|---|---|---|
62985170 | Mar 2020 | US |