Troubleshooting and Maintenance of Marposs VTS Tool Alignment Instrument

Troubleshooting and Maintenance of CCD Image Alignment Tool (VTS)


📷 Search SummaryCCD Image Tool Alignment Maintenance Special Issue – Focusing on Typical Malfunctions of Marposs VTS Series Visual Tool Alignment System. Covering CCD sensor resolution and pixel equivalent calibration, cleaning standards for image blur caused by lens dirt, criteria for determining and replacing light source attenuation, troubleshooting process for image acquisition timeout, and differential analysis of various platforms such as Fanuc/Mazak/Heidenhain/SODICK.


Prepared by: Technical Department of Ningbo Jiangce Technology Co., Ltd

Version: V1.0
Applicable models: VTS series CCD image tool setter
Keywords: CCD image alignment, VTS maintenance, lens cleaning, pixel equivalent



🚨 Must read for on-site engineers: Safety precautions and disclaimer tips

The numerical control system parameters (such as FANUC # 3006, # 6200) and macro programs (such as O8060/O9601, etc.) involved in this article are all standard universal logic. Due to differences in PLC ladder diagram control logic, secondary development variable addresses, and coordinate system settings among machine tool manufacturers (such as Mazak, Demage, Makino, Haas, and domestic brands of vertical/horizontal/five axis),Before debugging or running any calibration macro program on the machine for the first time, please strictly follow the following foolproof operations:

  1. Switch the machine to “Dry Run” mode and limit the fast moving channel magnification (G00) to below 5%.
  2. Closely observe the relative movement direction of the measuring needle, cutting tool, and tool setter, and do not leave the Single Block and emergency stop button with your hands.
  3. The technical information provided by our company is for industry experience exchange only, and we do not assume any legal or economic responsibility for physical collisions or workpiece scrapping caused by directly copying the code.

目录

  1. Overview and Scope of Application
  2. Working principle of CCD image tool setter VTS system
    2.1 Basic principle of CCD sensor
    2.2 VTS Image Alignment System Architecture
    2.3 Image acquisition and processing flow
    2.4 Analysis of Differences in Brand Systems
  3. Common Failure Modes and Cause Analysis
    3.1 Fault phenomenon 1: Blurred image
    3.2 Fault Phenomenon 2: Calibration Failure
    3.3 Fault phenomenon three: abnormal brightness of the light source
    3.4 Fault phenomenon four: CCD aging
    3.5 Summary Table of Probability Distribution of Faults
  4. Troubleshooting process (from simple to complex)
    4.1 Cleaning the lens – the first step must be done
    4.2 Light source inspection and adjustment
    4.3 Re calibration
    4.4 Hardware Diagnosis and Replacement
  5. Detailed explanation of VTS calibration process
    5.1 Preparation before Calibration
    5.2 Standard Calibration Process
    5.3 Verification of Calibration Results
  6. Fanuc System Knife Instrument Differences
    6.1 System integration method
    6.2 Common Fault Characteristics
    6.3 Calibration Differences
  7. Differences in the Mazak System Knife Alignment Instrument
    7.1 MAZAK Dialogue Programming Environment
    7.2 Differences in Image Processing
    7.3 Maintenance precautions
  8. Heidenhain system tool setting differences
    8.1 Characteristics of TNC Controller
    8.2 Image knife setting
    8.3 Fault diagnosis methods
  9. SODICK system tool gauge differences
    9.1 Characteristics of EDM machine tool alignment
    9.2 Application of CCD tool alignment on SODICK
    9.3 Special fault handling
  10. Preventive maintenance of CCD tool setter
  11. Compilation of Maintenance Cases
  12. Appendix and Technical Data

📋 Quick search of core instructions

CCD image tool setter VTS system core instructions:

G65 Pxxxx– Special calibration macro program provided by VTS manufacturer (program number varies depending on brand and system integration method)

M code callThe Mazak system calls the calibration sequence through M code

CALIBRATE instructionThe Heidenhain TNC system completes calibration through specific instruction segments


🔧 Clarifying technical misconceptionsCommon Misconceptions in CCD Image Knife Repair——
CCD visual tool alignment is not simply “taking photos”, its core is a complete image processing pipeline: including dark/flat field correction preprocessing, Canny/Sobel sub-pixel edge detection, Zernike moment feature extraction, and sub-pixel positioning algorithm, ultimately achieving micrometer level precision tool profile measurement and positioning.


1. Overview and Scope of Application

CCD Vision Tool Setter (VTS) is an indispensable high-precision tool setter in modern CNC machining centers. It captures tool images through high-resolution CCD camera sensors and uses image processing algorithms to automatically identify the position of the tool tip, achieving non-contact, high-precision, and high-efficiency tool measurement and setting.

This manual is written for the maintenance and repair of VTS series CCD image tool setter, covering a complete knowledge system from basic principles to advanced fault diagnosis. The article provides a detailed analysis of the causes and troubleshooting methods for four major types of faults: image blur, calibration failure, light source attenuation, and CCD aging. It also conducts a special analysis of the differences in tool alignment between the four mainstream CNC systems: FANUC, MAZAK, HEIDENHAIN, and SODICK. Ningbo Jiangce Technology has summarized a complete set of technical solutions from lens cleaning standards to CCD aging assessment in the maintenance practice of CCD visual alignment instrument.

This manual is applicable to technical personnel engaged in CNC equipment maintenance, tool setter installation and debugging, and precision machining process support. Before reading this manual, it is recommended that readers have basic knowledge of CNC system operation, sensor principles, and basic concepts of image processing. Based on years of maintenance cases, Ningbo Jiangce Technology Department has developed this manual into a technical manual that is suitable for rapid on-site diagnosis and can be further studied.

2. Working principle of CCD image tool setter VTS system

2.1 Basic principle of CCD sensor

CCD (Charge Coupled Device) image sensor is the core photosensitive element of VTS image alignment instrument. Its working principle is based on photoelectric effect and charge transfer technology, which can convert optical images into electrical signals, and then convert them into digital image data through analog-to-digital converters (ADCs) for processor analysis.

Photoelectric conversion processWhen light is irradiated onto the CCD photosensitive surface through an optical lens, the photodiodes in each pixel unit generate charges proportional to the intensity of the incident light. These charges are temporarily stored in the potential well of the pixel unit, waiting to be read out. The longer the exposure time, the more accumulated charges and the stronger the signal intensity.

Charge transfer mechanismThe fundamental difference between CCD and CMOS sensors lies in the charge readout method. CCD adopts a row by row transfer method. Under the control of clock pulses, the charges of each row of pixels are vertically transferred to the horizontal readout register, and then read out pixel by pixel by the horizontal register and converted into voltage signals. This transfer method ensures extremely high charge transfer efficiency (usually above 99.999%) and extremely low readout noise, enabling CCD to obtain high-quality images even in low light environments.

Resolution and accuracyVTS systems typically use million pixel level CCD sensors with common resolutions of 1280 × 1024, 1600 × 1200, or higher. By combining appropriate optical magnification, the physical size corresponding to a single pixel can reach 0.5-2 μ m, which is the hardware foundation for achieving micrometer level tool alignment accuracy.

Spectral response characteristicsCCD sensors have excellent response characteristics to visible light bands (400-700nm), with peak response typically around 550nm (green light). VTS systems typically use white LED as the illumination source to match the spectral response curve of CCD and achieve optimal image contrast.

2.2 VTS Image Alignment System Architecture

The complete VTS image alignment system consists of the following core components:

Optical imaging subsystemIncluding optical lens assembly, aperture adjustment mechanism, CCD sensor and its driving circuit board. The lens group usually adopts a fixed focus design, which ensures precise coincidence between the focal plane and the CCD photosensitive surface through a precise mechanical structure. Some high-end models are equipped with automatic zoom or electric focusing functions to adapt to tools of different diameters and shapes.

Lighting subsystemUsing a high brightness white LED array as the light source, combined with a light guide plate and diffusion sheet to achieve uniform illumination. There are two types of lighting methods: backlighting and frontlighting. Backlight illumination is used to measure the contour of the tool, while front illumination is used to observe the surface condition of the tool. VTS systems typically rely on backlighting, with LED light sources placed opposite the CCD sensor to create a clear black outline of the tool in the image.

Image acquisition and processing unitIncludes an image acquisition card (or directly connected to an industrial computer via USB/GigE interface), an image processing algorithm library, and a calibration data storage module. Image processing algorithms include edge detection, sub-pixel localization, template matching, and focal length evaluation.

Motion Control SubsystemIncluding Z-axis lifting mechanism driven by servo motor or stepper motor, rotary indexing mechanism (optional) and pneumatic protection device. The precision of motion control directly affects the repeatability of measurement.

Communication InterfaceCommunicate with CNC controller through serial port (RS-232), Ethernet or I/O interface to transmit measurement results and control instructions.

2.3 Image acquisition and processing flow

The image acquisition and processing process of VTS tool setter can be divided into the following steps:

Step 1: Image AcquisitionAfter the CNC system sends the tool setting command, the tool setting device moves to the predetermined position, the LED light source lights up, and the CCD sensor completes image acquisition within the set exposure time (usually 10-50ms). After the raw image data is read out from the CCD, it is processed by the analog front-end (AFE) to perform correlated double sampling (CDS) to eliminate reset noise, and then converted into a digital signal by the ADC.

Step 2: Image PreprocessingThis includes dark field correction (eliminating fixed pattern noise), gain correction (compensating for sensitivity differences between pixels), and flat field correction (eliminating illumination non-uniformity). The preprocessed image enters the image memory and waits for further processing.

Step 3: Edge detectionThe system uses sub-pixel edge detection algorithm to locate the tool contour within the preset region of interest (ROI). Common algorithms include Canny edge detection, Sobel operator, or sub-pixel edge localization based on Zernike moments. For standard shaped cutting tools such as end mills and drill bits, the system can also use template matching for quick positioning.

Step 4: Feature Extraction and MeasurementExtract key geometric features of the tool based on the detected edge points, including tool diameter, blade tip position, blade angle, and blade wear status. The most important thing for tool alignment is to determine the precise position of the tool in the Z-axis direction (length) and X/Y direction (radius).

Step 5: Result outputThe measurement results are transmitted to the CNC system through a communication protocol, and the CNC system updates the tool offset parameters accordingly. The entire process is usually completed within 1-3 seconds.

2.4 Analysis of Differences in Brand Systems

Although the basic principle of CCD image knife alignment is the same in various brand systems, there are significant differences in specific implementation methods, communication protocols, calibration methods, and maintenance strategies.

Differences in Image Processing AlgorithmsThe Fanuc system utilizes built-in image processing hardware and proprietary algorithms to optimize specific types of tool contours; The Mazak system integrates image processing into the Mazak conversational programming environment, providing a more intuitive user interface; The Heidenhain TNC controller supports more flexible parameter configuration, allowing operators to adjust various image processing parameters; Shadick’s application in electric discharge machining machines emphasizes the ability to identify slender electrode wires and small cutting tools.

Differences in calibration methodsThe calibration process of each brand system has significant differences in macro program calling methods, calibration tool requirements, and parameter storage locations. The contact type tool setter installed on the Fanuc system (such as Renishaw TS27R/OTS) is calibrated using the O9801/O9802 macro program; The CCD image tool usually uses a dedicated calibration program provided by the VTS manufacturer (the program number varies depending on the brand and system integration method). Mazak uses M code to call the calibration sequence, while Heidenhain completes the calibration through specific instruction segments in the TNC program.

Differences in communication protocolsFanuc typically uses high-speed serial buses (such as I/O Link i) or Ethernet communication; Mazak prioritizes the use of Mazak’s proprietary communication protocol; Heidenhain adopts EnDat or Fanuc compatible interfaces; Shadick tends to use dedicated I/O interfaces.

These differences mean that maintenance engineers need to adjust their troubleshooting and repair methods accordingly when dealing with different brand systems. Subsequent chapters will provide a detailed analysis of each brand system.

3. Common Failure Modes and Cause Analysis

3.1 Fault phenomenon 1: Blurred image

Image blur is the most common fault phenomenon of CCD image alignment tool, manifested as unclear tool contour edges, decreased contrast, and loss of image details. Image blur directly affects the accuracy of edge detection, leading to poor repeatability of tool alignment and even measurement failure.

Cause analysis (sorted in descending order of probability)

Reason 1: Surface contamination of the lens (probability about 45%)
There are a large amount of cutting fluid mist, metal dust, and abrasive particles in the processing workshop environment. These pollutants will gradually deposit on the surface of the lens protective glass, forming a semi transparent oil film or dust layer. At the initial stage, it appears as a slight mist, and in severe cases, it resembles a frosted glass effect. Lens contamination is the most common cause of image blur, usually appearing after 3-6 months of device operation.

Reason 2: Lens focal length offset (probability about 20%)
During long-term operation, the lens fixing mechanism of VTS tool setter may experience slight focal length deviation due to vibration. Especially for the tool presetter installed near the spindle, frequent spindle acceleration, deceleration, and tool change impacts can transmit vibrations to the optical system. A focal length offset of 0.1mm can cause significant blurring of the image.

Reason 3: Wear or damage of protective glass (probability about 15%)
The protective glass in front of the camera is exposed to cutting environments for a long time, which may cause scratches during frequent wiping and maintenance, or cracks due to being hit by flying chips. These physical damages scatter light and reduce image quality.

Reason 4: CCD photosensitive surface contamination (probability about 10%)
In extreme cases (such as seal failure), cutting fluid or oil mist may enter the interior of the CCD module, contaminating the photosensitive surface. This situation is usually accompanied by other sealing failures.

Reason 5: Increased electronic noise (probability about 8%)
The aging of CCD driving circuit or the increase of power ripple result in excessive noise in the collected image, which is visually manifested as enhanced graininess and blurred edges. This situation usually does not occur immediately, but gradually deteriorates as electronic components age.

Reason 6: Mold inside the optical system (probability about 2%)
In high temperature and high humidity environments, mold may grow on the surface of optical lenses. Fungal hyphae can corrode the lens coating, causing irreversible decrease in light transmittance and degradation of image quality. This situation needs special attention in workshops during the rainy season in the south.

3.2 Fault Phenomenon 2: Calibration Failure

Calibration failure is the second most common fault after image blur, manifested as errors in the calibration program of the tool setter, inability to complete calibration, or calibration results exceeding the allowable range.

Cause analysis (sorted in descending order of probability)

Reason 1: Calibration tool position deviation (probability about 35%)
The calibration ring gauge or standard component is not properly placed, or there is a slight displacement due to vibration during the calibration process. This is the most common reason for calibration failure, which can usually be resolved by simply repositioning the calibration tool.

Reason 2: Poor image quality (probability about 25%)
The calibration algorithm has clear requirements for the clarity, contrast, and uniformity of the calibration image. If the image is blurry, the lighting is uneven, or there is reflective interference, the calibration algorithm will not be able to extract effective feature points, resulting in calibration failure.

Reason 3: Calibration parameters have been tampered with or lost (with a probability of approximately 15%)
Calibration parameters stored in CNC or tool alignment controllers may be lost or damaged during system maintenance, parameter backup and recovery, or battery failure. The calibration program can run, but the input-output relationship is clearly abnormal.

Reason 4: Mechanical zero drift (probability about 10%)
The mechanical installation position of the tool setter has experienced slight drift due to long-term use, resulting in a discrepancy between the reference coordinate system used for calibration and the actual coordinate system. This drift is usually gradual and begins to manifest after 2-3 years of device use.

Reason 5: Communication failure (probability about 8%)
The communication interruption or data abnormality between the tool setter and CNC results in the calibration program being unable to receive or send data correctly. Common reasons include poor contact of communication cables, damage to interface circuits, or incorrect configuration of communication protocols.

Reason 6: The calibration macro program is damaged (with a probability of about 5%)
The calibration macro program stored in CNC (such as O9801/O9802 for contact type tool setter) was accidentally overwritten or modified. Commonly seen after unauthorized program editing or system software upgrades.

Reason 7: Hardware failure (probability about 2%)
Hardware issues such as severe aging of CCD sensors, severe attenuation of LED light sources, or driver circuit failures make it impossible for the system to complete the image acquisition and processing required for calibration at the physical level.

3.3 Fault phenomenon three: abnormal brightness of the light source

Abnormal brightness of the light source is manifested as insufficient, uneven, or flickering brightness of the LED lighting. The light source issue directly affects the image quality, which in turn affects the accuracy of all measurement results.

Cause analysis (sorted in descending order of probability)

Reason 1: LED natural attenuation (probability about 40%)
LED light sources have their inherent lifespan, typically ranging from 30000 to 50000 hours. As the usage time increases, the luminous flux of LED gradually decreases. When the brightness decays below 70% of the initial value, the image quality will be significantly affected. LED attenuation is a slow process that is usually not noticeable to users until systematic deviations in tool accuracy begin to appear.

Reason 2: LED driver power failure (probability about 25%)
The output current of the LED driver power supply is unstable or the voltage is abnormal, causing fluctuations in LED brightness or a decrease in overall brightness. Driver power failure usually manifests as: the brightness is normal when the chiller is started, but after running for a period of time, the brightness decreases; Or there may be periodic fluctuations in brightness.

Reason 3: Pollution or aging of light guide/diffusion components (probability about 15%)
The surface area of the light guide plate and diffusion sheet accumulates oil or dust, resulting in uneven distribution of emitted light or a decrease in overall transmittance. In addition, diffusion sheet materials may undergo yellowing under long-term ultraviolet irradiation and high temperature, which reduces the light transmission efficiency.

Reason 4: Local damage to LED module (probability about 10%)
Individual LED beads in the LED array are damaged, resulting in dark areas or uneven brightness in the illuminated area. Although individual LED damage has limited impact on overall brightness, uneven lighting can introduce measurement errors in high-precision measurements.

Reason 5: Abnormal power supply voltage (probability about 8%)
The fluctuation of the workshop power supply voltage or the malfunction of the tool setter power module may cause the LED working voltage to deviate from the rated value. Low voltage leads to insufficient brightness, while high voltage accelerates LED aging.

Reason 6: Abnormal LED control signal (probability about 2%)
Some VTS systems adjust LED brightness through PWM signals. If the PWM control signal is abnormal (frequency offset, duty cycle error), it will cause abnormal LED working status.

3.4 Fault phenomenon four: CCD aging

The aging of CCD sensors is a gradual process, characterized by overall degradation of image quality, increase in dark current, increase in bad pixels, and decrease in sensitivity. CCD aging is usually irreversible and is a key factor determining the ultimate service life of the tool setter.

Cause analysis (sorted in descending order of probability)

Reason 1: Long term thermal stress (probability about 40%)
CCD sensors generate heat during operation, and long-term high-temperature operation accelerates the aging process of silicon-based materials. For every 10 ℃ increase in temperature, the dark current of the CCD approximately doubles. If the heat dissipation design of the cutting instrument is poor or the working environment temperature is too high (over 40 ℃), the aging rate of CCD will be significantly accelerated.

Reason 2: Accumulated radiation damage (probability about 25%)
Although there are usually no strong radiation sources in the workshop environment, CCD sensors are sensitive to high-energy particles such as cosmic ray secondary particles. Long term exposure to environmental radiation can cause lattice defects in the CCD silicon substrate, manifested as an increase in dark current and hot pixels.

Reason 3: Electrostatic Discharge (ESD) (probability about 15%)
Improper operation during installation, disassembly, or cleaning of the tool setter may cause electrostatic discharge to be conducted to the CCD chip through the interface circuit. Even a weak electrostatic discharge can cause invisible damage inside the CCD, manifested as abnormal sensitivity of specific pixels or fixed pattern noise.

Reason 4: Corrosion in humid environment (probability about 10%)
Water vapor in high humidity environments may enter the interior of CCD modules through packaging gaps, causing metal wire corrosion or chip surface leakage. Manifested as dark spots, bright spots, or stripes appearing in the image.

Reason 5: Continuous overexposure (probability about 8%)
Working under high brightness illumination for a long time and improper exposure settings can cause the CCD to remain in an oversaturated state, accelerating the aging of the photodiode. A common mistake is to use excessively long exposure times in high brightness environments.

Reason 6: Mechanical stress (probability about 2%)
The CCD package was subjected to excessive mechanical stress during installation (such as excessive tightening torque of screws), resulting in the formation of internal microcracks. This situation usually occurs after repairing and replacing the CCD.

3.5 Summary Table of Probability Distribution of Faults

Fault Categoryspecific reasonProbability proportioncumulative probabilitydifficulty level
image blurringLens contamination45%45%★☆☆☆☆
image blurringFocal length offset20%65%★★☆☆☆
image blurringProtect glass from damage15%80%★★☆☆☆
image blurringCCD photosensitive surface contamination10%90%★★★☆☆
image blurringElectronic noise8%98%★★★★☆
image blurringOptical mold2%100%★★★★★
Calibration failedPosition deviation of calibration tool35%35%★☆☆☆☆
Calibration failedThe image quality is not up to standard25%60%★★☆☆☆
Calibration failedParameter loss/tampering15%75%★★★☆☆
Calibration failedMechanical zero drift10%85%★★★★☆
Calibration failedcommunication failure8%93%★★★☆☆
Calibration failedMacro program damage5%98%★★★☆☆
Calibration failedhardware failure2%100%★★★★★
Abnormal light sourceLED natural attenuation40%40%★★★☆☆
Abnormal light sourceDrive power failure25%65%★★★★☆
Abnormal light sourceLight guide component pollution15%80%★★☆☆☆
Abnormal light sourcePartial damage to LED10%90%★★★☆☆
Abnormal light sourceAbnormal power supply voltage8%98%★☆☆☆☆
Abnormal light sourceAbnormal control signal2%100%★★★★☆
CCD agingLong term thermal stress40%40%★★★★★
CCD agingradiation damage25%65%★★★★★
CCD agingStatic damage15%80%★★★★★
CCD agingDamp erosion10%90%★★★★★
CCD agingContinuously overexposed8%98%★★★★☆
CCD agingmechanical stress2%100%★★★★★

4. Troubleshooting process (from simple to complex)

This chapter provides a detailed description of the troubleshooting process for CCD image tool presetters, following the principle of going from the simplest to the most complex. Maintenance engineers should strictly follow the following sequence for troubleshooting to avoid skipping simple steps and directly conducting complex diagnoses.

4.1 Cleaning the lens – the first step must be done

Why is it necessary to clean the lens as the first stepAs mentioned earlier, lens surface contamination is the most common cause of image blur, accounting for 45% of all image blur faults. Cleaning the lens is the simplest, most time-consuming (usually only 2-5 minutes), and lowest cost maintenance operation. In statistical data, about 40% of image blur faults can be completely resolved through lens cleaning alone, without the need for any further repair operations.

Preparation of cleaning tools

  • Professional optical lens cleaning paper (dust-free paper)
  • Optical lens cleaning solution (a mixture of anhydrous ethanol and ether, with a ratio of approximately 3:7)
  • Air blowing ball (hand held rubber air blowing)
  • Anti static soft brush
  • 无尘手套

Cleaning steps

Step 1: Turn off the power of the tool setter and ensure that the equipment is in a safe state.

Step 2: Use an air blowing ball to remove loose dust and chip particles from the protective glass surface of the lens. Note that the air blowing ball should be kept vertical to avoid the dust accumulated inside the ball being blown out when tilted. This step can prevent hard particles from scratching the glass surface during subsequent wiping.

Step 3: Use an anti-static soft bristled brush to gently remove any stubborn particles remaining. The scanning direction should be from inside out to avoid brushing pollutants into the gaps at the edge of the lens.

Step 4: Take a piece of optical cleaning paper, fold it into an appropriate size, and drop 1-2 drops of cleaning solution in the center. Be careful not to directly drop cleaning solution onto the lens to prevent the liquid from seeping into the inside of the lens edge.

Step 5: Starting from the center of the lens, gently wipe outwards in a spiral manner. Maintain uniform pressure during the wiping process and avoid reciprocating wiping (which may cause the removed pollutants to reattach). Each cleaning paper should only be used once and cannot be reused.

Step 6: Use dry optical cleaning paper to gently wipe away any remaining traces of cleaning solution.

Step 7: Check the surface of the lens under strong light to confirm that there are no stains or residues. You can use a magnifying glass or microscope to assist in the examination.

Step 8: Observe the CCD photosensitive surface (if allowed by the design). The CCD photosensitive surface of some VTS systems is covered with protective glass, which can be observed through the lens hole. If there is obvious contamination on the photosensitive surface, more professional cleaning tools need to be used.

Verification after cleaning
After completing the cleaning, restart the tool setter and enter the image display interface to observe if the image quality has improved. Compare the images before and after cleaning to evaluate:

  • Has the image clarity improved
  • Has the contrast improved
  • Is there still a fuzzy area
  • Is the edge sharp

If the image quality returns to normal after cleaning, the fault is located as lens contamination and the investigation is complete. If the image quality does not improve significantly, proceed to the next step.

4.2 Light source inspection and adjustment

When confirming that the lens is clean but the image quality is still not ideal, the next step is to check the light source system. Light source inspection includes two aspects: brightness evaluation and uniformity evaluation.

Light source brightness inspection

Step 1: Enter the system diagnostic interface of the tool setter and check the current setting and actual value of the LED light source. Under normal conditions, the actual current should be within ± 5% of the set value.

Step 2: Use an illuminance meter to measure the illuminance value on the output surface of the light source. Place the illuminance meter probe in the center of the light source exit surface and record the illuminance reading. Compared with the original factory records of the equipment, if there is no original record, the following experience values can be referred to:

  • New LED light source: The illumination of the emitting surface is usually 10000~30000 lux
  • Threshold that needs to be replaced: below 50% of the new light source illumination

Step 3: Observe the status of the LED driver power indicator light. Most VTS system LED drivers come with a working status indicator light, which is normally green and constantly on. If the indicator light does not light up, flashes, or displays red, it indicates that there may be a fault in the drive power supply.

Step 4: Use a multimeter to measure the output voltage and current of the LED driver power supply. Measure while the LED is on:

  • The voltage value should be within ± 10% of the nominal value
  • The current value should be stable, with fluctuations not exceeding ± 2%

Uniformity inspection of light source

Step 1: Observe the brightness distribution of the entire field of view in the image display interface. Normal uniform lighting should present a natural distribution with slightly brighter centers and slightly darker edges. If there are obvious bright spots, dark areas, or uneven bands, it indicates that the light guide component may be contaminated or damaged.

Step 2: Use image analysis software (or the system’s built-in uniformity testing function) to measure the grayscale values of different areas within the field of view. The difference between the highest and lowest gray levels should not exceed 20% of the average gray level.

Step 3: If obvious dark areas are found, check if there are any individual LED beads in the LED array that are not lit. Turn on the light source module in a power-off state and visually inspect the status of the LED beads. Damaged LED beads may have black spots or cracks on their surface.

Light source adjustment method

  • If the drive power output is normal but the brightness is insufficient: check the brightness parameter in the system settings and increase the brightness setting value appropriately (usually adjustable from 1-255). If the parameters have been adjusted to the maximum but are still insufficient, the LED module needs to be replaced.
  • If the output of the driving power supply is abnormal: check whether the power supply line connection is reliable and replace the driving power supply module.
  • If the light guide component is contaminated: remove the light guide plate and diffusion sheet, and thoroughly clean them with a dust-free cloth and anhydrous ethanol.
  • If the LED beads are partially damaged, the entire LED module needs to be replaced (it is not recommended to replace the LED beads separately as it is difficult to ensure consistent brightness).

VerificationAfter completing the light source adjustment, re observe the image quality to confirm that the brightness is moderate, uniform, and the image contrast has been restored.

4.3 Re calibration

If the problem persists after cleaning the lens and checking the light source, or if the initial fault is calibration failure, recalibration is required.

Inspection before calibration

Before starting the calibration, it is essential to confirm the following points:

  1. The calibration tool (standard ring gauge or standard rod) is in good condition, without scratches, rust, or deformation.
  2. The installation surface of the calibration tool is clean, free of burrs and oil stains.
  3. The calibration tool is correctly placed at the measurement position of the tool setter, and the positional deviation is within the allowable range.
  4. The tool presetter and CNC system have been preheated for at least 30 minutes to reach thermal stability.
  5. The ambient temperature is within the allowable working temperature range of the tool setter (usually 10~45 ℃).

Calibration type executed

Select the appropriate calibration type based on the fault manifestation:

  • If the fault manifests as systematic deviation of measurement values: perform offset calibration
  • If the fault manifests as inaccurate measurement in a specific direction: perform Geometric Calibration
  • If the fault manifests as significant differences in measurement results between different tools: perform a comprehensive calibration (Full Calibration)
  • If the system has just undergone maintenance or component replacement: Complete Calibration must be performed

Calibration operation steps

The specific calibration steps vary depending on the device model, please refer to Chapter 5 for detailed procedures. This chapter only lists the general points:

  1. Enter calibration mode (usually in the system maintenance menu).
  2. Follow the on-screen prompts to place the calibration tool.
  3. The system automatically measures the characteristic dimensions of the calibration tool.
  4. Compare the measured values with the actual dimensions of the calibration tool.
  5. The system calculates the correction factor and updates the calibration parameters.
  6. Verify the calibration results.

Handling of calibration failure

If an error message appears during the calibration process, the error code should be recorded and processed in the following priority order:

  1. Check if the calibration tool is placed correctly – the most common reason is to reposition it and try again.
  2. Check if the size of the calibration tool is entered correctly – ensure that the actual size of the calibration tool is entered in the system.
  3. Check image quality – confirm image clarity, sufficient contrast, and even illumination.
  4. Check for ambient light interference – whether there is strong ambient light shining into the field of view of the tool setter.
  5. Check the communication status – confirm that the communication between the tool setter and CNC is normal.

4.4 Hardware Diagnosis and Replacement

If all the above steps fail to solve the problem, then the root cause of the malfunction extends to the hardware level and requires professional hardware diagnosis and possible component replacement.

Preparation of hardware diagnostic tools

  • Digital oscilloscope (bandwidth above 100MHz)
  • Multimeter (accuracy of 4 and a half digits or more)
  • Signal generator (optional)
  • Specialized detection software (provided by the equipment manufacturer)
  • Spare parts (CCD module, LED module, driver board, communication cable, etc.)

CCD diagnosis

CCD hardware diagnosis is mainly carried out through the following methods:

  1. Dark field testingCapture images under completely unlit conditions. The dark field image of a normal CCD should be close to black, with only a small amount of uniform dark current noise (grayscale values are usually50) in the dark field image, it indicates that the CCD dark current is too high and has severely aged.
  2. Bright field testCapture images under uniform high brightness illumination. The bright field image of a normal CCD should present a uniform bright gray color without obvious dark spots or stripes. If there are fixed patterns of dark spots or bright lines, it indicates that there are defects in the CCD pixel array.
  3. Bad point detectionUse the system’s built-in defect detection function (or third-party image analysis software) to detect the number of CCD defects. Bad pixels include bright spots (Hot Pixel, always bright) and dark spots (Dead Pixel, always dark). The allowed number of bad pixels varies depending on the accuracy level of the device, usually not exceeding 0.01% of the total number of pixels. If the number of bad pixels exceeds the allowable range, the CCD should be replaced.
  4. Response linearity testCollect images at different exposure times and measure the relationship between the average grayscale value and exposure time. The ideal CCD should exhibit a good linear relationship (R ²>0.99). If the linearity significantly deteriorates, it indicates that the CCD has aged.

LED module replacement

The steps for replacing LED modules are as follows:

  1. Turn off the power supply of the tool setter and disconnect the power cord.
  2. Remove the outer cover or cover plate of the light source module.
  3. Disconnect the power and control wires of the LED module and record the wiring position.
  4. Remove the screws that secure the LED module and remove the old LED module.
  5. Install a new LED module, paying attention to the installation direction and positioning.
  6. Connect the power cord and control cord, confirm that the connection is firm and the polarity is correct.
  7. Power on test to check the LED lighting status and brightness.
  8. Install the outer cover or cover plate.
  9. Perform recalibration.

CCD module replacement

CCD module replacement is the most critical operation in VTS maintenance, requiring extremely high precision and cleanliness:

  1. Turn off the power and disconnect all connecting wires.
  2. Remove the casing of the tool setter and expose the optical system.
  3. Operate in a clean environment (recommended to be done in a cleanroom or clean workbench).
  4. Remove the fixing screws of the old CCD module and carefully remove the CCD module.
  5. Clean the interior of the optical cavity to remove dust and pollutants.
  6. Install a new CCD module, please note:
    • The installation direction must be correct (some CCDs have directional markings)
    • The tightening torque of the fixed screws must be uniform to avoid mechanical stress
    • The distance between the photosensitive surface and the focal plane of the lens must be precise
  7. Connect the signal line and power line of the CCD module.
  8. Power on test to check if the image acquisition is normal.
  9. Perform optical focusing and geometric calibration.

AttentionAfter replacing the CCD module, a complete optical calibration and system calibration must be performed, including focal length adjustment, field center calibration, and pixel equivalent calibration. This part of the operation requires professional optical debugging tools and experienced technicians to complete.

Driver board replacement

If diagnosed as a driver board malfunction (manifested as abnormal image acquisition, communication, or power supply), the driver board should be replaced:

  1. Record the model, version number, and serial number of the driver board.
  2. Remove the old drive board and pay attention to anti-static measures (wear an anti-static wristband, use an anti-static workbench).
  3. Install the new driver board and ensure that all connectors are properly inserted.
  4. Reconfigure the parameters of the driver board (some parameters are stored in the EEPROM of the driver board and need to be reset).

5. Detailed explanation of VTS calibration process

5.1 Preparation before Calibration

Calibration is the core operation to ensure the accuracy of VTS tool setter, and the preparation work before calibration directly determines the quality of calibration.

Confirmation of environmental conditions

  • Environmental temperature: 20 ± 2 ℃ (recommended), in extreme cases not exceeding the range of 10-35 ℃
  • Temperature change rate: ≤ 1 ℃/hour
  • Relative humidity: 30%~70%
  • No severe airflow (close the air conditioning vent and blow directly into the area)
  • No strong vibration (away from vibration sources such as large stamping equipment and forging equipment)
  • No direct exposure to strong light (avoid direct sunlight or welding arc light on the tool setter)

Equipment status confirmation

  • The tool presetter has been turned on and preheated for at least 30 minutes
  • The CNC system has been started and completed self-test
  • All protective covers and shields have been correctly opened
  • Normal gas source pressure (if applicable)
  • The cooling system is operating normally

Tool Preparation

  • Standard environmental regulations (provide calibration certificate within validity period)
  • Standard rod (provide calibration certificate, within validity period)
  • Specialized wrenches and tools
  • Dust free cloth and anhydrous ethanol
  • 记录表格

5.2 Standard Calibration Process

Step 1: System initialization
Enter the maintenance mode or calibration mode of the VTS system.
Enter the system password (if available).
Confirm the system version number and the last calibration date.

Step 2: Cleaning and Inspection
Clean the lens and calibration tool using the aforementioned method.
Confirm that there are no obvious stains or foreign objects in the image.

Step 3: Image Quality Assessment
The system automatically evaluates the image quality and checks the following indicators:

  • Average grayscale value (recommended range: 120~200, 8-bit grayscale)
  • Contrast (grayscale difference at the edge: ≥ 100)
  • Uniformity (grayscale standard deviation within the field of view: ≤ 15)
  • Clarity (evaluated based on Laplace operator or Sobel operator)

If the image quality does not meet the above indicators, check the status of the light source, lens, and CCD.

Step 4: Place the calibration tool
Place the standard ring gauge or standard rod at the measuring position of the tool setter.
Note:

  • The calibration tool should fall completely within the field of view
  • The placement direction of the calibration tool should be consistent with the measurement direction of the tool
  • The calibration tool should be fixed and reliable, and will not move during the calibration process

Step 5: Automatic Calibration
Start the automatic calibration program. The system will:

  1. Collect calibration tool images
  2. Identify the edge features of the calibration tool
  3. Measure characteristic dimensions (such as the inner or outer diameter of the ring gauge)
  4. Compare the measured values with the actual dimensions of the calibration tool
  5. Calculate the calibration coefficient (pixel equivalent: μ m/pixel)
  6. Update system parameters

Step 6: Verification of Calibration Results
Use the same calibration tool for verification measurement.
The deviation between the measurement results and the actual dimensions of the calibration tool should be within the allowable range:

  • High precision tool setter: deviation ≤ 1 μ m
  • Standard precision tool setter: deviation ≤ 3 μ m
  • General precision tool setter: deviation ≤ 5 μ m

5.3 Verification of Calibration Results

After calibration is completed, comprehensive verification must be conducted before it can be put into use.

Repetitive verificationUsing the same calibration tool, repeat measurements more than 10 times under the same conditions, and calculate the standard deviation of the measured values. Repeatability should meet the following requirements:

  • High precision model: 2 σ ≤ 1.0 μ m
  • Standard model: 2 σ ≤ 2.0 μ m

Accuracy verificationUse calibration tools of different sizes to measure and confirm that the measured values are within the allowable error range.

Long term stability verificationWithin 24 hours after calibration, conduct validation measurements every 2 hours and record the trend of changes in the measured values. The drift of the measured value should be less than half of the equipment accuracy index.

6. Differences in the Fanuc system’s knife setting instrument

6.1 System integration method

FANUC CNC system has the widest market share in the industrial field, and its tool setting integration method has the following characteristics:

The integration of Fanuc tool setter mainly relies on macro programs and I/O communication. For contact type tool presetters (such as Renishaw TS27R/OTS), Fanuc Systems provides standard macro programs such as O9801 (tool measurement macro) and O9802 (tool breakage detection macro). For CCD Image Alignment Tool (VTS), manufacturers usually provide dedicated calibration and measurement macro programs, with program numbers varying depending on the brand, rather than directly using O9801/O9802.

At the hardware level, Fanuc communicates with the tool gauge through I/O Link i bus or embedded Ethernet. I/O Link i is a high-speed serial bus that enables real-time data exchange between the tool setter and CNC, with a delay typically within 1ms.

The tool offset management of Fanuc system adopts a multi-level storage structure, including:

  • GEOMETRY: Storing the geometric dimensions of the tool
  • Wear offset (WEAR): stores the wear compensation value of the tool
  • OFFSET: Store tool length correction values

The measurement results of the cutting instrument are automatically updated with corresponding bias parameters based on the measurement mode.

6.2 Common Fault Characteristics

The faults of the Fanuc system’s knife gauge have specific patterns in their manifestations:

Macro program related faultsAbout 30% of faults in the Fanuc system are related to macro programs (for contact type tool presetters). Common manifestations include:

  • O9801/O9802 macro program cannot be called (program number not registered or storage location incorrect)
  • Interrupt of macro program execution (incorrect parameter settings or variable conflicts)
  • Measurement result writing bias failed (bias number out of range or write protection enabled)

Parameter setting malfunctionThere are more than 30 parameters related to the tool setter in the Fanuc system, and parameter errors are a common source of faults

  • Improper setting of the measurement speed parameter (parameter No. xxxx) resulted in measurement timeout
  • Communication failure caused by mismatched communication parameters (baud rate, station number)
  • Error in configuring bias update parameters resulted in writing incorrect bias numbers to the results

Interface circuit malfunctionThe I/O interface circuit of Fanuc system is sensitive to ESD, and common faults include:

  • I/O Link i communication module damaged (manifested as abnormal communication indicator light)
  • Interface circuit protection component burnout (manifested as permanent high or low level of specific I/O signals)

6.3 Calibration Differences

The calibration of the tool setter in the Fanuc system mainly relies on macro program calls, with the following specific differences:

Calibration macro program structure
For the contact type tool setter, the O9801 macro program is the main calibration program of the Fanuc system. Its internal structure includes:

  1. Initialization section: Check system status, set parameters
  2. Measurement section: Control the tool presetter to perform measurement actions
  3. Data processing section: Calculate bias values and perform error compensation
  4. Write segment: Write the calculation result into the corresponding bias parameter

For CCD image alignment instruments, the calibration macro program is provided by the VTS manufacturer, and the program number and internal structure vary depending on the brand (such as Mazak using the M code sequence and Heidenhain using the TNC instruction segment for calibration).

Calibration parameter storageThe calibration parameters of Fanuc system are stored in the PMC parameter area and system macro variables of CNC

  • #500~# 999 series variables: storing calibration coefficients and correction values
  • PMC parameters: store communication parameters and device addresses

Differences in calibration operations

  • For the contact type tool setter, the CNC needs to be switched to MDI mode before performing calibration
  • After calling the O9801 program, the system will automatically prompt the operation steps
  • After calibration is completed, O9801 will automatically call the verification program for accuracy check
  • For CCD image tool setter, calibration operation is completed through the calibration menu or dedicated macro program provided by the VTS system
  • The calibration results are recorded in the maintenance log of CNC

7. Differences in the Mazak system tool presetter

7.1 MAZAK Dialogue Programming Environment

The MAZAK CNC system is known for its MAZATROL conversational programming environment, and its integration method of the tool setter is significantly different from that of Fanuc.

The MAZAK system adopts an integrated design, where the control and data processing of the tool gauge are directly integrated into the CNC system without the need for independent macro program calls. The operator can complete the setting, calibration, and operation of the tool setter through the touch screen interface.

The conversational programming environment of the Mazak system has the following knife related characteristics:

  • Graphic tool management interface: intuitive display of tool shape, size, and tool alignment status
  • Guided calibration process: step-by-step guide the operator to complete the calibration
  • Automated tool alignment sequence: calling the preset tool alignment program through M code or T code

7.2 Differences in Image Processing

The Mazak system has the following characteristics in image processing:

Built in image processing algorithmThe Mazak system uses proprietary image processing algorithms to optimize the MAZAK brand knife instrument. The algorithm features include:

  • Adaptive threshold segmentation: automatically adjust the segmentation threshold based on image quality
  • Multi template matching: supports fast recognition of multiple tool types
  • Real time image enhancement: dynamically adjust gain and exposure during the acquisition process

Calibration parameter managementThe calibration parameters of the Mazak system are stored in the non-volatile memory inside the CNC and managed through the system maintenance menu. Unlike Fanuc, the Mazak system does not allow users to directly edit calibration parameters, and all adjustments must be made in the maintenance wizard.

7.3 Maintenance precautions

Attention should be paid to the maintenance of the Mazak system tool setter:

  1. System LockSome maintenance functions of the Mazak system require entering a service password, and password permissions need to be confirmed before maintenance.
  2. Brand specificityThe Mazak system is usually only compatible with Mazak’s original tool setter, and replacing it with a third-party tool setter may not work properly.
  3. Software version compatibilityThe firmware version of the tool presetter needs to match the software version of the CNC system, and compatibility needs to be confirmed before upgrading.
  4. Calibration data backupBefore replacing the hardware of the tool setter, it is necessary to backup the calibration data for reference after recovery.

8. Differences in the Heidenhain system tool setter

8.1 Characteristics of TNC Controller

HEIDENHAIN’s TNC controller is widely used in high-end mold processing and five axis machining fields, and its tool setting integration has the following characteristics:

The Heidenhain TNC controller adopts a modular architecture, and the tool setter communicates with the controller through the EnDat interface or serial interface. The TNC system supports multiple pairing protocols, including Heidenhain’s proprietary protocol and a hybrid mode compatible with Fanuc protocol.

The tool management function of the TNC controller is very powerful and supports:

  • Tool database: Complete record of geometric parameters, wear status, and service life of each tool
  • Automatic tool alignment sequence: automatically calling the tool alignment device through the Cycle program
  • Wear compensation: Automatically update tool wear values based on tool alignment results

8.2 Image knife setting

The image knife setting of the Heidenhain system has higher flexibility:

Wide adjustable range of image parameters

  • Exposure time: 0.1~100ms, step size 0.1ms
  • Gain: 0~36dB
  • Contrast enhancement: 0~100%
  • Edge detection sensitivity: levels 1-10

Calibration process
The calibration of the Heidenhain system’s tool setter is completed through specific instruction segments in the TNC program, including:

  1. Define calibration tool using TOOL CALL instruction
  2. Use the MEASURE instruction to perform measurements
  3. Start the calibration sequence using the CALIBRATE command
  4. The calibration results are automatically saved to the tool database

8.3 Fault diagnosis methods

The fault diagnosis of the Heidenhain system has the following characteristics:

System diagnostic functionThe TNC controller provides comprehensive system diagnostic functions, which can be viewed as:

  • Communication status of the cutting instrument (connection status, data error rate)
  • Image acquisition status (frame rate, exposure time, gain settings)
  • CCD sensor status (temperature, voltage, current)
  • Error log (records all errors related to the tool setter)

Common troubleshooting directions

  • EnDat interface fault: Check if the shielding layer of the communication cable is well grounded
  • Clock synchronization fault: Check the clock synchronization settings between the TNC controller and the tool setter
  • Protocol mismatch: Confirm that the tool alignment protocol version is compatible with the TNC system

9. Differences in tool alignment between SODICK systems

9.1 Characteristics of EDM machine tool alignment

SODICK, as a well-known brand in the field of wire cutting and electrical discharge machining machines, has special requirements for the application of cutting tools:

The cutting environment of electric discharge machining machines is more demanding:

  • Processing fluids (deionized water or oil-based media) may contaminate the optical system
  • Electromagnetic interference generated by discharge affects image acquisition
  • The shape of electrode wire (wire cutting) or electrode (EDM) is special

9.2 Application of CCD tool alignment on SODICK

The CCD tool setter of SODICK system is mainly used for:

  • Wire Cutting MachineCalibration of electrode wire position and detection of wire breakage after automatic threading
  • Electric discharge machining machineElectrode centering, electrode wear measurement, automatic compensation

SODICK’s CCD tool alignment system has the following special functions:

  • Fine wire recognition (supports image recognition of electrode wires with a diameter of less than 0.05mm)
  • Anti interference filtering (hardware filtering for electromagnetic interference caused by discharge pulses)
  • Underwater imaging (supports image acquisition in machining fluid environment)

9.3 Special fault handling

The special faults of the SODICK system CCD tool setter include:

Processing fluid contaminationThis is the most unique fault mode of the SODICK system. Impurities (machining chips, oil stains) in the machining fluid will adhere to the lens protective glass, causing image blurring. The processing method is:

  1. Regularly replace protective glass (recommended cycle: 500 working hours)
  2. Using gas curtain protection device to reduce machining fluid splashing
  3. Adopting waterproof CCD module

electromagnetic interferenceHigh frequency discharge pulses during electrical discharge machining can generate strong electromagnetic interference, manifested as periodic horizontal stripes or snowflake noise in the image. Handling method:

  1. Use shielded cables and ensure that the shielding layer is grounded at one end
  2. Install EMI filter at the power inlet of the tool setter
  3. Adjust the exposure time of the CCD to synchronize with the discharge pulse

Difficulty in identifying electrode wiresWhen the diameter of the electrode wire is less than 0.1mm, traditional edge detection algorithms may not be able to recognize stably. Handling method:

  1. Adopting sub-pixel level edge detection algorithm
  2. Using high magnification optical systems
  3. Optimize lighting methods to improve the contrast between electrode wires and background

10. Preventive maintenance of CCD tool setter

Good preventive maintenance can significantly extend the service life of CCD tool presetters and reduce unplanned downtime. The following is a recommended preventive maintenance plan:

Daily maintenance(Operator Execution):

  • Check the appearance of the tool setter and confirm that there are no abnormal damages
  • Use air blowing to remove dust from the protective glass surface of the lens
  • Check the LED light source illumination status
  • Observe whether the image display is normal

Weekly maintenance(Operator Execution):

  • Clean the lens protective glass (using optical cleaning paper and cleaning solution)
  • Check the cable and air pipe connection status of the tool setter
  • Perform calibration verification once
  • Record the accuracy data of tool alignment

Monthly maintenance(Performed by maintenance technicians):

  • Thoroughly clean the optical system (including lenses, light sources, and light guide components)
  • Check the performance indicators of CCD sensors
  • Backup calibration parameters
  • Check the lubrication status of mechanical moving parts
  • Tighten electrical connections

Quarterly maintenance(Performed by maintenance technicians):

  • Perform complete calibration
  • Check image quality indicators (clarity, contrast, uniformity)
  • Replace consumables (such as protective glass, sealing rings)
  • Test communication function

annual maintenance(Professional maintenance engineer execution):

  • Comprehensive precision testing and calibration
  • Aging assessment of CCD sensors
  • LED light source aging assessment
  • Replace all consumables
  • Firmware version check and upgrade
  • Provide maintenance reports and accuracy certifications

11. Compilation of Maintenance Cases

Case 1: Image Blurring – Simply Clean the Lens

EquipmentFanuc system is equipped with VTS-200 tool setter
Fault phenomenonThe operator reported a decrease in tool accuracy and blurry image display
troubleshooting process

  1. Checking the image, it was found that the overall image is blurry and the edges are not sharp
  2. Check the brightness of the light source, it is normal
  3. Clean the lens protection glass and find a layer of oil film on the surface of the glass
  4. Clear image restored after cleaning
    ConclusionLens contamination causes blurry images

Case 2: Repeated calibration failures – focal length offset

EquipmentMazak system is equipped with VTS-300 tool setter
Fault phenomenonThe calibration program can run, but the result exceeds the allowable range
troubleshooting process

  1. Cleaning the lens is ineffective
  2. Check the light source, normal
  3. Check the image quality and find slight blurring at the edges
  4. Check the focal length fixing screw and find it loose
  5. Re adjust the focal length and tighten it
  6. Re calibrate, the result is normal
    ConclusionLong term vibration causes focal length shift

Case 3: CCD Aging – CCD Replacement Required

EquipmentHeidenhain system with VTS-500 tool setter (6 years of use)
Fault phenomenonThe image has obvious graininess, an increase in bad pixels, and unstable calibration accuracy
troubleshooting process

  1. Cleaning and focusing are both ineffective
  2. Dark field testing found an average grayscale value of 35 (normal<10)
  3. 132 bad pixels were detected during defect detection (exceeding the allowed range)
  4. Confirm CCD aging
  5. Replace CCD module
  6. Re calibrate and restore normal operation
    ConclusionCCD sensor reaches its service life

Case 4: Measurement deviation caused by light source attenuation

EquipmentSODICK wire cutting machine with VTS-100 tool setter
Fault phenomenonThe deviation between the tool alignment result and the manual confirmation result is about 0.02mm
troubleshooting process

  1. Cleaning the lens is ineffective
  2. Check the image and find that it is overall dark
  3. Measure the illuminance of the light source, which is only 40% of the new light source
  4. The brightness parameter has been adjusted to maximum but still insufficient
  5. Replace LED module
  6. The image has been restored to normal, and the accuracy of the tool has been restored
    ConclusionLED light source severely attenuates

12. Appendix and Technical Data

Appendix A: Comparison Table of Common Fault Codes

Fault codeFault descriptionPossible reasonsHandling suggestions
E001Image acquisition timeoutCCD communication interruptionCheck the CCD connection cable
E002The image quality is not up to standardDirty lens or light source malfunctionClean the lens and check the light source
E003Calibration result exceeds the toleranceCalibration tool error or focal length offsetCheck the calibration tool and refocus
E004Communication timeoutCommunication cable malfunction or interface damageCheck the communication line
E005LED driver malfunctionThe drive power supply is damagedReplace the driver power module
E006Temperature exceeds the limitHigh ambient temperature or poor heat dissipationImprove heat dissipation conditions
E007Movement exceeding the limitMechanical jamming or limit switch malfunctionInspect mechanical components

Appendix B: Technical Parameters of VTS Series

parameter itemVTS-100VTS-200VTS-300VTS-500
CCD resolution1280×10241600×12002048×15362592×1944
pixel equivalent2.0μm/pixel1.0μm/pixel0.5μm/pixel0.3μm/pixel
measurement accuracy±5μm±3μm±1.5μm±1.0μm
Repeatability (2 σ)3μm2μm1μm0.5μm
Light source typeWhite LEDWhite LEDHigh brightness LEDHigh brightness LED
light source lifetime30,000h30,000h50,000h50,000h
Communication InterfaceRS-232RS-232/EthernetEthernetEthernet
Operating Temperature10~45℃10~45℃10~45℃10~45℃

Appendix C: List of Maintenance Tools

Tool NameSpecificationsPurposeRecommended Brands
Optical cleaning kitspecializedLens cleaningVarious optical brands
Digital Multimeter4 and a half digitsElectrical measurementFluke
Digital Oscilloscope100MHzCCD signal measurementTektronix
illuminance meter0~100,000luxLight source measurementMinolta
ESD workstationGrounding typeCCD replacementProfessional brand
clean roomClass 1000Optical maintenance
Image analysis softwarespecializedImage Quality AssessmentEquipment manufacturer

📚 Reference Documentation

  1. Marposs —VTS Vision Tool Setter Installation and Maintenance Manual
  2. FANUC —Series 0i-MODEL D Connection Manual (Function)(B-64303EN)
  3. HEIDENHAIN —TNC 640 User’s Manual for Cycle Programming
  4. MAZAK —MAZATROL Smooth System Operator’s Guide
  5. SODICK —AQ/LN Series EDM Machine Tool Setter Manual
  6. Ningbo Jiangce Technology Co., LtdTechnical specifications for maintenance and calibration of CCD image tool setter

Document Revision Record

VersionDateRevised contentReviser
V1.02026-06-27Initial versionNingbo Craftsmanship and Testing Technology Department

DisclaimersThe technical content of this article is only for the exchange of industry experience. Please operate with caution based on the actual equipment conditions on site. Ningbo Jiangce Technology Co., Ltd. is not responsible for equipment damage or workpiece scrap caused by direct copying of codes.


FAQ Selected Q&A

**Q: The image of the Marposs VTS image alignment tool is blurry. After wiping the lens surface with a dust-free cloth, it is still blurry. What other reasons are there? ** **Answer: After wiping the outside of the lens, it still appears blurry. Please check the following reasons (in descending order of probability): ① Protect the inside of the glass from contamination (about 15%) – Cutting fluid may enter the inside of the lens through the sealed gap and need to be disassembled for professional cleaning; ② Lens focal length offset (about 20%) – Long term vibration of the machine tool causes slight displacement of the lens fixing mechanism, and a focal length offset of 0.1mm can lead to significant blurring, requiring the use of standard parts for re focusing; ③ LED light source attenuation (about 15%) – LED lifespan is usually 30000-50000 hours. When the brightness drops below 70% of the initial value, the image quality will significantly decrease and the LED module needs to be replaced; ④ CCD photosensitive surface contamination (about 10%) – In extreme cases, seal failure can cause oil mist to enter the interior of the CCD. Suggest investigating in this order. **Q: VTS calibration failed and reported an error, but after cleaning the lens and trying again, it still doesn’t work. How can I troubleshoot? ** **Answer: * * The reasons for calibration failure are sorted by probability: ① Calibration tools (environmental gauges/standard parts) are not correctly placed in place (accounting for 35%) – check if the position is offset, reposition and retry; ② Unqualified image quality (25%) – The calibration algorithm has clear requirements for image clarity and contrast, and the system self-test function is used to check the image quality score; ③ Calibration parameters are lost or damaged (accounting for 15%) – Check whether the calibration parameters stored in the CNC or controller have been cleared due to battery failure or maintenance operations, and re execute the complete calibration process; ④ Mechanical zero drift (accounting for 10%) – After long-term use, the installation position of the equipment may experience slight drift, requiring mechanical zeroing before calibration. Suggest checking each item one by one. **Q: What are the main differences in troubleshooting between the VTS tool setter on the Fanuc system and the Mazak system? ** **Answer: * * There is a significant difference between the two: ① The calibration method is different – Fanuc calls the calibration through a dedicated macro program, while Mazak calls the calibration sequence through M code. When troubleshooting, it is necessary to confirm that the calibration program number is correct; ② Image processing is different – Fanuc uses built-in image processing hardware and proprietary algorithms, while Mazak integrates image processing into the Mazatrol conversational programming environment, making it easier for the Mazak system to obtain image quality diagnostic information; ③ Different communication protocols – Fanuc usually uses I/O Link i or Ethernet, while Mazak uses dedicated communication protocols, and communication troubleshooting needs to be treated differently; ④ The maintenance entrance is different – the Mazak system has a more intuitive fault diagnosis interface, while the Fanuc system requires step-by-step troubleshooting through PMC signal status.

Official reservation:jcetech.cn/contact
Hotline: 157-5780-7400/132-2194-1413
Shipping address: A2-12B17, Yinzhou R&D Park, Ningbo


Book an Appointment: jcetech.cn/contact
Service Hotline: 157-5780-7400 / 132-2194-1413
Shipping Address: Ningbo Yinzhou R&D Park A2-12B17
Email: jcetech_info@jcetech.cn