MK5 + relay board = so noisy

39 views
Skip to first unread message

Marty McGuire

unread,
Aug 27, 2010, 7:59:22 PM8/27/10
to make...@googlegroups.com
Hi again all,

I just got my MK5 working with the relay board, and it is noisy as all
hell. The relay buzzes and sings whenever the extruder controller
tries to PWM the board at a value that isn't 0 or 255.

Is there a fix to make the firmware stop PWMing the relay board?
Ideally there is a quick setting like a PID parameter (best because it
is easy), or a firmware Configuration.h flag.

Thanks,
Marty

Jordan Miller

unread,
Aug 27, 2010, 10:41:19 PM8/27/10
to make...@googlegroups.com
wait, i thought the extruder controller doesn't PWM the board, it just does on/off. PWM is only for the motor H-bridges. When you use relay board to drive the heater, it is on or off, and it cycles the frequency (clickety-clack rate), not the amplitude. right?

jordan

> --
> You received this message because you are subscribed to the Google Groups "MakerBot Operators" group.
> To post to this group, send email to make...@googlegroups.com.
> To unsubscribe from this group, send email to makerbot+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/makerbot?hl=en.
>

Marty McGuire

unread,
Aug 27, 2010, 10:52:50 PM8/27/10
to make...@googlegroups.com
In another thread, beak90 pointed out that the extruder controller
does control the heater through PWM:

http://groups.google.com/group/makerbot/browse_thread/thread/5e7082a84f3dd156/dbdf4aecdd3923f0?#dbdf4aecdd3923f0

PWM (pulse-width modulation) is a kind of frequency modulation. At a
PWM of 0, the relay is off. At a PWM of 255, the relay is on. For
values close to 255, the relay just counts them as "close enough" to
on. As the PWM drops to zero, the relay attempts to keep up with the
changes in the signal, resulting in a "whining", "singing", or
"buzzing", depending on how low the PWM value is.

The heated build platform is not controlled by PWM, so it should be
possible to drive the extruder heater similarly.

Thanks,
Marty

M.Rule

unread,
Aug 28, 2010, 12:19:08 AM8/28/10
to make...@googlegroups.com
I really can't believe that MakerBot intended to run the relay boards
with PWM. This is not the sort of operation relays are spec'd for. I'm
not an electrical engineer, but it seems to me that the only two
reasonable things to do might be to disable PWM in the firmware or use
a solid state relay.

are H bridges the same thing as solid state relays ?

tmo

unread,
Aug 28, 2010, 12:37:02 AM8/28/10
to MakerBot Operators
that thing is going to wear out fast



On Aug 27, 10:19 pm, "M.Rule" <mrule7...@gmail.com> wrote:
> I really can't believe that MakerBot intended to run the relay boards
> with PWM. This is not the sort of operation relays are spec'd for. I'm
> not an electrical engineer, but it seems to me that the only two
> reasonable things to do might be to disable PWM in the firmware or use
> a solid state relay.
>
> are H bridges the same thing as solid state relays ?
>
> On Fri, Aug 27, 2010 at 10:52 PM, Marty McGuire <schmartiss...@gmail.com> wrote:
> > In another thread, beak90 pointed out that the extruder controller
> > does control the heater through PWM:
>
> >http://groups.google.com/group/makerbot/browse_thread/thread/5e7082a8...
>
> > PWM (pulse-width modulation) is a kind of frequency modulation.  At a
> > PWM of 0, the relay is off.  At a PWM of 255, the relay is on.  For
> > values close to 255, the relay just counts them as "close enough" to
> > on.  As the PWM drops to zero, the relay attempts to keep up with the
> > changes in the signal, resulting in a "whining", "singing", or
> > "buzzing", depending on how low the PWM value is.
>
> > The heated build platform is not controlled by PWM, so it should be
> > possible to drive the extruder heater similarly.
>
> > Thanks,
> > Marty
>
> > On Fri, Aug 27, 2010 at 10:41 PM, Jordan Miller <jrdn...@gmail.com> wrote:
> >> wait, i thought the extruder controller doesn't PWM the board, it just does on/off. PWM is only for the motor H-bridges. When you use relay board to drive the heater, it is on or off, and it cycles the frequency (clickety-clack rate), not the amplitude. right?
>
> >> jordan
>
> >> On Aug 27, 2010, at 7:59 PM, Marty McGuire wrote:
>
> >>> Hi again all,
>
> >>> I just got my MK5 working with the relay board, and it is noisy as all
> >>> hell.  The relay buzzes and sings whenever the extruder controller
> >>> tries to PWM the board at a value that isn't 0 or 255.
>
> >>> Is there a fix to make the firmware stop PWMing the relay board?
> >>> Ideally there is a quick setting like a PID parameter (best because it
> >>> is easy), or a firmware Configuration.h flag.
>
> >>> Thanks,
> >>> Marty
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups "MakerBot Operators" group.
> >>> To post to this group, send email to make...@googlegroups.com.
> >>> To unsubscribe from this group, send email to makerbot+u...@googlegroups.com.
> >>> For more options, visit this group athttp://groups.google.com/group/makerbot?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups "MakerBot Operators" group.
> >> To post to this group, send email to make...@googlegroups.com.
> >> To unsubscribe from this group, send email to makerbot+u...@googlegroups.com.
> >> For more options, visit this group athttp://groups.google.com/group/makerbot?hl=en.

Marty McGuire

unread,
Aug 28, 2010, 8:48:02 AM8/28/10
to make...@googlegroups.com
Yeah, it's not sustainable to run the relay board like that.

So I'm wondering how other folks who have the MK5 working are running it?

Thanks,
Marty

Jordan Miller

unread,
Aug 28, 2010, 10:23:02 AM8/28/10
to make...@googlegroups.com
can you post a pic of your temp curves from repG? Is it really fluctuating a lot? I have run an extruder and HBP from the relay board and it's nowhere near as loud as I thought it might be.

is your mk5 well heat-insulated? that should decrease the temp fluctuations and the wear on the relay board.

jordan

Rob Giseburt

unread,
Aug 28, 2010, 10:31:29 AM8/28/10
to make...@googlegroups.com
Is there an SSR with the same pinout and footprint?

-Rob

Marty McGuire

unread,
Aug 28, 2010, 10:42:11 AM8/28/10
to make...@googlegroups.com
The room air is still and I insulated the MK5 with the ceramic tape
and the "thermal cape".

Picture: http://static.camura.com/media/images/o/ea0b295633abd7a1ec7da87b06da4753.jpg

The temp swings by more than +/-10 degrees over the course of a couple
of minutes.

Here's a pic of the temp curve in RepG:

http://static.creatingwithcode.com.s3.amazonaws.com/mk5_temp_swings-2010-08-28.png

Is anybody successfully running an MK5 from a relay board? If so, can
you share your experiences? :)

Thanks,
Marty

Nathan Hilderman

unread,
Aug 28, 2010, 10:45:31 AM8/28/10
to make...@googlegroups.com
An H Bridge is a transistor configuration to drive motors forwards and
backwards. Not related to solid state relay. I think a pair of good
FETs (IRF540) with heat sinks is the way to go.

Nate True

unread,
Aug 28, 2010, 11:50:13 AM8/28/10
to MakerBot Operators
I'm running an MK5 with the relay board, and it does turn on and off,
say once a minute. The PWM my extruder uses either has the relay on
or off (and makes an annoying high-pitched noise pretty often). I
expect this to wear out the relay pretty quickly so I want to switch
to an external MOSFET board here pretty quick, which I plan to build.
My biggest fear with the relay board is the relay will fail in the
closed position, causing the heaters to run out of control and turn my
Makerbot into a sentient killing robot like on Transformers, which I
would prefer not to happen.

I expect a future extruder controller update will add an option to
shut off the PWM for those of us without sentient killing Makerbots.

One thing that always bothered me about that movie was that machines
brought to life with the All-Spark(tm) were by default evil angry
killing robots with guns, not compassionate robots like the auto-bots.
What's with that?

On Aug 28, 7:42 am, Marty McGuire <schmartiss...@gmail.com> wrote:
> The room air is still and I insulated the MK5 with the ceramic tape
> and the "thermal cape".
>
> Picture:http://static.camura.com/media/images/o/ea0b295633abd7a1ec7da87b06da4...
>
> The temp swings by more than +/-10 degrees over the course of a couple
> of minutes.
>
> Here's a pic of the temp curve in RepG:
>
> http://static.creatingwithcode.com.s3.amazonaws.com/mk5_temp_swings-2...
>
> Is anybody successfully running an MK5 from a relay board?  If so, can
> you share your experiences? :)
>
> Thanks,
> Marty
>
>
>
>
>
>
>
> On Sat, Aug 28, 2010 at 10:23 AM, Jordan Miller <jrdn...@gmail.com> wrote:
> > can you post a pic of your temp curves from repG? Is it really fluctuating a lot? I have run an extruder and HBP from the relay board and it's nowhere near as loud as I thought it might be.
>
> > is your mk5 well heat-insulated? that should decrease the temp fluctuations and the wear on the relay board.
>
> > jordan
>
> > On Aug 28, 2010, at 5:48 AM, Marty McGuire <schmartiss...@gmail.com> wrote:
>
> >> Yeah, it's not sustainable to run the relay board like that.
>
> >> So I'm wondering how other folks who have the MK5 working are running it?
>
> >> Thanks,
> >> Marty
>

M.Rule

unread,
Aug 28, 2010, 12:14:23 PM8/28/10
to make...@googlegroups.com
MakerBot needs to release a firmware patch for anyone using the relay
boards if the system is actually trying to PWM the relays. This is
kind of a really .. really .. obvious design failure. Apart for
killing the relays, its also going to introduce tonnes of
interference, I wouldn't be surprised if this worsens the interference
problems. Again, not trying to be unkind to MakerBot, but I think
there is absolutely no excuse for this design flaw. Don't they have
any electrical engineers on the premises to say "wait a minute, thats
an really obviously awful design, either make this software fix such
that it doesn't PWM, or use solid state components"? I'm pretty sure
the community was asking about this exact problem before the relay
board was released, and MakerBot said something like "no, its fine, we
swear". Well, however people are hooking in the relay boards now is
clearly not fine if PWM signals are being sent to mechanical relays.

beak90

unread,
Aug 28, 2010, 1:11:54 PM8/28/10
to MakerBot Operators
You can switch to bang bang control which I'm gonna assume is
controlled without PWM. Its somewhere in configuration.h. You'll have
to recompile the firmware though.

On Aug 28, 9:14 am, "M.Rule" <mrule7...@gmail.com> wrote:
> MakerBot needs to release a firmware patch for anyone using the relay
> boards if the system is actually trying to PWM the relays. This is
> kind of a really .. really .. obvious design failure. Apart for
> killing the relays, its also going to introduce tonnes of
> interference, I wouldn't be surprised if this worsens the interference
> problems. Again, not trying to be unkind to MakerBot, but I think
> there is absolutely no excuse for this design flaw. Don't they have
> any electrical engineers on the premises to say "wait a minute, thats
> an really obviously awful design, either make this software fix such
> that it doesn't PWM, or use solid state components"? I'm pretty sure
> the community was asking about this exact problem before the relay
> board was released, and MakerBot said something like "no, its fine, we
> swear". Well, however people are hooking in the relay boards now is
> clearly not fine if PWM signals are being sent to mechanical relays.
>

Mark Cohen

unread,
Aug 28, 2010, 6:11:16 PM8/28/10
to make...@googlegroups.com
They said they used it for hundreds of hours with no issue. If the relay
board lasts a year, I think I've got my money's worth. I think I would use
the new one when I get it for a few hundred hours also before I would be
able to say if there is a problem or not and I do not recall them saying it
was quiet.

Mark Cohen

unread,
Aug 28, 2010, 6:16:36 PM8/28/10
to make...@googlegroups.com
I do not think it is a good idea to leave the machine unattended for a long
time. Aside from your thoughts on the relay failing closed, there are so
many other things that can go wrong.

-----Original Message-----
From: make...@googlegroups.com [mailto:make...@googlegroups.com] On Behalf

Brendan

unread,
Aug 29, 2010, 4:53:11 PM8/29/10
to MakerBot Operators
I'm confused. I just got the MK5 working using the relay board and do
not experience the noise. It clicks when it goes on and off but not a
constant clicking. I do have significant (about +5/-13) temp swings
and am futzing with PID settings to little avail. I've got the HBP
also. It took some time to get them working together but they do now.

