![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I would like to build a temperature sensor that switches on and off a mains supply to keep what I am heating at a set temperature. However, I am wondering where to get power for my micro (a PIC).
I have two main questions: 1) I have seen these fairly cheap: http://www.clairtronic.com/2.htm but can't work them out (I'm assuming that's AC-AC), could this sort of thing work? Or is there a better approach? I'd rather not use batteries or another DC supply if possible, if I already have mains power through the circuit! 2) Would a relay or TRIAC & opto-isolator be best? The book I am reading suggests a TRIAC which doesn't appear to need a separate DC power supply, other posts online seem to suggest that is desirable for a relay. I will be switching a maximum of 60W, the heat mat I have now is 18W. Thanks. |
|
|
|
|
|
|
(permalink) |
|
Hi edeca
The link with the product shows just normal print transformers (and that is AC to AC) you still have to rectify and stabilize the power in order to give it to a IC a opto coupler and triac is a good solution for swiching AC loads but a relais does the same but is mechanical and does consumes more energy How many Watts is the heater element? Robert-Jan |
|
|
|
|
|
|
(permalink) |
|
I'd use a relay on the output & to power up the micro circuit I'll definitely use a small transformer.Everything is isolated.
To make it compact I'll use a capacitive TX less power supply for micro & driving a TRIAC output with no any isolation. Looks like you are building a temperature controlled soldering station Last edited by Gayan Soyza; 15th May 2008 at 10:54 AM. |
|
|
|
|
|
|
(permalink) |
|
I have just made something similar, using one of those transformers.
You have to rectify the AC output to DC. The best way is to use 4 diodes or a bridge rectifier (which is just 4 diodes in one box) You then need to smooth with a capacitor. That keeps the PIC going when the mains voltage drops to zero 100 times each second. Then you need to regulate with a voltage regulator, such as a 78L05 if you want 5V. With those little transformers, they have a lot of internal resistance, so the output of the rectifier can be quite large with no load. I found it better to use a full bridge with 4 diodes, rather than half-wave rectifying the two secondary windings, to reduce the voltage drop caused by the internal resistance. |
|
|
|
|
|
|
(permalink) |
|
Thanks for all the replies. I'm not building a temperature controlled soldering station
The heater I am using is an 18W heat mat, designed for reptiles. I am using it to heat a small enclosure that (fortunately) doesn't contain reptiles. Instead of buying the expensive heat controller, I thought I would look into how to build one. In future I might build a larger enclosure with a larger heater, the biggest is around 60W. I have found a diagram of what Diver300 recommends here: http://www.kpsec.freeuk.com/powersup.htm#trsr Diver300's post and that diagram explains it very nicely. I have built 7805 supplies before for DC-DC so am quite happy with that. However I have two further questions if anybody can help: 1) The transformer specification sheet shows 4 connections on the 'stepped down' side, 0 SEC 0 SEC. Which are connected to the bridge rectifier? Why are there two 0 connections? 2) I am assuming that a 50V 1 or 2A bridge rectifier will do, something like http://tinyurl.com/6x4nx7 ? I am unsure here though. I assume 50V because that's the minimum and I'll be using a 12V transformer to step down. Power requirements are quite low and the 7805 only does 1A from memory. |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
http://www.tpub.com/neets/book7/27b.htm shows a rectification circuit that I have often used. It has the advantage of only having one diode drop but the disadvantage that the more current flows in the windings for less time, giving more voltage drop, especially on small transformers. Quote:
12Vac is too big. You want a 6V transformer, parallel the outputs (connect 0 to 0 and sec to sec). That will give you something like 8Vdc loaded, maybe 12Vdc with no load, so there is plenty for the regulator to work with. If you fit a larger voltage of transformer, you just throw away more power in the regulator and then you may need a heat sink for it. |
|||
|
|
|
|
|
(permalink) | |
|
Quote:
Hi Edeca, You can use a 120V - 12V step down transformer (12 - 0 - 12) along with 2A bridge and 470mfd filter. Feed this to 7805 metal package and from here u can drive the PIC directly. Bypass the 12V line directly to the relay coil and drive it with a transistor. You will get 12V relay with 10A contact, this is enough to switch your load. If you still want reduce the cost and remove the bulky transformer....there is another way ....Graveyard design. Here you can step down the 120V line using a 5W resistor and drive the rectifier section. Hope this help....
__________________
Sqn R.K. Chakravarthy ---------------------- Sky is not the limit for Air Warriors |
||
|
|
|
|
|
(permalink) |
|
Thanks again for your message. With regard to load, if I use an optoisolator & triac, surely there wont be much? A MOC3020 seems to be a DIP package with the isolator and triac inbuilt and can take 240v no problem. It is also fairly cheap. I assume I can connect the LED side to the PIC and the other side straight to the same incoming mains as the transformer.
However, if I ever design a PCB for this, how do I run 240v through it? Are there recommendations for size of track etc? Your help is greatly appreciated, power electronics sure is turning out to be more to think about! |
|
|
|
|
|
|
(permalink) |
|
Thanks again for your message. With regard to load, if I use an optoisolator & triac, surely there wont be much? A MOC3020 seems to be a DIP package with the isolator and triac inbuilt and can take 240v no problem. It is also fairly cheap. I assume I can connect the LED side to the PIC and the other side straight to the same incoming mains as the transformer.
However, if I ever design a PCB for this, how do I run 240v through it? Are there recommendations for size of track etc? Your help is greatly appreciated, power electronics sure is turning out to be more to think about! |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Hi edeca, You cant drive your load directly with MOC out. You need to drive it through another triac because Igt max=50mA. Please refer the datasheet.... Regarding PCB track, you can run the AC lines in one side and keep all the low voltage line other side. There are some IPC standard for track thickness and isolation. I have enclosed the same for your ref.... Hope this will help you to overcome the obstacle....
__________________
Sqn R.K. Chakravarthy ---------------------- Sky is not the limit for Air Warriors |
||
|
|
|
|
|
(permalink) |
|
Thanks Rajaneesh! I realised that about the output after
Is there any real difference then between a MOCxxxx and an isolator with a transistor in, which is what the book I have here describes. I can then couple this with a minimum 400V 1.5A triac (e.g. BTA10 which is 10A) to drive the load? Your document about the PCB is very useful. Does this mean that you have to run the tracks on separate sides? Or that it is recommended? I have only ever dealt with single sided boards before. I will draw a circuit later and post a list of parts I think I will use. If anybody can tell me which bits are wrong, I will be grateful Last edited by edeca; 17th May 2008 at 08:59 AM. |
|
|
|
|
|
|
(permalink) |
|
I've had a look now, could you advise me whether any of these are unsuitable?
Transformer: BLOCK | VB1.5/2/6 | Transformers & Accessories | Components & Spares | CPC Diode bridge: MULTICOMP | 2KBP02M. | Diodes | Components & Spares | CPC Triac for driver circuit: STMICROELECTRONICS | Z0107DA. | Thyristors & Triacs | Components & Spares | CPC - I think 0.8A at 230V should provide 192W, which is more than enough I can't seem to find optocouplers at this supplier though, are any or the ones in this category suitable: Transistor Output | CPC ? Or would a relay be much easier? Thanks for all your help. Last edited by edeca; 17th May 2008 at 09:21 PM. |
|
|
|
|
|
|
(permalink) |
|
You obviously need a smoothing capacitor and a voltage regulator.
5V is enough to turn on the Triac, but if you isolate with an opto isolator you need some type of non-isolated supply to feed the gate of the Triac. You can't get power through an opto isolator. Its output just appears as a switch and if you want to block 230 V ac you need a switch rated to 400 V dc |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
If I need a separate supply through the coupler to the triac gate, I don't see the advantage over a relay which would also need a separate supply. Thus I'm not sure which to use as I could just connect up a relay with a protective diode and forget all about optocouplers. Can I take the separate supply from before the regulator? If so, would you recommend a relay instead of a triac? Thanks again for your reply. |
|||
|
|
|
|
|
(permalink) | |
|
Quote:
C = (5 * Io) / (Vs * f) 470uF is suggested in many circuits. Vs is easy to calculate, 0.7v drop per diode: Vs = 12 - (0.7 * 2) Vs = 10.6 I am not entirely sure about Io, is this assumed to be 2A if the bridge rectifier is 2A? What else does it depend on? So for 240v 50hz input, what value capacitor would be required to smooth the transformed/rectified 12v? |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Got a new EVBoard How do i supply power to it? | cubdh23 | Micro Controllers | 2 | 3rd August 2007 09:39 AM |
| Capacitor based power supply | dadwhiskers | Electronic Projects Design/Ideas/Reviews | 6 | 28th April 2007 08:42 PM |
| Draining capacitors on power supply | hfireworks | Electronic Projects Design/Ideas/Reviews | 24 | 27th April 2007 02:03 AM |
| 24v DC Power Supply (Help & Information Wanted Urgently) | ampthetex | Electronic Projects Design/Ideas/Reviews | 5 | 17th November 2006 12:44 PM |
| help on Protection circuit for power supply | ronchiejames | Electronic Projects Design/Ideas/Reviews | 19 | 9th May 2005 12:52 PM |