01-02-2018 11:37 AM - edited 01-02-2018 11:40 AM
Hi all. I am fairly new with NI-DAQ and Labview, doing a project to control the position of a DC motor by using a Labview software, NI USB-2611 and Throttle Position Sensor. The motor is controlled by analog I/O. Not by PWM.
My software and hardware set-up are as follows:
I am planning to design a PID controller by making this: https://www.youtube.com/watch?v=fkbt85mBzuM as the reference. I had followed step-by-step, checked all the connections, tested both motor and sensor; They were all working, meaning my connections were correct.
However, when I ran the vi block diagram, the motor kept rotating and the sensor produced saw-tooth type signal. What I wanted was the motor would have rotated in the range of 0 - 360 degree only. I believe the sensor works different way as compared to the sensor in the YouTube video.Meaning I cannot simply follow the connection of PID as shown in the video. I tried to find out how that sensor works on YouTube, google, or here but unfortunately it is rarely used, I guess.
Therefore, I seek for help if anyone knows how this TPS works and I have attached my vi for reference. Thank you in advance.
Best regards,
Rahman.
06-12-2021 12:53 PM
Hello, I have the same problem, did you found the solution??
Could you please help me 😭