cancel
Showing results for 
Search instead for 
Did you mean: 

V/f control PMAC

salajedo
Associate II
Posted on February 07, 2009 at 11:23

V/f control PMAC

6 REPLIES 6
salajedo
Associate II
Posted on May 17, 2011 at 10:14

Hi

I want control permanent magnet synchronous motor in case V/f = constant.

I'm using st7fmc2s6 and cosmic C and ST7VD for inDart. I'm copletly new in this working enviroment. My board has no sensors, only want generate 3 sinewaves and change their frequency and amplitude.

I'm looking for some program (source code) where I would see how to generate sinewaves. I can't find any exaple. For instance I don't know how I can change duty cycle of PWM during U event which is descibed in datasheet. I don't know how I can step into this inerrupt.

Some exaple program would be much usefull for me.

Thanks for reply

salajedo
Associate II
Posted on May 17, 2011 at 10:14

Hi gforte

First of all thanks for your exhausting reply.

I'm still looking for best solution. My hardware is very similar to ST7MC starter kit. I've already try it with AC motor library but error has been occured at the start.

#error clnk Debug\ac.lkf:50 Debug\interrupt_vector.o: symbol __vectab multiply defined (Debug\vector.o)

If I press rebuild all. Do you know how to solve this problem? Maybe I should try drive motor like BLDC with trapezoid voltage but it seems more dificult to set all deathtimes, zero crossings and so..

I've try it with BLDC library too but same error occured how can I fix it?

Thanks much

[ This message was edited by: Edas09 on 23-04-2007 15:21 ]

salajedo
Associate II
Posted on May 17, 2011 at 10:14

Hallo Gigi

Thanks again for your interest

I've tried to build downloaded workspace. It works fine. Now I'm trying to customize it to my purposse. Mainly change MCu and so..

Regards Edo

salajedo
Associate II
Posted on May 17, 2011 at 10:14

Only one question:-)

How can I define type of my MCu?

Is it so simple that I only write #include ''st7fmc1k2.h'' into my main.c

and add this file into the project?

because it looks like I have to change mtc_hr.c file..

[ This message was edited by: Edas09 on 24-04-2007 10:56 ]

salajedo
Associate II
Posted on May 17, 2011 at 10:14

Thanks, your suggestions was very useful and speed up my work.

Now I'm trying set AK-ST7 control panel to generate *.h files. You think that it's right way?

have a nice day:)

regards Edo

lucst
Associate
Posted on May 17, 2011 at 10:14

Hi,

I think that I have found solution for the error:

''symbol __vectab multiply defined''

This is cause by more than one time adding the same file in the linking file *.lkf

Insert only one .c into the block ''interrupt vectors file''

regards,

lstefani