12v Party Bike

Hi folks

I'm looking to combine my two passions (audio and bike building) and would really appreciate some assistance. I've recently built my own bakefits style cargo bike, and now I would like to kit it out with a 12v sound system so I can take it to friends houses/the park and crank some tunes (both on the way and while we are at our destination).

I have some 12v components from an old Car sound system that I salvaged and would like to put to use. Namely a 12" pioneer car sub (TS-W308D4), some JL audio 6.5's (with tweeters), all run off a Sony Xplod 4 channel amp (XM-GTR4A). It is unlikely I will be able to find a suitable deep cycle battery where I am living (Laos) so will likely have to use a 2nd hand car battery. I already have a battery charging unit that I will include in the install so I can plug it into wall mains where possible (house parties).

My current thinking is that a simple slot ported sub tuned to the 35hz region would be a sufficient cornerstone for this application. That being said I have no experience with this style of sub!

Here are the TS parameters for the 12" pioneer


Revc- dual 1.5
Levc- 2.18 (4ohm)
0.65 (1ohm)
Fs- 33.7
Qms- 14.11
QES- 0.5
QTS- 0.45
Vas- 36.16
Rms 2.773
Mms- 184.95g
Cms- 1.2x10 (to the power of minus 4)
Diam- 242mm
Bl-16.07 (4ohm)
8.04 (1ohm)
xmax- 8.7mm

I have had a go at modelling something in Horn Response and came up with a 58l box with an Ap of 35 and Lpt of 10. That gives the box a 35hz corner and about 92db sensitivity. The thing i'm not sure about is if I am going to have issues with port velocity/chuffing. I was using an online tutorial on Home theatre shack and there was no mention of how to calculate/view this.



Also, are there any dimensional minimums i should be considering when designing the port? Ie would a 35cm tall, 1 cm wide slot port, perform in the same way as a 10cm tall, 3.5cm square port?



Would be great to have some experienced folks along for the ride on this build!


Cheers,


Mark
 

Attachments

  • cargo bike.jpeg
    cargo bike.jpeg
    220.1 KB · Views: 294
  • Pioneer 12.PNG
    Pioneer 12.PNG
    21 KB · Views: 297
Last edited:
A 35cm^2 port is going to have serious problems. Hornresp can check vent velocity, but I predict it'll be well over 50m/s, even with modest power inputs.

FWIW, I found a single 3" port to be just about enough for a pair of 8" PA midbass drivers with modest Xmax. You've got similar cone area and twice the potential excursion, so I'd be looking at a pair of 3" ports (~88cm^2) minimum.

Chris
 
Thanks Chris661 for the advice!

A few evenings on Horn Response later and i've come to a solution that seems to take port velocity into account (took a while to figure out I had to switch the Acoustic power output to 'port only' to unlock the particle velocity tab in the menu :)

73L gross volume (50L chamber+18L port+5L bracing etc)
225cm2 port cross section
80cm long
23m/s port velocity @ driver xmax.
35hz extension (120db half space at full gas).

Working on some draft layout's of the equipment on the cargo tray now! Also might have a lead on some deep cycle batteries (saw a shop selling solar panels, LED lights and other electronics while out on a bike ride earlier this week and saw they had batteries on their promotional screen out the front).

Mark
 
OK so time to talk batteries and run time! So I have found a shop in town that sells 12v AGM deep cycle batteries. These are attractive because they do not release gas when they are being charged and they can be mounted in any orientation. The thing that I am now trying to make my mind up about is unit size (AH) and thus weight/run time etc.

The batteries that are available at the shop are
100AH/10hr ($190 USD)
65AH/10hr ($124 USD)
40AH/10hr ($76 USD)

The 100AH battery is just too large and heavy for me to really consider for this project. Once the drivers, ply, battery, head unit and all the other gear gets stuck on the bike I still want to be able to ride it!

According the the manual for my 4 channel amplifier it says that with all channels being powered to their rated output there is a 48a current drain. Now it is unlikely that I would ever be thrashing this thing off the battery at full steam for very long (when it is parked at someones house party and plugged into the wall is another consideration all together :D ).

So i'm really just thinking about the 'sound on the go' component of this project (picnics by the river/lake, critical mass events, nude bike ride, protest events etc). So it would seem that at 1/2 power the battery would provide

40Ah = 1.6hrs
60AH = 2.5hrs.

I do realise that I could reduce significant weight, increase run time and output with the combination of a more efficient amp and more sensitive speakers- but the point of all this was to re-use existing components. If i do find I want more 'oohpf' my mate and I have some 2 way passive synergy horns that I can use instead of the little 6.5"s.

So at this stage it looks as though tomorrow morning i'll be heading out to buy a 65AH battery. Anyone with dissenting views?

Cheers,

Mark
 
The battery should only be drained at most to 50%, otherwise it won't last very long. I'd consider going for a 2 way mono setup with a tiny amp on a horn / CD combo paired with a good efficient bass unit run off a modest ~30w digital amp. (Basically use the smallest output amps you can get away with to ease the load on the battery)

A small solar panel may help to extend the time the system could be used.

Cheers,
Rob.

Edit: Just re-read your post and noticed the bit about using existing speakers so ignore me :D
 
Battery drain is a complicated subject, but here goes.

There's a few concepts to get your head around, and then I'll tie it all together with some equations that you'll be able to use to calculate battery sizes.

First up, peak-to-average ratios (aka duty cycle) and how they apply to music.
Peak-to-average ratios describe the ratio between the average power (which is related to how much is being pulled from your battery) and the peak power (which is when your amp clips).
Some examples:
- square waves have a 0dB peak-to-average. All of the signal is at the peak voltage.
- sine waves have a 3dB peak-to-average. If a 100w amplifier is just clipping, the speaker is receiving 50w of continuous power.
- pink noise has a 9dB peak-to-average. That's why PA amplifiers are often rated for power draw at 1/8th power - that's what they'll pull from the wall when they're just clipping pink noise into the rated load.

It's important to note here that the RMS power rating of a driver is found with a pink noise signal that's clipped to 6dB peak-to-average. So a 1000w rated driver will be at its thermal limits with a 1000w amp playing that pink noise, or a 500w amp playing sine waves, or a 250w amp playing square waves. The heating power for all of those is the same, but the peak voltages are different.

Now, someone high up in some organisation decided that pink noise driven just to clipping would be representative of real-world use. Generally speaking, it's not far off. However, we're on diyAudio and we're going to do things properly.
Here's an example piece of music (caution - NSFW lyrics from the start): https://www.youtube.com/watch?v=UnQY3swM4tA
I've chosen this because it's very very demanding of subwoofers. When the bass drops, it's a 36Hz compressed sine wave, so the peak to average ratio is less than 3dB below 100Hz. That's evil. The 1000w rated driver earlier would burn if a 500w amp was playing the LF signals from that track at clipping.
This has a knock-on effect for our power draw, which we'll look at soon.
Note that the mid-high range above 100Hz or so would have an nice easy time of things.

Here's a different example track: https://www.youtube.com/watch?v=h0ffIJ7ZO4U
There's not much bass content, and what is there is very peaky (kick drum). The mid-high range is pretty busy in comparison, though.

So, the music you're going to play will have a serious influence on what your battery life will be.
Lets work the examples. We'll take a 100w low-frequency amplifier, and a pair of 50w mid-high, and were going to run at clipping.
The dubstep track above will have around 50w average power from the LF amp (3dB peak-to-average), and probably more like 1w/ch average power (17dB peak-to-average, which is an educated guess) from the mid-high amps. Total average output around 52w.
The other track above will have much lower average power for the bass, but higher for the mid-high range. Lets say it's 10dB peak-to-average for both. The LF amp will be putting out 10w average power, and the HF amps will be doing 5w each. Total average power: 20w.

For most music, good working figure would be 10dB peak-to-average overall. If run-time is critical, bet on a 6dB peak-to-average overall, and you're likely to have some juice left.
If you're going to be playing dustep/EDM, bet on 3dB peak-to-average for the LF amp, and 10dB for the mid-highs.

Remember that speaker sensitivity comes into play - if you gain 3dB in sensitivity, you've halved your power requirements. That's a Very Good Thing. Battery size is usually proportional to the number of watt-hours it'll hold, so if you halve your power requirements, chances are you can cut the battery size in two.


Next up, amplifiers
There's two components to calculating an amplifier's power draw:
- idle draw
- converstion efficiency - how much power going in comes out the other end

This is a little complicated, since the conversion efficiency has the idle draw built-in, and also the efficiency of switch-mode amplifiers (which have a lot of advantages that make them perfect for battery systems. I'm just going to assume you're using one, because you should be) is not linear with output power.
At high power, switching amps will approach 90% efficiency. At lower power, that can go below 50%.
Now, while conversion efficiency ratings will have the idle draw built-in, I usually pretend it doesn't. It makes the calculations easier, resulting in a slightly bigger battery. No big deal. Otherwise, you've have to work out how long music is playing for, how long it's not, etc, resulting in lots of "bits" of equations that you'll have to string together with a stopwatch.

So, you'll need to either do some measurements on your head unit, or take some data from the datasheet.
I'd bet on 75% working efficiency on a class D amp, which is an average over the useful power region.

Power draw = idle power + (power output/efficiency)
You can convert between volts, amps, etc, later.

SPLs and power

As I alluded to earlier, 3dB is a doubling of amplifier power. If I have a speaker running on a 10w amp, and I change out to a 20w amp, I'll gain 3dB of volume, and also increase the draw from the battery according to the equation just above.
10dB is a factor of 10 in amplifier power. +10dB sounds twice as loud.
There's a little misinformation online regarding decibels, so here's the run-down:
1dB difference is noticable to most listeners.
3dB is obvious
6dB sounds half as loud again
10dB sounds twice as loud

SPL falls off at 6dB per doubling of distance, 20dB for a factor of 10. Most SPLs are calculated at 1m.

Portable speakers often use large PA speakers with tiny amplifiers and batteries. PA speakers often have high sensitivity, so require smaller power inputs for a given SPL.
For example, a 15" 95dB@1w speaker needs 10w to achieve 105dB. A 5" 85dB@1w HiFi speaker will need 100w. The PA speaker will be loafing along comfortably, while the smaller HiFi speaker might well be getting to the end of its rope.

Finally, batteries and electronics

There are lots of different sorts of batteries out there, but they all have something in common - they do not like to be shorted.
As soon as your battery arrives, connect a fuse holder to one side, and then insulate that terminal. Seriously, just do it.
I've seen a single C-cell NiCd battery go off, and it went off like a stun grenade. NiCd isn't particularly energy-dense, either. I wouldn't want to see anything lithium-based, or anything big and lead-acid go off.
Note that if you drop a spanner across a car battery, it will weld to the terminals and the spanner will burn you if you touch it. This isn't some hollow warning, this is serious. You're looking at major injuries if someone happens to drop something that connects the wrong terminals together and the battery explodes, so get a fuse on there and make sure the battery is protected.

Battery storage (in watt-hours) = operating voltage x rating in amp-hours.


Let's do some equations

I'm going to do the maths for an imaginary system so you can do your own maths on yours. I'll happily sanity-check your work, but I'm not going to do it for you. What I've written here should be enough to help you calculate your own system.

I'm going to work out how much power/speaker sensitivity I'll need for a given SPL target. If you've already got your speakers and amplifiers, you can skip ahead.

So, here's the run-down of numbers:
- Target: 90dB at 10m peak SPL from all bands
- I'm going to be playing dubstep and some chart stuff
- Amplifier idle draw will be 20w per channel (you need to measure yours).
- I've got a bluetooth module and some other input electronics that run up 10w total.
- I'm going to call the amplifier at 75% efficiency.
- I want to run at full power for 10 hours.

I can work out that 90dB at 10m means I need 110dB at 1m.
I fire up the simulation software, and find my subwoofer has a sensitivity of 87dB at 1w, so it needs 200w peak power to get there. The mid-high range have 93dB@1w each. You'll get some combining at the lower midrange, but if anything in the music is hard panned left or right, then all the power needs to be delivered to that speaker. Each one, therefore, will need 50w.
My music choice gives me a 3dB peak-to-average ratio in the bass, and I'm going to play it safe and say 6dB peak-to-average ratio for the rest of the range.

Note that all of these decisions lead to an over-built system. There are places you can compromise. It's up to you to work out where you can safely compromise.

So, we can work out the power draw for each range:
Bass: 20+(100/0.75) = 153w. The 100w is taken from the 200w peak power and the peak-to-average ratio.
Mid-high: 2x(20+(12.5/0.75)) = 73w.
Total amplfier power draw: 226w

Add in the 10w total for bluetooth, crossover, whatever, and you've got 236w draw when music is playing.

I'm going to run a 24v system, since the higher voltage often plays nicer with kit amplifiers (the higher rail voltage means they won't need voltage converters to get high power output). You could run 12v, but I want to run 24v.

So, 236w average draw on a 24v system. That's about 10A continuous. I want 10 hours of that, so that's a 100Ah battery. It's gonna be big!
As I mentioned earlier, though, there's a lot of over-building in there. This system I made up will definitely run for 10 hours of continuous dubstep at 90dB at 10m.

Now you can work out your system!

Chris
 
Amazing post Chris! Really nailed the issues down for me. I must say I was a little surprised when I saw the run times that I had calculated as I remember first hand using the sound system in my car at a bush doof at moderate levels and getting about 4 hours of run time before I needed to start the engine to charge the battery again- and that was a regular high draw car battery! I had not thought to delve into the issues around standardised amplifier ratings and how that might relate to the music genres the system would be playing.

Hopefully all your advice will not only help me but also be of use to some other sucker who stumbles on this thread while researching a hair briained 12v sound system project.

I must admit I am a bit of a bass head myself so your hypothetical calculation about battery size and SPL is hitting close to home :D.

My calculations pan out in much the same way as your hypothetical one does, about the same speaker sensitivities, amp draw and duty cycle expectations. However my output and longevity expectations are somewhat more modest. 100Db at 8m and about 3 hours or run time would suit me just fine.

It appears as though the 65AH battery will be sufficient for my needs in this regard. I'll head out in the morning and pick one up! (and immediately attach my fuse kit to it and insulate the terminals- safety first right!)

Down the track I could look at getting a more efficient amp, or drivers to deal with some deficiencies in the current gear I have to play with. I am also interested in looking at some rather nifty looking 50w 12v flexible solar panels that would fit on the top of the cargo tray quite nicely and help keep things ticking over on a pleasant day!

Mark
 
you will probably have to make a 50w class D amp to get 10 hours of play time.
2 * 50w RMS for left and right channels and 2 * 50w Bridged to give 200w for the Subwoofer
idle power would be around 1.5w per amp with 96% power going to the speakers at all power levels greater then 5 watts
2 15 AH batteries could do the job.
You will also need a 12v switching regulator to power the head unit (2 - 4 amp should work), or use 1 20 AH battery and 1 15AH
if you use the 12v regulator , you can charge the batteries in series with a 28 volt 2 amp power supply.

Now if you are really thinking outside the box,
get an Electric bike kit and add a second Lipo4 battery pack to it
getting to the gig is easier and the 40v 5 AH batteries can be recharged 2000 times
2 packs would allow 1 to help you get there and 1 to power the system. both packs charge off the LIPO4 battery charger
you would need 40 to 12v switching regulator and run the class d amps off of the 40 volt supply
3 lead acid = 36v charging = 14 * 3 = 42v which means they should charge off the LiPO4 pack charger
 
Last edited:
Ermmm. One word: Headphones
Locally there are some Moto/Cruiser morons who have outfitted their Contraptions with Multiple speakers .. 6 to 12.
They 'listen' to their sounds at 110 db usually.. riding their straight piped bikes at 20 miles an hour.
Net effect is a thundering exhaust..and 'muzak' loud enough to imitate a rock concert... rolling down streets.
Complete noise makers, clearly all done for Show.
Not everyone wants to hear YOUR muzak
 
@stocktrader200

I do like the idea of also adding an electric assist to this bike (as my partner who is a fair bit smaller and not as strong would also like to use it to go shopping/take it to the markets etc). The best kit i've seen is the 750W Bafang (or 8fun) mid drive motor kit. At this stage I don't want to sink a whole bunch of money into this project so it will have to be done down the track. For that reason too i'm going with the simpler and cheaper AGM battery and components that I already have and cost nothing.

@Bare

You don't seem to have read any of my previous posts on why I am building this. This bike will be rented out for a small fee to friends who want music at their house parties but don't have their own audio equipment. It will also be used for small sound reinforcement at grass roots community festivals, street protests etc. It is not the sort of thing i will be riding to work on a Tuesday morning at 7.30am blasting death metal....

Mark
 
@ Stocktrader200

Yep this bike is looking to get fairly hefty once the gear is all loaded up- your 100lbs guestimate is probably pretty close to what mine will end up being.

But one of the reasons I built a 2 wheel cargo bike instead of a trike is because of it's overall better handling and maneuverability (especially in traffic), ability to get up to speed, and riding feel (it actually lets you lean into corners). I know that I can fairly comfortably carry around my partner on the front of it (55kgs) so if i can keep it to 40-50kg I will be happy. My design is trying as much as possible to keep the weight low and centered. I'm using a mixture of 12 and 9mm ply and being strategic with my bracing etc.

Yesterday afternoon I was able to put together a prototype HF for some testing. Had a chance to listen to it last night and this morning. Impressed with it's extension when run full range, but it does start to run into excursion issues when I put more than 30W RMS through it. Once a sub is dealing with everything under 120Hz it should be able to take the 50W ok.

Mark
 

Attachments

  • thumb_IMG_1421_1024.jpg
    thumb_IMG_1421_1024.jpg
    459 KB · Views: 84
Well seemingly against all the advice here i've gone ahead and done it anyway. Got a draft of the final product up and firing this afternoon. Still need to wait on some little electronics (voltmeter, kill switch and usb charging ports) before I can do a final electronics install. Got to spend some time making new cables to make it all neat.

Got some more panels to install, clips to hold the 6.5s in place when riding, clips to hold the whole thing to the cargo tray, strapping for the battery and battery charger. Probably have to install some handles as it is a tricky one man job to get it on the cargo bike tray. Once that is done its time to un-install it all, putty, sand, prep and paint the sucker.

Got a video on youtube if people are interested to see/hear it in action.

https://www.youtube.com/watch?v=aKA7sgWz5xE

Mark
 
You don't want to use car audio gear.


Efficiency is very low; they're designed to deliver lots of bass in a small box.

If it were me, I'd build a front loaded horn.

I build bikes too.

All the equipment is, from what I can tell, to-hand and already paid for.

If it was a build from scratch, I'd be recommending PA drivers since they often pack a huge efficiency advantage. For now, it looks like we're working with what we've got.

Mark, that video sounded pretty good to me. I hope you enjoy your ride.

Chris
 
Hi folks

I'm looking to combine my two passions (audio and bike building) and would really appreciate some assistance. I've recently built my own bakefits style cargo dirt bike advisor, and now I would like to kit it out with a 12v sound system so I can take it to friends houses/the park and crank some tunes (both on the way and while we are at our destination).

I have some 12v components from an old Car sound system that I salvaged and would like to put to use. Namely a 12" pioneer car sub (TS-W308D4), some JL audio 6.5's (with tweeters), all run off a Sony Xplod 4 channel amp (XM-GTR4A). It is unlikely I will be able to find a suitable deep cycle battery where I am living (Laos) so will likely have to use a 2nd hand car battery. I already have a battery charging unit that I will include in the install so I can plug it into wall mains where possible (house parties).

My current thinking is that a simple slot ported sub tuned to the 35hz region would be a sufficient cornerstone for this application. That being said I have no experience with this style of sub!


We have a regular bakfiets, which we brought back to the United States after spending two years in Amsterdam. And on the flats, moving much faster than 10-12 mph necessitates a lot of watts. The key phrase here is "mostly flat." A shallow, quick climb (1/10 of a mile @ 3-4 percent) is a workout with two kids and all their belongings. On my daycare commute, hills that I never notice on my road bike seem to be walls. Since you're going so slowly uphill, each hill could take three times as long as a road bike. Since it goes up a nominally smaller rise, I opt for a slightly longer path.

If you live in a hot climate, getting the assist will encourage you to ride your bike throughout the summer. From June to September, it's almost difficult to pedal without being drenched in sweat in North Carolina.

We got ours secondhand from a neighbor, so we didn't have the choice of getting an assisted version. I did get a smaller chain ring to give me a lower gear and a cadence that wasn't 40 rpm to get up anything higher than 4%.