4 Channel Thermostat using PID loops


Results 1 to 37 of 37

Threaded View

  1. #9
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default

    Hi Malcolm,
    I don't think Denis is missing anything. What you are doing is some form of PWM, probably at a reasonably low frequency. 100% means the output is on all the time 0% means it's off all the time. At 50% it's on half of the time and off for the other half.

    The question Denis is asking is how long in terms of milliseconds, seconds, hours or days is one period of this PWM signal.

    On slow responding systems or "loads" like your heater for example one period can be long, like several seconds or even longer while on fast responding systems like regulating the current thru a motor or whatever the period needs to be MUCH shorter.

    A 50% duty cycle or output means the output is on 50% of the time but in the first case, with the heater, it means it's on for 5 seconds and off for 5 seconds while in the later case with the motor it means it's on 5us and off for 5us. Still 50% in both cases but in the first the period is 10 seconds, in the later the period is 10us.


    Really it's all a matter of how much "jitter" you can live with on the resulting response from whatever it is you're driving. There's usually no need to use 20kHz PWM if regulating the temperature in an oven where applying "100% power" for one minute will result in a temperature rise of 0.5° - as an example.

    Sorry for the long winded response.

    /Henrik.
    Last edited by HenrikOlsson; - 20th May 2010 at 19:27.

Similar Threads

  1. Simple 4 channel DMX controller
    By eggman in forum Code Examples
    Replies: 19
    Last Post: - 18th July 2012, 01:40
  2. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  3. 4 pin 4 x 4 keypad interface using pic basic pro
    By dunlao_john in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th January 2009, 05:21
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Real Time Clock & Eeprom
    By smart_storm in forum General
    Replies: 8
    Last Post: - 17th February 2006, 19:03

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts