+ Reply to Thread
Page 9 of 28
First ... 5 6 7 8 9 10 11 12 13 19 ... Last
Results 121 to 135 of 408

Thread: Basic problem with transistors

  1. #121
    giftiger_wunsch Newbie
    Join Date
    Jun 2009
    Location
    Kent, England
    Posts
    813

    Default

    Quote Originally Posted by audioguru View Post
    I think we have all seen manufactured products that are machine-made with such tiny little surface-mount parts. But can we hand-etch a pcb and hand-solder these tiny parts?
    Can we buy these little parts in small quantities?
    that's a good question... I just noticed the physical dimensions of these devices, and I don't like my chances of being able to solder something 2.9mm in length with pins 0.95mm apart

    Since I haven't yet got myself an etching tray, etc. which I would need to make my own PCBs, I was planning on building these circuits on stripboard. Clearly even if I could solder such a small device (and I have little experience in soldering) I would need to be able to make a suitable PCB as well.

    The devices suggested by marcbarker seemed to be appropriate, though perhaps I should check the dimensions in the datasheet for those items as well...
    Last edited by giftiger_wunsch; 3rd August 2009 at 12:40 PM.
    Good riddance, ETO .


  2. #122
    Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent
    Join Date
    Apr 2006
    Location
    England
    Posts
    13,140

    Default

    I could solder that fairly easily.

    I woudln't know where to get hold of it though, I found the model on LTspice and thought it looked like a nice little MOSFET.

    I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

    Please ask on the open forum if you have a question and I'll be happy to help,
    if I know the answer.

  3. #123
    giftiger_wunsch Newbie
    Join Date
    Jun 2009
    Location
    Kent, England
    Posts
    813

    Default

    Quote Originally Posted by Hero999 View Post
    I could solder that fairly easily.
    Please bear in mind that I have done very little soldering and I'm likely to have a lot of trouble soldering something so small, especially components which may be destroyed by the heat if the soldering isn't completed quickly. Thanks for the suggestion though.


    Quote Originally Posted by marcbarker
    I chose MOSFETs for the lower transistors
    I assume that what was meant here is that only the two lower transistors on the circuits need to be MOSFETs - could anyone explain why only these two would need to be replaced? And was the implication then, that the upper two transistors should be BJTs as originally discussed?


    Thanks.
    Last edited by giftiger_wunsch; 3rd August 2009 at 02:04 PM.
    Good riddance, ETO .

  4. #124
    marcbarker Good marcbarker Good marcbarker Good
    Join Date
    Jul 2009
    Location
    London, UK
    Posts
    728

    Default

    Giftiger, the lower fets are there because the top BJTs are activated by the (motor current /hFE) and the lower FETs are activated by the 'reflected' motor voltage coming back. If they were BJTs too, they would shunt the reflected voltage. I didn't know if it was a good or bad thing, so I changed your BJTs for fets instead.


    Quote Originally Posted by audioguru View Post
    I think we have all seen manufactured products that are machine-made with such tiny little surface-mount parts. But can we hand-etch a pcb and hand-solder these tiny parts?
    Can we buy these little parts in small quantities?
    I used to have amazing people working for me , they could work under a microscope and assemble prototype surface mount circuits, using bits of copper-clad blank PCB and these funny self-adhesive surface mount IC footprint bases, all wired up with almost hair-thin enamelled copper wires.

    RS and Farnell here in UK sell SMD parts in small quantities, if it's capacitors you buy a strip of 50 off for about £0.50, individual transistors if the price is not less than that amount.
    Last edited by marcbarker; 3rd August 2009 at 02:41 PM.

    "I think, therefore I toast" ( Mr. T. Toaster, artificial life form, kitchen appliance & Philosopher)

  5. #125
    Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent
    Join Date
    Apr 2006
    Location
    England
    Posts
    13,140

    Default

    The good thing about the AO6407/8 is that the four of the pins all go to the drain so it doesn't matter if there's some bridging between them.

    The gate and source pins are at the bottom corners of the IC whcih makes it much easier to solder them without bridging.

    I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

    Please ask on the open forum if you have a question and I'll be happy to help,
    if I know the answer.

  6. #126
    giftiger_wunsch Newbie
    Join Date
    Jun 2009
    Location
    Kent, England
    Posts
    813

    Default

    Quote Originally Posted by marcbarker View Post
    Giftiger, the lower fets are there because the top BJTs are activated by the (motor current /hFE) and the lower FETs are activated by the 'reflected' motor voltage coming back. If they were BJTs too, they would shunt the reflected voltage. I didn't know if it was a good or bad thing, so I changed your BJTs for fets instead.
    Sorry maybe I'm being dumb again but I don't understand what you mean I thought the transistors are activated by the current from base to emitter, or the voltage between gate and source in the case of MOS-FETs... how can they be activated by the motor current?
    Last edited by giftiger_wunsch; 3rd August 2009 at 03:24 PM.
    Good riddance, ETO .

  7. #127
    marcbarker Good marcbarker Good marcbarker Good
    Join Date
    Jul 2009
    Location
    London, UK
    Posts
    728

    Default

    I ought point out that I've not 100 % analysed the circuit, so there has been some assumptions that I've made. In true engineering style I've actually made an 'engineering trade-off' in my understanding of the circuit, it's not perfect. I will tend to of built a circuit by around this time, because experience has taught me that analysis and discussion can only take us so far, and real hardware is needed as a 'sanity check' every so often.

    I believe that the top BJTs will have a current passing base/emitter that will switch on the transistor (and connect the battery + to motor), I expect something like 2 mA. I think the transistor will behave as a 'common collector' or 'emitter follower'. (I wonder if I'm right!). The same voltage potential (originating from the logic H) somehow, finds it's way to the lower FET gate and turns it on. The "reflected voltage from the motor", what I mean is the + voltage on the motor.

    "I think, therefore I toast" ( Mr. T. Toaster, artificial life form, kitchen appliance & Philosopher)

  8. #128
    giftiger_wunsch Newbie
    Join Date
    Jun 2009
    Location
    Kent, England
    Posts
    813

    Default

    Your schematic looks roughly like what I am expecting, but I'm still not really sure I understand why the MOS-FETs are required at the bottom, if they're not required at the top. I thought this was mainly because the microprocessor output would not have enough current to drive the BJTs fully on...

    In your schematic, I'm not sure how you arrived at the conclusion that the current on the microprocessor circuit will be ~2mA either. You have inserted 100ohm resistors, and if fully on, the transistors should have more or less negligible impedance values between emitter/collector and drain/source, the motor having a resistance of approximately 5ohms, so also pretty much negligible. So the current should be approximately 3.3 / 100 = 33mA. This is why I planned to use a higher-value resistor.

    I believe you're right about the BJTs, they should behave as a 'common collector'.
    Good riddance, ETO .

  9. #129
    giftiger_wunsch Newbie
    Join Date
    Jun 2009
    Location
    Kent, England
    Posts
    813

    Default

    I just had another look at the datasheet for the MOS-FETs marcbarker suggested, and they have similar dimensions to those suggested by Hero999. It looks like I'm going to have to buy the equipment to make my own PCBs, and I'll most likely have difficulty in soldering these components on even then. Perhaps I can find some IC-holders of the correct dimensions so that I don't have to worry about heat sensitivity while trying to do this fiddly soldering.
    Good riddance, ETO .

  10. #130
    marcbarker Good marcbarker Good marcbarker Good
    Join Date
    Jul 2009
    Location
    London, UK
    Posts
    728

    Default

    Quote Originally Posted by giftiger_wunsch View Post
    1.why the MOS-FETs are required at the bottom, if they're not required at the top.

    2.[why] current on the microprocessor circuit will be ~2mA either.

    3.You have inserted 100ohm resistors,

    4.motor having a resistance of approximately 5ohms, so also pretty much negligible. So the current should be approximately 3.3 / 100 = 33mA.

    5.This is why I planned to use a higher-value resistor.
    1. A mosfet won't operate as an emitter follower

    2. emitter follower base current, a function of Ic(200mA) / hFE (100 guess)

    3. No I didn't add them, they're already there, 100 ohm res. are the inherent output source impedance of the uC

    4. I thought the motor took 0.2 A? I suppose the motor stalled will be 5 ohm.

    5. Sorry you've lost me! what higher resistor?

    "I think, therefore I toast" ( Mr. T. Toaster, artificial life form, kitchen appliance & Philosopher)

  11. #131
    marcbarker Good marcbarker Good marcbarker Good
    Join Date
    Jul 2009
    Location
    London, UK
    Posts
    728

    Default

    Quote Originally Posted by giftiger_wunsch View Post
    It looks like I'm going to have to buy the equipment to make my own PCBs, and I'll most likely have difficulty in soldering these components on even then. Perhaps I can find some IC-holders of the correct dimensions so that I don't have to worry about heat sensitivity while trying to do this fiddly soldering.
    I've posted this link to Analogue Breadboarding from AD
    scroll down to fig 20. They're called "Wainwright Mini-Mount". If you can still get them. Fig 21 shows something made with it.
    Analog Devices : Rarely Asked Questions (RAQs) : Analog Breadboarding

    "I think, therefore I toast" ( Mr. T. Toaster, artificial life form, kitchen appliance & Philosopher)

  12. #132
    giftiger_wunsch Newbie
    Join Date
    Jun 2009
    Location
    Kent, England
    Posts
    813

    Default

    Where did you find out that 100ohm is the uC's output source impedance?

    4 - sorry, I confused my figures. My friend measured the resistance of the motor at an average of about 5ohm, then found the current was about 200mA while running, so yes it was about 5ohm while stalled. 200mA from 3V = it only reaches about 15ohm while running anyway though.

    5 - I discussed in previous posts that to limit the output of the microprocessor to its max recommended current of 8mA, the resistance of the circuit should be around 3.3 / 0.008 = 412ohm. Since most of the components have much lower resistance than this anyway, I will use resistor(s) adding up to close to this value. If you are right about the uC's input impedance of 100 ohms, I'll subtract this from the resistor value.

    Best place for the resistor would probably be the ground portion (green on my original schematics), since all of the uC current will pass through this.
    Last edited by giftiger_wunsch; 4th August 2009 at 12:02 AM.
    Good riddance, ETO .

  13. #133
    marcbarker Good marcbarker Good marcbarker Good
    Join Date
    Jul 2009
    Location
    London, UK
    Posts
    728

    Default

    Quote Originally Posted by giftiger_wunsch View Post
    Where did you find out that 100ohm is the uC's output source impedance?
    <..> Best place for the [400 ohm] resistor would probably be the ground portion (green on my original schematics), since all of the uC current will pass through this.
    Using data from Table 28.1 in datasheet:

    "Vol= 0.4 V @ 8 mA" = equivalent source impedance '50 Ohms' (not 100 as drawn)
    "Voh=2.4 V @ 8 mA" = e. s. i. '110 Ohms'

    If you add "8 mA" limiting resistors, I don't think the circuit will work any more.

    Why does the uC output need to be limited to 8 mA? You don't have to operate the outputs at 'data-sheet specification', because you're not driving another IC. It won't blow it up if there is a momentary short either. The output current into a 'short circuit' (stalled motor) will be 20-25 mA.
    Last edited by marcbarker; 5th August 2009 at 10:14 AM.

    "I think, therefore I toast" ( Mr. T. Toaster, artificial life form, kitchen appliance & Philosopher)

  14. #134
    giftiger_wunsch Newbie
    Join Date
    Jun 2009
    Location
    Kent, England
    Posts
    813

    Default

    If I don't limit the current to 'datasheet specification', then I'll have to be careful about using the other parallel ports for other purposes at the same time, since it was established earlier in the thread that the average current through all the ports shouldn't exceed 8mA. If 8mA is sufficient to run the BJTs and MOS-FETs, there's no reason to exceed the recommended maximum current through the port.
    Good riddance, ETO .

  15. #135
    marcbarker Good marcbarker Good marcbarker Good
    Join Date
    Jul 2009
    Location
    London, UK
    Posts
    728

    Default

    If my understanding is correct, the base current only exceeds 2 mA (guess) if the motor is stalled. A stalled motor for a significant time will flatten its battery, or damage the motor. And I think that'll happen before the uC get hurt.

    Talking of other IO ports... Are you able to 'tri-state out' the uC ports that drive the other motors? And I don't know if you can drive more than one motor simulataneously when they all share the same motor battery. I might be wrong though.
    Last edited by marcbarker; 5th August 2009 at 10:15 AM.

    "I think, therefore I toast" ( Mr. T. Toaster, artificial life form, kitchen appliance & Philosopher)

+ Reply to Thread
Page 9 of 28
First ... 5 6 7 8 9 10 11 12 13 19 ... Last

Similar Threads

  1. Problem Interfacing Basic Stamp BS2px24 with LM629
    By kwang in forum General Electronics Chat
    Replies: 6
    Latest: 19th October 2008, 05:20 AM
  2. Free BASIC compilers Visual BASIC Express vs JustBASIC?
    By William At MyBlueRoom in forum General Electronics Chat
    Replies: 5
    Latest: 4th January 2007, 03:51 AM
  3. Pic Basic Pro / PIC Problem
    By Tako Kichi in forum Micro Controllers
    Replies: 7
    Latest: 11th January 2004, 10:46 PM
  4. PIC Basic Plus and RS232 problem again. Help!!!
    By Beefer3 in forum Micro Controllers
    Replies: 1
    Latest: 14th November 2003, 11:08 PM
  5. Problem I face with Pic Basic Pro
    By Bumblebrain in forum Micro Controllers
    Replies: 3
    Latest: 25th August 2003, 05:19 PM

Tags for this Thread