Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/05/10 14:04
Modified:
  05/05/10 14:15

Read: times


 
#175707 - Then take a better opto!
Responding to: ???'s previous message
Arun said:
The first reason i avoid optos for ZCD is the coarseness, in this case its 25V which is roughly 10% of 240VAC.

It's only 7% of the peak voltage, corresponding to 4% phase angle.

Again, take a better opto, like the IL755-2, with a current transfer ratio of >1000% at 1mA, if you want to go closer to the zerro crossing.

Arun said:
Second,heating in the current limit resistors, for which one has to go for double the actual required wattage - increased cost and board space

Entirely irrelevant, if you take into account what the triac's heat sink will dissipate. And the board space is wasted by the heat sink and the choke, not by two resistors.

Arun said:
third, aging of the led in the opto.

Entirely irrelevant, if you plan only 8 steps of brightness.

The actual phase angle shift of zero crossing detector is irrelevant, because you can correct this very easily in the code. Just measure the length of the high pulse, by periodically polling the corresponding port pin for a few periods after power on and take the half of this pulse length. By this you will automatically take into account even the aging of opto.

What you plan with the NPN or MOSFET isn't much better either. If you take a NPN with a current gain of 100 and want to switch a 10k pull-up, then about 5V will drop across the 1M base resistor.

If you take a MOSFET, then you will introduce an additional phase shift. Also, the turn-on voltage is higher than that of a NPN.

There's another reason, why all too high impedant loading isn't a good idea. Assume a stray capacitance of about 0.3pF across the 1M resistor and a gate source capacitance of 30pF. Then, this forms a capacitive voltage divider, which makes the MOSFET turn-on during brief overvoltages and spikes on mains. A 200V voltage peak can be enough to erroneously turn-on a BS170...

Kai Klaas

List of 86 messages in thread
TopicAuthorDate
External Interrupt on both Falling edge & rising edge            01/01/70 00:00      
   ABORT!, ABORT!, ABORT!            01/01/70 00:00      
      Better circuits exists            01/01/70 00:00      
      one more            01/01/70 00:00      
   DANGER!! Don't Try This At Home!            01/01/70 00:00      
      Its not just Atmel            01/01/70 00:00      
   interrupts on both edges            01/01/70 00:00      
      Thank you All            01/01/70 00:00      
         Read about external Gate for Timer            01/01/70 00:00      
            gate for timer            01/01/70 00:00      
               Jan, will you Shhhhh!!!            01/01/70 00:00      
               Great Idea !            01/01/70 00:00      
                  But i've used up INT0 and INT1 pins            01/01/70 00:00      
                     int0 is gate for timer0            01/01/70 00:00      
                     T1(T0) pin is not use here            01/01/70 00:00      
                        so only one Ext.int pin will do            01/01/70 00:00      
                           i think so            01/01/70 00:00      
                              I haven't tried it yet            01/01/70 00:00      
                                 is a Zener that costly?            01/01/70 00:00      
                                 so try something safely            01/01/70 00:00      
                                    That the most exhaustive reply i got so far !            01/01/70 00:00      
                                       You are wellcome            01/01/70 00:00      
                                          Here's what i have done            01/01/70 00:00      
                                             simulation is partial            01/01/70 00:00      
                                                I'll try writing a sample code            01/01/70 00:00      
                                                   Dimmer            01/01/70 00:00      
                                                      its a dimmer for commercial sale            01/01/70 00:00      
                                                         Dimmer            01/01/70 00:00      
   Its in my Profile            01/01/70 00:00      
      is 8051/2 I/O similar to Zilog Z8            01/01/70 00:00      
         Cease and Desist            01/01/70 00:00      
         It's DANGEROUS - It's not about the IOs!!            01/01/70 00:00      
         Either you are NOT listening...or you don't want to listen            01/01/70 00:00      
            It's worse than that!            01/01/70 00:00      
               Its like openning Pandora's box            01/01/70 00:00      
                  chip A != chip B != chip C            01/01/70 00:00      
                  Consider these points...            01/01/70 00:00      
                     not a newbie to electronics            01/01/70 00:00      
                        What results do you really get from an experiment?            01/01/70 00:00      
                        Reply to Arun Kumar V            01/01/70 00:00      
                  what if the result is death?            01/01/70 00:00      
                     very positive opinion            01/01/70 00:00      
                     Thanks for the pointer            01/01/70 00:00      
   A generic approach to dual edge detection            01/01/70 00:00      
      Here is the method I have been using...            01/01/70 00:00      
      Oh Noes!!!!!!            01/01/70 00:00      
      4 -> 10 nsec Pulse Does Not Work for MCU            01/01/70 00:00      
         No additional logic gates            01/01/70 00:00      
         Modifying design            01/01/70 00:00      
            Yeah But...            01/01/70 00:00      
               If you say so            01/01/70 00:00      
                  Poppycock            01/01/70 00:00      
   Why you should not do this...            01/01/70 00:00      
      Galvanic isolation            01/01/70 00:00      
         Can't we use single AC optocoupler            01/01/70 00:00      
            not 1,8V            01/01/70 00:00      
            can be wrong circuit below            01/01/70 00:00      
               Critical again...            01/01/70 00:00      
                  varistor?            01/01/70 00:00      
                     Yes, but...            01/01/70 00:00      
            You can do a lot of things...            01/01/70 00:00      
               25V is too coarse            01/01/70 00:00      
                  use tha appnote I gave you the link to            01/01/70 00:00      
                  25V is not bad            01/01/70 00:00      
                     You still don't know what my product is?            01/01/70 00:00      
                        sorry            01/01/70 00:00      
                           Its O.K - this thread has crossed 65 replies            01/01/70 00:00      
                              npn            01/01/70 00:00      
                        no, I do not know what your product is            01/01/70 00:00      
                           Answers            01/01/70 00:00      
                              OK, then            01/01/70 00:00      
                                 No headphones            01/01/70 00:00      
                  Then take a better opto!            01/01/70 00:00      
                     he wants to build a Yogo, not a Mercedes            01/01/70 00:00      
                        which makes the lamp flicker when the fridge turns-off            01/01/70 00:00      
                           it (probably) does that anyhow            01/01/70 00:00      
                              No body wants to buy a Mercedez            01/01/70 00:00      
                                 What do you expect??            01/01/70 00:00      
                                    What is there to be ashamed of ?            01/01/70 00:00      
                                       Thread began with ....            01/01/70 00:00      
                                          Dead Horse is Alive and Kicking            01/01/70 00:00      
                                             obviously a comparator is a better solution            01/01/70 00:00      
                                                Oh My God...you having sleepless nights???            01/01/70 00:00      
                                             Then share it with us...            01/01/70 00:00      
                                             to Arun PLEASE get ...            01/01/70 00:00      
                                 what did you expect            01/01/70 00:00      

Back to Subject List