I just read (within the last week) that the sonar is INDIRECTLY linked to the DCS hits in the sperm whales. I will try to find the source, but the article I read stated that sperm whales normally ascend at a slower rate when not around the sonar producing sources. This is because the whales' "sonar" range and imaging ability is greatly reduced, causing the whales to ascend through the water column at a faster rate. Normal dive times for sperm whales is about one hour, but dives of two hours have been recorded.
If I piece together other information I've read about the sperm whale, the reason for these deep dives is to hunt for giant squid. Although, I have not heard how man-made sonar affects these creatures, or their relationship with sperm whales. It would be a great study for someone working on a PhD in Marine Biology though. It could also produce some interesting results for scuba divers - it is currently believed that holding your breath and free diving (static apnea) cannot lead to DCS because you are not breathing compressed gases. (I doubt any human being can stay down long enough to have nitrogen loading from a single breath, but theoretically, it now appears that DCS can be triggered without breathing compressed gases). This should be interesting to follow as more studies are conducted and the results are published.