When these things happen plumbers should be on their way. If you don't know the cause of that noise then you don't know what kind of damage it could provoke neither. You could find some clues and solutions on this http://www.ballardwaterwell.net resource. It should be helpful since the reviews support it.
You definitely had a great time solving that mystery, the family must have been very happy to get rid of the noise! They should have gone for a total bathroom remodeling, get an European Sink and forget about strange noises in the night once and for all!
Thanks for that enlightenment. I wondered about the vertical dampener and if it was really effective or if the air woud dissolve in time. The key is a correct and overbuilt original install and then an independent inspection by someone who knows and must be obeyed. I grew up in an older middle class residence built in late 1940s that had some bathrooms added on and remodeled. The results were percussive when more loads and larger capacity clothes- and dishwashers showed up. The copper pipes had been carefully threaded through some of the beams and joists and the inaccessible long runs were resonant. The runs we could see were silent and carefully fastened with clamps. Every appliance had a tell-tale announcement of where it was in the wash cycles. Dad never minded cuz he was gainfully employed and rarely witnessed. The rest of us could have experienced a meteor shower and never paid attention. I guess its great testimony to the quality of the pipesweating in earlier times. When father did hear it on the weekends, he threatened to call a plumber with the know-how to install a proper hammer arrestor. That house went to sale and the next remodeling with its signature drum beat.
I worked as an engineer in the water heater industry for about eleven years and water hammer is a significant problem with some homes. The "hammer" can actually cause real issues and make repairs necessary. Ruptured piping and leakage are not uncommon. One "fix" was to install a pump tank; i.e. hydropneumatic vessel with a diaphragm that will "flex" and allow absorption of the pressures inside the piping system. It was always amazing to me how rapid closing of solenoid valves driving dishwashers and clothes washers could produce the water hammer. Equally amazing as to the pressures that could be developed.
We own a lake house in which we had a hammmer following every toilet flush. It sounded like something was busting through the wall. None of the plumbing is easily accesible so we tolerated it for the first month we owned the house and I figured sooner or later I would have to open a wall and put an arrestor in. One Sunday as we prepred to go home, the weather was getting cold enough that I closed the water main. The next time we came down and I turned the water back on, the hammer had disappeared and in the ensuing 4 years it has not returned.
I do not know what I did, but the silence is a pleasure
A water hammer arrestor, field-fabricated from a short section of capped vertical pipe, is essentially useless. In some cases, these are installed by plumbers to meet code requirements. In other cases, they are installed by plumbing-ignorant people who think they are useful.
Why do I say they are useless? Because the air head diffuses into the water after a while, and the pipe becomes filled with water. This can happen in just a few weeks or less. It is possible to drain the water out of the arrestor (so it will work for up to a few weeks before again being drained), but homeowners generally never do this.
I once owned an older home that had a well and pressure tank equipped with a non-functional air volume control. The purpose of the air volume control is to maintain a head of air above the water in the pressure tank, so that the system pressure does not vary as much with water volume. This allows the pump to run longer and less frequently than it would with no air head in the tank. Most air volume controls were notoriously unreliable, so now most pressure tanks contain bladders that separate the water from the air. Every few weeks, I would have to turn off the power to the pump and drain a few buckets of water from the tank to create an air head.
Manufactured water hammer arrestors are available, which remain functional even if the homeowner does not drain them every few weeks. These are more costly than a short, capped section of pipe, so they are not used very often. In most household cases, water hammer is just a minor annoyance, not a serious problem.
This valve is a good example of a closed loop servo system. The damping was set all wrong in the feedback loop. Unfortunately you probably can't adjust the loop. Fortunately it is a cheap replacement, but a pain in the neck...
The repeated hammering is caused by the pressure wave reflecting back and forth in the line. The returning wave may cause the valve to open momentarily, and then it will close again and generate another wave. A method of reducing this is to usen a valve with a slow closure, and a method to damp the wave is to use an elasomeric connection hose. That provides the needed cusioning without adding anything extra to the system. The slower closing valve is equivalent to slew-rate limiting, used in electrical circuits to reduce interference.
Damage from water hammer is why piping should be well anchored, since there is often enough energy available to break the piping if it is unrestrained.
Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.