Address
宁波研发园A区2栋12B17
聚贤街道,鄞州区,宁波市,浙江中国
Work Hours
周一 to 周五: 8:30AM - 10:30PM
周六 to 周日: 9:30AM - 10:30PM
📷 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
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:
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.
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 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.
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.
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.
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.
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.
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.
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.
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.
| 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 failed | Position deviation of calibration tool | 35% | 35% | ★☆☆☆☆ |
| Calibration failed | The image quality is not up to standard | 25% | 60% | ★★☆☆☆ |
| Calibration failed | Parameter loss/tampering | 15% | 75% | ★★★☆☆ |
| Calibration failed | Mechanical zero drift | 10% | 85% | ★★★★☆ |
| Calibration failed | communication failure | 8% | 93% | ★★★☆☆ |
| Calibration failed | Macro program damage | 5% | 98% | ★★★☆☆ |
| Calibration failed | 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 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:
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:
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 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:
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:
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:
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.
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.
Preparation of hardware diagnostic tools:
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:
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:
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:
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 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:
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:
Step 5: Automatic Calibration
Start the automatic calibration program. The system will:
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:
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:
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.
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:
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 faultsAbout 30% of faults in the Fanuc system are related to macro programs (for contact type tool presetters). Common manifestations include:
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
Interface circuit malfunctionThe 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 the contact type tool setter, 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 storageThe 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 algorithmThe Mazak system uses proprietary image processing algorithms to optimize the MAZAK brand knife instrument. The algorithm features include:
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.
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 Heidenhain system’s tool setter is completed through specific instruction segments in the TNC program, including:
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:
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:
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:
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:
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:
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):
Weekly maintenance(Operator Execution):
Monthly maintenance(Performed by maintenance technicians):
Quarterly maintenance(Performed by maintenance technicians):
annual maintenance(Professional maintenance engineer execution):
EquipmentFanuc system is equipped with VTS-200 tool setter
Fault phenomenonThe operator reported a decrease in tool accuracy and blurry image display
troubleshooting process:
EquipmentMazak system is equipped with VTS-300 tool setter
Fault phenomenonThe calibration program can run, but the result exceeds the allowable range
troubleshooting process:
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:
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:
| 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 exceeds the limit | 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 | High brightness LED | High brightness 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 | specialized | Lens cleaning | Various optical brands |
| Digital Multimeter | 4 and a half 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 | specialized | Image Quality Assessment | Equipment manufacturer |
Document Revision Record
| Version | Date | Revised content | Reviser |
|---|---|---|---|
| V1.0 | 2026-06-27 | Initial version | Ningbo 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.
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