Laser Acceleration Measurement Unit "LAMU"

Discuss scenes and videos made with Algodoo.

Laser Acceleration Measurement Unit "LAMU"

Postby KarateBrot » Sat Sep 12, 2009 10:03 am

LAMU v1.0

After "acceler-O-meter" which was the first ever unit in Phun that calculated the acceleration I'm proud to present you the first unit that works with 100% simulation speed!

It measures in SI-units (m, s, m/s, m/s²)
I also improved the formula for acceleration. Now the code is shorter which results in a better build-up and less physical variables.

- - - - -

The variable for acceleration:
scene.my.a

It also calculates the velocity (side effect):
scene.my.v

- - - - -

Important
  • If this scene lags a lot on your PC try to delete the bar. But with a good PC normally it won't lag. I'll add a switch to turn it on and off soon.
  • BTW: You can save it as a phunlet.
    While loading the phunlet the custom variables automatically get included into your scene.
  • If anyone thinks that it's too big just say it and I will make a very small LAMU so there's only the core without displays (which take most of the space).


Image
Author: KarateBrot
Title: Laser Acceleration Measurement Unit [LAMU]
File Size: 15.11 kB
Rating: Image
ImageImage
Last edited by KarateBrot on Tue Sep 15, 2009 7:31 pm, edited 2 times in total.
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: Laser Acceleration Measurement Unit "LAMU"

Postby standardtoaster » Sun Sep 13, 2009 5:48 am

Why is it that no one notices your scenes? :/ Great scene, Karatebrot! I'm going to be using this in one of my upcoming scenes. :thumbup: It does work as a phunlet but upon loading it it does not create the variables for the color blocks. Although the blocks aren't really necessary as they are just for looks. :D If anybody REALLY wants to have it have proper colors in the color blocks open the Algodoo folder, double-click scenes, double-click phunlets, and drag the scene to there.
User avatar
standardtoaster
 
Posts: 606
Joined: Mon Aug 31, 2009 7:57 pm

Re: Laser Acceleration Measurement Unit "LAMU"

Postby KarateBrot » Sun Sep 13, 2009 6:27 am

standardtoaster wrote:Why is it that no one notices your scenes?

I don't know. Maybe no one needs an accelerometer for now. But it would be really helpful if you want something to happen when your object is braking or accelerating too much. For example for bombs or anything that only explodes if it collides violently enough with something or if someone wants to test the acceleration of an engine or car.


standardtoaster wrote:Great scene, Karatebrot! I'm going to be using this in one of my upcoming scenes. :thumbup

Thanks :thumbup:
I am curious about your scene :clap: I wonder what you want to create.

standardtoaster wrote:It does work as a phunlet but upon loading it it does not create the variables for the color blocks. Although the blocks aren't really necessary as they are just for looks. :D If anybody REALLY wants to have it have proper colors in the color blocks open the Algodoo folder, double-click scenes, double-click phunlets, and drag the scene to there.

Oh, there is a bug for the color variables, isn't it?
Hmm... Okay so let's see if the Algodoo update will kill it.^^
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: Laser Acceleration Measurement Unit "LAMU"

Postby Torpedo » Tue Sep 15, 2009 12:34 am

took my time about it but finally got round to seeing this scene. i haven't pulled it appart yet to see what you've done but its really good, all seems to work perfectly and i've already had a good idea of what i want to do with it, was making a scene earlier where i wanted to know the angular velocity of an object, and if i use your unit, then i can know that ;) or at least, i'll still have a rough measurement of its speed. So i might have a go at using this as the speed controller in an air friction turbine.

I imagine its intended to guide your missile right? Should be pretty spectacular when your done i imagine.
Image
User avatar
Torpedo
 
Posts: 120
Joined: Mon Aug 31, 2009 8:51 pm

Re: Laser Acceleration Measurement Unit "LAMU"

Postby thebillsta » Tue Sep 15, 2009 1:30 am

is it totaly accurate? cuz i would think that gravity was consistent
thebillsta
 
Posts: 12
Joined: Mon Sep 07, 2009 4:52 am

Re: Laser Acceleration Measurement Unit "LAMU"

Postby Torpedo » Tue Sep 15, 2009 1:37 am

I think the fall rate acceleration is not consistant, remember there is drag as well. I attached this to a wheel rotating at inf torque and the output from it was completely constant.
Image
User avatar
Torpedo
 
Posts: 120
Joined: Mon Aug 31, 2009 8:51 pm

Re: Laser Acceleration Measurement Unit "LAMU"

Postby thebillsta » Tue Sep 15, 2009 6:15 am

Torpedo wrote:I think the fall rate acceleration is not consistant, remember there is drag as well. I attached this to a wheel rotating at inf torque and the output from it was completely constant.


thats weird :?
thebillsta
 
Posts: 12
Joined: Mon Sep 07, 2009 4:52 am

Re: Laser Acceleration Measurement Unit "LAMU"

Postby KarateBrot » Tue Sep 15, 2009 12:14 pm

Torpedo wrote:I imagine its intended to guide your missile right? Should be pretty spectacular when your done i imagine.

Yeah I'm not sure yet but I could use it to detect gravity and so the engine compensates the force that drags the missile to the ground and the controlling system can lead it directly into it's target. Maybe... because I didn't test a thrust vectoring engine before too much so let's see ;)
At the moment I do nothing on my Javelin. I try to gain knowledge about several things that could be useful for this project. So it will take some time until a newer version is ready. :thumbup:


Torpedo wrote:I think the fall rate acceleration is not consistant, remember there is drag as well. I attached this to a wheel rotating at inf torque and the output from it was completely constant.

You're right.
If air drag is switched off gravity is constant. Normally it's 9,8m/s² but you can adjust it in the options. If you let the unit fall it will display the gravity. Nearly constant. It just fluctuates about 0.3 m/s² because it's not easy to measure the alteration of the position with absolute precision.
If air drag i switched on the measured acceleration will decrease with bigger falling speed. Gravity is constant as before but because of the drag a force pulls the unit into the other direction and that's why the overall acceleration of the unit will decrease. Like in reallife. A skydiver also accelerates but the acceleration will decrease with higher falling speed until the air drag is as high as gravity and he no longer accelerates.

This unit is universal so you can measure every acceleration you want. It doesn't have to be a constant acceleration. You can put it onto a wheel or something that spins so it detects the centripetal acceleration or you could also put it onto a car to detect it's acceleration on a course etc...
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: Laser Acceleration Measurement Unit "LAMU"

Postby cdh473 » Sun Sep 20, 2009 3:57 am

I couldn't get it to work... maybe restarting algodoo will help :P
Please excuse my posts. I am extremely stupid.
User avatar
cdh473
 
Posts: 817
Joined: Tue Sep 01, 2009 12:37 am
Location: Yes

Re: Laser Acceleration Measurement Unit "LAMU"

Postby KarateBrot » Thu Sep 24, 2009 7:53 pm

cdh473 wrote:I couldn't get it to work... maybe restarting algodoo will help :P


Is the problem already solved? If not please let me know what's the problem so that I can debug the scene. ;)
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany


Return to Scenes

Who is online

Users browsing this forum: No registered users and 2 guests