This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I need the step by step instructions to recreate the graph screens that are presented in the doc:
Sensorless Field Oriented Control of 3-phase PMS Motors. . . .page 21. . page 25. . .page 29 etc.
I found the Tool -> Graph. . .and imported the "graphProp" files like the book says. ..but no luck.
I have been chasing the graphs around the screen. . They seem to go where they want. . and not where I want. .How can I put them into the same page format as the book.
I have been trying to specify fields/variables/points (all the same to me) no luck. . .I keep getting the message: Item not found.
I am sure that this is not hard to do. . .just hard for ME to do.
adTHANXvance
Will Friesen
Are you using 4.0? if so, please upgrade to at least 4.1.2+, there were many updates in this timeframe that helped with F28x, especially graphing and real-time modes.
Chris .. thanks for the quick reply.
I have been on 4.1.3.00038 for the past month
William,
I regret that you are having a frustrating time with graphing windows in CCS 4. I am going to move this thread to the code composer studio forum so the CCS group can get your feedback and help resolve.
-Lori
Thanx Lori,
I posted in C2000 because the problem touches on the C28335, the ControlSUITE code, in the CCS environment, so it could be posted in all three. . .assuming that Control Suite has a blog.
Moreover I was specifically wanting to replicate a screen that is documented in the Doc called Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Sensorless Field Oriented Control of 3-phase PMS Motors.
Will
Will,
Thank you for sending the reference to the ControSUITE package; I was having a hard time finding this document until your last post arrived.
Just to be sure: you are referring to the section Software Setup Instructions to Run HVPM_Sensorless Project of the document <FOC of PMSM.pdf>, is that so?
From your original post you are trying to position the graph windows in a similar fashion as shown in the document. By default the graph windows will be attached to the workbench and will be organized in tabs. To display them side-by-side or anywhere in your desktop please right-click on the tab itself (where it reads DualTimeA-0 or similar) and select Detached. By doing this you will end up with each graph in its own window that can be resized or moved around (something similar to the picture attached).
Hope this helps,
Rafael
Will,
It just occurred to me: if you are having trouble getting the correct waveforms (and not positioning the graphs in the screen), then I suspect I am not the best person to help you since I am not very knowledgeable of the ControlSUITE package.
If that is the case I will try to get additional help.
Best regards,
Rafael
Rafael,
BINGO. . on your first response!!! Kudo's.
The second half of the question was/is about displaying wave forms in a graph.
The document is in a file named: "Sensorless FOC of PMSM_F2833x.pdf . I would love to run traces/simulated traces like the ones in this document.
The fact that Graph1.graphProp does not load correctly. . is likely a Control Suite bug. . .I simply want to know how to run them.
Will
Will,
I managed to load the <Graph1.graphProp> and <Graph2.graphProp> in my CCS, therefore please check the attached screens that contain the Graph properties for each config file. I am not sure if everything is contained there, but I hope this helps you move on with the development.
More generic references about the graph tool are listed in the wiki pages below:
http://processors.wiki.ti.com/index.php/Graph_Visualization_for_MSP430
http://processors.wiki.ti.com/index.php/GSG:Debugging_projects#Displaying_graphs
Cheers,
Rafael
Will,
Just to add to what Rafael has mentioned, the user's guide mentions that you can type in the values or altenatively import the graphs, However i do conceded this could be better phrased in the guide. I would note this for a change.
Also just a quick mention on how and what we are using the in software to graph. The software uses the DLOG_4CH, this function is defined in DLOG4CHC.asm that you would find in the project. This file also defined four buffers and these are used to buffer the Data.
What variable is pointed to is decided by the following assignment in the code
DlogCh1 = (int16)_IQtoIQ15(svgen_mf1.Ta);
.....
So, please note the buffering is handled by the controller. The CCS is only able to grab that buffer of data that is stored in the controller memory and plot it in real time.
Thank you .. Rafeal & Manish. .
I tried to find the green button to close the thread. . but it was not there.
Will
P.S. I am working through the FOC Doc, would it be OK to post all comments?
William,
Please post it as a separate thread on the C2000 forum, that ways it can get the required attention easily,
regards
Manish Bhardwaj
At the risk of sounding like a broken record. . . .Can I get similar reports for all of the graphs. . .
Also, why does the values in the watch window. . not correlate to the Graph tool?
William,
What exactly are you asking for? I thought the manual entry fixed your issue?
Regards
Manish Bhardwaj
Sensorless FOC of PMSM_F2833x.pdf page 24 VphaseA, VphaseB, and VphaseC.
I first creates the 4 graphs. . like I was told to above. Then moved on to section 2. .
When I changed the Dlog points to volt1.VphaseA, it shows a flat line (not a sinewave).
I played with some of the parameters in the graph tool but was not able to recreate the type of graph that is shown on page 24.
If I look at the points in the watch window it tells ME that the values are floating point. The graph tool is not as smart, so I had tell it that the points are floating.
On a related topic. . .Is the "Q value" in the graph tool a floating point "Q" or a statistical "Q" value?
Will
Will,
if you see the datalogger module connection we use the IQtoQ15 function from the IQmath library to connect the variables to the datalogger module. the function IQtoQ15 handles the conversion from wither float or Q24 to Q15, which is then used for the graphing options.
// ------------------------------------------------------------------------------
// Connect inputs of the DATALOG module
// ------------------------------------------------------------------------------
DlogCh1 = _IQtoQ15(volt1.VphaseA);
DlogCh2 = _IQtoQ15(clarke1.As);
DlogCh3 = _IQtoQ15(volt1.VphaseB);
DlogCh4 = _IQtoQ15(clarke1.Bs);
Regards
Manish Bhardwaj
Oh!!
Now I get it, , ,the graphing variables never change because you change the inputs to which the buffers are connected.
Thank you!!
Will