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
Power & Energy
  • Technologies
  • More
Power & Energy
Forum Power sensing circuit
  • Blog
  • Forum
  • Quiz
  • Documents
  • Polls
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 9 replies
  • Answers 3 answers
  • Subscribers 287 subscribers
  • Views 1727 views
  • Users 0 members are here
Related

Power sensing circuit

pjshah72
pjshah72 over 5 years ago

Hi All,

 

I am with EE back-ground and recently I had question in interview regarding “How to sense/know when device needs power?”.


So, basically I had a good interview on different topics and one of them was MOSFET.
I answered mostly all questions properly until this question comes up.
Interviewer asked me: “If you are making power supply for a laptop and when laptop goes in to sleep that time your supply should not provide full power (may be negligible). And when you on the laptop or started working on it at that time your supply should provide required power.”
How can you design circuit which sense/detects when device needs power?

 

Can any one of you help me on this? I would really appreciated any input.


Thank you,

pj

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 5 years ago +2 suggested
    It sounds like you need to start with a sensor that detects when the computer needs power and when it doesn't. Many laptops have a switch that senses when the display/lid closes and generates a signal…
  • jw0752
    jw0752 over 5 years ago +2 suggested
    Hi Pujan, I am not an expert but it seems to me that this may have been a trick question. If the electronics of the computer are making the decision to go into sleep or low power mode does the power supply…
  • pjshah72
    pjshah72 over 5 years ago in reply to dougw +2
    Thank you Douglas Wong for your detailed reply. I completely understood what you have mentioned related to signal which controlled through CPU and that drives power supply. Now next question to follow…
  • dougw
    0 dougw over 5 years ago

    It sounds like you need to start with a sensor that detects when the computer needs power and when it doesn't.

    Many laptops have a switch that senses when the display/lid closes and generates a signal to turn off the display and go to sleep.

    Many computers have a timer that senses that no activity has occurred for a preset period and when the timer times out the computer goes into screensaver mode or sleep mode. These often wake up when a keyboard key is pushed, or the mouse is moved.

    The shutdown or sleep process is usually controlled by the CPU, so the shutdown signal needs to go to the CPU, which controls at least part of the power supply.

    The wakeup signal could go to the CPU if it has a built-in capability to convert this into a wakeup sequence, or it could directly activate power to parts of the circuit that were turned off. In that scenario, the CPU would get involved after waking up to keep power applied until a sleep cycle is required.

    There are lots of possible triggers and lots of potential power up and down sequences, including a simple power switch.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 5 years ago

    Hi Pujan,

     

    I am not an expert but it seems to me that this may have been a trick question. If the electronics of the computer are making the decision to go into sleep or low power mode does the power supply really have to do anything? The power supply only reacts to load demand and if the electronics has lowered the demand and therefore the load the power supply will see a higher impedance and provide less power. Most computer power supplies are switch mode and if they are line powered saving energy may not be an issue. If I have misunderstood or if I am wrong about the computer controls actually changing something in a power supplied it would be great to find out. The engineers on this site will quickly set me straight if I am off and we can both get some new ideas.

     

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • aswinvenu
    0 aswinvenu over 5 years ago

    Hi Pujan,

       I think there is a misconception here. Power modes are achieved not by limiting the supply current from the supply but by reducing the conception from the load. Let me elaborate it for you.

    In your case you wanted to achieve sleep mode. Then CPU gives commands to most of the peripheral controllers to go to sleep mode after that CPU itself will go into a state (no clocking)

    where it wait for an external interrupt to wakeup. So its doesn't work like, say, right now your system draws 3Amps and you wanted to achieve low power mode and you limit the current from the source to 0.1Amps "No"!

    But power supplies in computers are very intelligent they are called PMIC ( Power Management Integrated Circuits) They will take one input and generate multiple rails of LDO(Low Dropout Regulators) and DCDC Converters.This chip will be hooked to an I2C bus or some other communication bus to the CPU. All the peripherals will be powered from this IC. CPU will have the absolute control over all the functionality of these ICs. CPU can shutdown any rails using I2C commands.

    In your case you can use a MOSFET to turn on or off the rails to a peripheral and there by achieve low power.

     

    Regards,

    Aswin

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • pjshah72
    0 pjshah72 over 5 years ago in reply to dougw

    Thank you Douglas Wong for your detailed reply.

     

    I completely understood what you have mentioned related to signal which controlled through CPU and that drives power supply.
    Now next question to follow on this is:

    Let's see CPU is able to send signal to power supply circuit as per required scenario. Now my question (this is what I wanted to know in my first post) is what kind of circuitry helps power supply to go in active mode or non-active mode? In other words, what would be block diagram of circuit (between CPU and PS) that tells power supply to act?

     

    I hope I am asking correct way.

     

    Thank you once again for your inputs.

    Pj

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • pjshah72
    0 pjshah72 over 5 years ago in reply to jw0752

    Thank you John for your valuable inputs.

     

    Yes, I thought the same that power supply would react based on "load demand". So having said that, can you help me or suggest me how that circuit looks like which satisfy our (load demand) needs?

    Thanks once again,

    Pujan

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • pjshah72
    0 pjshah72 over 5 years ago in reply to aswinvenu

    Great explanation Aswin Venu. I really appreciated how you have clearly explained.

    I am very much familiar with I2C, SPI etc protocols that makes communication between peripherals. I have never worked on PMIC so would like to understand more in detail, specially with circuit/block dia-gram and/or videos if possible.

     

    Now let's say if I am using MOSFET then there is no I2C as MOSFET is an analog component. So in this case, how would you tell MOSFET to operate?

     

    Thanks once again,

    Pujan

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • stefan.rosu
    0 stefan.rosu over 5 years ago

    Hi Pujan,

     

    If the question is related to a MOSFET in a laptop power supply then it is about switching and efficiency.

    A MOSFET in the power supply is switching ON or OFF at the switching frequency, lets say 100kHz. This will generate losses that are present even at low output current.

    The MOSFET is not jut by itself, it is controlled by a controller, analog or digital. The controller will keep the voltage constant at the output when the current is changing. The controller can have (or not) an enable input. Also, the output of the power supply has a capacitor so that even if the MOSFET will stop switching, the output voltage will decrease slowly, depending on the current drawn from the laptop.

    In order to increase the efficiency, when the laptop enters sleep and the supply current will drop below a small value, let say 10%, you can stop the MOSFET from switching to save power. Once this happens, the output voltage will start to decrease, but slow because the current is below 10%, so you can wait some time. When the voltage drops below a set value, let say 95% of nominal, then you start the MOSFET again, the voltage rises to the nominal value.

    There are several ways to implement this circuit in a generic way, that is, if it was not included in the controller already.

    The easy way is with a comparator with hysteresis that will generate a enable signal when the voltage is at 95% and disable when the voltage is at 100% (enable "0" or "1" logic).

    This may not be desirable at high power because you will always have a 5% voltage ripple at the output.

    To resolve this you need another comparator and a current sense resistor in the GND wire. The 2nd comparator will generate a signal when the output current is smaller than 10%. This signal can be an enable for the first comparator so that only when the current is smaller than 10% the voltage will be allowed to drop to 95% while the MOSFET is not switching.

    If the controller does not have an Enable pin, then you can use the same principle but you can act directly on the feedback pin of the controller, basically you will change the nominal voltage from 95% to 100% with a comparator by adding resistance in the feedback divider of the controller.

    This control can disable the MOSFET for long periods of time if the current in the laptop is very small. You can have also other means of communication between the laptop and power supply but this is about how to sense the power.

     

    Regards,

    Stefan

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • pjshah72
    0 pjshah72 over 5 years ago in reply to stefan.rosu

    Thank you so much Stefan for an excellent information and your way of explaining. I would definitely like to try this out (at-least simulation).

    I really appreciate your time. Do you have any good informative material on PMIC? If so, could you refer me?

     

    Thank you and stay safe,

    Pujan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • stefan.rosu
    0 stefan.rosu over 5 years ago in reply to pjshah72

    Hi Pujan,

     

    I think the best way to find up to date information about PMIC is to follow the integrated circuit image

    That is, you can explore the offering of Farnell for example, and see what type of PMIC they have available. You can see some classification, for example DC-DC, off-line, controller with or without integrated power transistors, etc. You find the datasheet and the manufacturer this way.

    One other way is to go directly to the IC manufacturer sites (like Vishay, STMicroelectronics, Texas Instruments,  ONSemi) and browse the converter categories. You will find there also additional materials like application notes.

     

    Regards,

    Stefan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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