Transcription of Digital Control Systems (DCS) Group - TI.com
1 ACI3-1 system DocumentationVariable Speed Control of3-Phase AC Induction MotorDigital Control Systems (DCS) GroupSPRU438 September 2000 IMPORTANT NOTICET exas Instruments and its subsidiaries (TI) reserve the right to make changes to their productsor to discontinue any product or service without notice, and advise customers to obtain the latestversion of relevant information to verify, before placing orders, that information being relied onis current and complete. All products are sold subject to the terms and conditions of sale suppliedat the time of order acknowledgment, including those pertaining to warranty, patent infringement,and limitation of warrants performance of its products to the specifications applicable at the time of sale inaccordance with TI s standard warranty. Testing and other quality Control techniques are utilizedto the extent TI deems necessary to support this warranty.
2 Specific testing of all parameters ofeach device is not necessarily performed, except those mandated by government are responsible for their applications using TI order to minimize risks associated with the customer s applications, adequate design andoperating safeguards must be provided by the customer to minimize inherent or assumes no liability for applications assistance or customer product design. TI does notwarrant or represent that any license, either express or implied, is granted under any patent right,copyright, mask work right, or other intellectual property right of TI covering or relating to anycombination, machine, or process in which such products or services might be or are used. TI spublication of information regarding any third party s products or services does not constitute TI sapproval, license, warranty or endorsement of information in TI data books or data sheets is permissible only if reproductionis without alteration and is accompanied by all associated warranties, conditions, limitations andnotices.
3 Representation or reproduction of this information with alteration voids all warrantiesprovided for an associated TI product or service, is an unfair and deceptive business practice,and TI is not responsible nor liable for any such of TI s products or services with statements different from or beyond the parameters statedby TI for that products or service voids all express and any implied warranties for the associatedTI product or service, is an unfair and deceptive business practice, and TI is not responsible norliable for any such see: Standard Terms and Conditions of Sale for Semiconductor Products. Address:Texas InstrumentsPost Office Box 655303 Dallas, Texas 75265 Copyright 2001, Texas Instruments IncorporatedContentsiContents1 system Overview2.. 2 Hardware and Software Configuration4.. and Building CC Project for Assembly Case5.. and building CC Project for C Case6.
4 3 Incremental system Build Phase 18.. 18.. 4 Incremental system Build Phase 211.. system Build Phase 2a11.. system Build Phase 2b13.. 5 Incremental system Build Phase 315.. system Build Phase 3a15.. Module DocumentsBC_CALC21.. CAP_EVENT_DRV26.. DATA_LOG30.. FC_PWM_DRV35.. FC_PWM_O_DRV39.. RAMP_CNTL43.. SPEED_PRD48.. SVGEN_MF55.. V_HZ_PROFILE66.. Figuresii ACI motor Drive system Diagram2.. Flowchart3.. 1 Incremental Build for ACI1-19.. Window for Phase 1 Incremental Build of ACI3-1 Showing Line toNeutral Waveforms9.. Window for Phase 1 Incremental Build of ACI3-1 Showing Line to Neutral (Ta or Van) and Line-to-line Waveform (Vab)10.. 2a Software Block Diagram for ACI3-1 System11.. Display Window With dlog_iptr1=Mfunc_c1, dlog_iptr2=Mfunc_c2, direction=0(wave 1 leads wave 2)12.. Display Window With dlog_iptr1=Mfunc_c1, dlog_iptr2=Mfunc_c2, direction=1(wave 1 lags wave 2)12.
5 Hardware Setup for Phase 2b Implementation14.. Block Diagram for Phase 3a15.. Window for Phase 3a Commanded Speed is 1800 RPM,Open-loop speed is 1777 RPM16.. Block Diagram of Phase 118.. Block Diagram of Phase 219.. Block Diagram of Phase 320.. 1 ACI3 1 Variable Speed Control ofPhase AC Induction MotorThe ACI3-1 offers the following:-Open-loop V/Hz Control -Space Vector PWM-Closed-loop speed controlTopicPage1 system Overview2.. 2 Hardware and Software Configuration4.. 3 Incremental system Build Phase 18.. 4 Incremental system Build Phase 211.. 5 Incremental system Build Phase 315.. system Overview2 SPRU4381 system OverviewFigure 1 shows the complete system diagram for a three-phase ACI motor drive. A threephase voltage source inverter is utilized to operate a three pahse ACI motor . Six PWMchannels from DSP controller regulates the motor phase voltages by controlling the sixpower devices.
6 One capture input is utilized to measure the motor 1. 3-Phase ACI motor Drive system Diagramx24xxDSPPWM1 PWM2 PWM3 PWM4 PWM5 PWM6 CAP1 PWM1 PWM3 PWM5 PWM2 PWM4 PWM6 ACI3 phaseCAP1 TachoThis document describes the 3-phase ACI ac induction motor usingTMS320F240t/TMS320F243 / TMS320F2407 DSPs. The system implemented hereis called ACI3-1 and uses the following software modules:-BOX_CAR-CAP_EVENT_DRV-DATA_LOG- FC_PWM_DRV-RAMP_CNTL-SVGEN_MF-SINTB60-SP EED_PRD-SYS_INIT-V_Hz_PROFILEThe ACI3-1 system has the following properties:ASM Program Memory1700 wordsASM Data Memory224 wordsC Program Memory1692 words*C Data Memory164 words*Development/EmulationCode Composer (or above) with real-time debugTarget controller H/WSpectrum Digital F240/F243/F2407 EVMsPower Inverter H/WSpectrum Digital DMC1000/DMC1500 motor TypeThree-Phase AC Induction (4 pole) system Overview3 ACI3 1 SPRU438 PWM frequency20 kHz (Timer T1 based)PWM modeSymmetrical with Dead bandInterrupts1 (Timer 1 underflow)Main sampling loop20 kHzPeripheral Resources UsedTimer 1, PWM 1/2/3/4/5/6, 2 ADC Channels*Note.
7 The C version of the software at this time excludes the modules DATA_LOGRAMP_CNTL, and 2. Software Flowchart_c_int0 Initializesoftware modulesInitialize timer T1and real time monitorEnable T1 underflowinterrupt and coreinterrupt INT2 Initialize other systemparameters andincremental build optionsBackgroundloopINT2 INT2 Save contexts andclear interrupt flagsExecute the selectedincremental buildReturninterruptExecuteDATA_LOGR estore contextsmoduleHardware and Software Configuration4 SPRU4382 Hardware and Software experimental system consists of the following hardware components:-Spectrum Digital DMC1000 or DMC1500 drive platform;-TMS320F240, TMS320F243, or TMS320F2407 EVM platform-Spectrum Digital DMC to EVM Interface board;-Three Phase AC Induction(ACI) motor -IBM compatible development environment including an IBM compatible PC with CodeComposer or higher installed and XDS510pp to the User s Guides and or Manuals for configuration of the above items and theirconnection to the system .
8 Table 1, Table 2, and Table 3 show some of the other systemlevel choices that must be for DMC1000 Jumper NumberJumper SettingCommentsP19 P20 Connect these for ac input neutralconnectionP16 P18 Connect these for full bridgerectifier front-end configurationonlyP16 P17 Connect these for voltage doublerfront-end configuration onlyDonot use DMC1000/1500boards in voltage doubler modewith 220 VAC , JP2, JP3 Install all jumpersUse 3-Phase power inverterconfigurationJP4 Remove jumperUse DC bus current senseresistor jumper on pins 2 3 Use DC bus overcurrent conditionto generate PDPINT. Use thepotentiometer resistor R19 toadjust the signal Vtrip. This willset the maximum DC bus jumper on pins 1 2 Disable PFC circuitJP20 Install jumper on pins 2 3 Vccp=VccJP22 Install jumper on pins 1 2 Use s/w to enable/disableDMC1000 PWM signalsHardware and Software Configuration5 ACI3 1 SPRU438 Table for DMC1500 Jumper NumberJumper SettingCommentsP21 P22 Connect these for ac input neutralconnectionP15 P17 Connect these for full bridgerectifier front-end configurationonlyP15 P16 Connect these for voltage doublerfront-end configuration onlyDonot use DMC1000/1500boards in voltage doubler modewith 220 VAC , JP2.
9 JP3 Install all jumpersUse 3-Phase power inverterconfigurationJP4 Remove jumperUse DC bus current senseresistor R6JP17 Install jumper on pins 1 2 Disable PFC circuitJP27 Install jumper on pins 1 2 Use s/w to enable/disable PWMsignals on DMC1500 Table for DMC to EVM Interface BoardJumper NumberJumper SettingCommentsJP1 Remove jumperJP2 Install and Building CC Project for Assembly CaseIn order to use the CC workspace file in C:\TI\DCS\ACI3_1 directory, all the assemblymodules in the modular library must be copied into C:\TI\DCS\ACI3_1 directory. The as-sembly files needed for this system are Box_car, Cap_drv, data_log, PID_ID, pwmodrv,rmp_cntl, SINTB60, speed_pr, svgen_mf, sys_init, vhz_prof. The other files in this directo-ry are:-The ACI system assembly file ;-The linker command file, , that defines memory map and specifiesmemory allocation;-Two header files and real time monitor related files and project file workspace files (aci3_1_phase1, aci3_2_phase2) which contain the setup infor-mation for the whole project and debugging is also assumed that the emulator used is XDS510pp.
10 Once the directory C:\TI\DCS\ACI3_1 contains all the necessary files (as mentioned above), the next stepHardware and Software Configuration6 SPRU438is to provide the supply voltage(+5V DC) to the F243/LF2407 EVM and RESET the emula-tor. Then start the Code Composer and open the project Now load theworkspace file the workspace will automatically open up the project file and showall the files relevant to the project. The following shows the expanded project view as partof CC environment aci3_1_phase1wks is loaded:Note that the same project can be built from scratch easily if the workspace file,aci3_1_phase1wks, can t be loaded directly because of differences in CC setup and oremulator used. Refer to CC tutorial for information on a building variables in the Watch Window can be added manually according to CC the PROGRAM LOAD OPTIONS in CC select Load Program After Build for auto-matic loading of the program to the target once the program is and building CC Project for C CaseThe process for loading and building the C version of the ACI31 system is same as theassembly case with the following exceptions:-Modules: The modules DATA_LOG, RMP_CNTL, and BOX_CAR are excluded atthis time.
