Address
宁波研发园A区2栋12B17
聚贤街道,鄞州区,宁波市,浙江中国
Work Hours
周一 to 周五: 8:30AM - 10:30PM
周六 to 周日: 9:30AM - 10:30PM
📷 Summary: CCD Image Alignment Instrument Maintenance Special Issue - Focusing on Typical Malfunctions of Marposs VTS Series Visual Alignment System. Covering CCD sensor resolution and pixel equivale
📷 Summary: CCD Image Alignment Instrument Maintenance Special Issue – Focusing on Typical Malfunctions of Marposs VTS Series Visual 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 tool setter, VTS maintenance, lens cleaning, pixel equivalent
The numerical control system parameters involved in this article(Like FANUC #3006、#6200)And macro programs(Like O8060 / O9601等)All are standard universal logic。Due to various machine tool factories(Like Mazak、Demage、Muye、Haas and domestic brands Lijia/Horizontal Machining Center/five-axis)PLC ladder diagram control logic、There are differences in the address and coordinate system settings of secondary development variables,Before debugging or running any calibration macro program on the first machine,Please strictly follow the following foolproof measures:
CCD image tool setter VTS system core instructions:
G65 Pxxxx — VTSSpecialized calibration macro program provided by the manufacturer(The program number varies depending on the brand and system integration method)
M code call– The Mazak system calls the calibration sequence through M code
CALIBRATE command– The Heidenhain TNC system completes calibration through a specific instruction segment
🔧 Technical Misconception Clarification: Common Misconceptions in CCD Image Tool Alignment Maintenance – 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 contour measurement and positioning.
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.
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 process: When light passes through an optical lens and shines on the CCD photosensitive surface, 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 Accuracy: VTS systems typically use megapixel 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 characteristics: CCD sensors have excellent response characteristics to the visible light band (400-700nm), with peak response usually 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.
The complete VTS image alignment system consists of the following core components:
Optical imaging subsystem: including optical lens group, 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 subsystem: Using a high brightness white LED array as the light source, combined with a light guide plate and diffusion sheet to achieve uniform lighting.. 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 unit: includes an image acquisition card (or directly connected to an industrial computer through 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 subsystem: including 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 Interface: Communicate with the CNC controller through serial port (RS-232), Ethernet, or I/O interface to transmit measurement results and control instructions.
The image acquisition and processing process of VTS tool setter can be divided into the following steps:
Step 1: Image Acquisition. After 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 Preprocessing. Including 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 Detection. The 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 Measurement. Extract 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 output. The 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.
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 Algorithms: The 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 Methods: The calibration processes of various brand systems have 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.
Communication protocol differences: Fanuc usually uses high-speed serial bus (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.
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 (in descending order of probability):
Reason 1: Lens surface contamination (probability about 45%)
There are a large amount of cutting fluid mist, metal dust, and abrasive particles in the machining 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 of the VTS tool setter, the lens fixing mechanism may experience slight focal length offset due to vibration.. Especially for the tool setter 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 lens is exposed to cutting environments for a long time, which may cause scratches during frequent wiping and maintenance, or cracks caused by splashing 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 CCD module and contaminate the photosensitive surface.. This situation is usually accompanied by other sealing failures.
Reason 5: Increased electronic noise (probability about 8%)
CCD driver circuit aging or increased power ripple can lead to excessive noise in the captured image, visually manifested as increased 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.
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 (in descending order of probability):
Reason 1: Calibration tool position deviation (probability about 35%)
Calibration ring gauge or standard part is not correctly placed in place, 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 may be tampered with or lost (with a probability of about 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 undergone slight drift due to long-term use, resulting in the reference coordinate system used for calibration being inconsistent with 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%)
Communication interruption or data abnormality between the tool setter and CNC, resulting 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(Probability about 5%)
Calibration macro program stored in CNC(As for the O9801 contact type tool setter/O9802)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..
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 (in descending order of probability):
Reason 1: LED natural attenuation (probability about 40%)
LED light sources have their inherent service life, usually 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 is unstable or the voltage is abnormal, resulting in LED brightness fluctuations or overall brightness decrease.. 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 lighting 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%)
Fluctuations in workshop power supply voltage or faults in the tool setter power module can 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.
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 (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: Cumulative radiation damage (probability about 25%)
Although the workshop environment usually does not have strong radiation sources, 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 environments (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 a supersaturated 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 screw tightening torque), resulting in internal microcracks. This situation usually occurs after repairing and replacing the CCD.
| Fault Category | specific reason | Probability proportion | Cumulative probability | difficulty level |
| image blurring | Lens contamination | 45% | 45% | ★☆☆☆☆ |
| image blurring | Focal length offset | 20% | 65% | ★★☆☆☆ |
| image blurring | Protect glass from damage | 15% | 80% | ★★☆☆☆ |
| image blurring | CCD photosensitive surface contamination | 10% | 90% | ★★★☆☆ |
| image blurring | Electronic noise | 8% | 98% | ★★★★☆ |
| image blurring | Optical mold | 2% | 100% | ★★★★★ |
| Calibration Failure | Position deviation of calibration tool | 35% | 35% | ★☆☆☆☆ |
| Calibration Failure | The image quality is not up to standard | 25% | 60% | ★★☆☆☆ |
| Calibration Failure | Parameter loss/tampering | 15% | 75% | ★★★☆☆ |
| Calibration Failure | Mechanical zero drift | 10% | 85% | ★★★★☆ |
| Calibration Failure | communication failure | 8% | 93% | ★★★☆☆ |
| Calibration Failure | Macro program damage | 5% | 98% | ★★★☆☆ |
| Calibration Failure | hardware failure | 2% | 100% | ★★★★★ |
| Abnormal light source | LED natural attenuation | 40% | 40% | ★★★☆☆ |
| Abnormal light source | Drive power failure | 25% | 65% | ★★★★☆ |
| Abnormal light source | Light guide component pollution | 15% | 80% | ★★☆☆☆ |
| Abnormal light source | Partial damage to LED | 10% | 90% | ★★★☆☆ |
| Abnormal light source | Abnormal power supply voltage | 8% | 98% | ★☆☆☆☆ |
| Abnormal light source | Abnormal control signal | 2% | 100% | ★★★★☆ |
| CCD aging | Long term thermal stress | 40% | 40% | ★★★★★ |
| CCD aging | radiation damage | 25% | 65% | ★★★★★ |
| CCD aging | Static damage | 15% | 80% | ★★★★★ |
| CCD aging | Damp erosion | 10% | 90% | ★★★★★ |
| CCD aging | Continuously overexposed | 8% | 98% | ★★★★☆ |
| CCD aging | mechanical stress | 2% | 100% | ★★★★★ |
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.
Why is it necessary to clean the lens in the first step? As 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:
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 whether the image quality has improved.. Compare the images before and after cleaning to evaluate:
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.
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 check:
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:
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:
Light source uniformity check:
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:
Verification: After 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..
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:
Calibration type executed:
Select the appropriate calibration type based on the fault manifestation:
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:
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:
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.
Hardware diagnostic tool preparation:
CCD diagnosis:
CCD hardware diagnosis is mainly carried out through the following methods:
LED module replacement:
The steps for replacing LED modules are as follows:
CCD module replacement:
CCD module replacement is the most critical operation in VTS maintenance, requiring extremely high precision and cleanliness:
Attention: After replacing the CCD module, 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:
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.
Environmental condition confirmation:
Equipment status confirmation:
Tool Preparation:
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 Inspection
Use the aforementioned method to clean the lens and calibration tool..
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:
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 measurement position of the tool setter..
Attention:
Step 5: Automatic Calibration
Start the automatic calibration program.. The system will:
Step 6: Verification of Calibration Results
Use the same calibration tool to perform verification measurements..
The deviation between the measurement results and the actual dimensions of the calibration tool should be within the allowable range:
After calibration is completed, comprehensive verification must be conducted before it can be put into use.
Repeatability verification: Using 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:
Accuracy verification: Use calibration tools of different sizes to measure and confirm that the measured values are within the allowable error range..
Long term stability verification: Within 24 hours after calibration, conduct verification 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.
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/OCommunication implementation。For contact type tool setter(Like Renishaw TS27R/OTS),Fanuc System provides O9801(Tool measurement macro)And O9802(Tool breakage detection macro)Waiting for standard macro programs。For CCD image tool setter(VTS),Manufacturers usually provide dedicated calibration and measurement macro programs,The program number varies by brand,Instead of 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:
The measurement results of the cutting instrument are automatically updated with corresponding bias parameters based on the measurement mode.
The faults of the Fanuc system’s knife gauge have specific patterns in their manifestations:
Macro program related faults: About 30% of faults in the Fanuc system are related to macro programs (for contact type tool presetters). Common manifestations include:
Parameter setting fault: There are more than 30 parameters related to the tool setter in the Fanuc system, and parameter errors are a common fault source:
Interface circuit failure: The I/O interface circuit of Fanuc system is sensitive to ESD, and common faults include:
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 contact type tool presetters, the O9801 macro program is the main calibration program of the Fanuc system.. Its internal structure includes:
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 storage: The calibration parameters of Fanuc system are stored in the PMC parameter area and system macro variables of CNC:
Differences in Calibration Operations:
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:
The Mazak system has the following characteristics in image processing:
Built in image processing algorithm: The Mazak system uses proprietary image processing algorithms to optimize the Mazak brand knife instrument.. The algorithm features include:
Calibration parameter management: The 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.
Attention should be paid to the maintenance of the Mazak system tool setter:
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:
The image knife setting of the Heidenhain system has higher flexibility:
Wide adjustable range of image parameters:
Calibration Process:
The calibration of the tool setter in the Heidenhain system is completed through specific instruction segments in the TNC program, including:
The fault diagnosis of the Heidenhain system has the following characteristics:
System diagnostic function: The TNC controller provides comprehensive system diagnostic functions, which can be viewed as:
Common troubleshooting directions:
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:
The CCD tool setter of SODICK system is mainly used for:
SODICK’s CCD tool alignment system has the following special functions:
The special faults of the SODICK system CCD tool setter include:
Fluid contamination: This is the most unique failure 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:
Electromagnetic interference: High frequency discharge pulses during discharge machining can generate strong electromagnetic interference, manifested as periodic horizontal stripes or snowflake noise in the image.. Handling method:
Difficulty in electrode wire recognition: When the diameter of the electrode wire is less than 0.1mm, traditional edge detection algorithms may not be able to stably recognize it.. Handling method:
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(performed by the operator):
Weekly maintenance(performed by the operator):
Monthly maintenance(performed by maintenance technicians):
Quarterly maintenance(performed by maintenance technicians):
Annual maintenance(performed by professional maintenance engineers):
Equipment: Fanuc system supporting VTS-200 tool setter
Fault phenomenon: The operator reported a decrease in tool accuracy and blurry image display
Troubleshooting process:
Equipment: VTS-300 tool setter for Mazak system
Fault phenomenon: Calibration program can run but the result exceeds the allowable range
Troubleshooting process:
Equipment: VTS-500 tool setter for Heidenhain system (6 years of use)
Fault symptoms: obvious graininess in the image, increased number of bad points, and unstable calibration accuracy
Troubleshooting process:
Equipment: SODICK wire cutting machine with VTS-100 tool setter
Fault phenomenon: The deviation between the tool setting result and the manual confirmation result is about 0.02mm
Troubleshooting process:
| Fault code | Fault description | Possible reasons | Handling suggestions |
| E001 | Image acquisition timeout | CCD communication interruption | Check the CCD connection cable |
| E002 | The image quality is not up to standard | Dirty lens or light source malfunction | Clean the lens and check the light source |
| E003 | Calibration result exceeds the tolerance | Calibration tool error or focal length offset | Check the calibration tool and refocus |
| E004 | Communication timeout | Communication cable malfunction or interface damage | Check the communication line |
| E005 | LED driver malfunction | The drive power supply is damaged | Replace the driver power module |
| E006 | Temperature overrun | High ambient temperature or poor heat dissipation | Improve heat dissipation conditions |
| E007 | Movement exceeding the limit | Mechanical jamming or limit switch malfunction | Inspect mechanical components |
| parameter item | VTS-100 | VTS-200 | VTS-300 | VTS-500 |
| CCD resolution | 1280×1024 | 1600×1200 | 2048×1536 | 2592×1944 |
| pixel equivalent | 2.0μm/pixel | 1.0μm/pixel | 0.5μm/pixel | 0.3μm/pixel |
| measurement accuracy | ±5μm | ±3μm | ±1.5μm | ±1.0μm |
| Repeatability (2 σ) | 3μm | 2μm | 1μm | 0.5μm |
| Light source type | White LED | White LED | Highlight LED | Highlight LED |
| light source lifetime | 30,000h | 30,000h | 50,000h | 50,000h |
| Communication Interface | RS-232 | RS-232/Ethernet | Ethernet | Ethernet |
| Operating Temperature | 10~45℃ | 10~45℃ | 10~45℃ | 10~45℃ |
| Tool Name | Specifications | Purpose | Recommended Brands |
| Optical cleaning kit | Dedicated | Lens cleaning | Various optical brands |
| Digital Multimeter | 4.5 digits | Electrical measurement | Fluke |
| Digital Oscilloscope | 100MHz | CCD signal measurement | Tektronix |
| illuminance meter | 0~100,000lux | Light source measurement | Minolta |
| ESD workstation | Grounding type | CCD replacement | Professional brand |
| clean room | Class 1000 | Optical maintenance | – |
| Image analysis software | Dedicated | Image Quality Assessment | Equipment manufacturer |
Document Revision Record
| version | Date | Revision Content | Reviser |
| V1.0 | 2026-06-27 | Initial version | Ningbo Craftsmanship and Testing Technology Department |
Disclaimer: The technical content of this article is for industry experience exchange only. Please operate with caution in accordance with the actual equipment conditions on site for practical applications. Ningbo Jiangce Technology Co., Ltd. is not responsible for equipment damage or workpiece scrap caused by direct copying of codes.
**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:<a ref=“ https://jcetech.cn/contact Jcetech.cn/contact
Hotline: 157-5780-7400/132-2194-1413
Shipping address: A2-12B17, Yinzhou R&D Park, Ningbo