For the speed-controlled drive system, the crossover frequency, c generated from the current loop time delay is always designed to be higher than the rotor frequency, r. In addition, the 3-dB frequency, s which is obtained from the integrator time delay of PI controller is usually chosen to be smaller than the r. From the approximation of current loop crossover frequency and the corner frequency of PI controller, the complete speed-controlled drive system is redrawn in Fig. 3. The 3-dB frequency, rc of the overall closed loop speed controlled system can be found to be, rc = (BL + Kps Kt)/ JL. The rotor frequency should be designed to be in the range between s and rc in order to achieve the better performance. The system is inherently stable since the maximum phase angle of the complete control system is -90o. Adjusting the proportional gain of speed controller, Kps, can be applied to meet the requirements of the overshoot for the overall control system. The system software program is developed under MPLAB IDE software platform and written in C language. Most of the functions of electric bicycle are programmed in the microcontroller firmware which includes the circuit protection mechanism, PWM generation, motor currents calculation, rotor position and speed calculation and rotor pole position [7-8]. The flowchart of main program for microcontroller firmware is shown in Fig. 4. The initializations for I/O configuration, Timer 1, Timer 2, ADC and PWM settings are firstly processed in the main program.
สำหรับความเร็วควบคุมระบบขับแบบไขว้ , ความถี่ , C ที่สร้างขึ้นจากปัจจุบัน ห่วงเวลาล่าช้ามาเสมอจะสูงกว่าของความถี่ อาร์ นอกจากนี้ 3-db ความถี่ ซึ่งได้มาจากการหน่วงเวลาของตัวควบคุม PI ) เป็นมักจะเลือกที่จะมีขนาดเล็กกว่า R จากการประมาณของลูป ปัจจุบันใช้ความถี่และความถี่ของการควบคุมมุมและความเร็วที่สมบูรณ์ที่ควบคุมระบบขับ เป็น redrawn ในรูปที่ 3 การ 3-db ความถี่ RC , ระบบควบคุมความเร็วโดยรวมวงปิดสามารถพบเป็น RC = ( BL + KPS KT ) Jl . โรเตอร์ความถี่ควรออกแบบให้อยู่ในช่วงระหว่าง S กับ RC เพื่อให้บรรลุประสิทธิภาพที่ดีขึ้น ระบบเป็นอย่างโดยเนื้อแท้มีเสถียรภาพตั้งแต่สูงสุดระยะมุมของระบบการควบคุมที่สมบูรณ์ - 90 . ปรับเพิ่มสัดส่วนของตัวควบคุมความเร็ว กำแพงแสน สามารถใช้เพื่อตอบสนองความต้องการของกระบวนการในการควบคุมระบบโดยรวม โปรแกรมการพัฒนาระบบภายใต้ mplab IDE และแพลตฟอร์มซอฟต์แวร์ที่เขียนในภาษา C . ที่สุดของการทำงานของรถจักรยานไฟฟ้าเป็นโปรแกรมในไมโครคอนโทรลเลอร์เฟิร์มซึ่งรวมถึงวงจรป้องกันกระแสมอเตอร์ PWM กลไก , รุ่น , การคำนวณ , การคำนวณความเร็วและตำแหน่งของใบพัดและตำแหน่งเสา [ 7 ] ผังของโปรแกรมหลักสำหรับไมโครคอนโทรลเลอร์เฟิร์มจะแสดงในรูปที่ 4 การ initializations สำหรับ I / O การตั้งเวลาจับเวลา 1 , 2 , และมีการตั้งค่าระบบสามารถประมวลผลในโปรแกรมหลัก
การแปล กรุณารอสักครู่..
