Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a setpoint for this Block Diagram?

Hi, i have facing some problem during i upgrade a project. This project is an opened loop system, it only achieved up to controlling the speed of motor, detecting the speed of motor, and switching the direction of motor while controlling the motor (This motor is a 12 VDC motor).
 
In order to improve the project, closed-loop dc motor control system will be implemented to correct the error of the motor's speed and maintaining the speed for the initial setting.
 
From the problem at above, I would like to use PID control method to do the closed loop system.
 
I already installed the PID toolkit V8.2 and control design toolkit V2.1.2, and i'm using DAQ usb 6221, LabVIEW 8.5 

 

Below is my problem...

 

[URL=http://img502.imageshack.us/my.php?image=howtocreatethesetpointbu5.jpg][IMG]http://img502.imageshack.us/img502/646/howtocreatethesetpointbu5.th.jpg[/IMG][/URL]

 

question: 1. How to generate a icon for set point? my setpoint is duty cycle...

                2. How to feedback the output duty cycle to summing junction?

 

below this is my basic concept

[URL=http://img502.imageshack.us/my.php?image=closedloopeg3.jpg][IMG]http://img502.imageshack.us/img502/6460/closedloopeg3.th.jpg[/IMG][/URL]

 

 

Problem 2:

 

[URL=http://img502.imageshack.us/my.php?image=problem1cu1.jpg][IMG]http://img502.imageshack.us/img502/3069/problem1cu1.th.jpg[/IMG][/URL]

 

question: Why PID toolkit icon cannot wire to cd series.vi? 

 

below this is my basic concept

[URL=http://img502.imageshack.us/my.php?image=closedloopeg3.jpg][IMG]http://img502.imageshack.us/img502/6460/closedloopeg3.th.jpg[/IMG][/URL]

 

Below is my original program...

 

http://rapidshare.com/files/140538836/pwm_generate-final_PSMII.vi.html

 

 

 

0 Kudos
Message 1 of 2
(2,619 Views)

Hello cyrus_sun,

 

The images you posted are very small. Could you attach them to your post with reasonably sized images? You could attach your VI as well.

 

Thanks!

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 2 of 2
(2,602 Views)