LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

walking pendulum

Dear all,

 

I'm stuggeling with a problem since a while now... I reckon it's easy to fix, however, i seem to run into several problem every time again and again. It's all regarding an inverted pendulum model based on gait measurements. It doesn't have to be fancy, but just two lines (left and right leg) moving on previously gathered data 

 

My ideas were that if i had steplength I had the horizontal displacement of the foot

Steplength will determine the frequency of a sinusal wave

Leg Length is the length of the leg

 

So gathering these together you must be able to set a function generator up to create a inverted pendulum estimated model off some kind.

 

Again, this is just a sortof fun project, nothing realistic. Was just wondering where I was making the crucial mistake or if i'm just stupid and i can't see an easier way

 

Hope that somebody can clarify it for me please...Smiley Very Happy

 

Best to all

0 Kudos
Message 1 of 5
(2,767 Views)

I don't know what a "walking pendulum" is, but you can find the basic mathematics for inverted pendulums in wikipedia.

Speaking of "walking pendulum", i would rather assume a double pendulum.... 

 

I am not aware of any premade algorithms for LV in regard to both types of pendulums, still you can implements all needed algorithms using the LV mathematical palette. Please note that maybe you could have use of functions only available in LV Full or Professional.

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(2,746 Views)

Perhaps my word choice is a bit bad at the moment, but with this nice weather and uni girls walking past I guess it's a good excuse! lol

 

Anyway coming back to it, just image 2 legs walking in 2d, looking from the side towards the legs. How would I recreate this leg movement (having the upper and lower leg as a rigid object) in LabVIEW.

 

I've tried an XY graph with a fixed point and just a line, of which the foot (the lower dot) is moving according to the data of steplength, and the line is the length 'l' which represents the leglength.

 

Hope this helps?

0 Kudos
Message 3 of 5
(2,722 Views)

Well, are you more interested in the display of the movement (a) or in the physics (b)?

If (a), there is no "simple" solution in LabVIEW. LV does not have something like a "canvas" where you can draw pictures. Therefore, you can use XY graph like you did, that is the most simple way for display. Another way is to create picture arrays (note you have to create arrays of pixel information e.g. color) and draw this on a picture control. I'd say that the second approach is more work, but can create more visual impact.

If (b) please refer to my last post.

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 4 of 5
(2,699 Views)

Cheers for that, i'll give it a go, and see what's coming out of it. And yes, it's just for display, as the visual is based on the physical measurements.

 

Thanks!

0 Kudos
Message 5 of 5
(2,689 Views)