QuadTinnakon / Arduino-Balance-a-Brushless-Motor-and-Propeller-Balancing-

1 stars 3 forks source link

Question to your coding #1

Open Flying-Bolt opened 7 years ago

Flying-Bolt commented 7 years ago

Hi,

a short question to your code of "Arduino-Balance-a-Brushless-Motor-and-Propeller-Balancing-/Balance_Mega2560_V5.ino"

Would you explain the following program line to me?

RPS_Photoff = RPS_Photoff + (RPS_Photo - RPS_Photoff)0.0145;//RC = 1/2pi*fc ,,α := dt / (RC + dt)

What is RPS_Photoff? The Calculation? And the factor *0.0145?

QuadTinnakon commented 7 years ago

Loa pass filter

เมื่อ 9 เม.ย. 2017 1:55 AM "Flying-Bolt" notifications@github.com เขียนว่า

Hi,

a short question to your code of "Arduino-Balance-a-Brushless- Motor-and-Propeller-Balancing-/Balance_Mega2560_V5.ino"

Would you explain the following program line to me?

RPS_Photoff = RPS_Photoff + (RPS_Photo - RPS_Photoff)0.0145;//RC = 1/2pi*fc ,,α := dt / (RC + dt)

What is RPS_Photoff? The Calculation? And the factor *0.0145?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/QuadTinnakon/Arduino-Balance-a-Brushless-Motor-and-Propeller-Balancing-/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AI98phjlbbttDyD5fAygMZN-QEG2bAOZks5rt9gqgaJpZM4M3y39 .

QuadTinnakon commented 7 years ago

low pass filter

เมื่อ 9 เม.ย. 2017 2:38 PM "tinnakon kheowree" tinnakonza@gmail.com เขียนว่า

Loa pass filter

เมื่อ 9 เม.ย. 2017 1:55 AM "Flying-Bolt" notifications@github.com เขียนว่า

Hi,

a short question to your code of "Arduino-Balance-a-Brushless-M otor-and-Propeller-Balancing-/Balance_Mega2560_V5.ino"

Would you explain the following program line to me?

RPS_Photoff = RPS_Photoff + (RPS_Photo - RPS_Photoff)0.0145;//RC = 1/2pi*fc ,,α := dt / (RC + dt)

What is RPS_Photoff? The Calculation? And the factor *0.0145?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/QuadTinnakon/Arduino-Balance-a-Brushless-Motor-and-Propeller-Balancing-/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AI98phjlbbttDyD5fAygMZN-QEG2bAOZks5rt9gqgaJpZM4M3y39 .

Flying-Bolt commented 7 years ago

Thx.

  2nd Question to the code line:   phase_shift = (Hz_p[i] - 30) 2.57; //(Hz_p[i] - 50)2.67  1.2  2.97 2.47

  why minus 30? Offset for what?

  the factor 2.57 comes from what?

    thx in advance

  Arno Waldman

-----Ursprüngliche Nachricht----- Von:Tinnakon Kheowree notifications@github.com Gesendet:So 09.04.2017 09:39 Betreff:Re: [QuadTinnakon/Arduino-Balance-a-Brushless-Motor-and-Propeller-Balancing-] Question to your coding (#1) An:QuadTinnakon/Arduino-Balance-a-Brushless-Motor-and-Propeller-Balancing- Arduino-Balance-a-Brushless-Motor-and-Propeller-Balancing-@noreply.github.com; CC:Arno Waldmann Waldmann.Arno@T-Online.de; Manual manual@noreply.github.com; low pass filter

เมื่อ 9 เม.ย. 2017 2:38 PM "tinnakon kheowree" tinnakonza@gmail.com เขียนว่า

Loa pass filter

เมื่อ 9 เม.ย. 2017 1:55 AM "Flying-Bolt" notifications@github.com เขียนว่า

Hi,

a short question to your code of "Arduino-Balance-a-Brushless-M otor-and-Propeller-Balancing-/Balance_Mega2560_V5.ino"

Would you explain the following program line to me?

RPS_Photoff = RPS_Photoff + (RPS_Photo - RPS_Photoff)0.0145;//RC = 1/2pi*fc ,,α := dt / (RC + dt)

What is RPS_Photoff? The Calculation? And the factor *0.0145?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/QuadTinnakon/Arduino-Balance-a-Brushless-Motor-and-Propeller-Balancing-/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AI98phjlbbttDyD5fAygMZN-QEG2bAOZks5rt9gqgaJpZM4M3y39 .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.