Search found 17 matches

by gladiac
Wed Jul 15, 2009 11:13 pm
Forum: Request for new functions / Peripheral / Chip support
Topic: Support for CAN Module?
Replies: 34
Views: 14294

Re: Support for CAN Module?

Very interested in ECAN. Hope it will come soon.Thanks Lubin!
by gladiac
Mon Feb 23, 2009 5:42 pm
Forum: Advanced Simulink & RTW Questions
Topic: Did anyone implement a controller in dsPIC by this toolbox?
Replies: 15
Views: 7679

Re: Did anyone implement a controller in dsPIC by this toolbox?

Hi Lubin, Thanks for your continuing attention. And Todor, Your explanation is right. But I don't think it will cause the problem, feedback loop of 'direct form' still can be negative. As 'sign' can be changed straight in 'gain' block. Actually, I put the negative cofficients in 'gain' blocks direct...
by gladiac
Mon Feb 02, 2009 4:35 pm
Forum: Advanced Simulink & RTW Questions
Topic: Did anyone implement a controller in dsPIC by this toolbox?
Replies: 15
Views: 7679

Re: Did anyone implement a controller in dsPIC by this toolbox?

Hi Lubin,

The file attached is the model of the controller. I put three different blocks with same one controller in it.

Cheers
Gladiac
by gladiac
Thu Jan 29, 2009 5:38 pm
Forum: Advanced Simulink & RTW Questions
Topic: Did anyone implement a controller in dsPIC by this toolbox?
Replies: 15
Views: 7679

Re: Did anyone implement a controller in dsPIC by this toolbox?

Dear Lubin, Unfortunately, my dsPIC was broken two weeks ago and the new one just come a few days ago. So the problem has been delayed for a long time. Now I use the 'zpk(zeros-poles-gain)' block to implement the high order controller, and that works OK in real testing. Also I tried the 'state-space...
by gladiac
Thu Jan 08, 2009 5:47 pm
Forum: Advanced Simulink & RTW Questions
Topic: Did anyone implement a controller in dsPIC by this toolbox?
Replies: 15
Views: 7679

Re: Did anyone implement a controller in dsPIC by this toolbox?

Hi Lubin,
The low order controller works OK when using the update version toolbox.The high order one doesn't work. Still trying.
by gladiac
Tue Jan 06, 2009 11:34 am
Forum: General Remark and Questions
Topic: Oscillator mode & MIPS configuration
Replies: 6
Views: 3818

Re: Oscillator mode & MIPS configuration

Hi Lubin, I know the reason. Your toolbox support 30f6014 correctly, may be not for 30f6014A. I found that the setups of config bits are different for 30f6014 and 30f6014A in MPLAB. They are not compatible. So can you add the support of 30f6014A individually? I think this also might be the solution ...
by gladiac
Thu Dec 18, 2008 6:56 pm
Forum: General Remark and Questions
Topic: Oscillator mode & MIPS configuration
Replies: 6
Views: 3818

Re: Oscillator mode & MIPS configuration

Hi Lubin,

I still get the same error. And I have checked the config bits, the oscillator is set incorrect, I set XT mode but it's ECIO w/PLL. I use 30f6014A device, MTALB 2007b, 0.99a toolbox, C 30 3.11b compiler and MPLAB V8.1.

Thanks.
gladiac
by gladiac
Thu Dec 18, 2008 2:41 pm
Forum: General Remark and Questions
Topic: Oscillator mode & MIPS configuration
Replies: 6
Views: 3818

Re: Oscillator mode & MIPS configuration

OK. This is model, and MATLAB is 2007b,C30 is 3.11B, MPLAB is 8.0.
by gladiac
Thu Dec 18, 2008 12:55 pm
Forum: General Remark and Questions
Topic: Oscillator mode & MIPS configuration
Replies: 6
Views: 3818

Oscillator mode & MIPS configuration

