dsPIC programming Help

Post Reply
AbuSaleh
Posts: 2
Joined: Sun Dec 16, 2012 9:19 pm

dsPIC programming Help

Post by AbuSaleh » Sun Dec 16, 2012 9:49 pm

I'm newbie in the dsPIC blockset and I need some help to select the suitable disPIC blocks to build and program a certain system I have already designed in Simulink with 3 analog inputs and one 50kHz PWM output. The 3 inputs are fed to a subsystem which has 1 output. This subsystem's output is subtracted from the first input and the difference (error) is sent to a PID controller whose output is the duty cycle of the PWM (the microcontroller output). What dsPIC blocks should I use with my Simulink subsystem and how to connect and configure them. Please help me.

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest