How can I use active filters to control a balancing robot project using LabVIEW?

Click For Summary

Discussion Overview

The discussion centers around the design and implementation of a simplified balancing robot project, akin to a "segway," using active filters as a PID controller in conjunction with LabVIEW for PWM generation. Participants explore the setup involving a servo motor, a tilt sensor, and the control mechanisms necessary for maintaining balance in a small-scale robotics project.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • One participant proposes using active filters instead of traditional PID control in LabVIEW to manage the balancing of the robot, emphasizing the role of the error signal as input to the controller.
  • Another participant shares links to existing projects that utilize similar concepts, suggesting they may provide useful insights or inspiration.
  • A participant describes their intention to create a simpler version of a balancing robot, outlining their approach to using op amps for proportional, integral, and derivative control in the active filter design.
  • Concerns about the robustness of the proposed control system are expressed, particularly given the participant's limited experience in mechatronics.

Areas of Agreement / Disagreement

Participants express varying levels of confidence in the proposed methods, with some sharing resources and experiences while others question the robustness of the approach. No consensus is reached on the effectiveness of using active filters in this context.

Contextual Notes

Participants acknowledge limitations in their knowledge of electronics and LabVIEW, which may affect their ability to implement the proposed solutions effectively. The discussion includes references to specific components and configurations that may require further clarification or validation.

Who May Find This Useful

Individuals interested in robotics, control systems, and the application of active filters in engineering projects may find this discussion beneficial.

LabGuy330
Messages
36
Reaction score
0
Hey everyone,

I want to make a a simplified "segway" project. I plan on using a servo motor with a wheel attached and attaching a breadboard to act as a inverted pendulum. My idea is to use LabVIEW to generate the PWM for the servo and (instead of using LabVIEW PID) use active filters to act as a PID controller. I would be using a simple tilt sensor for inclination.

This is my first "robotics" project and I was looking for some advice. I am unsure exactly how to set everything up. I know from a controls systems class I have taken that the error signal is the input to the PID controller (in my case the filters) and outputs a calculated voltage. Should this calculated voltage be an input to my LabVIEW assembly for generating a propper PWM for the servo? If so any advice on achieving this?

My knowledge of electronics is somewhat limited, however I am very interested in the field. My LabVIEW skills aren't excellent either so any help would be greatly appreciated.

Thanks in advance!
 
Engineering news on Phys.org
Hey thanks for the replies!

Those links/videos are impressive. My project won't be as sophisticated (just a smaller scale). My idea is to basically have a balancing toy, something small for a simple lab project. Something similar would be like this:

http://www.youtube.com/watch?v=bdNxgCsWB5E"

I do not plan on using his methods however (he uses LDRs and a 555 timer). I want the lab to get an understanding of PID control through active filters. I have attached a simple schematic for it along with a block diagram.

Key for Block Diagram:
R(s) = Reference or desired angle (0 degrees so 0 V)
C(s) = Controller (PID through the active filters)
LV = LabVIEW (calculates PWM)
M(s) = Motor (outputs wheel rotation)
P(s) = Plant or dynamics of the inverted pendulum

I am using three op amps for PID control, proportional gain through one amplifier, integral control through integrator (low pass) amplifier, and derivative control through differentiator (high pass) amplifier. These signals are then summed to a summing amplifier which is at the far right of my schematic and outputs to LabVIEW to calculate the PWM for the motor.

Not sure how robust this idea is (I am a ME undergrad w/ limited mechatronics knowledge). If anyone has experience or any input with something like this I would love some feedback.

Thanks in advance!
 

Attachments

  • photo(2).JPG
    photo(2).JPG
    27.2 KB · Views: 609
Last edited by a moderator:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K