Hi, I can help.
A power meter should be flat over the entire frequency range. It only needs to show the product of the AC voltage and AC current at any frequency.
Another way commonly used is to measure the voltage across a fixed resistance, square it, and display the value as power.
Power should NOT be a function of frequency.
Mike
It sounds like what you really want is a display of freq on the X axis and power on the Y axis.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
Thank you guys,
well, I knew that the power is AC voltage times AC current. The problem here is the fixed resistance as the resistance (of the speakers) changes with the frequency.
But lets assume the resistance IS fixed. How/where would I measure voltage and current. There are some power meters to buy. For my knowledge it has to be at the output of the amplifier WITH the speakers connected. Right?
Rons answer could be it if I would know how to to do it with an arduino (hardware, sketch).
andy
@lobster I don't understand how 'resistance' can change. Let me admit at 80 it's been over 60 years since I learned ohm's law but I don't remember any relationship to frequency. Perhaps you mean reactance? I don't know but that's my best guess.
HOWEVER, looking back at your original question, the power is related to the frequency because the area under the curve changes with frequency. I recall something called RMS voltage, I wonder if that is what is causing the frequency related power change you are thinking of. That should be measurable.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
@will That looks interesting, but wasn't he talking about audio frequencies? Your reference is for 60Hz, will it scale to 10,000Hz as a midpoint? I think it may depend on the MPU processor speed, buyt that's just a hunch.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
The video I referenced is aimed at calculating the power of an AC device. It would allow the power used by the entire device as a whole, but probably wouldn't provide a satisfactory result for an individual speaker.
Measure total power with the speakers disconnected, then reconnect them and measure again for the same music. The difference should be the total power delivered to the speakers.
Experience is what you get when you don't get what you want.
@will I suspect that is not his interest, I suspect he wants to know the power at different frequencies. I can imagine someone wanting to adjust the power for various frequencies so a meter is needed or a scope or similar.
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
It certainly wouldn't be the first time I guessed wrong at what somebody is asking for 🙂 Nor the last.
Experience is what you get when you don't get what you want.
@will Mind reading isn't my strong suite either.
However, my HS electronics teachings taught me that 10 x power is 10 db sound which the human ear interprets as 2 x louder BUT I do not recall if the freq has a bearing but this article hints at a relationship https://www.britannica.com/science/sound-physics/The-decibel-scale
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
I don't know squat about audio and I can't figure whether he really means resistance or reactance or impedance, so I'm going to just wander off now 🙂
Experience is what you get when you don't get what you want.
@lobster Check this out as well https://www.britannica.com/technology/sound-level-meter
Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting
@will Those AC voltage and AC current sensors appear to be meant for power line frequencies, (50 or 60 Hz) It's unlikely that they will be accurate for a wide frequency range such as audio (20 to 20 kHz).
A speaker's impedance (AC resistance) will vary over frequency. With a good speaker, say a 3 way system you should have a fairly constant impedance over frequency but it won't be perfect. Especially if there's a resonance- the impedance will rise at the resonant frequency.
The RMS voltage squared divided by the speaker's estimated impedance will be the estimated power. Anything better would be hard to measure accurately because the impedance is not perfectly constant over frequency.