Home
Stellaris® DK-LM3S-DRV8312 Development Kit Read Me First (Rev
Contents
1. Hardware Overview Below is a list of all the major functional blocks present on the board and a short description of its function Figure shows the location of these blocks on the motor control board and a few key connector locations e ISO controlCARD socket This is the controlCARD slot Stellaris control CARDs have built in isolated Stellaris In Circuit Debug Interface ICDI e 12V Control Power Entry Connectors to optionally provide an external 12 V supply for logic and gate drive power The 12 V supply can also be regulated onboard from the DC bus depending on the JP1 setting e DC Bus Power Entry Connect the 24 VDC supply provided with the kit or external power supply e DRV8312 DRV8312 Three Phase Bridge PWM Motor Driver as well as external passive components e Current Sense Low side shunt current sensing on each half bridge and DC bus e Reset Switch Individual reset for each half bridge forced manually or through a GPIO from the microcontroller e Mode Jumper Configure cycle by cycle current limit or latched over current mode e Quadrature Encoder Connections for an optional shaft encoder to interface to the Stellaris microcontroller s QEI peripheral NODS Wi TEXAS INSTRUMENTS ev DK LM3S DRV8312 README FIRST e Hall Sensor Input Connections for Hall sensor feedback not required for InstaSPIN BLDC Isolated SPI and CAN interfaces are not supported by the Stellaris MDL LM3S818CNCD controlICARD I
2. making sure any jumpers to bridge the isolation barrier for standalone operation have been removed as shown figure shows only the top side of the PCB To bridge power install 0 5 wire power jumpers into J4 and J5 both sides of PCB Ensure that wires do not short to other components Non lsolated Side Isolated Side J1 als ry A8 C a ee ca Ree esa ms 1 Ti aT 1 4 f am be 1 qo H 55 _ i E LE HN J i RID eee om EE yo ee lt an WARNING Do not install controlCARD in a base board when wire power jumpers are installed io aiai WARNING Do not install the controlCARD module in a baseboard if the jumpers are installed If the jumpers are installed the isolation barrier is compromised and an electric shock hazard exists Power supply contention can also damage the controlICARD module or the baseboard Make sure the following jumpers and connector settings are valid on the DRV8312 baseboard e JPI isin the VRI position e M1 isin the H position e Switches RSTA RSTB and RSTC are in the middle position Connect the included Brushless DC Motor to the MOA MOB and MOC terminals on the board using the three thicker red black and yellow wires The motor s Hall Sensor wires Wi Texas INSTRUMENTS DK LM3S DRV8312 README FIRST are not required and can be left unconnected Figure 2 shows the connections for the motor included with the kit and the settings
3. phase e Ramp End Speed Sets the final speed for the forced commutation ramp up phase e Motor Parameters e Pole Count Choose the number of poles for the motor under test wi TEXAS INSTRUMENTS Rev 1 1 19 DK LM3S DRV8312 README FIRST e Base Electrical Frequency Sets the scaling of per unit PU speed to motor electrical speed For the settings shown above 200Hz mechanical _rev 60sec _ 009RpY 1 0PU 8 poles min electrical _ rev Current Loop Contains parameters associated with the current control loop These parameters are only active when Control Mode is set to Current or Cascade Those are the only modes which make use of the current loop e Kp Sets the proportional gain for the current controller e Ki Sets the integral gain for the current controller e Startup Current When current control is active the motor is driven with constant current rather than a constant duty cycle during the forced commutation ramp up phase This slider sets the current for this phase Velocity Loop Contains parameters associated with the velocity control loop These parameters are only active when Control Mode is set to Velocity or Cascade Those are the only modes which make use of the velocity loop e Kp Sets the proportional gain for the velocity controller e Ki Sets the integral gain for the velocity controller e Velocity Loop Limit e In Velocity Control Mode the Velocity Loop Limit Slider sets the maximum PWM
4. required to run the GUI 5 Connect a USB cable from J1 on the controlCARD to a PC and proceed with driver installation JP1 12V Control Set to VR1 oe je Boos a 2 i Ti L i Q US A RIGG LI TT A R21 R49 0 a eR U4 Se 2 ere 2 D R4i vn i3 Dao 8 wo JTAG oat Big 0 oe cite C93 Mins R48 ca as vo Tp oes HE 18 me a gta c36 A32 n i Motor STAT OUT_C Connections fle cia These connections a mati a i s Sar n DC Bus Hall Inputs are not cager moe pvoorn Le 24V Power required by the pe i ip A Jack quickstart application R34 25 D TEXAS mean a2 INSTRUMENTS m E DRV8312EVM a E 12v RB 5 6v 6517813 Revc Bvt Control Card Mode Reset Switches Socket Jumper Set Center MCU M1iH Position Figure 2 DRV8312 EVM Board Connections and Settings Wi Texas INSTRUMENTS Rev 1 1 5 DK LM3S DRV8312 README FIRST Step 2 Install drivers on the host computer In order to debug and download the custom application in the microcontroller s Flash memory and use Virtual COM Port connectivity you must first install the following drivers on the host computer e Stellaris Virtual Serial Port e Stellaris CDI JTAG SWD e Stellaris CDI DFU Note This README First document describes the procedure to install drivers on the Windows XP operating system There might be some variation for installing the drivers on other Windows operating systems although t
5. JTAG on controlCARD e Quadrature Encoder Interface e Hall Sensor Input Note To achieve 6 5 A operation an external power supply must be connected to source more current than the adaptor provided In addition the DK LM3S DRV8312 GUI has software flags that only allow it to work with the 24 V supply Changing parameters requires directly accessing the necessary parameters using the Code Composer Studio debugger NODS Wi TEXAS INSTRUMENTS ev DK LM3S DRV8312 README FIRST The software available with the kit is pre optimized for the included motor Nema Size 17 BLDC Motor 11A peak current 4000RPM DRV8312 Development Board Requirements e You have a PC with a USB interface running Microsoft Windows 2000 XP Vista or Windows 7 e AC power source and AC plug adapter if power source is other than USA style outlet WARNING This Development Kit should be used only by qualified engineers and technicians who are familiar with the risks associated with handling electrical and mechanical components systems and subsystems The EVM may be operated at voltages and currents that can result in electrical shock fire hazard and or personal injury if not properly handled or applied Users must use the equipment with necessary caution and employ appropriate safeguards to avoid serious injury Users must not touch any part of the Development Kit when power is applied if the power source is other than the included 24 V supply
6. LM35 DRV8312 UM pdf a sw01289 ST InstaSPIN BLDC_Lab_StellarisLM35 pdf O Does Quicketart Eval Kt CC5 pdf sur wt READMEFirst DK LM35 DRV8312 pdf C InstaSpin_BuildLevels OH m E G InstaSpin_GuI E gt Modules 3 crosshairs datatypes O graph_data O InstaSPIN 3 math block D mod G rmp3 I rmpentl C speed_calc all gt InstaSPIN BLDC sensorless control application note GUI and source for Crosshairs Interface Designer Source code for InstaSPIN BLDC system Hardware reference guide Modification of final build level source code InstaSPIN BLDC lab exercises for Stellaris used to create bin out used with Crosshairs Interface Designer GUI CCS Quickstart Motor control library modules used in the InstaSPIN BLDC project README First for getting started hardware connections and GUI YS wea one Figure 1 Software Installation Overview Wi Texas INSTRUMENTS Rev 1 1 10 DK LM3S DRV8312 README FIRST Running the GUI 1 Navigate to the Sandstorm_InstaSpin BLDC GUI_Vxxx exe file and and double click it to launch the GUI pop up window see Figure 3 2 The GUI auto detects and connects to the EK LM3S DRV8312 If auto connect fails you can set up the connection manually e Access the Connection Wizard through the Connection menu Click Connect to engine to view a list of available targets Set up the Connection Wizard Dialog to match Figure 4 e Select ARM Cor
7. deems necessary to support this warranty Except where mandated by government requirements testing of all parameters of each product is not necessarily performed Tl assumes no liability for applications assistance or customer product design Customers are responsible for their products and applications using TI components To minimize the risks associated with customer products and applications customers should provide adequate design and operating safeguards TI does not warrant or represent that any license either express or implied is granted under any TI patent right copyright mask work right or other TI intellectual property right relating to any combination machine or process in which TI products or services are used Information published by TI regarding third party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof Use of such information may require a license from a third party under the patents or other intellectual property of the third party or a license from Tl under the patents or other intellectual property of TI Reproduction of Tl information in Tl data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties conditions limitations and notices Reproduction of this information with alteration is an unfair and deceptive business practice TI is not responsible or liable for such al
8. is normalized to a 1 0 per unit PU scale e Velocity The knob adjusts the per unit PU motor commanded speed e Cascade The knob adjusts the per unit PU motor commanded speed e The actual Motor Speed RPM is displayed through a digital display e The actual Motor Current PU is displayed using a linear gauge The current should increase with motor load e The four graphs on the right display commutation and speed related data The time scale of the top three graphs can be adjusted by incrementing decrementing the Graph Time Scaler e Top Graph Displays the per unit PU integrated motor flux e Second Graph Displays the per unit PU Phase A BEMF waveform e Third Graph Displays the per unit PU Phase A current waveform e Fourth Graph Displays the motor speed in RPM This graph runs in a continuous strip chart mode and is not affected by the Graph Time Scaler e The Flux Threshold slider is used to adjust the motor s commutation point 2 The Settings tab contains parameters affecting motor start up and control loop tuning Wi Texas INSTRUMENTS Rev 1 1 14 DK LM3S DRV8312 README FIRST lol File Connection Help InstaSPIN BLDC CRORE on LOD Startup Control Velocity Loop Startup Startup Ramp Time Duty Cycle riz Current Loop parameters are only active when Control Mode is set to Current or Cascade 1000 300 B00 700 fu Velocity Loop parameters are only active when Control M
9. plastic Only products designated by TI as military grade meet military specifications Buyers acknowledge and agree that any such use of TI products which TI has not designated as military grade is solely at the Buyer s risk and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO TS 16949 requirements Buyers acknowledge and agree that if they use any non designated products in automotive applications TI will not be responsible for any failure to meet such requirements Following are URLs where you can obtain information on other Texas Instruments products and application solutions Products Applications Audio www ti com audio Automotive and Transportation www ti com automotive Amplifiers amplifier ti com Communications and Telecom www ti com communications Data Converters dataconverter ti com Computers and Peripherals www ti com computers DLP Products www dip com Consumer Electronics www ti com consumer apps DSP dsp ti com Energy and Lighting www ti com energy Clocks and Timers www ti com clocks Industrial www ti com industrial Interface interface ti com Medical www ti com medical Logic logic ti com Security www ti com security Power Mgmt power ti com Space Avionics and Defense www ti com space avionics d
10. release to a directory on your computer InstaSPIN is built into a self installer that can be launched directly from the CD wis TEXAS INSTRUMENTS Rev 1 1 17 DK LM3S DRV8312 README FIRST The projects in this release assume that StellarisWare is installed in the default c StellarisWare directory If StellarisWare is installed someplace else you must specify the new location in order to build the examples Once the files have been unzipped the projects can be imported into your Code Composer Studio workspace 1 _ To import the projects open Code Composer Studio and select Project and Import Existing CCS CCE Eclipse Project In the Import CCS Eclipse Project dialog box Make sure that Select search directory is selected and use the Browse button to navigate to the location where the control CARD module software was installed The default installation directory is c StellarisWare AppNotes sw01289 Select the directory and click the OK button Code Composer Studio lists the two projects to import InstaSpin_BuildLevels and InstaSpin_GUI Select both projects and click the Finish button The two new projects appear in the Projects tab in Code Composer Studio and are ready to be built 12 Select the InstaSpin_GUI project and either the Build Active Project button or use the right click menu and select the Build Project option Code Composer Studio compiles links and then gen
11. DK LM38S DRV8312 README FIRST Stellaris DK LM3S DRV8312 InstaSPIN BLDC The DK LM3S DRV8312 Digital Motor Control DMC development kit provides a great way to learn and experiment with InstaSPIN BLDC sensorless motor control The InstaSPIN BLDC algorithm is a sensorless BLDC control method which monitors the motor s flux to determine when to commutate the motor Kit Contents The DRV8312 Digital Motor Control Kit contains e MDL LM3S818CNCD controlCARD featuring a Stellaris LM3S818 microcontroller e On board Stellaris In Circuit Debug Interface CDI DRV8312 DMC baseboard with slot for the control CARD Brushless DC Motor NEMA17 24V 2 5A DC Power Adapter 110 240V AC input USA power cable Cables Accessories e USB miniB to USB A plug cable for debug and serial communication e inch blue jumper wires for bridging power e Development Kit CD containing e For the controlCARD in standalone use e Complete documentation e StellarisWare Peripheral Driver Library and example source code e For the controk CARD when used with a supported baseboard e Source code and binaries e Documentation specific to each supported baseboard e CrossHairs control GUI Windows application e Tools CD s e Texas Instruments Code Composer Studio IDE e Other toolchains Features of the DRV8312 Motor Control Board e Three Phase Inverter Power Stage capable of PMSM or BLDC motor control 52 5 VDC max input voltage and 6 5 A maximum e Isolated
12. airs Interface Designer so that you can modify the GUI that comes with this kit The More tab gives a brief overview of the Interface Designer software e Crosshairs Embedded www crosshairsembedded com e D3 Engineering www d3engineering com Copyright 2011 2012 Texas Instruments Inc All rights reserved Stellaris and StellarisWare are registered trademarks of Texas Instruments ARM and Thumb are registered trademarks and Cortex is a trademark of ARM Limited Other names and brands may be claimed as the property of others Texas Instruments 108 Wild Basin Rd Suite 350 Austin TX 78746 Corte http www ti com stellaris t INSTRUMENTS Intelligent Processors by ARM Rev 1 1 SPMU273 1 24 2012 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries Tl reserve the right to make corrections modifications enhancements improvements and other changes to its products and services at any time and to discontinue any product or service without notice Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete All products are sold subject to Tl s terms and conditions of sale supplied at the time of order acknowledgment Tl warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with Tl s standard warranty Testing and other quality control techniques are used to the extent Tl
13. ase wait while the wizard installs the software F Stellans Virtual Seral Port i Setting a system restore paint and backing up old files in case your system needs to be restored in the future Wi Texas INSTRUMENTS Rev 1 1 DK LM3S DRV8312 README FIRST After the installation of the Stellaris Virtual Serial Port drivers click Finish to close the dialog Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for F Stellaris Virtual Serial Fort Click Finish to close the wizard z Back Cancel You have just installed the drivers for the Stellaris Virtual Serial Port The Found New Hardware Wizard appears again for the Stellaris ICDI JTAG SWD Interface and then one more time for the Stellaris ICDI DFU Device drivers Follow the same instructions to install the drivers for these two devices You can confirm the three device driver installations by launching the Windows Device Manager and right clicking to select Scan for Hardware Changes This updates the Device Manager properties list The Stellaris Virtual Serial Port Stellaris ICDI JTAG SWD Interface and Stellaris ICDI DFU Device now appear in the list This indicates that the drivers have been successfully installed These drivers provide the debugger with access to the JTAG SWD interface and the host PC access to the Virtual COM Port With these drivers installed Wi
14. controller 1s a motor current command which is regulated by a lower level current PI controller e Fault Status The on screen LED turns red whenever there is a fault signaled by the DRV8312 To reset this fault make sure the Enable Motor checkbox is unchecked and then push the Reset Fault button e DC Bus Voltage The measured DC bus voltage is displayed both digitally and graphically The on screen LED can take three states depending on whether the DC bus is in or out of range e Yellow DC bus is below the minimum value e Green DC bus is within limits e Red DC bus is above the maximum value e Driver Over Temperature Warning The state of the DRV8312 OTW pin is displayed using the on screen LED The LED can take two states e Yellow The DRV8312 device temperature exceeds 130 C e Green The DRV8312 device temperature is below 130 C Control Mode Fault Status n Enable Motor Durty Dyce O Reset Fault Figure 5 Common Controls Driver Overtemperature O Waming 1 The Main GUI tab contains controls to vary the motor setpoint or view various feedback e The Setpoint Knob takes on a separate function for each control mode e Duty Cycle The knob adjusts the PWM duty cycle to the motor wis TEXAS INSTRUMENTS Rev 1 1 13 DK LM3S DRV8312 README FIRST e Current The knob adjusts the per unit PU commanded current through the motor Note The DRV8312 HC EVMs have a measureable current range of 82 5A which
15. duty cycle to the motor e In Cascade Control Mode the Velocity Loop Limit Slider sets the maximum current to the motor Step 6 Shutting down the motor After you are finished evaluating do the following to shut down the motor 1 Uncheck the Enable Motor checkbox to stop the motor 2 Once the motor comes to a full stop close the GUI 3 Turn off the DC power supply As the capacitors are charged the PVDD LED LED 1 might remain ON for a couple of seconds Do not touch the board until this LED goes OFF You can get future updates enhancements to the GUI and or Flash image through controlSUITE The Flash image is meant for quick demonstration purpose only For a more detailed explanation and understanding on the control algorithm being used and tradeoffs see the build level projects under the MotorWare rdk drv8312 directory Rev 1 1 Wi Texas INSTRUMENTS N DK LM3S DRV8312 README FIRST Step 7 Programming the controlCARD with the InstaSPIN BLDC binary The DK LM3S DRV8312 kit includes a control CARD that is pre programmed with the InstaSPIN BLDC binary If the control CARD was purchased separately or if a software update is available the binary on the controlCARD should be programmed using the LM Flash Programmer utility To program example applications into the MDL LM3S818CNCD module using the Stellaris ICDI 1 Install LM Flash Programmer on a Windows PC LM Flash Programmer is provided on Stellaris developm
16. efense Microcontrollers microcontroller ti com Video and Imaging www ti com video RFID www ti rfid com OMAP Mobile Processors www ti com omap Wireless Connectivity www ti com wirelessconnectivity TI E2E Community Home Page e2e ti com Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2012 Texas Instruments Incorporated
17. ent and evaluation kit CDs or can be downloaded from www ti com stellaris 2 Connect the USB cable A plug to an available port on the PC and the miniB plug to the board 3 Verify that both control CARD power LEDs are lit LED D4 indicates the status of the non isolated microcontroller power and LED D5 indicates the status of the isolated USB power 4 Run LM Flash Programmer 5 In the Configuration tab use the Quick Set control to select LM3S811 Evaluation Board Move to the Program tab and click the Browse button Navigate to the InstaSPIN BLDC example directory C StellarisWare AppNotes sw01289 InstaSpin_GUI ccs Debug 6 Select the InstaSpin_GUL bin binary file and click Open Set the Erase Method to Erase Necessary Pages check the Verify After Program box and check Reset MCU After Program 8 Next click the Program button to start the Erase Download and Verify process The DEBUG ACTIVE LED D1 on the board will turn on at this time 9 Program execution starts once Verify 1s complete Optional Step Build InstaSPIN BLDC Binary for Stellaris Microcontrollers InstaSPIN BLDC is sensorless BLDC motor control software from Texas Instruments The InstaSPIN ZIP installer includes documentation source and binaries as well as projects for Code Composer Studio CCS Do the following steps to build an InstaSPIN BLDC binary from the source files 10 Run the InstaSPIN BLDC installer to unzip the
18. erates the binary bin out files The new binary can be programmed directly from Code Composer Studio or by using LM Flash Programmer Additional Steps if StellarisWare is not Installed in the Default Location If StellarisWare is not in the default c StellarisWare directory both projects must add a SW_ROOT environment variable so that the project can find the StellarisWare source and libraries Do the following steps to add this environment variable 1 To change the SW_ROOT setting select Project and then select the Properties from the menu options 2 Click the C C Build and open the Environment Tab 3 Inthe Environment tab select the Configuration tab and click the New button 4 Enter SW_ROOT in the Name field enter the exact location of the base directory of the StellarisWare installation in the Value field and confirm that Replace is in the Operation field 5 Click OK to close this dialog and apply the new setting You must do this procedure on both the InstaSpin_BuildLevels and the InstaSpin_GUI projects Conclusion You have now successfully set up the hardware and GUI of the DK LM3S DRV8312 development board and operated the motor using the GUI For more information on using the DK LM3S DRV8312 kit see the DK LM3S DRV8 amp 312 Baseboard HardwareReference wis TEXAS INSTRUMENTS Rev 1 1 18 DK LM38S DRV8312 README FIRST Guide which also contains informatio
19. he procedure should be similar To see which drivers are installed on the host computer check the hardware properties using the Windows Device Manager Do the following 1 Right click My Computer from the Windows Start button and select Properties from the drop down menu 2 Inthe System Properties window click the Hardware tab 3 Click the Device Manager button The Device Manager window displays a list of hardware devices installed on your computer and allows you to set the properties for each device When the controlCARD is connected to the computer for the first time the computer detects the on board ICDI interface Drivers that are not yet installed display a yellow exclamation mark in the Device Manager window When you plug in the EVB for the first time Windows starts the Found New Hardware Wizard and asks if you want to install the drivers for the Stellaris Virtual Serial Port Select Install from a list or specific location Advanced and then click Next NODS Wi TEXAS INSTRUMENTS ev DK LM3S DRV8312 README FIRST Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for Stellaris YVirtual Serial Part f If pour hardware came with an installation CD lt 3 or floppy disk insert it now What do vou want the wizard to do Install the software automatically Recommended Install from a list or specific location Advanced Click Ne
20. n to assist you with adapting the software and hardware for a specific application References In addition to this document the following references are included on the Stellaris control CARD Development Kit CD and are also available for download at www ti com stellaris e Stellaris LM3S818 control CARD Module MDL LM3S8ISCNCD README First publication MDL LM3S818CNCD RMF e Stellaris LM3S818 control CARD Module MDL LM3S8ISCNCD User s Manual publication MDL LM3S818CNCD UM e Stellaris Development and Evaluation Kits for Code Composer Studio Quickstart Guide Stellaris LM3S8 amp 18 Microcontroller Data Sheet publication DS LM3S818 StellarisWare Driver Library StellarisWare Driver Library User s Manual publication SW DRL UG Medium Voltage Digital Motor Control Kit for Stellaris Microcontrollers DK LM3S DRV8312 Baseboard Hardware Reference Guide publication DK LM3S DRV8312 UM e Three Phase PWM Motor Driver DRV8312 Data Sheet publication SLES256 e Sensorless Trapezoidal Control of BLDC Motors Using BEMF Integration InstaSPIN BLDC on Stellaris Microcontrollers Application Note publication ANO1289 Additional references include e The GUI and corresponding Stellaris code were developed by D3 Engineering The GUI was created using Crosshairs Interface Designer from Crosshairs Embedded There are links to each of the companies web sites within the GUI There is also information for downloading Crossh
21. ndows automatically detects any new Stellaris boards with a Stellaris based ICDI that you connect to your computer and installs the required drivers for you Step 3 Apply power and run the motor under GUI control 1 Connect the included DC power supply to the power entry jack 2 Once the power is connected the board powers up and displays the LED1 LED2 and LED3 on the DRV8312EVM baseboard in green indicating power LED1 LED2 and LED3 on the controlCARD are green also indicating power vi TEXAS INSTRUMENTS Rev 1 1 DK LM3S DRV8312 README FIRST Step 4 Set up software The Quickstart GUI Sandstorm_InstaSpin BLDC GUI_Vxxx exe is included in the DK LM3S DRV83 12 self installer DK LM3S DRV8312 xxxx exe file included on the Development Kit CD Figure shows the StellarisWare directory and the installed files The installer places the source and executable files in the following C StellarisWare AppNotes sw01289 The Stellaris InstaSPIN BLDC GUI program can be found here C StellarisWare AppNotes sw01289 GUIM Sandstorm_InstaSpin BLDC GUI_Vxxx exe The GUI requires Microsoft NET framework 3 5 SP1 or higher to run You must install this software prior to running this program The development kit ships with a Stellaris control CARD which is pre programmed with the InstaSPIN BLDC binary Address CO C StellarisWare AppNotes sw01289 Docs Folders x El Stellarisware etre ad AppNotes A DK
22. ode is set to Velocity or Cascade 400 500 A00 Motor Parameters Fole Count a Poles 200 l 100 Baze Electrical Frequency Hz 200 00 Ramp Start Speed 50 00 RPH Ramp End Speed 100 00 RPM Advanced Startup Options Enable Advanced Startup Supply Voltages Min Voltage 1920 Max Voltage 2800 1234 12 34 Acceptable Commutation Error me 7 00 Required Consecutive Commutations 3 coro en oc Citi erpe Over temperature CI Enable Motor Duty Cycle Y Q Reset Fault Bus 3 70 O Warming O Connected Updates ON QwWalue 24 In Velocity Control Mode the Velocity Startup Current PU Yelocity Loop Limit PL Loop Limit slider sets the masimum Poh x duty cycle to the motor D00 O20 0 40 0 60 0 80 1 00 0 00 O20 0 40 0 60 O80 1 00 In Cascade Control Mode the Velocity Loop Limit slider sets the masimum current to the motor Figure 6 Setup Tab e Startup Control These parameters control how the motor initially ramps up under forced commutation It is necessary to get the motor spinning and generating some BEMEF in order for the sensorless algorithm to latch on and take over commutation e Startup Duty Cycle Sets the constant PWM duty cycle given to the motor during the forced commutation ramp up phase e Startup Ramp Time Sets the time taken to complete the forced commutation ramp up phase e Ramp Start Speed Sets the initial speed for the forced commutation ramp up
23. ontrol CARD again with the correct image Instructions for this step can be found at the end of this document To run the motor simply click the Enable Motor checkbox in the lower left corner of the GUI screen The motor immediately spins up under InstaSPIN BLDC sensorless control Wi Texas INSTRUMENTS Rev 1 1 12 DK LM3S DRV8312 README FIRST Step 5 Use the GUI to monitor and adjust the InstaSPIN BLDC operating parameters Now that the motor is running the GUI can be used to both monitor and adjust operating parameters 1 At the bottom of the screen are some common controls and board status indicators e Enable Motor Check Box The Enable Motor checkbox is used to start or stop the motor from running e Control Mode Drop Down Box Allows the selection of four different control modes e Duty Cycle The motor is commutated using the sensorless algorithm but is driven in an open loop duty cycle mode e Current The motor is commutated using the sensorless algorithm while the current torque is regulated using a PI controller Note An unloaded motor rapidly accelerates to a very high speed in this mode e Velocity The motor is commutated using the sensorless algorithm while the motor speed is regulated using a PI controller The output of the speed controller is a PWM duty cycle e Cascade The motor is commutated using the sensorless algorithm while the motor speed is regulated using a PI controller The output of the speed
24. solated Isolated JP1 12V Current DC Bus to SPI CAN Power Source Sense 12V Regulator Selection Amplifiers External JTAG Encoder HAH DRV8312 Interface fy Motor Hall Connections Interface cid Zit N j ui ciy DC Bus Connections Eto A73 CEDI e Cc ul DRV8312EVM re 6517813 RevC PVDD Control Card DRV8312 Phase A Current Socket Mode Reset Sense Jumper Amplifiers Figure 1 DRV8312 EVM Baseboard Quickstart GUI The kit comes with a GUI which provides a convenient way to evaluate the functionality of the DRV8312 and the InstaSPIN control method without needing to learn and configure the wi TEXAS INSTRUMENTS Rev 1 1 DK LM3S DRV8312 README FIRST underlying project software or install Code Composer Studio The interactive interface using knobs sliders buttons textboxes and graphs enables easy demonstration of Sensorless Trapezoidal Commutation of BLDC motors Step 1 Set up hardware Note Do not apply power to board before you have verified these settings The kit ships with the control CARD inserted and the jumper and switch settings pre selected for connecting with the GUI However you must ensure that the following settings are valid on the board l Rev 1 1 Check to make sure that nothing is connected to the board and that no power is being supplied to the board Insert the controlCARD into the J1 control CARD connector if not already populated
25. tered documentation Information of third parties may be subject to additional restrictions Resale of Tl products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice TI is not responsible or liable for any such statements Tl products are not authorized for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications and acknowledge and agree that they are solely responsible for all legal regulatory and safety related requirements concerning their products and any use of TI products in such safety critical applications notwithstanding any applications related information or support that may be provided by TI Further Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety critical applications Tl products are neither designed nor intended for use in military aerospace applications or environments unless the TI products are specifically designated by TI as military grade or enhanced
26. tex M3 from the target list and Serial for the connection method Determine the correct COM port number for your system by using the Control Panel Control Panel gt System gt Hardware tab gt Device Manager gt Ports COM amp LPT Look for the port which is described as the Stellaris Virtual Serial Port and make a note of the COM port number Enter this value in the Port field of the Connection Method Properties box Click Connect once when you are finished InstaSPIN BLDC File Connection Help InstaSPIN BLDC caossnans 0 Settings D3 Engineering More Motor Speed RPM 1 00000 0 75000 iets 0 50000 0 25000 0 00000 Control Mode gt Knob Function Duty Cycle gt Duty Cycle Current gt Motor Current PU Velocity gt Motor Speed PU Cascade gt Motor Speed PU oo 0 19 r 0 19 Graph Time Scaler i Flux PU Yan PU Yag PU 0 00 Flux Threshold PU Control Mode et 6 45 54 63 Driver Over temperature Duty Cycle Waring Connected Updates ON OQ alue 24 Figure 3 GUI Start Up Window vi TEXAS INSTRUMENTS Rev 1 1 11 DK LM3S DRV8312 README FIRST x Connection To connect using a previously configured connection select the Recent connections tab and select tram the list of previous connection To configure a new connection enter the IP address or host name and port number of the computer running the Crosshairs engine
27. then connect to the engine by clicking the engine connection button Then select the desired target transport and connection method and aternatively adjust any connection method properties New connection Recent connections 2 Engine connection Host name or IP address Port number f 2r 0 0 1 enoo Remote connection eel Disconnect from engine Username Password Connection authentication Refresh properties Targets Transports and Connection Methods Connection Method Properties H 0 C2000 Concerta F28M 35x E 5 H 0 C2000 Concerto F28M35 H 5 H 0 C2000 Concerto F28M35x M 5 Name Description Value TQmath value Default value f 24 Eee eC T H E Cortes Concerto F28M 35x H i H E CortexM lt Concerto FaSk 25u M Flow control Serial port flow Mone E CortexM Stellaris LM3S aan ae caine H E CortexM Stellaris LM4F ao egy CortevM lt Stellaris W3 Ar size Serial port char 6 2A P Eere Side ka ees Update time Default update 250 O CortexM Stellaris M4 Event based c Enables or disa true 0 MSP430 MSP430x2xx 0 MSP430 MSP430 5x Cancel Connect Figure 4 GUI Set up Connections Window 3 If no error message is reported then the GUI has successfully established a connection with the target The DC bus voltage and other indicators are now receiving real time updates If an incorrect image is flashed on the controlCARD the connection fails If this happens you should Flash the c
28. xt to continue Make sure the Documentation and Software CD that came with the development kit is in your CD ROM drive Select Search for the best driver in these locations and check the Search removable media floppy CD ROM option Click Next Please choose your search and installation options E Search for the best driver in these locations Lise the check boxes below to kmit of expand the default search which includes local paths and removable media The best driver found will be installed Search removable media floppy CD ROM Inchide this location in the search a v Browse C Don t search wall choose the driver to install Choose this option to select the device diver from a list Windows does not guarantee that he dier pou choose vall be the best match for pour hardware a Wi Texas INSTRUMENTS ev DK LM3S DRV8312 README FIRST A warning may pop up during the installation process regarding the driver not being signed click Continue Anyway to proceed The wizard displays a Please wait while the wizard searches status window No user action is required Found Mew Hardware Wizard Please wait while the wizard searches Stellaris Virtual Serial Fort The wizard then displays a Please wait while the wizard installs the software status window as the software is installed Found New Hardware Wizard Ple
Download Pdf Manuals
Related Search
Related Contents
Samsung TX-R2728 Manual de Usuario Cornelius ENDURO-175 User's Manual User Manual BR-Guia Rápido W10636948 - Modelos BRM48-50 Copyright © All rights reserved.
Failed to retrieve file