Logarithm in PBP


Closed Thread
Results 1 to 25 of 25

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Loveland CO USA
    Posts
    83


    Did you find this post helpful? Yes | No

    Smile voltage to power simple math

    Savnik,

    You need to get a book on basic electronics. Voltage Current Power and Resistance.
    Power = voltage * current
    In your case you can not see the current so: Power = Voltage * Voltage /Resistance (Voltage squared)
    To prove that look at your table. Voltage of 22.4 volts = 10 watts and Voltage of 44.7 volts = 40 watts. Voltage increases 2:1 and power increases 4:1. That proves there is a voltage squared * constant.

    Voltage * Voltage/50 = Power

    To convert to db is very hard or very simple depending on how you look at it. You can fight BIG math for weeks. When you understand db it is almost as simple as finding Power. I will not tell you how now. You need to think about it for a while.

    RonS.

  2. #2
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ronsimpson View Post
    Savnik,

    You need to get a book on basic electronics. Voltage Current Power and Resistance.
    Power = voltage * current
    In your case you can not see the current so: Power = Voltage * Voltage /Resistance (Voltage squared)
    To prove that look at your table. Voltage of 22.4 volts = 10 watts and Voltage of 44.7 volts = 40 watts. Voltage increases 2:1 and power increases 4:1. That proves there is a voltage squared * constant.

    Voltage * Voltage/50 = Power

    To convert to db is very hard or very simple depending on how you look at it. You can fight BIG math for weeks. When you understand db it is almost as simple as finding Power. I will not tell you how now. You need to think about it for a while.

    RonS.
    I am a electronic for 30 years.
    Thank you for your help. You give me some idea how to calculate.

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Savnik,

    Your problem has been bugging me, I like math puzzles, and the post by Pic_User did clear things up.

    Now if I understand your table correctly, POWER column is the reading you want and the VOLT column is the value you now have. If this is correct, then keep reading, if not than ...

    This is the formula:

    Step #1:

    D = (VOLTS / 10) * 0.2 'D' is a dummy variable

    Step #2:

    POWER = VOLTS * D

    This give an answer within .1 of the value in the power column.

    Hope this helps.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I look back and see that ronsimpson said the same thing.

    Now you have two ways to do it.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Oct 2005
    Location
    Loveland CO USA
    Posts
    83


    Did you find this post helpful? Yes | No

    Thumbs up Power=power

    P=v*d, D=(v/10)*.2

    P=v*((v/10)*.2)

    P=v*v*.2/10

    P=v*v/50

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ronsimpson View Post
    P=v*d, D=(v/10)*.2

    P=v*((v/10)*.2)

    P=v*v*.2/10

    P=v*v/50
    I was looking at a way to change one set of numbers into another. Did not pay attention to your post or think in electrical terms. Just MATH. NUMBERS DO NOT LIE. NOT OFTEN
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Oct 2005
    Location
    Loveland CO USA
    Posts
    83


    Did you find this post helpful? Yes | No

    Question Numbers Do Not Lie.

    You must be an Engineer not a Lawyer or Statistician. On subject; I need to get back to taxes.
    Fuzzy logic (fuzzy math)

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 13:55
  2. Extensions to PBP variables
    By John_Mac in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd October 2009, 06:21
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 20:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th December 2005, 00:30
  5. PBP / XP Crash
    By pondindustrial in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th November 2005, 04:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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