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
Power & Energy
  • Technologies
  • More
Power & Energy
Forum Digital Current/Voltage Control
  • Blog
  • Forum
  • Quiz
  • Documents
  • Polls
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 13 replies
  • Subscribers 288 subscribers
  • Views 1577 views
  • Users 0 members are here
  • power
Related

Digital Current/Voltage Control

kas.lewis
kas.lewis over 10 years ago

I am looking to control the current/voltage to a device using a microcontroller. The essence of what I am trying to do is control a TEC so that a block of copper/aluminum is kept at an approximately stable temperature. To do this I would like to use a microcontroller running some form of feedback loop that is reading data from a temperature sensor or two and based on that controlling the TEC. I am still looking whether it is the voltage or current that controls the TEC temperature differential but I thought I would get a head start with trying to answer this question which really should not be so hard since I'm sure I have learned this stuff at one point. Anyways thanks for the help in advance.

 

Kas

  • Sign in to reply
  • Cancel

Top Replies

  • jw0752
    jw0752 over 10 years ago in reply to kas.lewis +2
    Hi Kas, Shabaz has done a good job of covering the bases. Also PWM is built into the Arduino and I suspect the other boards as well so it is an easy choice. Using it to control your FET will put the power…
  • jw0752
    jw0752 over 10 years ago +1
    Hi Kas, I just took a Peltier and slowly increased the voltage across the junction. As I raised the voltage the current followed in a fairly linear fashion. Of course as the voltage and current got higher…
  • shabaz
    shabaz over 10 years ago +1
    Hi Kas! I think John is saying that although you could measure current and try to adjust the voltage so that the current through the peltier can be adjusted, it appears to be linearly related to the voltage…
Parents
  • jw0752
    jw0752 over 10 years ago

    Hi Kas, I just took a Peltier and slowly increased the voltage across the junction. As I raised the voltage the current followed in a fairly linear fashion. Of course as the voltage and current got higher the temperature gradient from one side to the other increased. The answer to your first question is that the voltage will dictate the current. Depending on the precision that you need you can choose the appropriate temp sensors and link them to the microcontroller and then use the PWM output of the microcontroller to drive a FET or similar device that in turn supplies power to the TEC. My Peltier which is only about 2 square inches takes 2 amps at 6 volts so you will want to size and heat sink the driver FET to handle the amount of power you will be switching. You will also have to heat sink the backside of the Peltier if you want to make the most efficient use of it.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • kas.lewis
    kas.lewis over 10 years ago in reply to jw0752

    Hello John,

     

    If I may ask why do you suggest using a PWM to drive the FET and inturn the TEC as opposed to using some form of regulating transistor that you could increase the gate voltage to increase the power to the TEC, I'm guessing that would be current control which is not what you really want ? Asking more to learn and better understand your thinking here.

     

    Thanks

    Kas

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jw0752
    jw0752 over 10 years ago in reply to kas.lewis

    Hi Kas, Shabaz has done a good job of covering the bases. Also PWM is built into the Arduino and I suspect the other boards as well so it is an easy choice. Using it to control your FET will put the power accross the peltier and minimize the power loss accross the FET. The PWM makes the FET act like a switch that is being turned on and off to provide an average amount of power to the load. You vary the power by leaving the switch on for longer or shorter periods of time. The other option is as you mentioned to use the FET or Transistor as a variable resistor. The problem with this is you will then have a much greater IR drop accross the FET which will produce heat the will have to be sunk and disposed of. If you use a logic level FET you could drive it directly off the Microcontroller which would also simplify the circuitry. There will be several variables in how you approach the design depending on how closely you want to regulate the temperature of the metal. Sounds like a fun project.

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • msrinivasan19995
    msrinivasan19995 over 8 years ago in reply to jw0752

    I want to learn about all the 3 possible types of switching. Is there any tutorial or any notes to understand the 3 different types (pwm, variable resistor,logic level) and compare them.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jw0752
    jw0752 over 8 years ago in reply to msrinivasan19995

    Hi Srinnivasan,

     

    Your question takes us to the foundations of electronics. Switching is basically just turning electricity on and off. This is used of course in logic as the "on" state is usually interpreted as a ONE or logic "True" and the off state is interpreted as a ZERO or a logic "False". For Pulse Width Modulation we are delivering power to a load by turning the power on and off. If the power is turned on half the time and off half the time we effectively are delivering only 1/2 of the total power to the load. The linear method of controlling power to a load does not involve switching but rather using resistance to steal some of the potential power from the load. This stolen power, in the form of heat, however has to be removed and dissipated. If you are interested in learning more and doing some research on these and other electronic subjects here is a blog that I wrote a while back and several others from the forum have contributed to that gives some suggestions on where to start.

     

    https://www.element14.com/community/people/jw0752/blog/2015/11/04/i-want-to-do-electronics-where-do-i-start

     

    Of course you can always Google the specific subjects and explore what pops up. If you have some specific questions you have the discussion/ question posting on the e14 forum where someone usually will answer you if they understand your question. It is best to always take the time to do a good job framing your question and providing adequate background information.

     

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • jw0752
    jw0752 over 8 years ago in reply to msrinivasan19995

    Hi Srinnivasan,

     

    Your question takes us to the foundations of electronics. Switching is basically just turning electricity on and off. This is used of course in logic as the "on" state is usually interpreted as a ONE or logic "True" and the off state is interpreted as a ZERO or a logic "False". For Pulse Width Modulation we are delivering power to a load by turning the power on and off. If the power is turned on half the time and off half the time we effectively are delivering only 1/2 of the total power to the load. The linear method of controlling power to a load does not involve switching but rather using resistance to steal some of the potential power from the load. This stolen power, in the form of heat, however has to be removed and dissipated. If you are interested in learning more and doing some research on these and other electronic subjects here is a blog that I wrote a while back and several others from the forum have contributed to that gives some suggestions on where to start.

     

    https://www.element14.com/community/people/jw0752/blog/2015/11/04/i-want-to-do-electronics-where-do-i-start

     

    Of course you can always Google the specific subjects and explore what pops up. If you have some specific questions you have the discussion/ question posting on the e14 forum where someone usually will answer you if they understand your question. It is best to always take the time to do a good job framing your question and providing adequate background information.

     

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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