MB firmware: 2.1
Extruder firmware: 2.3

Don't think it matters but:
B- (ground) and B+ (hot) outputs from Extruder controller to A- and A+
inputs on relay. A outputs on relay to MK5.
A- (ground) and A+ (hot) outputs from Extruder controller to B inputs
on relay and they output to the HBP.

I mention these because I tried different combinations of inputs/
outputs before it worked. Suspect it was just poor physical
connections since it shouldn't matter but, above is what finally
worked.

Joheinz

unread,
Sep 7, 2010, 4:11:14 AM9/7/10
to makerbot
I just wanted to share some good experiences. Yesterday I assembled my
HBP and the relay board, and though I am currently doing some other
maintenance work, I did not experience any of the problems mentioned
in this thread so far.

When I turn the HBP on, it heats up pretty fast (to e.g. 110 degrees),
swings a bit around +/- 3 degrees and then stabilizes and really keeps
a constant temperature of 110 degrees with the occassional flicking of
the relay. If it stays like this I would not be very worried about the
use of a relay instead of MOSFETS and if I really do not have anything
else to do, I would exchance the 1N4001 quenching diodes as they are
pretty slow and quenching diodes need to be fast. But I guess this
would be electronic cosmetics.

Markus


2010/8/29 Brendan <bre...@whatsnewla.com>:

> --
> You received this message because you are subscribed to the Google Groups "MakerBot Operators" group.
> To post to this group, send email to make...@googlegroups.com.
> To unsubscribe from this group, send email to makerbot+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/makerbot?hl=en.
>
>

--
http://justjoheinz.posterous.com/
http://softwarepoets.org
http://twitter.com/joheinz

M.Rule

unread,
Sep 7, 2010, 8:55:03 AM9/7/10
to make...@googlegroups.com
The HBP uses a different model to regulate the temperature than the extruder ( it seems ). I have never heard whining from a relay driving a HBP and I assume it does not use PWM to try to continuously vary the power to the plate. The relays are bad design only for the extruder, and only for the temperature regulating model that tries to use PWM. So, yes, the relays work fine for the HBP, but a firmware patch is required to use them within spec for the Mk5. However, I think I saw a software patch for this floating around the forums ? so maybe its been fixed ?

Marty McGuire

unread,
Sep 7, 2010, 9:51:49 AM9/7/10
to make...@googlegroups.com
Sorry, I forgot to update this thread. This problem has been fixed
with the latest version of the G3Firmware on Github, so it must be
compiled from source.

Basically, when driving a heater through the relay board, the software
should be using plain on/off controls. The code to run the HBP was
written with this in mind, but the extruder software expected to be
able to use "analog" values of heating, rather than on/off.

Adam added a quick fix to the extruder heating code to allow it to
work with on/off control, if you compile from source with a
"relays=true" flag.

You can check out the firmware source using Git:

$ git clone git://github.com/makerbot/G3Firmware.git

There is discussion about how to compile and upload the firmware, and
on how to tweak your PID (temperature matching) parameters in the rest
of the thread:
http://groups.google.com/group/makerbot/browse_thread/thread/cbc2887983fca9b/c7fc71116fbb38df?q=mk5+pid&lnk=nl&

Thanks,
Marty

vex

unread,
Oct 16, 2010, 8:42:33 PM10/16/10
to MakerBot Operators
Wow, these relays are definitely not "living room quiet", let alone
dorm room quiet... Anyone have success with hacking together external
power MOSFETS or SSRs? Or some kind of insulation (high frequency =
small/easy)?.

Rob Giseburt

unread,
Oct 16, 2010, 10:05:54 PM10/16/10
to make...@googlegroups.com
Are you using the relay firmware? It makes it way quieter ... just a
click here and there, like a pen, versus a nasty buzzing and clacking
with the wrong firmware.

-Rob

Jordan Miller

unread,
Oct 16, 2010, 11:14:48 PM10/16/10
to make...@googlegroups.com
Rick at makergear has a silent high current MOSFET board... Ri...@makergear.com

jordan

Reply all
Reply to author
Forward
0 new messages