{"id":559,"date":"2024-01-31T21:45:26","date_gmt":"2024-01-31T20:45:26","guid":{"rendered":"https:\/\/invar.nl\/?page_id=559"},"modified":"2024-01-31T22:03:10","modified_gmt":"2024-01-31T21:03:10","slug":"uncategorised-audio-ideas","status":"publish","type":"page","link":"https:\/\/invar.nl\/?page_id=559","title":{"rendered":"Uncategorised ideas"},"content":{"rendered":"\n<p>Ideas and projects that don&#8217;t fit in the other categories<\/p>\n\n\n<ul class=\"wp-block-latest-posts__list has-dates wp-block-latest-posts\"><li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/invar.nl\/?p=1040\">Automatic power off circuit for active speaker<\/a><time datetime=\"2025-07-30T16:54:01+02:00\" class=\"wp-block-latest-posts__post-date\">30 July 2025<\/time><div class=\"wp-block-latest-posts__post-full-content\"><!-- wp:paragraph -->\n<p>Thinking about ways to automatically turn off the PSU of an active speaker. I have two options on my mind:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol class=\"wp-block-list\"><!-- wp:list-item -->\n<li>Locally switching PSU, with a floating input detection circuit<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li>Remotely switching PSU, with a power signal line from audio source<\/li>\n<!-- \/wp:list-item --><\/ol>\n<!-- \/wp:list -->\n\n<!-- wp:paragraph -->\n<p>Option 1 has the advantage that if it&#8217;s not connected to anything, the speaker will turn itself off. Also, no remote power signal is needed, so it can be connected with just a mono jack. However, to switch it off remotely, the source has to disconnect its output. An audio signal detection circuit would prevent the need for that, but I don&#8217;t like to turn off the amplifier when there is no signal e.g. between songs. This option needs a little battery to keep the detection circuit powered. <\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Option 2 has the advantage of being a little simpler, especially on the amplifier side. There is also no need for a battery. It does however need a stereo jack. Disconnecting input turns on the PSU, but I guess a simple &#8220;on\/remote\/off&#8221; power switch next to the jack could solve that.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1. Locally switching PSU, with a floating input detection circuit<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Idea is to inject a miniscule DC sense signal (e.g. 4V through a 1M\u03a9 inject resistor) onto the amplifier input, and use a comparator to measure impedance. If impedance is very high (input is floating so voltage is high, especially if amplifier has a coupling capacitor), keep PSU off, if impedance is lower (input connected so voltage is low), turn on PSU. <\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>To prevent audio signals turning off the PSU, filter out the AC at the comparator (e.g. low pass using 1M\u03a9 sense resistor plus 1\u00b5F capacitor). I doubt 4V DC at ~4\u00b5A would do anything to the source output so I don&#8217;t think I need coupling capacitors there.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Comparator would power an SSR that turns on\/off the PSU. To power the sense signal and comparator as well as SSR, use a small Li-Ion battery. Float the battery from PSU using an isolated buck converter when powered on. Preferably use a protected battery. If I stay under 100\u00b5A, a 2000mAh 18650 could last over 2 years without power. Unfortunately, the most widely available comparator (LM393) draws closer to 400\u00b5A which brings battery life down a bit. Could run it with a timer and latch circuit to bring down average current to maybe 100\u00b5A, but that seems like a lot of work. Either get a lower power comparator, or just use a protected cell and accept that once every couple of months the amplifier needs to be turned on.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Would have to figure out how to drive the SSR module directly from the comparator without much current draw in off state.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>To remotely switch off from the source, the source would need to lift its outputs. Putting anything in the signal path introduces noise, but something like a TS5A23157 analogue switch module with relatively low R_on and very low distortion should be inaudible.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Parts list:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:list -->\n<ul class=\"wp-block-list\"><!-- wp:list-item -->\n<li>18650 protected cell<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li>isolated buck converter set to battery float voltage + output diode<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li>LM393 comparator module (plus SSR drive circuit)<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li>SSR module<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li>1M\u03a9 Resistors and 1\u00b5F capacitor<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li>TS5A23157 module for source<\/li>\n<!-- \/wp:list-item --><\/ul>\n<!-- \/wp:list -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">2. Remotely switching PSU, with a power signal line from audio source<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Use a stereo jack cable; TRS with control signal on the ring. 5V turns the active speaker off, 0V turns it on. In active speaker, use 5V NC SSR board in two modes:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol class=\"wp-block-list\"><!-- wp:list-item -->\n<li><strong>Off \/ Control = 5\u202fV:<\/strong><br>Power the SSR board directly from the 5\u202fV signal line. Current draw is negligible (few \u00b5A or less, just leakage).<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li><strong>On \/ Control = 0\u202fV:<\/strong><br>Signal line can&#8217;t supply 5\u202fV any more. Instead, power the board from a small 42\u202fV\u21925\u202fV DC converter. <\/li>\n<!-- \/wp:list-item --><\/ol>\n<!-- \/wp:list -->\n\n<!-- wp:paragraph -->\n<p>Buck converter must be isolated to prevent ground loop, and use Schottky diodes to prevent backfeeding into the control signal line. Use a capacitor by the SSR large enough to bridge the gap between powering on PSU and buck converter giving 5V.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>There should never be 5V and signal at the same time through the wire, so no added noise expected as long as 0V is really 0V. I guess I can use an optocoupler, another isolated 5V buck converter and a pulldown resistor to audio gnd, to prevent injecting noise onto 0V. To prevent damage from DC with wrong connection, limit 5V output to just enough current to keep the SSR board powered.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Alternatively, directly inject 5V DC control signal onto audio signal. This allows using a mono jack cable instead, and again, audio and 5V should never be on the line at the same time. However, this would require filtering out AC at the SSR, and DC at both the amplifier and the source, and might be more difficult to prevent ground loops and noise. Also, higher chance of damage if connecting a different amplifier. Separate wire seems like a much better idea.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">Reflection, issues<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Option 1 seems elegant but very sensitive, e.g. to floating ground and false triggering. Switching module at source will likely add pops\/noise when turning off amp.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Option 2 seems more robust, but need to think about wiring. For instance, can the source handle connecting a mono cable, shorting the 5V to gnd? I guess with good current limiting, that shouldn&#8217;t be a problem.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Ultimately, both options seem like a lot of work and can potentially introduce noise, without solving any real problems. Is it really so bad to have to get up and control a physical on\/off switch, instead of a software one?<\/p>\n<!-- \/wp:paragraph --><\/div><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/invar.nl\/?p=1031\">&#8220;Subwoofer&#8221; conversion of bass practice amp<\/a><time datetime=\"2025-07-29T18:51:25+02:00\" class=\"wp-block-latest-posts__post-date\">29 July 2025<\/time><div class=\"wp-block-latest-posts__post-full-content\"><!-- wp:paragraph -->\n<p>Thinking of designing a plug for my 2&#215;6&#8243; horn reflex bass cabinet, so I can use it as a closed cabinet subwoofer in a 2.1 system with software EQ.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Checking Hornresp, if I plug the end of the horns, I get a closed cabinet with a Qtc of 0.70. Max SPL (quarter space):<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><\/td><td>Original<\/td><td>Closed 16L<\/td><\/tr><tr><td>30 Hz<\/td><td>74 dB<\/td><td>90 dB<\/td><\/tr><tr><td>40 Hz<\/td><td>85 dB<\/td><td>95 dB<\/td><\/tr><tr><td>50 Hz<\/td><td>94 dB<\/td><td>99 dB<\/td><\/tr><tr><td>60 Hz<\/td><td>102 dB<\/td><td>102 dB<\/td><\/tr><tr><td>100 Hz<\/td><td>126 dB<\/td><td>111 dB<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:paragraph -->\n<p>That&#8217;s actually a useful level, I think? Max SPL is mostly independent of volume so I don&#8217;t have to think too much about the shape of the plug(s), driver volume etc. It would however need a lot of EQ to get some bass out the 12db\/oct declining response. Actually a 2nd order low pass at 30 Hz might already give a decent response as well as could function as a 2nd order crossover around 150 Hz? Phase is then -90 degrees around 150 Hz, might have to reverse polarity.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Let&#8217;s look at power. Assuming the above active EQ, and aiming for max excursion at 30Hz, power requirement would be 60W total into 4W. A TPA3116D2 or TPA3221 module according to their datasheets should be able to reach that at 24V, but without headroom &#8211; a TPA3255 module &gt;32V might be a better fit. Or TPA3223\/TPA3250\/TPA3251 at 32-36V.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><\/p>\n<!-- \/wp:paragraph --><\/div><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/invar.nl\/?p=1029\">Kallax bass speaker with passive radiators<\/a><time datetime=\"2025-07-29T17:55:34+02:00\" class=\"wp-block-latest-posts__post-date\">29 July 2025<\/time><div class=\"wp-block-latest-posts__post-full-content\"><!-- wp:paragraph -->\n<p>Idea: dedicated woofer for 2.1 system. Opposing drivers to cancel vibrations.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Kallax compartment is about 335x335x390mm. A 335x335mm baffle could just about fit an 8&#8243; passive radiator and a 6.5&#8243; driver, but it&#8217;s very close &#8211; 8&#8243;+5&#8243; would be a better fit. Assuming 12mm plywood, internal volume using maximum dimensions is 3.11&#215;3.11&#215;3.66=35.4L. Subtracting driver volume, that&#8217;s about 34L cabinet.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Let&#8217;s run some options in Hornresp (including max SPL, quarter space radiation)<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Driver (2x)<\/td><td>Drone (2x)<\/td><td>F3<\/td><td>F6<\/td><td>F12<\/td><td>SPL@35Hz<\/td><td>SPL@60Hz<\/td><\/tr><tr><td>SB16PFCR25-4<\/td><td>SB20PFCR-00<\/td><td>54 Hz<\/td><td>42 Hz<\/td><td>33 Hz<\/td><td>100 dB<\/td><td>110 dB<\/td><\/tr><tr><td>Visaton W130X<\/td><td>SB20PFCR-00<\/td><td>48 Hz<\/td><td>33 Hz<\/td><td>29 Hz<\/td><td>97 dB<\/td><td>103 dB<\/td><\/tr><tr><td>Dayton DA135-8<\/td><td>SB20PFCR-00<\/td><td>47 Hz<\/td><td>37 Hz<\/td><td>29 Hz<\/td><td>95 dB<\/td><td>101 dB<\/td><\/tr><tr><td>W5-1138SMF<\/td><td>SB20PFCR-00<\/td><td>46 Hz<\/td><td>35 Hz<\/td><td>29 Hz<\/td><td>107 dB<\/td><td>113 dB<\/td><\/tr><tr><td>W5-1138SMF<\/td><td>none<\/td><td>66 Hz<\/td><td>46 Hz<\/td><td>29 Hz<\/td><td>101 dB<\/td><td>110 dB<\/td><\/tr><tr><td>SB20PFC30-4<\/td><td>none<\/td><td>69 Hz<\/td><td>54 Hz<\/td><td>36 Hz<\/td><td>104 dB<\/td><td>113 dB<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:paragraph -->\n<p>Ok so assuming I can do some EQ in the low end to bring up the response, for the same money I can better just put in a pair of more powerful drivers and no passive radiators.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Looking at smaller drivers, I&#8217;m intrigued by a 2&#215;5&#8243; SB13PFC25-4 sub that could potentially do 91+ dB (quarter space) down to 30 Hz at xmax and would need less than 30W for it &#8211; at only 6.1L internal volume. That could fit in a 22cm cube, including space for a TPA3221 amplifier and a laptop charger to power it. But if I have the space in a Kallax compartment, 2&#215;8&#8243; SB20PFC30-4 looks great, much louder so probably cleaner at lower levels, and at Qtc of 0.75 should be relatively easy to EQ and crossover.<\/p>\n<!-- \/wp:paragraph --><\/div><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Ideas and projects that don&#8217;t fit in the other categories<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":26,"menu_order":99,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-559","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/pages\/559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/invar.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=559"}],"version-history":[{"count":3,"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/pages\/559\/revisions"}],"predecessor-version":[{"id":562,"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/pages\/559\/revisions\/562"}],"up":[{"embeddable":true,"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/pages\/26"}],"wp:attachment":[{"href":"https:\/\/invar.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}