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.
@hemalakshmi12134 жыл бұрын
can you tell the specifications of the motor that you have used ?
@andr1818811 ай бұрын
It gives me: >
@smithdeagle10104 жыл бұрын
can anyone explain the use of data conversion blocks which are used in the simulink model explained in the video
@kevinhuang728910 жыл бұрын
Does this model include setting DRV8301 configuration, operating parameters, and read out diagnostic information by SPI interface?
@rijuk459 жыл бұрын
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.
@c2000expert9 жыл бұрын
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.
@basilmathew97624 жыл бұрын
why arithmetic shifting in used in input scaling block ?
@Kangleicha8910 жыл бұрын
Is it possibe to develop a DC DC converter with TI 2000?
@nyamjargalsaikhan71293 жыл бұрын
Can we use DRV8301 as PWM rectifier?
@himavanthreddy89405 жыл бұрын
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.
@sudhansumtripathy7 жыл бұрын
Hi can you tell me how to control the position with the sprc179, which part of the code is to be modified, TMS320F2812
@muhammedadel86348 жыл бұрын
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 ?
@coolfishzxx10 жыл бұрын
what motor is that in the video? thanks
@muhammedadel86348 жыл бұрын
please i have probelms when connecting my lunchpad f28027 to simulink
@mjbellman9 жыл бұрын
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!
@c2000expert9 жыл бұрын
*****, 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.
@mjbellman9 жыл бұрын
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?
@tarekdoghish49577 жыл бұрын
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
@lvjinghang22246 жыл бұрын
which type of motor you are using in the video
@MarinkoMandic9 жыл бұрын
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?
@tarekdoghish49577 жыл бұрын
did you solve that problem? because I'm having the same problem right now, if you did solve it can you tell me how?
@MarinkoMandic7 жыл бұрын
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.
@tarekdoghish49577 жыл бұрын
Thank you man
@MrSuHwanKim7 жыл бұрын
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.
@c2000expert7 жыл бұрын
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.
@vickyvadivel18894 жыл бұрын
how did you slow down the shaft ?
@sunil53305 жыл бұрын
Please help us to configure the env setup, if it is not listed under the command checkEnvSetup
@panayidesandreas59765 жыл бұрын
write your email if you want help
@satisfyingasmrshorts29252 жыл бұрын
Thank you sir
@chuckjls9 жыл бұрын
Does this require Simulink only, or do you need the Matlab Coder and embedded encoder add ons?
@c2000expert9 жыл бұрын
Chuck Sampson It requires Embedded Coder which stands on Simulink Coder and MATLAB Coder.
@1000chutku6 жыл бұрын
I have delfino 28379d. Will this matlab model work?
@c2000expert6 жыл бұрын
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.
@chagamureddyvenkatasubbare80512 жыл бұрын
@@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
@chuckjls9 жыл бұрын
where do you get the packages?
@c2000expert9 жыл бұрын
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.
@1000chutku6 жыл бұрын
I have delfino 28379d. Please tell me what are the modifications i have to make in the simulation model to spin my the motor .