Trying to run a stepper motor with wave drive. [Relating Target Interface for Piccolo f28069]
Submitted by ATHIESH on Mon, 04/07/2014 - 11:21
I am trying to run my stepper motor with wave drive. I developed a vissim model and when i am trying to develop a debug diagram, the Output of model and debug diagram doesn't coincide. I am attaching both the files and their outputs in document file.
Questions
Does my debug diagram and my model should have same Time step?
The max frequency is 10hz and the given sample rate is 10 times of frequency (satisfying Nyquist criteria), even though the output differs . If I change the sample rate more than 100hz in my target interface, it changes the nature of output-- Reason
What will be my Sample rate in target interface for exact output?
Could you please let me know the error for having different outputs in model and debug diagram in attached files without generating new model and debug diagram?
Answers
-
Submitted by Anders89 on Thu, 04/10/2014 - 10:31.
The pulse trains don't have dynamic phase update, they take a constant phase offset at boot time. Also, your wave diagram did not produce 4 distinct waveforms. See the attached for what you want. There are other stepper examples under the VisSim menu: Embedded > Examples > Digital Motor Control > Stepper
0 -
Submitted by ATHIESH on Thu, 05/01/2014 - 00:14.
When I start running the file, it shows 'Case index out of range'. Can u spot out the error.
0 -
Submitted by ATHIESH on Sun, 04/20/2014 - 23:55.
Can you please rectify the problem in the attached file-- 'case index out of range'
0