• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

PWM to constant DC voltage for fan control

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
22
1.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Egon.Net @Egon.Net
    last edited by 5 May 2021, 08:23

    @dc42 here are the results:

    2.1 Ohm ESR for Inductor, 7 Ohm ESR for capacitor, 100%PWM:
    65535HZ-100PWM-ESR.png

    It still overshoots, but less than before.

    Now, witha 100nF capacitor, 50% PWM:
    65535HZ-100PWM-ESR-100nF.png
    The overshoot is almost gone, but ripple increases.

    And finally without capacitor at all (same 50% PWM):
    65535HZ-100PWM-ESR-noCAP.png
    No transient, but lots of ripple.

    undefined undefined 2 Replies Last reply 5 May 2021, 09:19 Reply Quote 0
    • undefined
      dc42 administrators @Egon.Net
      last edited by 5 May 2021, 09:19

      @egon-net thanks, looks like 100nF might be a good value to use then.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        bananapuppy @Egon.Net
        last edited by 5 May 2021, 10:31

        @egon-net thanks for making these graphs, very useful to me! Does the voltage still overshoot to about 16V with 100% PWM, when using a 100nF capacitor?

        How about a capacitor somewhere between 100nF and 1ยตF? I.e. 0.47ยตF for instance, I figure that might be a nice middle ground for ripple with not too much of an overshoot ๐Ÿ˜„?

        undefined 1 Reply Last reply 5 May 2021, 10:47 Reply Quote 0
        • undefined
          Egon.Net @bananapuppy
          last edited by 5 May 2021, 10:47

          @bananapuppy you are welcome ๐Ÿ™‚
          With a 100nF capacitor the overshoot should be about 1.5V (13.5V max for 12V), and ripple about 1Vpp

          The bigger the cap, the bigger the overshoot.

          undefined undefined 2 Replies Last reply 5 May 2021, 11:12 Reply Quote 0
          • undefined
            dc42 administrators @Egon.Net
            last edited by 5 May 2021, 11:12

            A ripple of 1V p-p is unlikely to matter.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            undefined 1 Reply Last reply 5 May 2021, 11:17 Reply Quote 0
            • undefined
              Egon.Net @dc42
              last edited by 5 May 2021, 11:17

              @dc42 said in PWM to constant DC voltage for fan control:

              A ripple of 1V p-p is unlikely to matter.

              I agree.

              Is there any drawback for the Duet with the highest PWM frequencies (CPU/resource usage wise) besides a tiny bit more power consumed by the mosfet?

              undefined 1 Reply Last reply 5 May 2021, 12:52 Reply Quote 0
              • undefined
                bananapuppy @Egon.Net
                last edited by bananapuppy 5 May 2021, 11:52 5 May 2021, 11:48

                @egon-net @dc42 thanks! I recon the following should do for a capacitor then? A ceramic one, as electrolytic doesn't even seem available at 100nF, does that matter? There was mention of ESR with use of an electrolytic capacitor / being used in the simulation?

                SA105E104MARTB AVX

                undefined 1 Reply Last reply 5 May 2021, 12:30 Reply Quote 0
                • undefined
                  Egon.Net @bananapuppy
                  last edited by 5 May 2021, 12:30

                  @bananapuppy said in PWM to constant DC voltage for fan control:

                  SA105E104MARTB AVX

                  Ceramic is ok, but I'd try to get one with X5R or X7R dielectric. The one you picked has Z5U dielectric which is not that good.

                  undefined 1 Reply Last reply 5 May 2021, 12:50 Reply Quote 1
                  • undefined
                    bananapuppy @Egon.Net
                    last edited by 5 May 2021, 12:50

                    @egon-net no idea what that difference means (if someone can recommend me a good electronics course, please do ๐Ÿคฃ), but the following should be good then!? ๐Ÿ˜„

                    CM-100N-X7R SR PASSIVES

                    undefined 1 Reply Last reply 5 May 2021, 12:51 Reply Quote 0
                    • undefined
                      dc42 administrators @bananapuppy
                      last edited by 5 May 2021, 12:51

                      @bananapuppy said in PWM to constant DC voltage for fan control:

                      CM-100N-X7R

                      Yes, that's 100nF 100V X7R.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 1
                      • undefined
                        dc42 administrators @Egon.Net
                        last edited by 5 May 2021, 12:52

                        @egon-net said in PWM to constant DC voltage for fan control:

                        @dc42 said in PWM to constant DC voltage for fan control:

                        A ripple of 1V p-p is unlikely to matter.

                        I agree.

                        Is there any drawback for the Duet with the highest PWM frequencies (CPU/resource usage wise) besides a tiny bit more power consumed by the mosfet?

                        Just a little more heat dissipation in the mosfet, and perhaps slightly poorer resolution in the PWM setting.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                        undefined 1 Reply Last reply 5 May 2021, 13:13 Reply Quote 0
                        • undefined
                          Egon.Net @dc42
                          last edited by 5 May 2021, 13:13

                          @dc42 nice, thanks!

                          1 Reply Last reply Reply Quote 0
                          • undefined droftarts referenced this topic 23 May 2024, 14:18
                          20 out of 22
                          • First post
                            20/22
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA