It sounds like your machine already has the appropriate motor driver board installed. Get a picture of that board and post it here so aomeone can give you some advice on how to go about getting the information you need. It probably has a method of feeding it an analog signal, and may be using it already to control the 3 speeds.