Hi Lubin, My device is 30f6014A and demo board is dsPICDEM 1.1 of Microchip. The crystal of the board is 7.3728 MHz. So the typical configs are: XT mode - 7.3728 MHz /1.8432 MIPS XT w/ PLL 4x mode - 29.4912 MHz / 7.3728 MIPS XT w/ PLL 8x mode - 58.9824 MHz /14.7456 MIPS XT w/ PLL 16x mode - 117.9648...
by gladiac
Fri Dec 12, 2008 3:26 pm
Forum: Advanced Simulink & RTW Questions
Topic: Did anyone implement a controller in dsPIC by this toolbox?
Replies: 15
Views: 7679

Re: Did anyone implement a controller in dsPIC by this toolbox?

Hi Lubin, I have tried the dsPIC again. First, my controller worked OK on dSPACE before.So the cotnroller should be OK. Second,if I remove the 'saturation' block in model, output signal looks fine on oscilloscope. But on real testing, behaviour is still bad. I'm sitll checking problem include the ha...
by gladiac
Mon Dec 08, 2008 9:01 pm
Forum: Advanced Simulink & RTW Questions
Topic: Did anyone implement a controller in dsPIC by this toolbox?
Replies: 15
Views: 7679

Re: Did anyone implement a controller in dsPIC by this toolbox?

Thank you very much, Lubin! I will try it tomorrow and let you know the result.
by gladiac
Mon Dec 08, 2008 4:55 pm
Forum: Advanced Simulink & RTW Questions
Topic: Did anyone implement a controller in dsPIC by this toolbox?
Replies: 15
Views: 7679

Re: Did anyone implement a controller in dsPIC by this toolbox?

Hi Lubin,

I think I have done the same setup for my models. It's better to upload the model, but always errors occur when I upload a .mdl
file. Anyway, I have sent the model to you by email-lubin@kerhuel.eu, please take a look if possible.

cheers,

gladiac
by gladiac
Mon Dec 08, 2008 2:41 pm
Forum: Advanced Simulink & RTW Questions
Topic: Did anyone implement a controller in dsPIC by this toolbox?
Replies: 15
Views: 7679

Did anyone implement a controller in dsPIC by this toolbox?

Did anyone implement a controller in dsPIC by this toolbox? I was trying some times but still got some problems. I use dsPIC30f6014A device. If I use 'transfer function' block of Simulink simply or create a 'direct form' model for controllers, they don't work in practice. direct form.jpg discrete TF...
by gladiac
Thu Oct 30, 2008 11:42 pm
Forum: General Remark and Questions
Topic: Problem using PWM_motor - Solved
Replies: 9
Views: 5346

Re: Problem using PWM_motor - Solved

Hi Lubin,

Thanks! The problem seems to be caused by myself. I just muddled up your 'PWM blockset' with the PWM mode of OC module. So your 'PWM blockset' works for MCPWM module. Thanks again for your help.
by gladiac
Thu Oct 30, 2008 1:22 pm
Forum: General Remark and Questions
Topic: Problem using PWM_motor - Solved
Replies: 9
Views: 5346

Re: Problem using PWM_motor - Solved

Hi Lubin,

I have upgraded to V0.99a for R2007b and R2006a, but the problem still exist, the picture shows the error info for R2007b
by gladiac
Thu Oct 23, 2008 11:54 am
Forum: General Remark and Questions
Topic: Problem using PWM_motor - Solved
Replies: 9
Views: 5346

Re: Problem using PWM_motor - Solved

Hi Lubin

It seems I have a similar problem.Once I add the PWM bolckset to simulink model, the 'master' block couldn't be opened. The pic attached shows the error info. Also same error appears during compiling.

cheers
by gladiac
Fri Jun 27, 2008 11:42 am
Forum: Request for new functions / Peripheral / Chip support
Topic: Support for dsPIC30F6014A ?
Replies: 1
Views: 1751

Support for dsPIC30F6014A ?

Hellon Lubin,

Recently, I've got a demo board with dsPIC30F6014A for compensator design. Your toolbox, it seems support 6014only,is it compatible with 6014A? If not,can you add the function for that? Thanks very much!

Cheers

gladiac