element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum For FET-sake, I keep switching and cannot find a suitable MOSFET (or BJT)
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 33 replies
  • Answers 12 answers
  • Subscribers 287 subscribers
  • Views 7057 views
  • Users 0 members are here
  • mosfet relay
  • transistor switch
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

For FET-sake, I keep switching and cannot find a suitable MOSFET (or BJT)

BigG
BigG over 3 years ago

I came across this lovely term on Twitter the other day for tablet and laptop battery packs that had seen better days (usually when continuously powered/charged). It's #spicy pillow. LOL.

 

https://twitter.com/hashtag/spicypillow?lang=en

 

Anyway, this reminded me of a little project I had in mind (as shown in schema below).

 

image

As a electronics novice, this appears to be a borderline case as I know that transistors tend to work well for mA switches while MOSFETs tend to be targeted at higher voltages (and say +3A current).

 

So now struggling to choose a suitable component - I'm particularly interested at the 1.5A option as that tends to be the limit for many usb charger adapters:

 

image

 

Having done some prelim research it looks like FET's are the way to go but when working through my design criteria I'm quickly getting bogged down in the detail... In this case I'm not coming up with options as I can see that I need to minimise my resistance losses to reduce voltage drop etc... I'm also looking for a low cost <1$ SMD option.

 

Hence I thought to open this little design challenge to the members as I had to chuckle at aGough Lui status update I found when doing my e14 search...

 

Often we're lazy, choosing to use the same parts over and over. I'm guilty of this when it comes to...

 

 

So, any old favourite FETs you have which could well work here?

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 3 years ago +7 suggested
    Don't have favourites. Always use a part for a reason (usually many reasons). Having a reel of 999 of a part is a good reason if it will work OK ! In your case with 3.3V drive, 5V power supply, a load…
  • colporteur
    colporteur over 3 years ago +3 suggested
    Absolutely loved the title of your post! You have to start writing for British tabloids. I missed the meaning of the hashtag. I have little exposure to the sun or social media from under the bridge I only…
  • BigG
    BigG over 3 years ago in reply to colporteur +3 suggested
    LOL. (British tabloids) I missed the meaning of the hashtag. Batteries look like pillows. As to where "spicy" came from, who knows, so I had to look it up (thanks Google) https://www.urbandictionary.com…
