Isolation transformers are not the solution. They have a purpose in life, could be used here, but could also induce a bigger problem if not handled correctly. Most likely an special interface consisting of an opto isolator on the PC's pwm, followed by a comparitor to square up the opto output and get a 0 to 12V swing, followed by a precision rectifier circuit. Do not tie the ground of the controller back to the PC in any fashion.
Phil
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com