Hornresp

I thought that I had checked your method against all the situations listed in Post #13,776, but apparently not. Out of interest, what were the 10 frequencies used between 20 Hz and 100 Hz?
I tested 10 situations between 20 and 100Hz with completely random frequencies... But always keeping 10 tests... kkkkkkk 20 to 100Hz step 10Hz and one completely random frequency
 
Last edited:
  • Like
Reactions: 1 user
VbFbVp/Vtoriginalmodifiedsim (orig.)sim (mod.)
30400.1243.341.638.9 Hz39.5 Hz
100400.017.87.839.5 Hz39.5 Hz

The results don't look too bad. Pretty decent in fact.

My apologies, I made an error in my Hornesp sims when originally checking the above two examples. I thought that the results were way off but you have shown they were as good as any of the others. Your c = 344, k = 274.496, ec = 1.462 and cf = 0.3 values would appear to be the ones to use!
 
Last edited:
  • Like
Reactions: 1 user
Would it be possible for you to check the X5b simulation and give me some tip/foot print regarding the high group delay value around tuning frequency?

The high group delay seems to be an inherent characteristic of the CH3 topology. Changing dimension values appears to have very little effect.

I think it may not be trivial to understand what is happening.

I have to agree with you there :).
 
  • Like
Reactions: 1 users
I've updated my spreadsheet to generate 100 different combinations of Vb, Ap, and predicted Lp to achieve a target Fb, to check them against equivalent Hornresp sims. Most of the predictions seem to end up pretty close. The spreadsheet allows you to try different values for the constants as well.
Glad to see that the changes I made to the formula for port length worked for you and you are using it in your spreadsheets. I made the changes onluy because you pointed out the right way where Vb and Vp should be used in the formula. I have some other suggestions for formulas to use in other specific situations, and also some questions about what formula you use for some situations. I want to know if you find it interesting to exchange this type of info with me.
 
Brian, would it be possible for you to post your spreadsheet as an .xls file so that I can open it in my ancient Excel 2003? Many thanks!
I've attached an XLS version.

I did find a spanner in the works though, albeit a small one. Above a certain point, the value for Lrc also influences Fb, at least in the Hornresp sim. As it starts to get large, Fb shifts downwards.


e.g. Given:
Vrc
37.6​
litres
Ap
128.0​
cm^2
Lpt
106.8​
cm

This shows how Fb shifts with changing Lrc (according to Hornresp):
LrcFbArcAp/ArcLp/Lrc
1527.62506.75.1%
712%​
6527.2578.522.1%
164%​
9026.8417.830.6%
119%​
11026.4341.837.4%
97%​
12526.1300.842.6%
85%​
14025.7268.647.7%
76%​
15525.3242.652.8%
69%​
17025.0221.257.9%
63%​
18024.6208.961.3%
59%​
19024.3197.964.7%
56%​
20523.9183.469.8%
52%​
21523.6174.973.2%
50%​
22523.3167.176.6%
47%​
 

Attachments

  • ventcalc.zip
    25.8 KB · Views: 43
  • Like
Reactions: 1 user
I've attached an XLS version.

Excellent, thanks.

Above a certain point, the value for Lrc also influences Fb, at least in the Hornresp sim. As it starts to get large, Fb shifts downwards.

That's because the chamber is no longer acting as a simple acoustic compliance. As Lrc increases the chamber starts to display transmission line characteristics. The Fb values can be kept constant by selecting the 'chamber resonances masked' option, but this then means that although the predicted Fb will be close to the design Fb, the actual measured Fb will be somewhat different because the method being used to calculate Lpt assumes that Vb (Vrc) is a pure compliance.
 
  • Like
Reactions: 1 users
I've updated my spreadsheet to generate 100 different combinations of Vb, Ap, and predicted Lp to achieve a target Fb, to check them against equivalent Hornresp sims. Most of the predictions seem to end up pretty close.

I had completely forgotten that a tool already exists in Hornresp to find the value of Lpt necessary to achieve a given Fb, and that it is 100% accurate, not just pretty close! The tool can be activated by highlighting the Lpt input box in Edit mode and selecting the Tools > Calculate Parameter menu commands. It can also be activated by double-clicking on the Lpt input box.

Simply adjust the Lpt slider until the desired resonance frequency is obtained.
 

Attachments

  • Attach_1.png
    Attach_1.png
    15.5 KB · Views: 48
  • Attach_2.png
    Attach_2.png
    9.3 KB · Views: 48
  • Attach_3.png
    Attach_3.png
    8 KB · Views: 48
  • Like
  • Thank You
Reactions: 1 users
Just to clarify, group delay is the negative derivative of phase, and is calculated from phase only.

(Impulse response is calculated from freq resp and phase).
Yes, although technically you can determine it from the response as well.

I have done this in the past very often.
Granted, this only works for response that is without weird artifacts and bumps.

Once you know the steepness/slope, as wel as the Q factor, there is only one option available basically.

Point is, they are directly connected.
So it doesn't surprise me that the group delay of that specific system can't be changed much.
 
Yes, although technically you can determine it from the response as well

Take a look and the Phase comparison between the models X4b and X5b, they ate basically the same in the 40hz~60Hz range but the group delay is much higher for X5b.

Those models are basically the same things the main difference is at back horn, while at X4b the driver is positioned more close to the throat, for X5b the drive is positioned more close to the mouth.
 

Attachments

  • X5b.png
    X5b.png
    24 KB · Views: 47
  • X4b.png
    X4b.png
    23.2 KB · Views: 47
  • 03.png
    03.png
    18.4 KB · Views: 45
  • 02.png
    02.png
    16.7 KB · Views: 54
  • 01.png
    01.png
    16.9 KB · Views: 51
Take a look and the Phase comparison between the models X4b and X5b, they ate basically the same in the 40hz~60Hz range but the group delay is much higher for X5b.
What are we comparing in terms of group delay, the grey line and the black line?

We are talking about two different things here.

As I already said before I was talking about the total system group delay, not local peaks and dips.
Those are two separate things.

The overal group delay of a higher order system (let's just take a 2nd order for simplicity) is overal the same, except for around the Fs point.
Which is determined by the Q-factor of the system.

So small changes in the group delay can still happen (similar like a EQ filter), but the overal group delay stays the same.
I thought we were talking about the overall group delay, not local peaks.

In such systems the group delay can be quite erratic sometimes, as is shown in your graphs.
(which again follows the phase as well as the freq resp)
 
What are we comparing in terms of group delay, the grey line and the black line?

Yes, and in the previous post there was another box model comparison, a tapped horn, and the Claus Futtrup curve as comparison too. Take a look and the attached image with Claus Futtrup added in the chart (green and red curve). as you can see the black curve from X5b exceed both Claus Futtrup curves, while X4b is in between.
So I asked David and interested colleagues what could explain the peak amplitude for group delay ~49Hz for the X5b model that we do not see from TH-SS1 nor from X4b, I mean, the peak are there at tuned frequency but the amplitude are very different, almost double for X5b.

04.png
 
I had completely forgotten that a tool already exists in Hornresp to find the value of Lpt necessary to achieve a given Fb, and that it is 100% accurate, not just pretty close! The tool can be activated by highlighting the Lpt input box in Edit mode and selecting the Tools > Calculate Parameter menu commands. It can also be activated by double-clicking on the Lpt input box.

Simply adjust the Lpt slider until the desired resonance frequency is obtained.
Yup, but it's an iterative tool (you need to adjust a slider to achieve a target Fb), rather than a tool that will just give you the required Lpt for a given Fb in one step (e,g. an equation). I'm not knocking iteration - it's a great method for resolving cases that involve complex calculations (I used it in the Optimization routines in my BOXPLAN workbooks, for example, and it was the method I suggested for finding optimum Fb for a 4th order BP alignment with driver's Le considered).
 
I am designing a two segment exponential horn. Input parameters picture attachment 1.png

I have to make this horn rectangular, preview the profile and export the data to csv/txt, so I calculate > Schematic Diagram > File > Export > Horn Data.

In the export Horn Data windows I select Rectangular Horn. Picture attachment 2.png

When I go to preview the Width profile is ok attachment 3.png
but the height profile is all messed up. Attachment 4png.

What am I doing wrong ?
 

Attachments

  • 1.PNG
    1.PNG
    14.8 KB · Views: 52
  • 2.PNG
    2.PNG
    11.4 KB · Views: 43
  • 3.PNG
    3.PNG
    11.7 KB · Views: 45
  • 4.PNG
    4.PNG
    12.4 KB · Views: 49