Parents
  • BigG
    0 BigG over 3 years ago

    As you know, from this forum post I started developing a USB BLE power or "spicy" controller a couple of months ago and thanks to your help I got a prototype (version 1) working.

    I've now been working on a version 2.

    The purpose behind this version is to get a controller to interface both with these new USB smart fast chargers, which work at higher voltage and a higher charging current, as well as a standard 5V USB charger -  my fast USB charger for my Samsung Galaxy A12 charges at approx. 9V and +1.5A.

    My design for this new version is as follows:

    image

    It now includes a 500mA LDO (SPX3819 from MaxLinear) to drop the voltage to 5V for the BLE dongle and also uses a different N-Channel MOSFET (I'm using Si1442DH from Vishay which provides Vds @ 12V, Vgs @ 8V, Id @ 4A).

    {gallery}Spicy Controller V2

    image

    image

    I'm pleased to say that it works very well with the standard USB 5V charger...and here is the moment of truth video (my very first test using the new version)

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    So there was some power loss (image below show power result without using the controller device). Nevertheless, I'm pretty pleased considering that this is pre design optimization.

    image

    But it is not working properly with the smart fast charger.

    Yep, I discovered another problem for which I need further advice on.

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    Hopefully the video made sense.

    So, when the USB voltage line for the phone is disabled via the MOSFET switch the USB smart charger switches off power when I plug the phone in but it works fine when throughput voltage enabled.

    So I'm assuming that the issue lies with the data lines and thus I thinking I need some way to disable these when power is off and enable when power is on.

    I'm thinking that an NC or NO 1 or 2 channel analog switch IC would work here. If so is it necessary to switch both data lines (hence using a 2 channel switch) or could I get away with controlling just one of the data lines, like D+ for example, with a 1 channel switch.

    If this is not the right component to use what else might work here.

    As always, I look forward to getting your comments.

    Thanks

    Colin

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 3 years ago in reply to BigG

    Hi Colin, 

    Great project! It may be worth getting a USB plug and socket separately and wire them up 1:1 (or buy a USB extension cable and split it to access the wires) and see what happens if one or both data lines are cut. Also, it may be worth considering cutting the +5V rather than the 0V connection, to see if that makes a difference. There may be a risk of powering up circuitry if the 5V is not cut, because the end device (phone or whatever) could be powering things at low current, through 5V and one of the data lines, since it's an unknown (to me anyway) how the smart charger negotiates the higher voltage. Also for this project, maybe the smart charger is not needed, since if the aim is to run a device for extended periods then you'd only want to charge to say 50% anyway, and keep it there, which is feasible with 500mA.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • BigG
    0 BigG over 3 years ago in reply to shabaz

    Thanks Shabaz. It's getting there. More often than not you learn more through failures. As such your earlier replies about the D+ D- termination resistors and Battery Charging Negotiation Capability are finally beginning to make better sense. And hence sticking with this approach until I've run out of ideas.

    Your comments in your Silicon Labs roadtest review are proving very insightful. For example:

    "The USB power delivery is often negotiated, because it cannot be assumed that the power source has sufficient capability to power the load. "

    Standard Downstream Port – "If the USB device goes into USB Suspend then technically only 2.5mA is available."

    Apple and Samsung (and other vendor) proprietary schemes – "Depending on the DC voltage on the two pins, the remote device knows how much current it can draw."

    Dedicated Charging Port –"There is a fixed resistance between the two data pins. If the remote device detects this, then it will draw up to 1.5A."

    Charging Downstream Port – "By examining the voltage levels it will determine if the far end is operating in this CDP mode and the device will know it can draw up to 1.5A."

    What is still unknown is the applied tolerance to these various charging rules. The Cypress diagram explaining Rp, Rd, and Ra termination resistors has 5% and 20% tolerances for kOhm resistors. So that gives wriggle room.

    As such I'm thinking that I can use an Analog Switch IC to disable the Data Lines altogether, which will then tell the smart charger that the phone has been removed (this is what I want) and then when I set the switch to Normally Closed it will introduce less than 10ohms of added resistance, which is hopefully well within the tolerances and thus won't change the charging algorithms.

    I've already gone and modified my schematic and pcb design. This uses a TS3A4741DCNR dual channel SPST analog switch from Texas Instruments. Hopefully this is a good choice. At least it will be easier to solder than that Si1442DH FET I'm using. That was the smallest component I've hand soldered to date.

    image

    The 3d render looks pretty cool too.

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • BigG
    0 BigG over 3 years ago in reply to shabaz

    Thanks Shabaz. It's getting there. More often than not you learn more through failures. As such your earlier replies about the D+ D- termination resistors and Battery Charging Negotiation Capability are finally beginning to make better sense. And hence sticking with this approach until I've run out of ideas.

    Your comments in your Silicon Labs roadtest review are proving very insightful. For example:

    "The USB power delivery is often negotiated, because it cannot be assumed that the power source has sufficient capability to power the load. "

    Standard Downstream Port – "If the USB device goes into USB Suspend then technically only 2.5mA is available."

    Apple and Samsung (and other vendor) proprietary schemes – "Depending on the DC voltage on the two pins, the remote device knows how much current it can draw."

    Dedicated Charging Port –"There is a fixed resistance between the two data pins. If the remote device detects this, then it will draw up to 1.5A."

    Charging Downstream Port – "By examining the voltage levels it will determine if the far end is operating in this CDP mode and the device will know it can draw up to 1.5A."

    What is still unknown is the applied tolerance to these various charging rules. The Cypress diagram explaining Rp, Rd, and Ra termination resistors has 5% and 20% tolerances for kOhm resistors. So that gives wriggle room.

    As such I'm thinking that I can use an Analog Switch IC to disable the Data Lines altogether, which will then tell the smart charger that the phone has been removed (this is what I want) and then when I set the switch to Normally Closed it will introduce less than 10ohms of added resistance, which is hopefully well within the tolerances and thus won't change the charging algorithms.

    I've already gone and modified my schematic and pcb design. This uses a TS3A4741DCNR dual channel SPST analog switch from Texas Instruments. Hopefully this is a good choice. At least it will be easier to solder than that Si1442DH FET I'm using. That was the smallest component I've hand soldered to date.

    image

    The 3d render looks pretty cool too.

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube