Author Topic: Help me understand this circuit!  (Read 13742 times)

0 Members and 1 Guest are viewing this topic.

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Help me understand this circuit!
« on: November 12, 2015, 06:44:55 am »
Hi all, long time stalker of this forum, first time poster.

I am trying to understand this particular component which detects if the motor of a fan is running and lights up an LED if it is. I have a rudimentary understanding of electronics covered in undergraduate physics modules but not much real world experience. Hoping that the kind folk on this forum can walk me through the workings of this circuit.

Here are images of the component after removal of epoxy:

Under the rectifier:


My best attempt at mapping out the electrical diagram:


Sadly the zener diode D3 or U2 was damaged during extraction from the epoxy and I couldn't test its breakdown voltage.
Transistor Q1 also had its code etched off, and I don't know where to begin with testing a transistor to find out whether it is a BJT/FET/etc...  :'(

The single phase motor also confuses me, on top of the live and neutral inputs, it has brown, black and white outputs that go into this circuit as some sort of feedback signal. But I have never seen such a motor, are those leads from an internal alternator or something?

Here is the motor:
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #1 on: November 12, 2015, 07:11:14 am »
Yes, the zener regulator portion is okay for me.

I'm still confused about the motor output...

Black from the motor provides ground reference with the common of the circuit board, and white is the pulse signal.

Then what purpose does brown serve? And why is it connected as such?

I also do not fully understand the purpose of zener U2 in that configuration (i might have the polarity mapped out wrongly though)
« Last Edit: November 12, 2015, 07:14:09 am by Cretel »
 

Offline RobertHolcombe

  • Frequent Contributor
  • **
  • Posts: 275
  • Country: au
Re: Help me understand this circuit!
« Reply #2 on: November 12, 2015, 08:20:35 am »
Brown and black are the DC supply for the pulse generator output, without them connected the white wire will not output anything

I might be mistaken - do D2 and Q1 regulate voltage to the LED?
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22298
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Help me understand this circuit!
« Reply #3 on: November 12, 2015, 01:58:14 pm »
Is Q1 emitter not connected to U1 anode and etc.?

The motor shows a "PG", which doesn't ring a bell, but it could be some sort of generator.  It would only need two terminals, at least if it's magnetized or related to the main windings.  A commutator of some sort would need the brown wire however.  In any case, the white wire is expecting some kind of AC signal; as long as it's alternating faster than the RC time constant (even line frequency will do), the LED will light usefully.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline noidea

  • Supporter
  • ****
  • Posts: 209
  • Country: au
Re: Help me understand this circuit!
« Reply #4 on: November 12, 2015, 04:15:13 pm »
What is this fan motor out of, It looks a lot like a fan motor out of an air conditioner.
I'm not an electronics engineer only a HVAC tech that enjoys messing around with electronics but the PG marking on the motor vcc, vout and gnd would relate to a hall effect rpm sensor in the motor which is normally used in conjunction with a triac chopping the mains waveform to vary the motor speed. I guess in your case this rpm feedback circuit is just flashing the led instead (but the mechanics of that are beyond me  :))
 
« Last Edit: November 12, 2015, 04:26:39 pm by noidea »
 

Offline onlooker

  • Frequent Contributor
  • **
  • Posts: 395
Re: Help me understand this circuit!
« Reply #5 on: November 13, 2015, 02:19:50 am »
By Google: When related to a electric motor, "PG" = pulse generator, it is a speed feedback for speed control as many already mentioned in different ways.
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #6 on: November 13, 2015, 09:18:47 am »
U2 should be across r4, not r4+r5. It is used to protect r5 and q1 from being overdriven.

Q1 conducts only with base current, due to the dc blocking characteristics, q1 will conduct only if the white wire has pulse or alternative voltage. Hence, it can detect whether the motor is running.

Makes sense, but my continuity tester is showing that U2 is indeed across R4 and R5...
In this case it only protects the base of Q1(?)
 

Offline LukeW

  • Frequent Contributor
  • **
  • Posts: 686
Re: Help me understand this circuit!
« Reply #7 on: November 13, 2015, 11:43:19 am »
OK, we know how the transformerless power supply part works, that's pretty standard.

The pulse generator (presumably some sort of optical or magnetic tachometer) requires power, which is supplied from the transformerless power supply via the brown and black wires.

That voltage will be set by U1, so it's 32 volts.

Now, for the sake of simplicity, let's re-draw the rest of the circuit.

Input tacho pulses come in on the white wire, and they're AC coupled in series through C3, and then you've got R4 connected to "ground" and R5 in series with the signal.

Q1 is a simple sort of open-collector circuit that drives the LED, and U2 is connected from the base to ground to protect it.

Can you disconnect the motor from the board, connect some sort of 30V bench power supply to the tachometer power wires, put a scope on the output and give the motor a crank to see if the pulse generator is working? (And what polarity or magnitude are its pulses?)

Or remove the bridge rectifier and inject 30V DC power into the PCB (use an isolated bench power supply for test purposes since it will be safer - not the original transformerless power supply) and try injecting pulses yourself, on the white wire.
 

Offline onlooker

  • Frequent Contributor
  • **
  • Posts: 395
Re: Help me understand this circuit!
« Reply #8 on: November 13, 2015, 09:28:48 pm »
I think U2 may be just a regular diode (not a zener). It is there to protect BE of Q1 from possible excessive reverse biasing at the falling edge of the pulse (from white) (or from other cause).

In a way, it may be slightly better if the diode is placed cross R4, since this will also speed up the discharging of C3 at the falling edge of the pulse.

As for Q1 a 3904 may be good enough(?).

The drawing below is a little easier to follow:

 
« Last Edit: November 13, 2015, 09:48:36 pm by onlooker »
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #9 on: November 17, 2015, 02:19:42 am »
Hi guys, I have made a mock up on the breadboard with the proposed changes, used 2n2222 for Q1.

The blue LED does not receive a constant voltage, no oscilloscope, but my multimeter measured a range of 17V to 5V.
Which explains why these fans had LEDs that kept failing...

I'm guessing this fluctuation is due to the transistor switching.
Currently I can see the brightness of the LED pulsing.

Question:
If I increase R6 or decrease the 32V DC to limit voltage across the LED, I suspect that the LED would start flashing on/off as the voltage may fluctuate below it's minimum forward voltage.
Would increasing capacitance C3 help?
OR should I just drop R6 and put in a LM7805?


Also, I don't really understand the purpose of C1, R1, R2 and R0. I would have just stuck L and N right into the bridge rectifier.
« Last Edit: November 17, 2015, 02:37:41 am by Cretel »
 

Offline onlooker

  • Frequent Contributor
  • **
  • Posts: 395
Re: Help me understand this circuit!
« Reply #10 on: November 17, 2015, 12:35:54 pm »
Quote
Also, I don't really understand the purpose of C1, R1, R2 and R0, I would have just stuck L and N right into the bridge rectifier.

You need they. C1 is a current limiter (that does not consume power, so is better than using a resister). R1+R2 are bleeding resister to discharge C1 when the board is switched off from the mains. R0 can limit the initial peak current when the mains power is switched on. Or else w/o them, you will burn the zener 1st, then likely the rest downstream and possibly something upstreams too.

Pulsing led may give you a visual cue for the RPM. If you prefer steady light, the changes needed highly depends on the capacity and nature the signal source (white).

You may try to add a big cap crossing CE of Q1, then make sure the RC (R6) constant is much bigger than the pulse period. R6 needs to be increased to limit the current to the led.

If that is not practical and the signal source can supply enough power, you may also simply replace C3 with a diode, and R4 with a cap, and then adjust R6,R5 accordingly. The diode on BE of Q1 is no longer  needed now.

If the source is weak, you may use a Darlington for Q1 with a smaller cap and larger R5 in the settings above or else add a power amp stage or other IC solutions(?)...
« Last Edit: November 17, 2015, 01:36:07 pm by onlooker »
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #11 on: November 19, 2015, 01:08:52 am »
Pulsing led may give you a visual cue for the RPM. If you prefer steady light, the changes needed highly depends on the capacity and nature the signal source (white).

You may try to add a big cap crossing CE of Q1, then make sure the RC (R6) constant is much bigger than the pulse period. R6 needs to be increased to limit the current to the led.

If that is not practical and the signal source can supply enough power, you may also simply replace C3 with a diode, and R4 with a cap, and then adjust R6,R5 accordingly. The diode on BE of Q1 is no longer  needed now.

If the source is weak, you may use a Darlington for Q1 with a smaller cap and larger R5 in the settings above or else add a power amp stage or other IC solutions(?)...

I will play with different values for a cap across CE and increasing R6.
Sounds like I just need to find the right capacitance to ease off the ripple and then increase R6 till the now constant-ish voltage is acceptable for the LED.
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #12 on: November 20, 2015, 01:39:04 am »
Let's say I wanted the motor's sense wire to trigger a neon bulb instead.

I don't think a single transistor would be able to switch AC on/off, it would only allow one polarity to pass? Not sure about this, but I kind of recall learning about this...
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22298
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Help me understand this circuit!
« Reply #13 on: November 20, 2015, 02:03:21 am »
A neon bulb works fine on (pulsed or steady) DC... :)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #14 on: November 20, 2015, 07:49:20 am »
A neon bulb works fine on (pulsed or steady) DC... :)

Tim

Excuse my stupidity but don't neon bulbs come in upwards of 100 volts only?

In that case, I would just run a 100V zener in place of the 32V.
Capacitor C3 can remain rated at 50V as it is not across the positive and common rails?
« Last Edit: November 20, 2015, 07:57:54 am by Cretel »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22298
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Help me understand this circuit!
« Reply #15 on: November 20, 2015, 07:54:42 am »
Yes.  Well, usually more like ~60V glowing, 80V (or more) striking, to be more precise, but they can go over 100V sometimes.

But don't transistors come in upwards of 100V, too? ;)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #16 on: November 20, 2015, 08:08:06 am »
Yes.  Well, usually more like ~60V glowing, 80V (or more) striking, to be more precise, but they can go over 100V sometimes.

But don't transistors come in upwards of 100V, too? ;)

Tim

Ah right, I would have to use a NPN rated for 100V too.
I'm hoping swapping the LED for a neon would work better, fixing the pulsed DC with a voltage regulator circuit on the LED side works but it is costly (space and money wise)

I've read that neon bulbs can take more abuse, is there any truth to that?

Also, thanks to everyone for all the advice so far, this is proving to be a really great forum  :-+
« Last Edit: November 20, 2015, 08:09:39 am by Cretel »
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #17 on: November 20, 2015, 08:56:16 am »
How's this?

 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22298
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Help me understand this circuit!
« Reply #18 on: November 20, 2015, 08:02:37 pm »
Ahh!  Now you've blown out the thing on the brown wire!

Also, you'd have to adjust the component values on the AC side -- for a high voltage output (nearly full rectified AC, which is 160VDC, from 120VAC), you'd need a pretty large C1 and small R0.  Although, the current will be lower as well, so the change might not need to be very large.  And therefore C2 can be much smaller, maybe a few uF at most.

But yeah, guessing the sensor thingy can't handle much over 30V.  So, the circuit largely has to be the same, up to the transistor being a HV type.

Nice thing is, even with the low voltage supply part hanging around, you don't need to have the neon drawing current from that supply.  You could tie it back to the AC line (L) instead, through a diode, so it only draws forward current, and only when the AC line is positive and high voltage, and while D1 is conducting (so that the transistor is pulling towards "-V" which is connected to N at that point in time).

Extra filtering between R5 and Q1 is probably a good idea (maybe a 0.47uF across D3?), otherwise the neon will blink at a rate determined by line frequency minus rotation frequency (usually a few Hz for typical induction motors; if it were a synchronous motor, it might not light at all because the phasing could be completely wrong!).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #19 on: November 21, 2015, 03:51:53 pm »
Ahh!  Now you've blown out the thing on the brown wire!

Also, you'd have to adjust the component values on the AC side -- for a high voltage output (nearly full rectified AC, which is 160VDC, from 120VAC), you'd need a pretty large C1 and small R0.  Although, the current will be lower as well, so the change might not need to be very large.  And therefore C2 can be much smaller, maybe a few uF at most.

But yeah, guessing the sensor thingy can't handle much over 30V.  So, the circuit largely has to be the same, up to the transistor being a HV type.

Nice thing is, even with the low voltage supply part hanging around, you don't need to have the neon drawing current from that supply.  You could tie it back to the AC line (L) instead, through a diode, so it only draws forward current, and only when the AC line is positive and high voltage, and while D1 is conducting (so that the transistor is pulling towards "-V" which is connected to N at that point in time).

Extra filtering between R5 and Q1 is probably a good idea (maybe a 0.47uF across D3?), otherwise the neon will blink at a rate determined by line frequency minus rotation frequency (usually a few Hz for typical induction motors; if it were a synchronous motor, it might not light at all because the phasing could be completely wrong!).

Tim

Ah! Not the brown wire!  :'(

Something like this?


I've also had doubts about the original circuit, mains is 230V here and I can't believe a tiny zener can regulate sqrt(2)*230V all the way down to 32V  :-//
« Last Edit: November 21, 2015, 03:54:41 pm by Cretel »
 

Offline onlooker

  • Frequent Contributor
  • **
  • Posts: 395
Re: Help me understand this circuit!
« Reply #20 on: November 21, 2015, 06:37:34 pm »
You may run LTspice simulation on the circuitry to find out what works and what's not.  Otherwise you may try the simple changes, 

   



« Last Edit: November 21, 2015, 07:13:30 pm by onlooker »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22298
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Help me understand this circuit!
« Reply #21 on: November 21, 2015, 07:19:46 pm »
Close, I'd like to see it this way instead:

Note that the series current limiting parts are in the line side, only to the FWB.  That way, the neon sees the maximum voltage possible.  Also, the neon needs a current limiting resistor, maybe 100k.  In this case, the transistor will have to be rated for about 400V, which is a bit beyond the range of an MPSA46 but still quite available.  e.g. http://www.digikey.com/product-detail/en/PBHV2160ZX/568-12664-1-ND/5436128

And for safety purposes, of course, a fuse should be present in the line side, and the entire circuit well insulated from any possibility of touch.

The current limiting R + (R || C) reduces the maximum current available to the zener, hence biasing the zener at its rated voltage.  Normally this would be a shunt regulator, from a higher DC voltage, through a current limiting resistor to the zener, but it works just the same when the current limiting is on the AC side.  It also works when the current limiting is done largely by a capacitor -- so the capacitor is intended to drop most of the voltage, and the series resistor is present to reduce surge currents (during startup or inevitable line transients).  The parallel resistor discharges the capacitor when it's turned off.

Tim
« Last Edit: November 21, 2015, 07:24:11 pm by T3sl4co1l »
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline onlooker

  • Frequent Contributor
  • **
  • Posts: 395
Re: Help me understand this circuit!
« Reply #22 on: November 21, 2015, 08:46:00 pm »
This will provide more steady current to the neon assuming "WHITE" is able to charge the 0.47uF cap. If not, use/test a smaller cap. 13003s are cheap. They are used a lot in the CFLs.


« Last Edit: November 21, 2015, 08:56:38 pm by onlooker »
 

Offline CretelTopic starter

  • Contributor
  • Posts: 23
  • Country: sg
Re: Help me understand this circuit!
« Reply #23 on: November 22, 2015, 02:36:53 am »
I'd rather avoid darlington pairs because I am still unfamiliar with them  :-[

In this case, the transistor will have to be rated for about 400V, which is a bit beyond the range of an MPSA46 but still quite available.  e.g. http://www.digikey.com/product-detail/en/PBHV2160ZX/568-12664-1-ND/5436128

Rated for peak voltage of the 230VAC right?

Here is what I think the component values should be:


Unsure about the power rating for current limiting resistor on AC side.
 

Offline onlooker

  • Frequent Contributor
  • **
  • Posts: 395
Re: Help me understand this circuit!
« Reply #24 on: November 22, 2015, 04:08:47 am »
The 10uf cap on "L" should still be 0.47uF. 10uf would mean the 32V zener has to be able to unnecessarily dissipate 20+W power (0.7A * 32V). 
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf