Pulse proportional thermostat


Closed Thread
Results 1 to 7 of 7
  1. #1
    malc-c's Avatar
    malc-c Guest

    Default Pulse proportional thermostat

    Guys,

    I was thinking about designing and building my own thermostat for controlling the heaters in a bank of vivariums. Currently there are two manufactures who make a pulse proportional theremostat, but none who make dual / quad stats in one unit.

    They work by reading the temperature from a remote probe and comparing it with the value set on a control knob. Here is a description from one of the manufactures site
    The sequence of events are as follows: The temperature is set on the dial. The cage and heater are cold so the heater is on full power.As the temperature in the cage nears the set temperature the unit cuts the power down to pulses.The degree of pulse (i.e. the ammount of time the heater is on and the ammount of time it is off) is dependent on the cage temperature. In the early stages of approaching the set temperature the 'on' pulses will be long and the 'off' time will be short. In a correctly set up cage, as the desired temperature is neared, the 'on' pulses become shorter until the cycle levels at approximately 50% on and 50% off. In a cage where the heater is of the correct capacity, the cycle should remain at this point. The heater is only powered enough to maintain the temperature set. It does not have to continually start the heater from cold. This vastly improves heater element life and is far safer for the animals as the heater rarely, if ever, needs to run at full power.

    I would welcome suggestions on what chips to use, and what temperature sensors (DS180? or LM35) would be ideal. I have some 240 solid state relays I was intending to use to drive the heaters, so all I really need is to work out the reading of the temperature and the pulsing method, and then replicating this for 4 outputs. I would still like to use a pot to set the temperature, but it would be nice to have an 16 x 2 LCD or sets of 7 segment LEDs to display the current temperatures the probes are reading.

    Would welcome your suggestions, or if it's already been done, any links to similar projects
    Last edited by malc-c; - 6th December 2009 at 12:00.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default

    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Alain, thanks as always... 266 pages of excellent bed time reading

  4. #4
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Alain,

    The pdf is based on exercises using the basic stamp and discrete components for a to d conversion etc. Before I get my EasyPIC board out, what would be an ideal Microchip PIC to use ?

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Wink

    Hi, Malc

    relies on the sensors you use ...

    LM 35, 335 .... ( voltage output ) will need 4 ADC Inputs ... Obvious, eh ?

    DS 18x only need 4 Bidirectionnal I/Os ( Onewire "net" will lead to deal with DS IDs ... eh ! )

    Add a nice 16 or 20 X 4 LCD ... say 1 full port

    4 Pushbuttons or better a Keyboard ( looks more " pro " LOL ) 1 full port

    4 R/G status Leds ... or 8 leds ... 1 Full port


    let's "proto" aboard a 16F877A or 16F887 ... no soucy if a 28 pins is sufficient ( 876A or cheaper 886), and use of a faster or Bigger ROM ( if necessary ) 18F4520, 4620 or 2520/2620 will be easy ...

    GLCD aren't so good, generally, because of the PID loops - BUT here there's no hurry for calculations ... or driven with it's own serial Pic Driver.

    What about ???

    Alain
    Last edited by Acetronics2; - 6th December 2009 at 15:58.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Always use an 18F part if you aren't concerned about cents.
    Charles Linquist

  7. #7
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133


    Did you find this post helpful? Yes | No

    Post

    I use LM358 read from 0c to 1000c and thermocouple type k
    NumSamples CON 48
    'ADCIN EGTChannel, EGTSample '0 to 255 EGT sample
    EGT=0
    EGTSample=0
    For i = 0 TO NumSamples - 1
    ADCIN EGTChannel, EGTSample
    EGT = EGT + ((EGTSample * 255) / 60) 'The equation gives the actual Celcius reading
    Pause 5
    Next i 'Add it all into EGT.
    EGT = EGT / NumSamples 'Divide EGT by the Number of samples
    Last edited by jetpr; - 12th December 2009 at 02:03.
    My Hobbies is PicBasic PRO

Similar Threads

  1. 4 Channel Thermostat using PID loops
    By malc-c in forum Code Examples
    Replies: 36
    Last Post: - 18th March 2013, 10:17
  2. Pulse Capture and byte building
    By boroko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st July 2009, 01:59
  3. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  4. Replies: 3
    Last Post: - 13th September 2008, 17:40
  5. Pulse Frequency Multiplication
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st August 2005, 10:39

Members who have read this thread : 1

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