FireHero: Raspberry Pi Controlled Pyrotechnics

Fire Hero 3

To put on a live pyrotechnic show at a music festival, [Chris] built the FireHero 3. The result is remotely controlled flames shooting up to 100 feet in the air.

The system is controlled by a Raspberry Pi and an Arduino. A server runs on the Pi and allows a remote computer to control the system. The Pi sends commands over serial to the Arduino, which switches solid state relays that actuate the valves.

There’s also some built in safety features: the system won’t boot unless you have the right key and RFID tag, and there are pressure transducers and temperature sensors to ensure the system is operating safely. A CO2 actuated valve can quickly stop fuel flow in an emergency.

Vaporized propane creates the fireballs. The vapor is created by heating the supply tank in a hot water bath. An accumulation tank stores the vapor and custom built manifolds distribute it to the various flame cannons. At each cannon, a silicon nitride hot surface igniter (HSI) is used to ignite the flames once the valve is opened.

After the break, watch a video the the FireHero making some flames.

Comments

  1. jh says:

    FIRE!!! hehehehehe /Beavis

    nice setup.

  2. Brian says:

    wow.. It’s extremely cool. bravo.
    It’s just a shame that santa-dude does not move a bit more around.

    • n0lkk says:

      Santa is pretty damned old. Probably took all the effort he had available to keep standing, while playing the guitar. Yea for moment I was wondering if Santa was an animatronics creation myself.

  3. kd7gab says:

    Very bad ass. One of the first posts here that has compelled me to leave a comment.

    The response times of the effect are very impressive. Unfortunately, the build page is really light on how he’s processing the guitar’s input to determine which valves to fire. (Perhaps I just need to read his entire blog…)

    The attention to detail and multilevel automated safety/shutdowns definitely demands some praise. Generally speaking, I don’t get to see many hobby/enthusiast builds that even come close to this level of planning/execution. His implementation is certainly much more suited to use in a public venue than a lot of other nifty (and what should be inherently safer) builds I’ve seen.

    My only comment of note (suggestion, not a criticism) would be to include valves for each output on the manifolds as this would allow for quick reconfigurations. The current design demands plugs for any unused ports but with valves and leashed caps, with seals, changing the number of outputs would be far easier. Oh, and you wouldn’t need to depressurize the entire system just to add/remove one output. Obviously, this isn’t a flaw, just something that comes to mind when checking out this sweet build.

  4. Tyler says:

    Maybe I’m a crank, but I wouldn’t run a safety-critical system on anything that wasn’t an RTOS, and the idea of having an arduino board floating around in there too gives me a little bit of the heebie-jeebies!

    • kd7gab says:

      The Arduino is just a micro with a fancy boot loader. Enable the watchdog timer and use fail safe (normally closed) valves, etc and you’ll be fine. I’ve built out an engine break-in/test system with LabView and MSP430s. The key is to use interrupts to prioritize the safety control aspect over all else in the micro (and the rest of the apps, of course). Beyond this, he’s using regulators that should reduce the chance of a flame making its way into the main tanks (not 100% certain on this point) but I imagine one could find flashback arrestors specifically for propane… A Google search shows options for propane.

      It wouldn’t be too hard to setup a master cutoff with an RC filter that uses pulses from the Arduino to keep a line high and keep a valve open. You could also make use of discreet logic to listen for a dead man switch and a heartbeat from the Pi…

      As this is a system that is being interacted with and monitored, it’s not all that likely you’d see a catastrophic failure…

      • kd7gab says:

        *RTOS is always a shweet choice, of course.

        My whole point was that you have to balance the safety measures against the total (or partial) failure probability…

      • James Curry says:

        Just a quick point on the chance of flames flashing back into the tank…

        There isn’t one. To burn, you need between 2-10% propane to air by volume. The tanks are filled with something in the range of 99.9% propane. I’d be comfortable standing next to it with a spark-plug set up inside. There’s no way for it to combust, and hence there’s no need for a flashback arrester.

        Propane tank explosions do happen, but they are universally the result of a BLEVE, which happens when the tank gets too hot, too fast and the pressure release valve can’t keep up or the tank mechanically fails.

    • mstone says:

      An RTOS won’t do you any more good than an Arduino if a cable comes disconnected or the power fails. Mechanical systems at the point of danger, designed to fail in a safe condition, will always beat remote electronic controls. He mentions using those in the description.

      Personally, I wouldn’t trust a safety-critical system that *needs* an RTOS to be safe.

      • seanfalloy says:

        Well Put.
        I agree completely this system works and his fail safes are mentioned and documented as well as the rest of the project is.
        The main advantage of an RTOS is doing time critical scheduling and interrupts which as mentioned before the timing of the system and the response is impeccable.

    • mstone says:

      .. to follow up on that, a safe system is one that drops into a safe condition the instant anything unexpected happens. The electrical control system’s job is to lift that system out of the ‘known to be safe’ condition and into a ‘not as safe, but not causing any trouble at the moment’ condition.

      An RTOS might do a better job of keeping the system from dropping into safe mode unexpectedly, but the ‘safety’ part should always require layers of systems getting “it’s okay, keep going” signals before anything potentially unsafe can happen.

  5. Andrew says:

    I did RTFA. Why is the Arduino there? Why not use the Pi GPIO? Why is the Pi there? Why is there an Ethernet shield on the Arduino to query the system status? Why not query the Pi?

    • mstone says:

      Try reading the chunk under the photo of the control panel again.

      The control computer(s) talk to the Pi over regular Ethernet. The Pi runs a multithreaded server that sends commands to the Arduino at 1MHz serial.

      The Arduino controls the solid state relays that drive the effects. A separate computer uses the Arduino’s Ethernet connection to get information about the actual state of the hardware within the system.

      So what we’re looking at is separation of concerns between high-level “what effects do I want?” logic and low-level “how much current is running through relay N?” logic, with independent reporting at both levels.

    • mstone says:

      As for why he used that particular design, I’d guess it’s easier to control the effects by spawning a new thread for each cue that comes in.. timing, sequencing, which ports need to open and at which levels, when they need to close, all that stuff. It’s an interactive system, so the effects aren’t just preprogrammed, and trying to handle multiple randomly-arriving requests in a single thread is a bear.

      Moving the hardware-level control off to another system probably makes it easier to use things like hardware interrupts for things that would require the system to shut down. It may also be as simple as pin count.. the Mega has more I/O pins than a Pi.

      • NewCommentor1283 says:

        im guessing that,
        and maybe a memory leak somewhere in the system could affect values…
        or some other weird bug, with this setup, one CPU is running the show
        and the other is sending debug data BACK,
        when convienent, through a seperate channel

        the instant one glitches,
        the script on the desktop would catch the data mismatch and
        shut it down

        PS:
        “mmm more chips.”
        and
        “i want more!”

        • Andrew says:

          Ok, so I read it again, and I can only assume it’s because the Arduino has analog-input capability. I still wonder if the Pi can be removed. There is a control PC in the mix too, so why not have that PC send commands to Arduino via Ethernet?

          It used to be that projects on Hack a Day were not complete if they didn’t include an Arduino (no matter how simple). Are we entering a time when every project *must* have a Raspberry Pi? (Or a Raspberry Pi *and* an Arduino).

          • NewCommentor1283 says:

            okay noone said it so someone HAS to…

            (he had an extra raspi) … he wanted to know what baked vs fried ras.pi smells like

          • satovey says:

            The more a system has to do, the longer it takes for it to do those tasks.
            Just because someone coined the term “multi tasking” does not mean that computers actually “multi task”.

            They don’t.

            They just complete each subsequent task/instruction at such speeds that to humans, it looks as though they are completing more than one task/instruction at the same time.

            By deviating the duties of the overall system amongst different computers, he not only has a more responsive system, he has a safer system.

            One nice thing about this is that it shows how well the different open source systems can inter-operate without a whole lot of hassle.

            Scott

  6. M4CGYV3R says:

    “100ft jets of fire? What could POSSIBLY go wrong?”

  7. Steve says:

    that rocked…

  8. To set the fire for Christmas :))

  9. Rammstein has been doing this for years already :P

  10. dx says:

    Me WANT!!!! ANIMAL ANIMAL ANIMAL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 94,048 other followers