Programming TI C2000 Launchpad with Simulink

  Рет қаралды 84,133

MATLAB

MATLAB

Күн бұрын

Пікірлер: 44
@c2000expert
@c2000expert 10 жыл бұрын
to Kevin Huang. This model uses the default DRV8301 configuration, so we don't need to use SPI communications. You can use the SPI block if you want to initialize the DRV8301 to a different configuration mode.
@hemalakshmi1213
@hemalakshmi1213 4 жыл бұрын
can you tell the specifications of the motor that you have used ?
@andr18188
@andr18188 11 ай бұрын
It gives me: >
@smithdeagle1010
@smithdeagle1010 4 жыл бұрын
can anyone explain the use of data conversion blocks which are used in the simulink model explained in the video
@kevinhuang7289
@kevinhuang7289 10 жыл бұрын
Does this model include setting DRV8301 configuration, operating parameters, and read out diagnostic information by SPI interface?
@rijuk45
@rijuk45 9 жыл бұрын
Hello Antonin. Thank you for the video. I am trying to just read in analog voltages from my FPGA board onto my C2000 Launchpad XL c2802x. I have setup as suggested and also put in an SCI block to verify successful read on the Host PC. I do not want any PWM output. However I am struggling to do so. I guess the ePWM block is required as a trigger mechanism. I am unsure about the PWM block settings. Kindly help me. Thank you.
@c2000expert
@c2000expert 9 жыл бұрын
Rij B Hi Rij, in the example model I trigger the ADC based on PWM events, I also set an ADC interrupt at the end of conversion that I use to trigger the FOC Algorithm. I you remove the PWM blocks, the ADC will not trigger and the interrupt will never fire, so the FOC Algorithm subsystem will not be executed. The ADC block can also be used with a software trigger (not PWM) and a sample time. You should remove the interrupt if you use it in this case and everything can be triggered based on a sample time. This should allow you to remove the PWM blocks. I hope that helps, Good luck, Antonin.
@basilmathew9762
@basilmathew9762 4 жыл бұрын
why arithmetic shifting in used in input scaling block ?
@Kangleicha89
@Kangleicha89 10 жыл бұрын
Is it possibe to develop a DC DC converter with TI 2000?
@nyamjargalsaikhan7129
@nyamjargalsaikhan7129 3 жыл бұрын
Can we use DRV8301 as PWM rectifier?
@himavanthreddy8940
@himavanthreddy8940 5 жыл бұрын
Hii dear, I am a very beginner to the c2000 launch pad. I ordered the TMS320F28027. I am trying to load the code of simple example from the control suite, but I am not getting that part. Error what I am getting is : C28xx: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the debug probe. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.1.0.00005) please, help me to get out of this issue. Thank you.
@sudhansumtripathy
@sudhansumtripathy 7 жыл бұрын
Hi can you tell me how to control the position with the sprc179, which part of the code is to be modified, TMS320F2812
@muhammedadel8634
@muhammedadel8634 8 жыл бұрын
when i write the code checkEnvSetup('ccs','f28027','check') > Environment variable BIOS_INSTALL_DIR required for code generation could not be found... what is that mean ?
@coolfishzxx
@coolfishzxx 10 жыл бұрын
what motor is that in the video? thanks
@muhammedadel8634
@muhammedadel8634 8 жыл бұрын
please i have probelms when connecting my lunchpad f28027 to simulink
@mjbellman
@mjbellman 9 жыл бұрын
Antonin, can you describe/share the automated script you used to automatically load and run the *.out file on your target? I'd like to be able to do the same, instead of having to go over to CCS, find the *.out, load and run it. Thanks for the great videos!
@c2000expert
@c2000expert 9 жыл бұрын
*****, The script is provided out of the box. In the configuration parameters of the model, go to Coder Target and set the Build action to "Build, load and run". The following page as an attached model that is configured that way. www.mathworks.com/matlabcentral/fileexchange/45124-motor-control-with-ti-launchpad I hope it helps, Antonin.
@mjbellman
@mjbellman 9 жыл бұрын
c2000expert I don't seem to have this option in my configuration parameters. I'm using R2012b, which probably makes the difference. Do you know if this "Build, load and run" functionality is available in R2012b?
@tarekdoghish4957
@tarekdoghish4957 7 жыл бұрын
Hi Antonin, I'm facing a problem as the motor doesn't rotate, it only rotates a discrete rotations for a second or two when I first connect the USB cable to my laptop, the desired speed scope in the host correctly point to 0.5. but the actual speed scope gives small random pulses, and the torque demand scope is pointing to 1. If that help, I followed these random pulses in the actual speed backward to figure out where did they start. I found out they started from the loop of the park transformation and the (SMO) so I get these pulses from the unstable Theta, Vd and Vq. The motor used: Teknic M-2310P-LN-04K 6000rpm 4.6V/rpm The power supply used: 24 Volt DC , 2.5A max another note: when I build the model, the 4 LEDs in GPIO 0123 are not solid blue as before building the model. they blink slightly. I really don't know what's wrong with it. Best Regards, Tarek Doghish
@lvjinghang2224
@lvjinghang2224 6 жыл бұрын
which type of motor you are using in the video
@MarinkoMandic
@MarinkoMandic 9 жыл бұрын
I'm using a Teknic M 2310 3-phase BLDC motor, I got the simulation to compile without errors, But motor is not spinning. I felt it move once, and it stopped. Could you let me know if there is anything that could be causing it to do that?
@tarekdoghish4957
@tarekdoghish4957 7 жыл бұрын
did you solve that problem? because I'm having the same problem right now, if you did solve it can you tell me how?
@MarinkoMandic
@MarinkoMandic 7 жыл бұрын
tarek doghish hi Tarek. I did get it to work. But to be honest I have no idea what I did exactly. It was long time ago, and I don't have the setup any more. I wish I could help. If I run across my files on this , I will let you know.
@tarekdoghish4957
@tarekdoghish4957 7 жыл бұрын
Thank you man
@MrSuHwanKim
@MrSuHwanKim 7 жыл бұрын
Hi Antonin, I have a question about SCI transmit fucntion in the Serial Monitor block. Are those "Additional package header" and "Additional package terminator" related with data length of Desired Speed, Actual Speed and Torque Demand? I have been trying to add more values to debug through this serial monitor, but if I add the other values it seems not work properly. How could I determine the "Additional package header" and "Additional package terminator in the SCI transmit function? I would greatly appreciate with your reply.
@c2000expert
@c2000expert 7 жыл бұрын
Hi Suhwan, The SCI Transmit block will add a package header and terminator to the data that you pass to the block. This is useful to determine the start of the packet and the end of the packet on the receiving end. Now, the F28027 only has a 4 level uint8 FIFO, so beyond that size the block is waiting for the FIFO to be free to be able to push all the data in the FIFO before moving on. This may slow down your algorithm, so I would keep the transmit size low to avoid creating overruns of the fast control loop. I'm working on a new video to explain the best ways to monitor data in realtime. In the meantime, here is a page that will show you how to monitor data at fast rates on F28027: www.mathworks.com/matlabcentral/answers/353939-can-simulink-use-ti-c2000-launchxl-f28027f-or-f2808-to-monitor-a-analog-signal-200khz#answer_279588?s_tid=prof_contriblnk I hope it helps, Antonin.
@vickyvadivel1889
@vickyvadivel1889 4 жыл бұрын
how did you slow down the shaft ?
@sunil5330
@sunil5330 5 жыл бұрын
Please help us to configure the env setup, if it is not listed under the command checkEnvSetup
@panayidesandreas5976
@panayidesandreas5976 5 жыл бұрын
write your email if you want help
@satisfyingasmrshorts2925
@satisfyingasmrshorts2925 2 жыл бұрын
Thank you sir
@chuckjls
@chuckjls 9 жыл бұрын
Does this require Simulink only, or do you need the Matlab Coder and embedded encoder add ons?
@c2000expert
@c2000expert 9 жыл бұрын
Chuck Sampson It requires Embedded Coder which stands on Simulink Coder and MATLAB Coder.
@1000chutku
@1000chutku 6 жыл бұрын
I have delfino 28379d. Will this matlab model work?
@c2000expert
@c2000expert 6 жыл бұрын
No but the following page contains a shipping example for the F28379D: www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/permanent-magnet-synchronous-motor-field-oriented-control.html I hope it helps, Antonin.
@chagamureddyvenkatasubbare8051
@chagamureddyvenkatasubbare8051 2 жыл бұрын
@@c2000expert Hello Sir, can you tell how to configure eQEP block to measure induction motor speed. actually I am getting sawtooth wave form from eqep block. please tell how to measure speed in simulink block. i am using optical speed encoder
@chuckjls
@chuckjls 9 жыл бұрын
where do you get the packages?
@c2000expert
@c2000expert 9 жыл бұрын
Chuck Sampson You can get the package on the following link: www.mathworks.com/matlabcentral/fileexchange/43096-embedded-coder-support-package-for-texas-instruments-c2000-processors or by typing "targetInstaller" at the MATLAB command prompt. You can also click on "Add-Ons" on the MATLAB toolstrip and select "Get Hardware Support Packages". Hardware Support Packages have a base product which prefixes the name of the package. Therefore the Embedded Coder support package for TIC2000 requires the Embedded Coder product from MathWorks. I hope it helps.
@1000chutku
@1000chutku 6 жыл бұрын
I have delfino 28379d. Please tell me what are the modifications i have to make in the simulation model to spin my the motor .
Motor Control with Embedded Coder and TI’s C2000
46:36
MATLAB
Рет қаралды 10 М.
Basics of Code Generation
16:03
MATLAB
Рет қаралды 53 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 22 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 24 МЛН
C2000 Developments in Digital Power Control
24:53
Texas Instruments
Рет қаралды 9 М.
Why is Python 150X slower than C?
10:45
Mehul - Codedamn
Рет қаралды 30 М.
NVIDIA’s New AI: Stunning Voice Generator!
6:21
Two Minute Papers
Рет қаралды 110 М.
Introduction to InstaSPIN™-BLDC Motor Control Solution
32:15
Texas Instruments
Рет қаралды 385 М.
Fix Cordless Drill - BOSCH 10.8 #bosch
39:30
Dahen Zana
Рет қаралды 374
Using a TI F28069 LaunchPad with Simulink
16:32
MATLAB
Рет қаралды 33 М.
Unboxing the Raspberry Pi CM5 Development Kit
11:36
Level 2 Jeff
Рет қаралды 52 М.
C2000 One-Day Workshop Module 07: Flash Programming
19:16
Texas Instruments
Рет қаралды 36 М.