本論文乃就腳踏運動器材使之擴增相關機構與電路具有復健功能之輔具,主要是要讓病患能夠實現自我腿部復健之目的。此系統可區分為三個部分:永磁同步電動機/發電機切換控制、永磁式磁阻控制與電磁式磁阻控制,當切換至電動機模式下時,利用磁場導向控制使永磁同步馬達以定轉速轉動機構帶動病患作復健;當切換至發電機模式下時,病患可自行轉動機構帶動發電機運轉,利用三相切換式整流器作直流電壓控制,輸出一穩定電壓儲存至二次電池中,在此模式下,若需要更高強度的復健時,則可調整永磁式與電磁式之磁場大小,當飛輪切割封閉之磁力線時會產生渦電流效應使反扭矩回饋至飛輪上,讓患者感受到阻力。此復健機系統是以微處理器(DSP,TMS320F28335)為控制運算核心,並搭配德州儀器開發之永磁同步馬達控制模組(TMDSHVMTRPFCKIT),以提高系統之穩定度與可靠性。;This thesis is to use a foot-sport device to equip relevant mechanism and circuits so that functions of rehabilitation aids. This system can be divided into three parts: a permanent magnet synchronous motor / generator switching control, the permanent magnet and electromagnetic resistance control. When the system is switched to the motor mode, using field-oriented control of PMSM with fixed speed rotation mechanism drive the patient for rehabilitation; When you switch to the generator mode, the patient may rotate mechanism to drive generator operation, the use of three-phase rectifier for switching DC voltage control, a stable output voltage can charge the battery . Simultaneously, if higher strength rehabilitation what you want, the both magnet can be adjusted its electromagnetic field, rotating flywheel will cut the closure of the magnetic field lines, generating an eddy current resistant force. This rehabilitation system is based on microprocessor (DSP, TMS320F28335) for the control of core operations, and with a PMSM control module(TMDSHVMTRPFCKIT) developed by Texas Instruments, in order to improve system stability and reliability.