Results 1 to 18 of 18

Thread: Phase controller - initial planning

  1. #1
    Xtreme Vmod mod
    Join Date
    Aug 2004
    Location
    Cornwall/Newcastle uni, UK
    Posts
    1,234

    Phase controller - initial planning

    I've been thinking about designing an open source phase controller for the community for a while, and I've finally got some time free to put a design together. All software, firmware and hardware designs will be publicly available.

    The purpose of this thread is to see if there's enough interest in the community for such as design, and to see if there are any specific features people would want before I spend too much time on a design. If there's enough interest, I might consider getting a batch of bare PCB's made up, and possibly a limited number of completed units.

    Some initial specs:

    4*20 character LCD
    USB interface with windows config/monitoring software
    Standalone operation with LCD/push button interface
    Evap, condensor, heat exchanger and ambient temp monitoring via K-type thermocouople or RTD.
    4 PWM fan control channels
    Programmable thresholds for shutdown under fault conditions, turning on compressors in multi-stage cascades and powering up the system.

    If there are any features people want to see in a phase controller, post them here. I'm aiming to start the hardware design at the beginning of next week if there is enough interest.

    - Tom.

  2. #2
    Xtreme Mentor
    Join Date
    Aug 2006
    Location
    Atlanta
    Posts
    3,286
    In my opinion phase controllers are a bad idea.


    - People would rather control the starting and stopping of the phase unit manually
    - They add cost to a unit which is already too expensive for most people
    - Many controllers are already in existence
    - They add additional complexity to the wiring
    - They are prone to short circuit
    - for cascades PID's are cheap and reliable
    Never empower an idiot with a response....

    http://en.wikipedia.org/wiki/Troll_%28Internet%29

    Seller/Buyer Reputation:
    Heatware: http://www.heatware.com/eval.php?id=50905
    Ebay: {Family Account} Kasyg3 http://myworld.ebay.com/kasyg3/
    Ebay: {My personal Account} Sdumper http://myworld.ebay.com/sdumper/
    iTrader: http://www.blazingpc.com/forum/itrader.php?u=28

  3. #3
    I am Xtreme
    Join Date
    Mar 2005
    Posts
    4,848
    I thinks it's a great opportunity to teach electronics to the community. I also think selling all the individual parts in a un-assembled kit would sell well. Since it's hard or expensive when you buy in single/small quantities. I think a lot of guys would love a kit with some building support.
    The Laws of Thermodynamics say:

    Zeroth Law: "You must play the game."
    First Law: "You can't win."
    Second Law: "You can't break even."
    Third Law: "You can't quit the game."

    Do you wanna Play Thermodynamics ???????? I forgot "you must"

  4. #4
    -100c Club Member
    Join Date
    Jul 2005
    Location
    England
    Posts
    1,422
    tom i would love to use one on my unit

    i have a ton of specs i would want on such a controller i will drop them in here or pm later
    1. The first rule of Bench Club is, you do not talk about Bench Club
    2. The second rule of Bench Club is, you do not talk about Bench Club
    3. If someone says stop, goes limp, taps out, the the benching is over
    4. No bummers in the batcave, apart from unkie dave
    5. One Bench at a time
    6. No air, no water
    7. Benching will go on as long as they have to
    8. If this is your first night at Bench Club, you have to Bench

  5. #5
    Xtreme Member
    Join Date
    Sep 2005
    Location
    UK
    Posts
    370
    I would welcome a design for a controller as well, along with a hardware source.
    I have a feeling that the reason we don't tend to use them much now, is because all the ones i have seen only work in Win XP.
    Open source code capable of running in Win7 64 would be a real bonus, configurable for Cascades would be good as well.
    DFI LP UT P35-T2R/E8600 @ 5.1ghz/Modded Mach2 GT
    EVGA Classified/i975 @ 5.04ghz/Custom built SS
    3x2gig G-Skill Perfect Storm
    Asus 5970
    2x150gig Velociraptors/250gig Caviar
    PCP&P Turbocool 1KW



  6. #6
    Xtreme Mentor
    Join Date
    Aug 2006
    Location
    Atlanta
    Posts
    3,286
    Wow I took the temperature on this idea wrong. I had no idea so many folks were still using these.
    Please disregard my earlier comments...
    Never empower an idiot with a response....

    http://en.wikipedia.org/wiki/Troll_%28Internet%29

    Seller/Buyer Reputation:
    Heatware: http://www.heatware.com/eval.php?id=50905
    Ebay: {Family Account} Kasyg3 http://myworld.ebay.com/kasyg3/
    Ebay: {My personal Account} Sdumper http://myworld.ebay.com/sdumper/
    iTrader: http://www.blazingpc.com/forum/itrader.php?u=28

  7. #7
    I am Xtreme
    Join Date
    Mar 2005
    Posts
    4,848
    Quote Originally Posted by sdumper View Post
    Wow I took the temperature on this idea wrong. I had no idea so many folks were still using these.
    Please disregard my earlier comments...
    I think many early custom models were poorly designed with even poorer customer support. While more work and cost,people are used to(and like) things running automatically.

    As most things today,they are a combination of mechanics run by electronics.

    I think for cascades that operate colder than -80c, a warm up mode,just to open a bypass solenoid every so often(programmable) to allow the evap to warm to-40c for a few min. as needed to allow any oil there to thaw and return.

    also a timer for total system run time,like a hobbs meter.......for feedback for builders.
    The Laws of Thermodynamics say:

    Zeroth Law: "You must play the game."
    First Law: "You can't win."
    Second Law: "You can't break even."
    Third Law: "You can't quit the game."

    Do you wanna Play Thermodynamics ???????? I forgot "you must"

  8. #8
    Xtreme Vmod mod
    Join Date
    Aug 2004
    Location
    Cornwall/Newcastle uni, UK
    Posts
    1,234
    Thanks for the feedback everyone - it looks like there's enough interest, so I've started on the design.

    I've attached some first drafts of circuit diagrams which I still need to check properly (i've already spotted a few mistakes), and then its on to PCB design. If anyone has any feature requests which might need some specific hardware, could you post them ASAP, since its much easier to add at this stage than editing netlists once I've exported the design to the PCB package.

    Here are some specs for the hardware. I've gone for a 2-PCB design to keep the high voltage/current switching away from the low voltage control side for safety.
    - Coldfire MCF5213 microcontroller (I refuse to use PIC's )
    - USB interface via FTDI USB-UART converter (programming USB stacks is evil )
    - 4 PWM fan channels with tach monitoring
    - 4 K-type thermocouple inputs
    - Ambient temp monitoring via RTD and 3 additional RTD channels (should be more accurate than a thermocouple with greater temperature range
    - 20x4 LDC with software variable contrast/backlight brightness
    - motherboard power-on via optocoupler once a programmable threshold has been reached
    - Control of up to 7 line-connected loads (compressors/solenoids/mains fans)

    The design will largely be surface mount to reduce size and make build time faster. With low cost equipment and a few hours practice, surface mount soldering isn't that difficult.

    - Tom.
    Attached Files Attached Files
    Last edited by persivore; 06-20-2010 at 04:49 AM.

  9. #9
    Xtreme Member
    Join Date
    Oct 2008
    Location
    NC
    Posts
    360
    How about an option to control the second stage comp slaved to the firsts stage HX temp?

    What price point are you looking at?
    Last edited by ultralo1; 06-20-2010 at 07:05 AM.

  10. #10
    Xtreme Member
    Join Date
    Dec 2007
    Posts
    132
    why you doesnt use a ATMEL AVR?

  11. #11
    Xtreme Vmod mod
    Join Date
    Aug 2004
    Location
    Cornwall/Newcastle uni, UK
    Posts
    1,234
    I'm going to put in programmable temperature thresholds to turn on multiple stages depending on HX temperature. Some basic hysteretic evap temp regulation would be possible, but I don't expect compressors will like constantly being turned on and off. Variable frequency/voltage control of compressors would probably work better to control rotor speed, but would make the design much more complex.

    As for the price - I would expect parts to cost around £50-£60 GBP.

    Quote Originally Posted by ultralo1 View Post
    How about an option to control the second stage comp slaved to the firsts stage HX temp?

    What price point are you looking at?
    The choice against an AVR is similar to my aversion to PIC's - I find that they're greatly over-rated, compared to other options in the same price area. PIC's and AVR's are great if you're relitively inexperienced, but there are much better options available which offer better performance (although processor speed isn't really critical in this sort of application). Some of the higher-end AVR's do compare similarly to the lower-end Coldfire microprocessors/controllers however.

    The Coldfire series is based on the 68k architecture, so they will run stripped down versions of Linux (although I won't be running Linux in this design), the development tools are good and the assembly language is high level enough to easily write efficient code for anything that is timing critical.

    There are some good open source JTAG/programming adapter designs available for the Coldfire too, which can be put together for a reasonably low cost (these do exist for PIC's and AVR's too).

    Quote Originally Posted by -EC-UnRockStar View Post
    why you doesnt use a ATMEL AVR?
    - Tom.

  12. #12
    Xtreme Cruncher
    Join Date
    Nov 2005
    Location
    Rhode Island
    Posts
    2,740
    PWM fan control would be awesome for many. Just throw some chunky fets in there that can handle probably 25-30 watts of fan a piece.

    Will you be using standard mechanical relays, or solid state relays?

    One more thing to consider is shielding, the old G-Froster controllers were plagued by interference problems. Perhaps your design won't? Will be worth testing though to be sure.
    Fold for XS!
    You know you want to

  13. #13
    Xtreme Addict
    Join Date
    Nov 2005
    Location
    Auckland, New Zealand
    Posts
    1,075
    I've made my own controller before. I designed it so it could be made on a single side PCB using SMT and non SMT components (so a reasonable soldering iron was enough).

    Here is what I found:


    - Dual layer boards are beyond peoples manufacturing capability
    - Open source is useless if your target user can't make the hardware. Expecting them to take a dual-layer board design to somebody to cut is a stretch.
    - Open source is useless unless your target can build the programming tools
    - Thermocouples are prohibitively expensive due to the CJC circuitry
    - Thermistors are cheap and work (albeit with more complicated software). But they are generally limited to -50C. i.e. only good for single stage controller.
    - 4x20 Blue backlit LCDs look great

    - Easier the assembly the more likely people will attempt it. (I designed mine with no throught hole, so no drilling required)


    Without quantity purchasing I can't see you getting the price-point you suggest given the SSR's, CJC's, Thermocouples, op-amps going into your circuit.

    You will also have to simply split the project into single stage or dual/multi stage controller. The specs are just to different.

  14. #14
    Xtreme Vmod mod
    Join Date
    Aug 2004
    Location
    Cornwall/Newcastle uni, UK
    Posts
    1,234
    I'll be using mechanical relays - They should cope better with abuse switching inductive loads. Thanks for the info about the interference problem - I'll add in some supression across the relay contacts to catch spikes when the load is switched and do plenty of testing before releasing a final version of the design.

    Quote Originally Posted by [XC] Lead Head View Post
    PWM fan control would be awesome for many. Just throw some chunky fets in there that can handle probably 25-30 watts of fan a piece.

    Will you be using standard mechanical relays, or solid state relays?

    One more thing to consider is shielding, the old G-Froster controllers were plagued by interference problems. Perhaps your design won't? Will be worth testing though to be sure.
    My initial prototypes will be on double sided PCB's made at home in the kitchen sink, so it shouldn't be too hard for people with a bit of electronics experience to produce their own PCB's - The hardest part I find is lining up the 2 sides properly. I'll do a run of profesionally made PCB's if there is enough interest for people that can't etch their own boards.

    Cold junction compensation will be done in software based on the absolute ambient temperature from an RTD/thermistor to convert the relative thermocouple temperature to an absolue at the sensing end. The RTD's I've been looking at have a temperature range of -200 to +600c and are typically cheaper than K-type thermocouples.

    After some consideration, I've decided to change the microcontroller to an ARM 7 based device. Most of these have internal hardware bootloaders programmable over UART/USB, so a dedicated programming cable won't be needed. Plus it means I don't have to write bootloader code to allow firmware updates .

    Quote Originally Posted by SexyMF View Post
    I've made my own controller before. I designed it so it could be made on a single side PCB using SMT and non SMT components (so a reasonable soldering iron was enough).

    Here is what I found:


    - Dual layer boards are beyond peoples manufacturing capability
    - Open source is useless if your target user can't make the hardware. Expecting them to take a dual-layer board design to somebody to cut is a stretch.
    - Open source is useless unless your target can build the programming tools
    - Thermocouples are prohibitively expensive due to the CJC circuitry
    - Thermistors are cheap and work (albeit with more complicated software). But they are generally limited to -50C. i.e. only good for single stage controller.
    - 4x20 Blue backlit LCDs look great

    - Easier the assembly the more likely people will attempt it. (I designed mine with no throught hole, so no drilling required)


    Without quantity purchasing I can't see you getting the price-point you suggest given the SSR's, CJC's, Thermocouples, op-amps going into your circuit.

    You will also have to simply split the project into single stage or dual/multi stage controller. The specs are just to different.
    - Tom.

  15. #15
    Xtreme Member
    Join Date
    Oct 2008
    Location
    NC
    Posts
    360
    Can you make it simple enough for me to use? I type with two fingers.

    I am interested but I am an electronics tech turned into a refer head, I had one semester of Q basic programming 20 years ago.

  16. #16
    Diablo 3! Who's Excited?
    Join Date
    May 2005
    Location
    Boulder, Colorado
    Posts
    9,412
    How difficult would it be for someone to swap in SSRs and program it to act like a PID? I'm looking for a fancier PID for my cascade I have modest high level language skills so I might be able to hack it up a bit myself. What language do you program the controller in? C with a special compiler?

  17. #17
    Xtreme Vmod mod
    Join Date
    Aug 2004
    Location
    Cornwall/Newcastle uni, UK
    Posts
    1,234
    If you can find SSR's in the same footprint as mechanical relays it will be as easy as just swapping the parts, otherwise it will mean a new PCB design for the relay/power board.

    Most of the control firmware will be written in C, with a bit of assembly for anything thats critical on timing. I've not decided on the compiler yet, but it will be something free. If you've got some experience of embedded system programming, it should be pretty simple to modify the code. Even with just some X86 C experience it shouldn't be too hard.

    Quote Originally Posted by [XC] gomeler View Post
    How difficult would it be for someone to swap in SSRs and program it to act like a PID? I'm looking for a fancier PID for my cascade I have modest high level language skills so I might be able to hack it up a bit myself. What language do you program the controller in? C with a special compiler?
    - Tom.

  18. #18
    Xtreme Addict
    Join Date
    Nov 2005
    Location
    Auckland, New Zealand
    Posts
    1,075
    The RTD's I've been looking at have a temperature range of -200 to +600c and are typically cheaper than K-type thermocouples.
    Alink to these RTD's would be appreciated

Bookmarks

Bookmarks

Posting Permissions

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