JAJU643A November   2018  – March 2020

 

  1.   改訂履歴

Run the Code

  1. Probe the drain-to-source voltages for the phase 1 using appropriately-rated voltage probes and oscilloscopes.
  2. Follow the step 1 in 3.1.2.4.1.4 to open setupdebugenv_build2_ac.js script file located inside the Project folder. This script file populates the Expressions window with the appropriate variables needed to debug the system for build 2.
  3. Run the code by using the <F8> key, or by using the Run button (TIDM-1022 tidm-1022-run-photograph.png) on the toolbar.
  4. With the AC source set to output 0 V at 60 Hz, "turn on" the AC power supply.
  5. Set VbusVcmd to 0.025.
  6. Gradually increase the input voltage from 0-V to 120-V AC.
  7. Gui_Freq_Vin, Gui_IrectRMS, Gui_VrectRMS, and guiVbus should correctly reflect the input and output parameters, respectively.
  8. With a 4-kΩ load, the output voltage should go boost up to about 260 V (see Figure 21). Figure 22 shows the input current, PWM output, and Vds waveforms under this condition.
  9. Zoom in on the Vds waveform to verify the valley switching in each cycle under 120 V input conditions. The Vds waveform should be similar to Figure 23.
  10. Keep increasing the VbusVcmd in increments of 0.002 until the VbusVcmd is increased to a value of 0.045. The output voltage should increase to approximately 380 V (see Figure 24). The ac_cur_sensed value may change rapidly and is not the same as the ac_cur_ref value. This change is because the ac_cur_sensed field is the instantaneous input current value while the ac_cur_ref is the amplitude reference for the current command.
  11. The SFRA is integrated in the software of this build (as well as integrated in the software of Build 3) to verify the designed compensator provides enough gain and phase margin by measuring the hardware. To run the current loop SFRA, the user needs to select current option in main.syscfg(project rebuilt needed to change the settings). To run the SFRA, keep the project running, and from the main.syscfg page, click the SFRA icon (see Figure 25). The SFRA GUI appears.
  12. Select the options for the device on the SFRA GUI. For example, for F280049C select floating point. click the Setup Connection. From the pop-up window, uncheck the boot on connect option, and select an appropriate COM port. Click OK. Return to the SFRA GUI, and click Connect.
  13. The SFRA GUI connects to the device. An SFRA sweep can now be started by clicking Start Sweep. The complete SFRA sweep takes a few minutes to finish. Activity can be monitored by viewing the progress bar on the SFRA GUI and also checking the flashing of blue LED on the back on the controlCARD that indicates UART activity. Once complete, a graph with the open loop plot appears, see Figure 26.
  14. Optionally, the user can use the measured frequency response of the plant to design the current compensator by clicking the Compensation Designer button again from the main.cfg page and choose the SFRA Data for plant option on the GUI. This uses the measured plant information to design the compensator. This option can be used to fine tune the compensation. By default, the compensation designer points to the latest SFRA run. If a previous SFRA run plant information is needed, the user can select the SFRAData.csv file by clicking the Browse SFRA csv Data.
Figure 21. Build 2 Expressions Window ViewTIDM-1022 tidm-1022-build-2-window-photograph.png
Figure 22. Input Current Waveform(Channel 1) Under Build 2 With 0.025 dutyPUTIDM-1022 tidm-1022-input-current-waveform-under-build-2-with-0.025-dutypu-scope-trace.png
Figure 23. Vds Waveform(Channel 4) Under Build 2 With Valley SwitchingTIDM-1022 tidm-1022-vds-waveform-under-build-2-with-valley-switching-scope-trace.png
Figure 24. Input Current Waveform Under Build 2 With 0.045 dutyPUTIDM-1022 tidm-1022-input-current-waveform-under-build-2-with-0.045-dutypu-scope-trace.png
Figure 25. powerSUITE Page to Select and Open SFRA TIDM-1022 tidm-1022-gui-sfra-sysconfig-TIDUEG3.png
Figure 26. Current Loop SFRA ResultTIDM-1022 tidm-1022-sfra-current-loop-photograph.png