element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
John Wiltrout's Blog Incorporating a PWM Control Module into a New Test Device
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jw0752
  • Date Created: 26 Jun 2019 2:34 AM Date Created
  • Views 2414 views
  • Likes 12 likes
  • Comments 23 comments
  • test_equipment
  • pwm
  • power_supply
Related
Recommended

Incorporating a PWM Control Module into a New Test Device

jw0752
jw0752
26 Jun 2019

Several weeks ago I purchased a couple of Modules that were advertised as able to provide 1 Hz to 150 kHz signal with a 0% to 100% duty cycle control.

 

image

 

The modules were able to be powered with 3 volts to 30 volts and would output a signal of this same magnitude. The output was rated at 5mA to 30mA depending on the supply voltage. The accuracy of the device at 2% for the Frequency and 1% for the Duty Cycle is acceptable for the type of experiments that I do in my lab.

 

I played with the modules for a while and then I didn’t think too much more of them until a couple days ago when I needed to run some experiments on a few servo motors. I found the module easy to work with and helpful in my experiment so I decided to see if I could design it into a new piece of lab equipment for the shop.

 

After some thought I decided to build a variable DC power supply very similar to the ones I have put together before. The power supply would provide the foundation for the new piece of equipment and the PWM module would provide new PWM features for special applications and the convenience of having the module hard mounted and powered.

 

I wanted to have the following outputs on the device:

 

  • DC 0 to 27 volts from the power supply

 

  • 5 volt signal output from the PWM module

 

  • A MOSFET controlled output that would link to the signal from the PWM module and allow a Load attached to the DC output of the power supply to be pulled to ground for a low impedance inverted output.

 

  • An earth ground / chassis ground terminal which is useful in some applications.

 

A block diagram of the proposed build was drawn out.

 

image

 

A schematic was also roughed out but rather than post the preliminary schematic, here is the finished schematic. I have put the power supply board, the volt amp meter, and the PWM module in as black boxes.

 

image

 

Fortunately I already had a suitable enclosure for the unit with a front panel that had been cut for a dual bench power supply. The meter hole in the front panel for the right side would need to be enlarged for the PWM module but otherwise only minor modifications would be needed to the front panel. Here is what the inside of the chassis looked like at the beginning of the build.

 

image

 

And here is the preliminary front panel from the back side:

 

image

 

When the unit was ready for testing I could not get the power supply to work properly. It seems I had switched the plugs for the voltage control and the current control. It was also noted that higher power output using the MOSFET caused the V/A meter’s screen to flash and not display the voltage of the DC output. A couple of 1000uF capacitors solved this problem. One was placed across the DC output and the other was put on the power supply to the meter module. When I wire a build I always plan for routing and cabling of the wire after the unit is tested and debugged.

 

image

 

Here are pictures of the finished unit:

 

 

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

image

 

image

 

image

 

Since my scope probe is between ground and the drain of the MOSFET the duty cycle is inverted. You can see the unit is showing 12.3 Volts at 50 Hz and 16.6% Duty cycle while the scope is telling us that we have 12.8 volts at 49.9 Hz and a calculated duty cycle of 16.9%. These numbers are in good agreement for the level of precision that I need. Sorry about the reflections on the oscilloscope screen. I am still too lazy to get a screen print and transfer it. Fortunately I usually work with my shirt on.

 

The simplicity of the overall project, the modules, and the fact that the case was all prepped made this build go very quickly with a start to finish time of two days.

 

I will be getting in some more servo motors for testing later this week and I am looking forward to giving the unit a proper test.

 

If you go looking for the PWM Modules on line be aware that they come in two versions. One version has a push button that allows the output to be turned on and off. The other version is a dollar or so cheaper but lacks this feature.

 

Thanks for reading my blog.

 

John

  • Sign in to reply

Top Comments

  • colporteur
    colporteur over 6 years ago in reply to jw0752 +6
    Is it acceptable to click 'Like' on a post about yourself? I'm not sure if that narcissistic or not...hummm. Thank you for the kind words. My writing is both a curse and a blessing, at times I'm not sure…
  • jw0752
    jw0752 over 6 years ago +6
    Since I have been having quite a bit of fun with this PWM Generator I decided to make a simpler version with just a 5 volt power supply and the module as well as output binding posts. This will give me…
  • colporteur
    colporteur over 6 years ago +5
    I loved the narrative! You start with an idea, it morphs into something else, that fulfills the learning goal and adds additional value. I have a few of those myself and guess what, they make great stories…
  • jw0752
    jw0752 over 6 years ago in reply to colporteur

    Hi Sean,

    Yes with all the cool ready made modules it is fun and relatively easy to put together some fun and useful devices. I look forward to seeing what you build.

     

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jw0752
    jw0752 over 6 years ago in reply to DAB

    Thanks DAB.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 6 years ago in reply to jw0752

    Slick man. Makes me want to go into the shop and build something.

    Sean

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 6 years ago in reply to jw0752

    Good build John.

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 6 years ago in reply to jw0752

    John,

     

    Nice update on your (now) portable PWM generator.  Nice idea to have a more portable solution for controlling servos, as you might need to do this somewhere other than the quiet confines of your lab.

     

    Thanks for more ideas!

    Gene

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube