Ok, here is my long-awaited tutorial on how to tune a set of scanners. Let me say first of all that nearly all the techniques mentioned in this tutorial were gleaned from watching (and listening) to Bill Benner tune galvos at the various Laser Enthusiast Meetings over the past year. Bill is obviously a pro at tuning, while I am not. Nevertheless, I hope that I’ve captured enough of his knowledge to be able to pass it on to others.
Let me also apologize in advance for the lack of video. We’ve tried twice to capture the process on tape, but both times the resulting video was useless. Maybe at the next meeting we’ll get it right. But until then, this text tutorial will have to suffice.
Now, before we get started, a few warnings:
1) Tuning a set of scanners is a tedious, time-consuming process. Don’t even attempt this if you’re the sort of person that gets frustrated after 15 minutes of tinkering. You’ll never be able to finish the job if you are an impatient person. Plan on having 2 to 3 hours of uninterrupted time available for your first attempt.
2) Before you start, you need to be 100% positive that you know exactly what each adjustment potentiometer (pot) on the scanner amp is for. If you are wrong, you can screw up the tuning so badly that you may not ever be able to get them right again. Print out the docs from the manufacturer and have them in your hand before you start.
3) Safety first! Make sure you can’t get hit with a stray beam. Wear goggles if there is a risk of stray beams. It’s also a good idea to dial back the power on your laser (if it supports analog blanking), or put a pair of sunglasses or a neutral density filter in front of the scanners to reduce the brightness of the scanned image. (This makes it easier to see changes in the pattern.)
EDIT: I need to re-emphasize that sunglasses will not offer sufficient protection for direct beam exposure. You need laser safety goggles for that! Wearing sunglasses will reduce the brightness of the scanned image on the wall, and that is helpful when looking for subtle changes in the test pattern, but most sunglasses will only only give ~ 3X reduction in power (OD .5), which is not enough to reduce the power from a direct hit from a static beam down to below the MPE.
The light that is reflecting off the wall is already below the MPE, so there isn't a safety issue with viewing that image. But the sunglasses can still help, particularly if you're tuning scanners on a class IV projector, as the reflected image can still appear very bright even though it's below the MPE.
Also, you’ll need several different test patterns in order to tune your galvos. The most obvious one is the ILDA test pattern. There are actually 2 versions of this pattern. One (the original) is designed to be scanned at roughly 8 degrees optical scan angle. It has a circle inside a small square, with a larger square around the outside. There are some long horizontal lines at the top and 4 short horizontal lines below the square that get progressively longer. This is the pattern you want to use. (It’s often labeled as the 12K test pattern.)
However, there is another, newer version of the ILDA test pattern that has all the same elements of the original pattern, except that way outside of the main test pattern there is another square that is *huge*. This pattern is designed to be scanned at 100% of your scanners scan angle, and while it will work, it’s not as easy to use. We won’t be using that version for this tutorial.
Another pattern you’ll want is the Laser Media Test Pattern. This looks like a square window frame with 4 small squares inside it. There is a diamond-shape inside the square, and the corners of the inner diamond touch the sides of the outer square in the middle of each side. In the very center of the pattern there is another, smaller square. Here’s a picture of what it looks like:
Finally, the last test pattern you’ll need is the quadrature square wave pattern. It looks like a large square with bright dots at the corners. All of these test patterns are attached to the end of this message for your use.
Now a little analogy as to how tuning works. The three controls we’ll be messing with are the servo gain, the low frequency damping, and the high frequency damping. Think of these three controls as three legs of a stool. Remove any one leg, and the stool will topple.
To adjust these three controls is a bit like trying to carry a 3 legged stool up a flight of stairs. To borrow Bill’s analogy, imagine that you have three guys trying to carry this heavy stool up the steps. On top of the stool is a bucket of water, which they don’t want to spill. Each guy is holding one leg of the stool. As they walk up the stairs, the first two guys walk up in unison, while the third guy stands at the bottom and just lifts with his arms to keep the stool level. Eventually though, he too has to start climbing the stairs with the other two guys. In this analogy, the two guys that go up first are servo gain and low frequency damping, while the trailing guy is high frequency damping. Try to keep this analogy in the back of your mind as we proceed.
Ok. The first thing I do when I want to tune a set of scanners is to bring up the ILDA test pattern. Start with your software set to a very low scan angle – say, 5% of maximum. Set the scan speed to 30Kpps, and load the pattern. Now slowly adjust the scan angle setting in your software and watch the center circle in the test pattern. Don’t worry if it’s not a perfect circle, just watch it as it gets larger… Eventually you’ll reach a point where increasing the scan angle setting does not make the circle any larger. STOP HERE. Back the setting down 1 or 2 percent from this point. This is where you will start tuning.
The theory here is that once the circle stops increasing in size, you’ve reached the max gain for the scanners. You want to be just below this point. You should end up with at least an 8 degree scan angle here, but you may end up wider, depending on the scanners you have.
Ok, now we can tune. My preference is to dial back the scanners all the way to zero and start from scratch, mainly because this is the way I’ve seen Bill do it. As you get more proficient you may choose to skip this step, but I think you’ll get better results if you work them down first, and then back up.
So what we want to do is to reduce the gain, LF damping, and HF damping controls all the way to zero. But you can’t just start dialing the pots back… Remember the 3 legged stool analogy; if you get one leg too far out of adjustment, the stool will tip and the bucket will fall! (In real life, the scanners can begin to oscillate and/or resonate, and bad things can happen to them!) So you’ve got to make small adjustments to keep everything balanced.
Start by decreasing the servo gain on the X amp by about ½ a turn or so. You should see the circle get smaller in the X direction. You should also notice a little “undershoot” on the corner of the square that surrounds the circle. (Undershoot is when the laser traces back over the line; away from one corner and towards the other corner.) Now reduce the HF damping a little bit, and the undershoot should get less pronounced. Note that the circle will get a little larger when you do this. Now dial down on the LF damping. You should see some overshoot past the corner when you do this. (Overshoot is when the laser traces PAST the corner, towards the outside of the pattern.) This will make the circle even larger, and it may end up at the same point it was when you started. (Or even larger.) Congratulations, you’ve just walked the stool down 1 step of the stairs!
Now go back and reduce the servo gain some more. This should get rid of the overshoot, though you may still have some undershoot. Now reduce HF damping a little, and you should be back to a dot on the corner. (If you go a little farther, you might end up with some overshoot even.) Ok - you're on your way down the steps. What you want to do is take small steps and always try to stay pretty close to having a sharp dot in the corner after each series of adjustments… Don't get too far out of adjustment, or the scanners will get away from you. Continue this for a few steps, then switch to the Y amp and do the same thing.
Back and fourth, less gain first, then less damping, X amp, then Y amp, for many steps. At some point, you will notice that dialing back on the HF damping control doesn’t have any effect on the pattern anymore. GOOD! You’ve worked the stool down to the point where the HF damping dude is standing at ground level. (The HF damping pot is turned all the way down to zero.) At this point, it’s easier to see what you are doing if you change test patterns… So stop for a moment and load up the quadrature square wave pattern.
You should see a large square with four dots in the corners. With this pattern, both the overshoot and undershoot are *really* easy to spot. Ok, keep dialing back on the gain and dialing back on the LF damping. One step at a time, and keep alternating between X and Y. Eventually you’ll reach a point where, when you try to reduce the gain a little bit more, the whole square will collapse in that dimension. Cool… You’ve reached the bottom. Increase the gain just enough so you have something that looks roughly like a square. Then work on the other amp until you reach the same point there. Good! Now you’re at the very bottom and are ready to start climbing the stairs again. You should have a really rough looking square at this point.
With the quadrature square wave pattern still displayed, start increasing servo gain. Right away you’ll see that a little extra gain will give you a large overshoot. BE CAREFUL HERE! Don’t let the overshoot get too far! No more than 5 to 10 % of the total length of the sides of the square. If you go too far, the scanners can get out of control, and bad things will happen! Once you get the overshoot, increase the low frequency damping until you bring the overshoot back in line and you have a nice, crisp dot at the corner. This is important! From now on, all we want are precise dots on the corners. Ok, now add a little more gain, and a little more LF damping… Switch to the other amp and take a few steps with it. Again, a little servo gain, followed by a little LF damping to bring the overshoot back into line.
Continue working your way up the steps like this. Eventually, you’ll notice that when you add the LF damping to bring the overshoot back in line with the corner, you also get a little undershoot that runs back along the line. That means you’re to the point where you need to start adding a little high frequency damping to get rid of the undershoot. Be careful here, because it doesn’t take a lot of HF damping to do the job. You want bright dots, nothing else! (It's easy to add too much HF damping, and this will cause you problems later, so be careful.)
This is also a good time to switch over to the ILDA test pattern. The quadrature square wave pattern is great for large signal response, but once you get the gain up fairly high, I find it’s easier to adjust things using the ILDA test pattern. So after you've gone through 3 or 4 rounds of increasing the HF damping, switch to the ILDA test pattern and continue from there.
Note that the inner square around the circle on the ILDA test pattern should have the same bright dots at the corners as the quadtrature square wave pattern did. And you'll still see the overshoots and undershoots just like you did on the quadrature square wave pattern, though they will be less pronounced. But you also have the circle to help guide you. You know you’re getting very close when you’ve got bright dots at all the corners AND the circle is both round and just touching the sides of the square.
So with the ILDA test pattern up, keep adding servo gain and tweaking both LF damping and HF damping as needed to get rid of overshoots and undershoots. Watch your circle. When it’s touching the square, stop. You are close, but you may not be done yet. Now it’s time to introduce a third test pattern: The Laser Media Test Pattern.
This pattern helps ensure that both scanners are running at exactly the same speed. The diagonal lines on the top right and lower left of the pattern are traced over twice. If the scanners are at the exact same speed, these lines will overlap perfectly. If once scanner is faster than the other, the lines will separate from one another, and you’ll see two closely spaced lines instead of just one. If you see two lines, carefully tweak the gain DOWN on one of your scanners a little bit. (You don’t know which one is off, so just pick one and dial it back a tad…) Watch the lines… If they get farther apart, then you need to go UP on the speed of the scanner you picked. If they get closer together, then you need to go up on the speed of the OTHER scanner.
Remember that increasing the servo gain (speed) will mean that you’ll have to tweak the LF and HF damping again. Then go back and look at the Laser Media Test Pattern again. Then check to make sure the circle is still round, and is still touching the 4 sides of the square in the ILDA test pattern. Flip back and fourth between these two patterns as you fiddle with the tuning until you find a happy medium between the two.
Ok – something else to check: look at the 4 lines beneath the square on the ILDA test pattern. Are they all straight, or do they curve up (or down) at the right edge? If they have a curve to them, you need to play with the damping on your Y axis scanner. Then rotate the test pattern 90 degrees in your software and look at those lines again. (They will be vertical lines now.) If they curve to the left or right at the end, then you need to adjust the damping on your X axis scanner.
And finally, a great tip from Bill Benner: Turn off blanking. (Either by disconnecting the blanking lead to your laser, or by going in to your software, selecting “show blanking points”, and then using the paint brush tool to make all blanked points white.) When you display the ILDA test pattern without blanking, you will see a diagonal line running from above and to the left of the center square down and to the right, where it will curve sharply to the left and merge with the bottom line on the large outer square. This diagonal line should have a reasonably hard corner where it meets the bottom line, and should then trace along the bottom with no wavy parts to it. (Nothing above or below the main bottom line.)
If part of this retrace line is above or below the bottom line on the square, you need to adjust the low frequency damping for your Y amp. On the other hand, if you see waves or ripples in the line as it retraces along the bottom, that means you need to adjust your high frequency damping on your Y amp.
Also, remember that you can rotate the pattern 90 degrees in your software, and then you can check the same line again, except that this time it will be telling you about the performance of your X amp.
Ok, so you’ve tweaked the circle so it’s both round and exactly touching the square. You’ve checked the Laser Media Test Pattern, and you have single, solid lines on the upper left and lower right diagonals. You’ve turned off the blanking and checked the long re-trace line to the bottom of the outer square, and it runs straight to the bottom line and traces along right on top of it. Congratulations! You’ve got your galvos tuned as tight as they’re ever going to get. Don’t touch them, and you should be good for a long time to come.
Now, if you’ve been doing all the above, and after 3 hours of twiddling you still can’t get it perfect, take heart. It doesn’t *need* to be perfect. If that bottom retrace line has a little wave, or runs a tad higher than the bottom line, and you can’t fix it without screwing up the circle in the center square, then you may have to live with it. Likewise, if you can’t get the double lines on the Laser Media Test Pattern to go away without screwing up the circle in the square, again, you’ll just have to live with it. Don’t worry, you images will still look OK.
But if your circle looks like an oval, then you’re not done yet. You need to tweak some more. (An oval means your speeds are way off between x and Y; the Laser Media Test Pattern will tell you this as well.) If your circle isn’t touching the square, you need to tweak some more, because BOTH scanners need more gain. Or, if you’re already maxed out on servo gain and the circle is still way inside the square, then you need to decrease your scan angle setting in your software a bit more and then re-tune. (You did make sure you had your scan speed set correctly, right?)
A note about scan speed: If you tune at 30K, and then display at 40K, the circle will end up inside the square. If you tune at 40K and then display at 30K, the circle will end up outside the square. If you lower the scan speed even more, the circle might end up looking like a 12-sided polygon. That’s actually what the pattern contains; 12 points that make up a rough circle that the scanners trace around 3 times. The idea is to send points far enough apart that the scanners never reach them before the next point is sent. Thus the scanners are said to be “ballistic”, in that they are accelerating as fast as they possibly can. So it’s always a good idea to tune at the speed you plan to display things at. (Also note that there is no true 40K standard, only 30K and 60K.) Besides, a set of scanners that can do 40K are more fun when you tune and run them at 30K, because you’ll get a wider scan angle out of them. (Wider scan = larger images!)
Ok, that's about it... If you want more information, I suggest you have a look at the following links:
This site has a rundown of the same basic procedure I detailed above. It's aimed at tuning the General Scanning amps for the G100, 200, and 300 series scanners, but the theory is the same. Each picture is a scan of one page of the manual.
The Laser FX site has a good tutorial on how to tune scanners, and also has some more information on what the test pattern is actually testing for.
Finally, the Pangolin website also has an article on the test pattern, along with this table to help you calculate scan angles, and this page showing pictures of the overshoots on the quadtrature square wave pattern. (Look towards the bottom of the page, on the right.)
Happy tuning!
Adam