Magnetic-bearings, which support shafts with magnetic levitation rather than mechanical contact, have been in industrial use for decades. Recent technological developments, especially in digital processing and control, have made magnetic bearings a more-robust and cost-effective design solution than ever. The dynamic characteristic of electromagnetic bearing depends upon adopted controller; the active control can makes the electromagnetic bearings to realize complex control and special control. With the development of signal processing technology and modern control theory, the main parts of the control system are the digital signal-processing (DSP) electronics, a power supply, and amplifiers. An Active Magnetic Bearing (AMB) controller is mainly discussed in the paper, which is to be solved to realize this flexible control by hardware design based on DSP using TMS320C32 processor. It is proved by experiment that this kind of controller can optimize for this system, improve its stability and also have a very important referential value on the further study of AMB system.