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
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog Final Update: Smarter Life Challenge:  Oven Control with PSOC 4
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: malamitra
  • Date Created: 22 Jan 2014 5:37 PM Date Created
  • Views 749 views
  • Likes 1 like
  • Comments 3 comments
  • psoc4
  • smarter_life_challenge
  • oven_control
  • smarter_life
Related
Recommended

Final Update: Smarter Life Challenge:  Oven Control with PSOC 4

malamitra
malamitra
22 Jan 2014

Now, I am writing the final update though I really do not want to write it at this stage. But somehow I have to do it by tonight. My internet service pack will be over by 12 midnight and I have to recharge. I may not have the facility tomorrow.

  • Objective of the project:

To control the oven parameters e.g. temperature, pressure with PID type of control. Selection of the parameter depends upon the availability of the sensor and ease of actuation. PID will be tried both in software and hardware.


As temperature sensors are easily available in the market temperature control will be tried. Control will be done at around 45 degree centigrade. One application is: Post-baking of photo resist in silicon processing. Many R&D labs do not have the auto-control facility. In this project, an automated, low-cost, low-power solution using PSOC4 will be provided.

  • What has been achieved so far?
  • Ø PID control has been implemented.
  • Ø The variables in the program have been studied with i2c and idac.
  • Ø Implementation of blinking LED while control takes place. LED goes off when the set-point temperature is achieved.
  • Ø Use of deep-sleep mode when the control is not needed.
  • Ø User interface for set-point temperature and heating supply on-off switch.

 

  • What is left?
  • Ø PID control in hardware using op-amps. This is not fully implemented as this does not give any advantage over software PID in terms of speed, cost, complexity, and power consumption. On-chip op-amps are with single supply. Implementation needs dual supply and at-least 3 op-amps. Combination of hardware and software requires frequent time consuming AD conversions. On the other hand PID program in ARM cortex is very fast and smooth.
  • Ø Control is done at a much lower temperature than the proposed 45 degree centigrade. Due to non-availability of heating coil an electric bulb was used. The environment could be heated only to a temperature close to ambient. Power saving is an important aspect as the whole system is battery operated. Battery operation was planned in the very beginning for safety and ease of demonstration. As different countries have different standards for line supplies the design of heating circuitry in India may or may not work in another country.

 

  • What will be done?

The circuit was implemented on bread-board. The PCB soldering work is to be completed. Then some results will be collected.

 

  • How does it look?

image

Two card-board boxes were used. With this drilling could be avoided. Please ignore the write-ups (except the texts in black) on the boxes. In yellow room such boxes are not allowed due to the high dust count. A metallic oven as shown in the picture below is required. But basic algorithm implementation remains the same.

image

  • PSOC4 features

Working with PSOC4 is really an amazing experience. It is so powerful and so many alternate paths are available for this implementation. Port connection is very user friendly as compared to other micro-controllers available in the market. Still I wish to have some more features in PSOC4 or a future version.

  • Ø More number of op-amps with the provision to give a negative supply.
  • Ø Availability of off-chip components. This will greatly reduce the power consumption, complexity, speed and cost of an application.
  • Ø Alternate net-list creation in the program. Presently, connection of the various components can be done only in the GUI. GUI was a big fun in the beginning. But I prefer to code for a complex circuit with too many connections. The other great advantage of net-list is: re-connection can be done while the program runs.

 

  • I acknowledge

I deeply acknowledge the organizers for their constant encouragement and support. Thanks a lot for providing me the PSOC kit. Because of this challenge I put my hands on PSOC4 and really loved the product. While working, I have got some interesting ideas. I shall be implementing those on PSOC4 / 3. I also want to thank PES Group of Institutions, the organization where I work, for providing me an encouraging environment to execute this work.

  • Sign in to reply
  • malamitra
    malamitra over 11 years ago in reply to Kilohercas

    Thanks a lot Linas, for your interest. I have got my internet recharge an hour back and writing a reply. I have attached a zipped file of the project here **. I wanted to check the project by programming the kit. But I kept the kit in my college. On Monday I'll check it. If this is a wrong file I'll let you know. The program takes a step profile given in the array tempdiff, applies PID scales tempdiff in the range 0 to FE. tempdiff=0 is scaled to 7F. In i2c debugger / the bridge control panel this value will be observed. The temperature control in all cases I studied was too fast. If in any case it gets slow the constant kpdi can be increased till oscillation starts. If 3 consecutive control vectors are of opposite sign it is considered as oscillation. In this program a delay is introduced deliberately to check the data in different  iterations. To check the speed this delay should be removed. If you have any difficulty please let me know.

     

    **I tried to attach the zipped file but I could not do it in the comment. I am writing another blog with the zipped file.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Kilohercas
    Kilohercas over 11 years ago

    Can you show PID code and how it reacts to step function ?
    Soon i will be making PID for my solder reflow oven, and i have many concerns about fast response to step function with minimal overshoot and oscillations as well

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 11 years ago

    Hi Mala,

     

    You did a good job on the update.

    I hope you continue to provide some blog updates as you finish the project and put it to use.

     

    DAB

    • Cancel
    • Vote Up 0 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