Spindle monitoring on CNC machining centres: the guide
What spindle monitoring can detect, which measurement equipment it needs, how vibration becomes an alert with a stated reason, and where the limits are. The overview, with links to every in-depth article.
The main spindle is the component a machining centre depends on. If it fails, the machine stops, and a repair is rarely a matter of hours. At the same time, spindle damage usually announces itself: the vibration pattern changes long before the spindle sounds different or runs hot. Spindle monitoring on CNC machining centres means measuring this change continuously, assessing it against the healthy state of your own machine and turning it into an alert that a maintenance engineer can act on.
This guide explains the approach from start to finish. It describes which types of damage can be detected, which measurement equipment is needed, which features are evaluated, how levels and alerts are produced, what the connection to the CNC control and IT looks like, and what a pilot actually involves. It closes with what spindle monitoring cannot do. Most sections have their own in-depth article.
Why the spindle in particular is monitored
A machining centre has many assemblies that wear: feed axes, tool changers, coolant supply, clamping systems. The spindle differs from them in three respects.
- It works all the time. As long as the machine is cutting, the spindle is turning, often across wide speed ranges and under varying load.
- Its failure is expensive and takes a long time to fix. A spindle repair usually means removal, overhaul by a spindle service provider and refitting. How much the damage costs your plant depends on utilisation and spare capacity. The article What an hour of machine downtime costs and the calculator on the home page help you work it out.
- Its damage is physically easy to measure. Spindle bearings are rolling bearings. A defect in a rolling bearing produces impacts at a repetition rate that can be calculated from bearing geometry and speed. This has been described and proven for decades.
The third point is decisive. For other assemblies the signals are harder to interpret, or the methods are not yet mature enough for us to offer them in good conscience. That is why we focus on the spindle. The situation for other assemblies is described in the articles on feed axes, tool changers and coolant monitoring. The effect of downtime on overall equipment effectiveness is covered in the article OEE on CNC machines.
Five failure modes spindle monitoring has to detect
Spindle monitoring should report not only that something has changed, but also where. To do this, it assigns every change to a failure mode. Our system currently evaluates five failure modes:
| Failure mode | How it shows | Characteristic frequency |
|---|---|---|
| Outer race defect | Line at the outer race defect frequency and its harmonics in the envelope spectrum | BPFO |
| Inner race defect | Line at the inner race defect frequency, typically with sidebands spaced at the shaft frequency | BPFI |
| Rolling element defect | Line at twice the rolling element spin frequency, because a damaged rolling element touches both raceways once per rotation about its own axis | 2 × BSF |
| Cage defect | Line at the cage frequency, often also as modulation of other lines; frequently a sign of lubrication problems | FTF |
| Unbalance | Increased vibration once per revolution, for example from contaminated tool holders or poorly balanced tools | 1 × shaft frequency |
The four bearing defects follow the same logic: each defect produces impacts with its own repetition rate. How to calculate these frequencies from the number of rolling elements, the diameters and the contact angle, and what they look like in the spectrum, is explained in detail in the article Detecting rolling bearing damage early.
Unbalance is not a bearing defect, but it is a common reason for increased vibration at the spindle. It often does not originate in the spindle itself, but in the tool or the holder. For the maintenance engineer this is an important distinction: unbalance from a dirty taper is fixed with a cloth, a bearing defect is not. Other possible causes of unusual spindle noise are described in the article Unusual spindle noise.
Measurement and connection: sensor on the housing, speed from the CNC control
Spindle monitoring needs two data sources: vibration, measured directly on the spindle, and the operating state, read from the CNC control. Neither is sufficient on its own.
Vibration sensor on the spindle housing
Bearing impacts excite the structure around the bearing in a high frequency range, usually in the kilohertz range. To capture them, you need an accelerometer mounted on the spindle housing as close to the bearing as possible, and a data acquisition card with a correspondingly high sampling rate. We decide exactly where the sensor goes during the on-site visit. What matters is a short, stiff transmission path from the bearing to the sensor.
Why the CNC control alone is not enough
The standard interfaces of CNC controls deliver values at well below 1 kHz. Evaluating bearing damage requires signals in the kilohertz range. Treat any offer that promises spindle bearing diagnostics from control data alone with caution.
Speed, load and state from the CNC control
Bearing frequencies are proportional to speed. Without the current speed, the analysis does not know where to look. We also read spindle load, temperatures and control alarms. This allows every measurement to be assigned to an operating state, and measurements taken at standstill or during a tool change can be separated from measurements taken while cutting.
The connection uses OPC UA, the interface that Siemens and HEIDENHAIN themselves provide. Supported controls are SINUMERIK 840D sl, 828D and ONE, and HEIDENHAIN TNC 640, TNC 620 and TNC7. iTNC 530 and TNC 320 have no OPC UA NC server; there we work with the sensors only. FANUC is planned. What has to be enabled on the control is covered in the article Connecting SINUMERIK and HEIDENHAIN via OPC UA.
Access is strictly read-only and secured in four ways: the software contains no write code, an upstream filter blocks every request that would change anything, automated tests check with every change that no write path has been introduced, and the control has its own user with read-only rights. By default the edge box polls once per second, technically limited to no more than once every 0.1 s, so that the control is not put under load.
Computing on site, features to Germany
The edge box at the machine calculates the features itself. The raw vibration signals stay in the factory. Only the calculated features and state variables are transmitted, encrypted via MQTT over TLS, exclusively as an outbound connection. If the network goes down, the edge box buffers at least seven days of data and then sends it on without gaps. The data is stored in data centres in Germany. Why we use MQTT for transport and OPC UA for reading is explained in the article OPC UA or MQTT. The required firewall rules are listed on the data security page.
Features and envelope: what is calculated from the vibration
A raw signal with many thousands of values per second is of no use for an assessment. The edge box condenses each measurement window into a few features, each answering a specific question:
| Feature | What it describes | What it is good for |
|---|---|---|
| RMS | Energy of the vibration in the measurement window | General condition, but with bearing damage it usually rises only late |
| Crest factor | Ratio of peak value to RMS | Rises when short impacts appear in the signal |
| Kurtosis | How strongly individual peaks stand out from the signal | Sensitive to impulsive signals such as those produced by incipient bearing damage |
| Amplitudes at bearing frequencies | Energy in the envelope spectrum at BPFO, BPFI, 2 × BSF and FTF | Shows which bearing component is affected |
| Amplitude at 1 × shaft frequency | Vibration once per revolution, via order analysis | Unbalance from tool, tool holder or rotor |
RMS, crest factor and kurtosis are time-domain features. They are robust and simple, but they do not tell you which component is changing. That requires envelope analysis: the signal is band-pass filtered around the resonance range, the envelope is formed and its spectrum calculated. There, the repetition rates of the bearing impacts appear as clear lines. We only count a line as a finding if the fundamental frequency itself is visible, not just a harmonic. The steps and the typical patterns for each defect are described in the article Detecting rolling bearing damage early.
For unbalance we use order analysis. It converts the frequency axis into multiples of the shaft frequency. Only measurement windows with a constant speed are analysed, so that the speed-related components stay sharp in the spectrum. Windows with a speed change are discarded.
Why a single overall level says little about spindles, and what the ISO vibration standards actually specify, is covered in the article Vibration analysis on machine tools and ISO limits.
Learned baseline, levels and alerts
A feature on its own says nothing. Whether an RMS value is high depends on the spindle: on design, installation, age, measurement point and speed. That is why our system assesses every feature against the learned baseline, i.e. the normal state of this spindle, separately for each measurement point and speed range. Only like is compared with like.
During the learning phase, the system collects measurements from healthy operation and determines the median and a robust spread for each feature. Robust means that individual outliers, such as an impact during a tool change, barely shift the learned baseline. Each new measurement is then assessed as follows:
The deviation results in one of four levels:
| Level | Meaning | Recommended response |
|---|---|---|
| Normal | Within the band of the learned baseline | None |
| Noticeable | Slight deviation | Keep an eye on it, no immediate action needed |
| Warning | Clear deviation or a recognised failure mode | Plan an inspection at the next opportunity |
| Alarm | Strong deviation | Inspect soon, increased risk of failure |
Two rules keep the number of false alarms low. First, a level is only reported once it persists over several consecutive measurements. A single outlier is not enough. Second, the thresholds between the levels are starting values. They come neither from a standard nor from the machine builder, and they are calibrated with real data and your feedback.
Every alert carries its reason: which feature, at which measurement point, at which speed, how far above the learned baseline, which failure mode is suspected and what to check. An example of the structure, not from a customer project: ‘Outer race defect suspected (spindle bearing). Line at BPFO clearly above the noise, confirmed over several measurements. Check: running noise, bearing temperature, lubrication, discuss findings with spindle service provider.’
The method is deliberately transparent. We only use machine learning once it has been shown to perform better on held-out data. Why we prefer a learned baseline to fixed thresholds, and how this differs from black-box methods, is covered in the article Fixed thresholds or learned baseline. How condition monitoring differs from predictive maintenance is explained in the article Condition monitoring or predictive maintenance.
How a pilot works
Whether spindle monitoring works on your machines can only be shown on your machines. Our pilots run in four steps. No step changes anything on the machine, and you can stop at any point.
- Introductory call: by phone or video, we check whether the control, software version and options are suitable. If they are not, we tell you in this call.
- Pre-check: for each machine you send us the manufacturer, model, year of manufacture and control, plus photos of the nameplate and the options screen. Your IT approves the outbound connections.
- On-site visit: we connect the control read-only, document the available signals and agree the measurement points on the spindle housing with you. We only set up users and certificates on the control with your approval. Production carries on throughout.
- Pilot: the system first learns the baseline. How long that takes depends on how quickly the spindle runs through its usual speed ranges in healthy operation. After that, every alert comes with a reason, you tell us whether it was accurate, and once a month you receive a report per machine.
For the bearing part of the analysis we need the geometry data of the spindle bearings: number of rolling elements, rolling element diameter, pitch diameter and contact angle. These are in the documentation from the spindle or bearing manufacturer. Estimated values shift all bearing frequencies. Details of the process are on the Process and requirements page, the scope of service on the Spindle monitoring for CNC machining centres page.
What spindle monitoring does not do
An honest description belongs in every guide. You should know these points before deciding on a system, ours included:
- No prediction to the day. How much time passes between the first anomaly and a failure depends on bearing design, load, speed and lubrication. We show how far a spindle deviates from its learned baseline and which failure mode lies behind it. We do not state a fixed remaining useful life.
- No ‘zero downtime’. Sudden events such as a collision do not announce themselves in the vibration pattern. No monitoring system can prevent that.
- No intervention in the CNC control. We write nothing, start no programs and optimise no parameters. The decision on what happens with an alert stays with you.
- Not every assembly. Feed axes are in development; we record their signals during the pilot but do not yet assess them. Tool changers and coolant are on the roadmap and are not part of the offer today.
- Learn first, then assess. Without a learned baseline there is no reliable assessment. If a spindle is already damaged when the sensor is fitted, the system learns this state as its starting point. That is why a look at the spindle's age, history and running noise is part of the on-site visit.
- Limited without a control connection. On controls without OPC UA the vibration measurement works, but speed and load are missing. What this means for the analysis of your machine is something we clarify in the introductory call.
If you want to know whether your control can be connected and which spindles are suitable for a pilot, get in touch via the contact page.
Frequently asked questions
What does spindle monitoring on a CNC machine cost?
The model consists of a one-off setup and a monthly licence per machine. The actual figure depends on the control, the number of measurement points and the number of machines, and is given in the introductory call. Whether monitoring pays off depends mainly on what an unplanned spindle failure costs your plant.
Can spindle bearings be monitored using CNC control data alone?
No. The standard interfaces of the controls deliver values well below 1 kHz. Bearing damage shows up in the kilohertz range. This requires a vibration sensor on the spindle housing. The control additionally supplies speed, load and alarms.
Which CNC controls can be connected for spindle monitoring?
Siemens SINUMERIK 840D sl, 828D and ONE, and HEIDENHAIN TNC 640, TNC 620 and TNC7, each via OPC UA and read-only. On iTNC 530 and TNC 320 only the sensors work. FANUC is planned.
How long does it take until monitoring reports reliably?
First the system has to learn the baseline of the spindle, separately for each measurement point and speed range. How long that takes depends on your part mix and the speeds you run. After that, the thresholds are calibrated during the pilot using your feedback.
Will I lose the warranty if a sensor is mounted on the spindle?
The control connection uses the OPC UA interface offered by the manufacturer and writes nothing. For mounting the sensor on the spindle housing, please check your maintenance contract. If it reserves work on the machine for the machine builder, we will clarify this with you in advance.