Mastering the Control of a Pendulum: Labview Inputs and IR Sensor Use

  • Thread starter Thread starter minoroctave
  • Start date Start date
  • Tags Tags
    Control Pendulum
AI Thread Summary
The discussion centers on the inputs needed for controlling an inverted pendulum using LabVIEW. It raises questions about whether only the angle (theta) is necessary or if the position of the cart is also required. Participants clarify that while theta is crucial for calculations, the cart's position may also be relevant. The conversation also addresses the use of a Sharp IR sensor versus a potentiometer for measuring theta, with the potentiometer being favored for its ability to directly relate resistance to angle. Ultimately, the potentiometer's physical connection to the pendulum allows for accurate angle detection through resistance changes.
minoroctave
Messages
32
Reaction score
0

Homework Statement


Hi, I have a project involving an inverted pendulum, as attached.

Homework Equations


-

The Attempt at a Solution


I don't really know about some things:

First, is theta the only required input from the inverted pendulum system to Labview? Don't I also need the position of the cart that the pendulum will be mounted on?

Secondly, from the component list, "Component 9 - a "Sharp IR Sensor plug and wire assembly" - Is this the sensor for theta?
If the IR sensor is something like youtube.com/watch?v=PnJnbDfLr3M
can it be used to measure theta?
 

Attachments

Physics news on Phys.org
minoroctave said:
First, is theta the only required input from the inverted pendulum system to Labview? Don't I also need the position of the cart that the pendulum will be mounted on?
Theta will let you calculate the relative position. That should be enough.

Secondly, from the component list, "Component 9 - a "Sharp IR Sensor plug and wire assembly" - Is this the sensor for theta?
I would use the potentiometer (component 7). I don't know how an IR sensor would be used.
 
FactChecker said:
I would use the potentiometer (component 7). I don't know how an IR sensor would be used.

but isn't a potentiometer an adjustable resistor? how is it used to detect the angle?
 
Physically connect it to the pendulum so that the control is moved when the pendulum moves. Then the pendulum position is related to resistance.
 
minoroctave said:
but isn't a potentiometer an adjustable resistor? how is it used to detect the angle?

Typically you adjust a potentiometer by rotating a knob. Rotating = changing angle.
 
Back
Top