Results 1 to 9 of 9

Thread: [Theory + VB] Turntable Physics

  1. #1

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    [Theory + VB] Turntable Physics

    Might need some help with the physics. I might be wrong with the formulas I used. So far it does exactly what my turntables do in real life. If I'm wrong, let me know. The formulas are located in my Game_Loop sub where it says this:

    VB Code:
    1. If Turntable_State > Turntable_On Then
    2.        
    3.             If Turntable_State = Turntable_On + Turntable_Start Then
    4.        
    5.                 I = I + (VINYL_MASS * VINYL_RADIUS ^ 2)
    6.            
    7.                 If I >= Pitch Then I = Pitch
    8.            
    9.             ElseIf Turntable_State = Turntable_On + Turntable_Stop Then
    10.        
    11.                 I = I - (VINYL_MASS * VINYL_RADIUS ^ 2)
    12.                
    13.                 If I <= 0 Then I = 0
    14.                
    15.             End If
    16.            
    17.         Else
    18.            
    19.             If I > 0 Then I = I - VINYL_DIAMETER
    20.            
    21.             If I <= 0 Then I = 0
    22.            
    23.         End If

    And in this line is where I add the time based rotation:

    VB Code:
    1. Rotation = Rotation + (Time * I)

    Here's the project. If there are any problems with the physics, please let me know. Here are the controls:

    Space: Turns the Power On

    Enter: Turns the Power Off

    A: Starts the Turntable when the Power is On
    Z: Stops the Turntable when the Power is On

    Numpad: Controls Camera

    Up/Down Arrow Keys: Controls RPM
    Attached Files Attached Files

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Turntable Physics

    It should always start at 33.3rpm. Pretty cool. Might want to have the album twirl for effect, like a spinning penny.

  3. #3

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Turntable Physics

    It goes from 0 to 33 1/3 RPM based on it's torque

  4. #4

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: [Theory + VB] Turntable Physics

    Anyone know any physics? NoteMe maybe?

  5. #5
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: [Theory + VB] Turntable Physics

    I stopped it from 45, and it started back up to 45

  6. #6

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: [Theory + VB] Turntable Physics

    That's good. It's suppose to start back up to the pitch it's set on, like real turntables do.

  7. #7
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: [Theory + VB] Turntable Physics

    I have a little problem with your Physics
    You have
    Code:
    Rotation = Rotation + (Time * I)
    Code:
    I = I + (VINYL_MASS * VINYL_RADIUS ^ 2)
    where is your torque?
    Equation of motion should be
    Code:
    Rotation = Rotation + V*time+.5*A*t^2
    where Rotation is in radians not degrees
    V is your current angular velocity in radians per second
    A is your angular acceleration in radians/second/second
    Code:
    V = V + A*Time
    Code:
    A = 2*torque/((PLATTER_MASS+VINYL_MASS)*VINYL_RADIUS^2)
    Put your mass in Kg
    torque will be in units of Newton*meter = (Kg m^2 / s^2)

  8. #8

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: [Theory + VB] Turntable Physics

    It's converted to radians in the area where it rotates. If you can, you could modify my physics and reupload my project. The torque by the way on my turntables is more than 1 kgf-cm (10 newtons). I already modified my prog with this but had trouble.

  9. #9
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: [Theory + VB] Turntable Physics

    It's converted to radians in the area where it rotates
    I saw that, it's wrong.
    The equations already give the answer in radians so you shouldn't convert it again.

    One assumption you'll have to make is how the motor is going to operate.

    If the motor just supplies a constant torque, then the platter will continue to accelerate forever until it spins off into space.

    What you can assume is that the motor supplies its maximum torque until it reaches the desired speed, then supplies just enough to equal to frictional torque which is in the opposite direction so that when at operational speed, no net torque is being supplied.

    If the motor is turned off, then the platter is slowed by the frictional torque.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width