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.
1 post • Page 1 of 1
Users browsing this forum: No registered users and 0 guests