Ahora sigue este canal
- Verá actualizaciones en su feed de contenido.
- Podrá recibir correos electrónicos, en función de las preferencias de notificación que haya establecido.
Ahora sigue este tema
- Verá actualizaciones en su feed de contenido.
- Podrá recibir correos electrónicos, en función de las preferencias de notificación que haya establecido.
closed loop in the c2000 platfrom using MAtlab
i am confused about how to run as a closed loop. how to do closed-loop control of phase shift using matlab. i am using c2000 embedded by Matlab.
¿Desea anclar este tema?
Esta acción anclará esta publicación y aparecerá en la parte superior de las páginas de conversaciones recientes en la comunidad de usuarios.
¿Desea eliminar este tema de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Hi friend,
We do have a couple of examples that explain how to perform closed loop control using c2000 platform. These are closed loop motor control, dc-dc buck converter control, solar pv inverter control, etc.
More details can be found at following location: https://in.mathworks.com/help/supportpkg/texasinstrumentsc2000/modeling.html
If you are looking for something specific, then I'd request you to provide more details.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Thanks for the reply. I needed to off SW1 in the control card and short the jumper.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
My question is I used 50 bit. What would be dead time.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Moreover using in external it always give error in between .
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Hi buddy,
I think we need more information on your questions, as this thread is too long to keep track of.
Would encourage you to please write more details to us at: support@mathworks.com
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Thanks for your kind reply. I interfaced MATLAB with C2000 and got the desired results as well. but i don't know how to tune the parameter online. i mean what are set up needed to achieve those. do we need to follow this link https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/set-up-the-hardware-for-can-communication-between-the-target-and-the-host-computer-.html?fbclid=IwAR1ak5B_ndUv8htt1_9vCCmW0BlDrh3orVz4c2VmPPNopYkJz5SjCQmOMck but i am confused where to install Vector Hardware
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Hi friend,
If you are working with CAN based communication, then you might need an additional hardware that communicates CAN messages to USB on your PC/Laptop. Vector is one such third-party that manufactures hardware required for CAN communication.
However, you can also use serial communication to do the same job. This is possible using the same hardware available with you, with the same cable used to download the programmes (*.out or *.hex files) on C2000 hardware.
When using serial, there are two methods to perform parameter tuning:
1) Send / Receive Serial messages from C2000 targets and run a "host model" on simulink. Some of examples mentioned above, use the same facility to change parameters on the targets. e.g. https://in.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/dc-dc-buck-converter.html
2) Use "External Mode". This is where you run the target model in simulink and change parameters "online". More details are described here: https://in.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/parameter-tuning-and-signal-logging-with-serial-external-mode.html
I hope this was helpful.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Thanks for the reply. Yeah, you are right i ill be using my usb to communicate between the DSP and my laptop. Currently, I am working on Dual Active bridge and i got the desired results in open loop by using CCS and .out extension. but instead of changing the duty cycle from the model and again build it again anad again. i wanted to change it online so that it can be loaded to the DSP F28335 experimental kit without building again. what would be the procedure to do that.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Hi,
As I said, there are two ways to do this. You'd get more familiar with them once you go through the links above.
The following videos may give you an idea of how it's like:
1) https://in.mathworks.com/matlabcentral/fileexchange/61420-dc-dc-buck-converter-example (Watch 7min onwards and understand how parameters are tuned).
2) https://www.youtube.com/watch?v=bgVpU-WhUKY
To know more about each method, please go through the links provided in the earlier reply.
Hope it helps.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
the example for external mode giving error Failed to connect to the target. A time-out occurred while waiting for the connection response from the target. Possible reasons for the time-out:
Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target. A time-out occurred while waiting for the connection response from the target. Possible reasons for the time-out: a) The target is not switched on. b) The target is not connected to your host machine. c) The application for the model is not running on the target. You might have clicked the Stop button. If the Run button is not dimmed, click it. Otherwise, click the Build button, which downloads and runs your application on the target. Component:Simulink | Category:Block diagram error Unable to connect to the 'TI Delfino F2833x' target for 'c28x_serial_ext'.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Thanks for all your reply. I watched every video. i just need to know using SCI transmit and receive to see the actual hardware or online parameter change. which in no video they told in details. the video is more related tp application instead of the block and how the block works with each other.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Hi buddy,
1) The serial transmit and receive blocks are communicating with each other. Here, the target model in c2000 host is sending & receiving data with a host model running in your PC/Laptop via serial communication. I think it'd be more clear if you can try some examples. I think the one on the original link might be a good start. https://in.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/dc-dc-buck-converter.html
In case if you require more guidance, we'd be happy if you can get in touch with the support email ID provided below.
2) The error you've received in external mode requires further info e.g. version of MATLAB & Simulink, CCS, OS, etc. to investigate more on this. I would encourage you to write to support@mathworks.com where you can share more of these details.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
I have sent the message. Although i could run closed loop from the video. but i am always agettign error .
* LOAD & RUN DONE. ### Successful completion of build procedure for model: exter_comm ### Creating HTML report file exter_comm_codegen_rpt.html Build process completed successfully Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target. A time-out occurred while waiting for the connection response from the target. Possible reasons for the time-out: a) The target is not switched on. b) The target is not connected to your host machine. c) The application for the model is not running on the target. You might have clicked the Stop button. If the Run button is not dimmed, click it. Otherwise, click the Build button, which downloads and runs your application on the target. Component:Simulink | Category:Block diagram error Unable to connect to the 'TI Delfino F2833x' target for 'exter_comm'.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Hi,
As I've already mentioned, we'll need more details to resolve this error. Request you to write to support@mathworks.com.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
i am attaching file as well.
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
in the video https://www.youtube.com/watch?v=CstjgrGR7dY&t=444s
the model Software implemetation model for TI F28379D LaunchPad with BOOSTXL-BUCKCONV In the model i can see it has been used run as external ? Am i correct ? then the parameter have been tuned with other block. so which they build first and how. ?
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
It appears that the question is already answered in the attachment. Or I didn't get your question. Would it be possible for you to elaborate more?
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Thanks for the reply. how could i know deadtime related to 12bit number?
¿Desea eliminar esta respuesta de manera permanente?
Esta acción no se puede deshacer.
Enlace directo a esta respuesta:
Hi,
Although you can do so, the model in the video is not running in external mode.
1) The model on the left is built and downloaded to the target.
2) The model on the right is running in normal simulation mode with serial data transfer.
The documentation on the following link clarifies this further. Also, there are step by step instructions to set-up serial communication. https://in.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/dc-dc-buck-converter.html
Hope this helps.
Publicaciones de este autor
-
Discussion
-
Discussion
-
Discussion
Etiquetas
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)