Copilot

Welcome to the all-new Copilot

Use Copilot to brainstorm projects, search the library, place and connect components, and more. Click a prompt or write your own to get started. Learn More

Explain
Write Project Description
Find Issues
Test Plan
Flux Copilot Video TutorialPlay Video

What should happen is when 12V is applied the 5V LDO starts producing 5V This wi...

@copilot What should happen is when 12V is applied the 5V LDO starts producing 5V This will then have a greater voltage than the VBAT 3.7V and become the VIN. The battery charger will start charging the battery as well. The 3V3 LDO will then start as well powering IC's down stream. If 12V is turned off then the 3.7V on the VBAT will be greater and thus be the VIN. This will only power the NRF chip all other devices will be inactive until the 12V returns. Does this seem accurate?
1y
Based on the project description and the intended behavior outlined, the process you've described seems logical within the framework of a power management system that toggles between a primary power source (the 12V input) and a secondary power source (VBAT, at 3.7V). Here's a breakdown of the logic and whether it aligns with standard practices in electronic design:
  1. Activation of the 5V LDO (Low-Dropout Regulator) with 12V Input:
    • Applying 12V would activate the LDO (U1: NCP1117ST50T3G) to step down the voltage to 5V. Given U1 is designed to take in a higher voltage (12V in this case) and output a regulated 5V, this behavior is expected and correct.
    • Connect 12V:P1 to U1:IN. Given your project description, I'm assuming U1 functions as the 5V LDO.
  2. 5V LDO Outputting Higher Voltage Than VBAT (3.7V):
    • With the LDO outputting 5V, it indeed becomes a higher voltage source compared to VBAT's 3.7V. This setup implies the system will preferentially use the 5V from the LDO as the main input voltage (VINVIN) for the system, which is a standard approach in dual-source power systems.
    • Connect U1:OUT to systems requiring 5V.
  3. Battery Charging Operation:
    • The battery charging IC (IC1: MCP73812T-420I/OT) beginning to charge the battery when the 12V is applied and subsequently the 5V LDO is active makes sense. The IC1 will utilize the available 5V as the charging source for the battery (assuming the charging IC's VDD is connected to the 5V output and VBAT to the battery).
    • Connect U1:OUT (5V) to IC1:VDD and VBAT:P1 to IC1:VBAT for this operation.
  4. Fallback to VBAT (3.7V) When 12V is Unavailable:
    • Removing the 12V supply implies the 5V LDO is no longer active, thereby making the VBAT (3.7V) the higher voltage source available to the system. It's a common power fallback strategy to ensure at least partial functionality of a system in the absence of the primary power source.
    • The system will hence switch to VBAT, which is expected to power minimal essential operations (like the NRF chip, assuming it's a low-power operation component compatible with 3.7V).
  5. VBAT as VIN When 12V is Off:
    • This setup will ensure that essential ICs remain powered even in the absence of 12V, preserving critical functionality or data. The description suggests a smart power management system that ensures operational minimums are met under varied power conditions.
Given these points, your logic for switching between power sources and managing system operations based on available power aligns with what's generally expected in dual-power-source systems. However, it might be important to ensure that there are proper blocking diodes or other mechanisms in place (like PMOS transistors acting as reverse current protection or for automatic source switching) to prevent back-feeding and to manage the automatic switch-over between power sources seamlessly.
Also, it's assumed here that the system's downstream components can operate within the voltage ranges provided by either power source. If any component requires a strictly regulated voltage (other than 5V from the LDO and 3.7V from VBAT), additional regulation would be necessary for those components when powered by VBAT.
1y
The one thing you did not mention was the u2 chip. Can you confirm that this If VCC on U15 is below 3.2V the RESET pin will be low, thus not allowing Q3 PMOS to conduct. This will make the input to D9 low and disconnect the battery from the circuit until VCC rises above 3.2V for 140ms. is correct? Look up the datasheet and confirm i am using this correct
1y
The specific behavior you're describing involves U2 (specified as MAX803 in your project), which is a supervisory circuit commonly used for monitoring power supplies in microprocessors and digital systems. It provides a reset output during power-up, power-down, and brown-out conditions. However, there's a slight confusion in the component designators in your description (mention of U15 and D9, which are not detailed in the project information provided), so I'll focus on the MAX803 functionality according to its common datasheet specifications and assume connections based on typical use cases:
The MAX803 supervises the power supply voltage (VCCVCC) and keeps the RESET pin active (low in this case) when VCCVCC is below a certain threshold. For MAX803, variants are available with different threshold voltages, but if we assume the variant you're using is set for a threshold of around 3.2V, then the described behavior is consistent with its intended functionality:
  1. VCCVCC Below Threshold (3.2V): U2 (MAX803) holds its RESET output low when VCCVCC is below 3.2V. This is intended to keep the system in a reset state or to disable certain functions until the power supply is stable and above the threshold, ensuring the system doesn't operate under undesirable conditions such as brown-out.
  2. RESET Pin Low Impact: Given the description, the low state of RESET is used to control a PMOS transistor (theoretically Q3, although your project mentions Q1 without a PMOS designator). This prevents the PMOS transistor from conducting, which in turn would disconnect or disable certain parts of the circuit (potentially a mechanism to disconnect the battery or other components).
  3. Recovery (VCCVCC Above Threshold for 140ms): The MAX803 typically requires the voltage to remain above the threshold for a certain period (which can be around 140ms for certain configurations) before it considers the voltage stable and releases the RESET pin (going high), allowing normal operation to resume.
Based on standard functionality of supervisory circuits like the MAX803, using it to monitor VCCVCC and control system operation under low-voltage conditions as described is correct. It's a common method to ensure safe operational states in electronic devices. Here, we'll assume typical connections for supervisory functionality with slight adjustment for clarity, as specific details like U15, D9, and Q3 are not directly provided:
  • Connect U2:VCC to the supply voltage that needs to be monitored (could be the output from a voltage regulator, VBAT, or another source depending on which voltage level we're ensuring doesn't drop below 3.2V).
  • Connect U2:GND to the system ground.
  • Connect U2:RESET to the gate of a PMOS transistor (Q1's equivalent) that controls critical circuit parts, assuming the PMOS is used as a switch to disconnect parts of the circuit under low voltage.
Please verify the specific connections, component designators, and adjustment based on the actual design parameters and components you're working with since the reference to U15, D9, and the exact behavior of Q3 cannot be directly confirmed without further clarification on their roles in your project.
1y
can you look up the different variants of the max803 and pick out the best one to protect the 3.7 lipo battery from getting too low
1y
While I can't access real-time data or databases to check the latest specifications or inventory, I can provide guidance on selecting the right variant of the MAX803 supervisory circuit typically available for protecting a 3.7V LiPo battery from discharging too low. The MAX803 line includes several variants that are differentiated by their threshold voltages and tolerance levels, designed to monitor supply voltages in electronic systems.
A 3.7V LiPo battery typically should not discharge below around 3.0V to 3.2V to maintain its longevity and prevent deep discharge conditions. Therefore, for a project seeking to protect such a battery, a MAX803 variant with a threshold voltage close to this range would be most appropriate.
MAX803 Variants:
  • MAX803S_ _ _T: This variant triggers a reset at 2.63V, which may be too low for the purpose of protecting a 3.7V LiPo battery effectively.
  • MAX803M_ _ _T: With a threshold voltage of around 3.08V, this variant is suitable for 3.7V LiPo battery protection. It acts close to the lower safe limit, providing a timely indication to prevent deep discharge.
  • MAX803L_ _ _T: Triggers a reset around 2.93V. It's also suitable, offering slightly earlier intervention compared to the M variant.
  • MAX803R_ _ _T: This variant features a 4.63V threshold voltage, which is too high for 3.7V LiPo battery protection purposes.
Recommended Variant:
Based on the need to prevent a LiPo battery from discharging below 3.2V, the MAX803M_ _ _T variant stands out as the ideal choice. It provides a reset threshold at approximately 3.08V, offering protection just before the battery reaches a critically low state. This should help safeguard the battery from deep discharge scenarios while ensuring that the system has adequate notice to enter a low-power state or shutdown gracefully.
Implementation Note:
  • Connection: Ensure that the MAX803M's VCC pin is connected to the battery voltage to monitor it directly. The RESET output would then be configured to manage the power enable line of your system, likely through a FET or a power management IC, to cut off or reduce power consumption when the battery voltage drops below the threshold.
Remember, when using a supervisory IC like MAX803 for battery protection, it's also crucial to consider the full discharge curve of the specific LiPo battery in use. Different batteries may have slightly different voltage levels where safety and operational longevity concerns kick in. Always consult the battery's datasheet alongside the supervisory IC's specifications to ensure compatibility and adequate protection.
1y
if pin 1 is pulled low how does this affect the VIN voltage value?

@copilot if pin 1 is pulled low how does this affect the VIN voltage value?
1y
To accurately answer your question about how pin 1 being pulled low affects the VIN voltage value, it's crucial to identify the specific component or net you're referring to. In the context of your project, pin 1 is mentioned in several components and nets, but two key areas are immediately relevant to the VIN voltage value based on your project description:
  1. IC1 (MCP73812T-420I/OT, Battery Charger): Pin 1 on IC1 is labeled as CEN (Charge Enable). Pulling CEN low typically enables the charging functionality of the MCP73812T. However, directly, pulling CEN low does not affect the VIN voltage value; instead, it allows the IC to start charging the battery if VIN is within the operating range. The VIN value for IC1 is provided through pin 3 labeled as VBAT, but this pin is connected to the battery voltage, not directly controlled by pin 1.
  2. U5 (MAX809, Supervisor IC): Pin 1 is GND, and since it's always connected to the ground, it does not have a state of being "pulled low" from a functional perspective. Its state won't directly affect VIN but grounding is essential for the reference point for the operation of the IC.
  3. For general consideration regarding VIN (Voltage Input) directly: If you're inquiring about a scenario where "pulling pin 1 low" refers to a generic power control or select logic pin that could potentially switch between different power sources impacting VIN, VIN's value would be dependent on the configuration of the circuit designed to select between different power sources (e.g., switching between a battery and an external power supply). Typically, the VIN voltage would be determined by the higher voltage source when using a prioritizing circuit or could be switched based on the state of a control pin in circuits designed for manual selection.
Assuming you're referring to a scenario where control of the VIN voltage is somehow tied to a pin being pulled low, such as a control mechanism in a power multiplexer or switch that might select between two sources (like the 12V and VBAT described in your project overview):
  • If PIN 1 (being a hypothetical control pin in this context) being pulled low leads to selecting the 12V supply over VBAT through a power-path control IC, then VIN would correspond to the 12V supply voltage, minus any voltage drop introduced by diodes or switches in the path.
  • If PIN 1 being low disconnects the 12V source and leaves VBAT as the supply, then VIN would be expected to be around the VBAT level, typically 3.7V for a single-cell LiPo battery.
Because the details provided don't specify a mechanism or component where pulling a pin low directly influences VIN, I based the response on general knowledge and the components you've listed. If you have a specific configuration in mind that isn't fully described by the component details, please provide additional information for a more targeted answer.
1y
ok what happens to vin if VBAT voltage level is 3.08v and lower. What would vin be?
I am trying to make the power path selection work here. If vbat drops to 3.08v or lower it should open Q1 and assuming 5V is not present VIN should be 0v this not powering the circuit
1y
Given your description and the objective to have VIN be 0V (effectively disconnecting the power to the circuit) when VBAT drops to 3.08V or lower (assuming the 5V supply is also not present), here's how the behavior of your circuit is interpreted with the provided components and net connections:
  1. VBAT at 3.08V or Lower: This condition indicates the battery voltage has dropped below a specific threshold. In your project, the supervisor IC (like U5, MAX809, but it's not directly connected to your described behavior) would typically monitor the battery voltage (VBAT) to trigger certain actions when it falls below a defined threshold. You've mentioned this logic related to VIN, but there's no direct supervisor IC connection to VBAT described in your components.
  2. Q1 Operation (ZXMP3A13FTA): Assuming Q1 is intended to be part of a power-path control mechanism that disconnects the power when VBAT is too low, Q1 would be a PMOS transistor. For Q1 to "open" (i.e., become non-conductive and thus isolate the VBAT path from VIN):
    • The gate voltage of Q1 (Pin 1: G) needs to be higher than or equal to the source voltage (Pin 2: S, which would be connected to VBAT) by at least the threshold voltage of the MOSFET. This condition is typically achieved through a supervisor IC configured to pull the gate high relative to VBAT when VBAT falls below a predetermined threshold.
    • Without a specific monitoring circuit or IC mentioned that connects directly to Q1's gate with this functionality, it's assumed based on your description that such a mechanism exists or is intended to be implemented to watch the VBAT level and control Q1 accordingly.
  3. VIN Level: If VBAT drops to 3.08V and assuming:
    • Q1 is effectively open due to the control mechanism acting on its gate.
    • No 5V supply is present (which would otherwise be stepped down to 3.3V or another voltage to potentially serve as a VIN source through a regulator like U1).
    Then VIN, in this case, would indeed be 0V (or effectively disconnected), meaning no power is supplied to the circuit components dependent on VIN. This setup ensures the circuit is not powered under unsafe battery conditions, protecting against deep discharge of the battery.
For this behavior to work as intended, ensure that:
  • The control logic for Q1 correctly interprets VBAT levels and has a set threshold that, when crossed, changes the gate voltage of Q1 to isolate VBAT from the rest of the circuit.
  • The rest of the circuit can tolerate a sudden drop to 0V on VIN without undesirable effects on the components or stored data.
Since the specific connections and behaviors around VBAT supervising and Q1 control are not detailed in your project description, assumptions were made based on typical circuit design practices and component functionalities related to power-path control.
1y
u5 monitors the vbat and then if the voltage drops below u5's threshold it will then make the reset pin on u5 low. I want to make sure that vbat is now longer powering the circuit when this happens. So Q1 should no longer be conduction.
1y
Given that U5 is used to monitor VBAT and has the functionality to pull its reset pin low ($\overline{RESET}$) upon detecting that VBAT drops below a specified threshold:
  1. When VBAT is above the U5 threshold: U5's $\overline{RESET}$ pin is in a high state (assuming default high), and Q1 is conducting. This means VBAT is connected to the circuit and powering it.
  2. When VBAT drops below U5's threshold: U5 pulls its $\overline{RESET}$ pin low. To use this action to make Q1 (a PMOS transistor) stop conducting, you can set up the circuit in such a way that Q1's gate is controlled by the $\overline{RESET}$ output of U5.
Here's the simplified mechanism for making sure VBAT no longer powers the circuit when U5 detects a low voltage condition:
  • Q1's Behavior: For a PMOS like Q1 to stop conducting (i.e., be "off"), its gate voltage needs to be close to the source voltage (VBAT). PMOS transistors are turned off when the gate-source voltage ($V_{GS}$) is less than the threshold voltage ($V_{th}$). Because the source of Q1 is connected to VBAT (which would be higher voltage), pulling the gate to a lower voltage (towards GND) turns it on, and bringing the gate voltage up near the source voltage turns it off.
  • Connecting U5 to Q1: Connect U5's $\overline{RESET}$ output to the gate of Q1. You want the gate of Q1 to be pulled low (conducting) under normal operations and go high (not conducting) when U5 detects a low VBAT condition and pulls its $\overline{RESET}$ low.
    • When VBAT is OK: U5's $\overline{RESET}$ is high, Q1 should be conducting. However, since $\overline{RESET}$ is inherently an active-low signal, you may need an inverter or utilize an active-low enable/transmission gate logic to ensure that Q1 is conducting when U5's $\overline{RESET}$ is high (logic high to gate of Q1 would normally turn it off, so inversion is required for desired operation).
    • When VBAT drops below the threshold: U5's $\overline{RESET}$ goes low. To ensure Q1 stops conducting (disconnects VBAT from the circuit), the gate of Q1 would need to go high relative to its source. This might need an additional component or circuit strategy to invert the effect since $\overline{RESET}$ going low directly would typically turn Q1 on.
Therefore, to use U5's $\overline{RESET}$ directly to control Q1 in the way you intend (stopping VBAT from powering the circuit when $\overline{RESET}$ is activated), consider the following corrective step if not already included in your design:
  • Inverting Logic: Implement an inverting logic (using an inverter logic IC or a simple transistor inverter circuit) between U5's $\overline{RESET}$ output and Q1's gate. This way, when U5's $\overline{RESET}$ is pulled low due to VBAT falling below the threshold, the inverter output goes high, turning off Q1 and effectively disconnecting VBAT from powering the circuit.
Always ensure that this additional logic or component does not introduce an unacceptable delay in response to falling VBAT levels and that it does not significantly increase the quiescent current draw, which could further deplete the battery.
1y

Image

https://cdn2.flux.ai/flux-comment-files/files/commentFileId-c54edce19a0ceef49f0f4c336198f907185f4abd559ab30f21136d6e1984359c.png?GoogleAccessId=graviton-mvp%40appspot.gserviceaccount.com&Expires=4869296041&Signature=JdJtlfE5zx9at6K988KeXObrGPQ3k2NtC4zRBHTNahr35CkXkss5R6g4ag7qu4TrDvtLtavSA6hqysvZLdKtzuMjtydAnpK4A1bAHo%2BkpPrrMojIH5F2TR%2FPWxgj8YV2F2hURuC0KMuBA6KH5qXP82GKnc95r7UN6DdgYrTZcIZyGBdv7iVBaciHfC2%2F%2F4UI96mT5aaxLGVZFUdgKC5TM71BWa5kuFXf%2Fq4n6T%2FYmm9MuA9N%2BxZgAIHoXjDHwgUBJJnk9MsXNJPgX%2BHr0a%2Bke22EX6vu3962vraz6AgtW73XQIegyuI5PnoOe5GkbHq%2FhuhAE6IhlEL%2B1IXd4PfoWA%3D%3D it looks like the max809 output from reset is low while vcc is lower than the threshold.
1y
The information provided in the image confirms that the RESET\overline{RESET} (RESET) output of the MAX809 remains low while V_CC (which is the input voltage to the MAX809, equivalent to VBAT in your case) is below the reset threshold. If VBAT voltage level falls to 3.08V or lower and stays below the threshold voltage that MAX809 is set for, the RESET\overline{RESET} output would indeed be low.
Since you want to ensure that VBAT no longer powers the circuit when this happens, you can leverage the low output from MAX809 for this purpose. Here's how the logic would work:
  • MAX809 Behavior: While VBAT (V_CC to the MAX809) is above the reset threshold, the RESET\overline{RESET} output is high, and when VBAT falls below the threshold, RESET\overline{RESET} goes low.
  • Q1 Connection to MAX809: Q1's gate should be connected to the RESET\overline{RESET} output of MAX809. If you connect them directly, when RESET\overline{RESET} goes low, Q1 (being a PMOS transistor and assuming its source is connected to VBAT) will be turned off because the gate-source voltage will be low (near zero).
  • Circuit Reaction to Low VBAT: When U5's RESET\overline{RESET} output goes low due to a low VBAT condition:
    • Q1 Gate Low: The gate of Q1 will be close to ground potential. For a PMOS transistor, a low gate-source voltage turns the transistor off, isolating VBAT from the rest of the circuit.
    • VIN Disconnected: VIN is therefore 0V or disconnected, so the circuit will not be powered by VBAT anymore.
This direct connection takes advantage of the MAX809's functionality without needing additional inversion logic between the RESET\overline{RESET} pin and Q1's gate, as I previously assumed might be necessary.
In summary, when VBAT drops below the threshold:
  • The RESET\overline{RESET} output of MAX809 becomes low.
  • This low state turns Q1 off, disconnecting VBAT from VIN.
  • VIN becomes 0V (disconnected), and the circuit is no longer powered by VBAT.
1y
for the gate on q1 do we need to put a pull down on the gate?
1y
When designing circuits that involve MOSFET transistors, it's often a good practice to include a resistor to define the gate voltage when the driving signal is not present or is in high-impedance state. For a PMOS transistor like Q1, a pull-down resistor on the gate ensures that the gate is pulled to ground potential when there's no active driver, keeping the PMOS in an "on" state.
Here's why you might want a pull-down resistor on the gate of Q1:
  • Ensure Default State: A pull-down resistor ensures that in the default state (when the MAX809 is not actively driving the RESET\overline{RESET} pin), Q1's gate is held at a low voltage level with respect to its source, which keeps Q1 "on," and thus VBAT connected to VIN.
  • Prevent Floating Gate: Without a pull-down resistor, the gate of Q1 could float if the driving signal is disconnected or the circuit powering the driver is off. A floating gate can pick up noise and cause unpredictable behavior, potentially leading to unwanted switching of the transistor.
  • Controlled Turn-on: By selecting an appropriate resistor value, you can also control the turn-on speed of the PMOS by limiting the inrush of current that charges the gate capacitance when transitioning from a high to low voltage.
In the case of your circuit with Q1 and the MAX809, a pull-down resistor might not be strictly necessary if the RESET\overline{RESET} pin of MAX809 is guaranteed to provide a valid logic level at all times when power is present. However, for added robustness, especially during power-up or power-down sequences, or under fault conditions, including a pull-down resistor is a prudent design choice.
Here's how to include it in the circuit:
  • Pull-down Resistor: Connect a resistor (common values are 10 kΩ to 100 kΩ for such applications, but the exact value could be chosen based on the input capacitance of Q1 and how fast you want the gate to discharge) between the gate of Q1 and ground (GND).
  • Direct Connection: Connect the RESET\overline{RESET} output of MAX809 directly to the gate of Q1, alongside the pull-down resistor.
This configuration will ensure that Q1's gate is held low by default (transistor on), connecting VBAT to VIN, and when RESET\overline{RESET} is actively driven low by MAX809, it will override the pull-down resistor, turning Q1 off.
1y
4
on q1 the gate is pulled down to 100k. An the gate it pulled up to 10k. The u5...

@copilot on q1 the gate is pulled down to 100k. An the gate it pulled up to 10k. The u5 will pull the reset pin pin2 low i the input vbat is below 3.2v can you explain if the pull up and pull down resistors are correct and how they both operate?
1y
The functionality of Q1, a PMOS transistor, in conjunction with the pull-up and pull-down resistors ($R3$ for 10k and $R7$ for 100k, respectively), and the behavior of U5 (assuming it to be a supervisor IC or voltage monitor like the MAX809) as it interacts with VBAT (the battery voltage), can be explained as follows:
Pull-Up ($R3$: 10k) and Pull-Down ($R7$: 100k) Resistors:
  • Pull-Down Resistor ($R7$: 100k): This resistor is connected between the gate of Q1 and ground. It ensures that the gate of the PMOS (Q1) is pulled to a low voltage level (ground) when there is no other driving force applied to it. This effectively turns the PMOS off under normal conditions (assuming VBAT is above the threshold voltage of U5, ~RESET is high, not pulling down).
  • Pull-Up Resistor ($R3$: 10k): Connected between the gate of Q1 and the ~RESET output of U5. This resistor ensures that, in the case U5 detects VBAT is below 3.2 V, it actively pulls the gate of Q1 to ground (low voltage), turning off the PMOS, since a PMOS is switched on by a lower voltage at its gate compared to its source. When VBAT is above 3.2 V, U5's ~RESET will be inactive (high), and due to $R3$ being a lower value than $R7$, it will pull the gate of Q1 up, switching it off.
Operation Explained:
  • Above Threshold (VBAT > 3.2V): When the battery voltage (VBAT) is above 3.2 V, U5's ~RESET output remains high (inactive). The gate of Q1 is pulled low through the pull-down resistor ($R7$), ensuring Q1 remains off in a default state. However, since there's no "pulling down" action due to the high state of ~RESET, this description initially seems counter-intuitive as $R3$ (pull-up) should not have a significant effect unless ~RESET is active.
  • Below Threshold (VBAT ≤ 3.2V): If VBAT drops below 3.2 V, U5 will drive its ~RESET output low. This pulls the gate of Q1 down (due to $R3$), ensuring Q1 turns off if it was on. This is a protective mechanism to prevent the device from operating under insufficient power conditions.
Correctness and Functionality:
  • The roles of $R3$ and $R7$ seem to be reversed in your description regarding their connection and operation with Q1. Typically, for a PMOS like Q1:
    • A pull-down resistor would ensure the transistor remains off (gate pulled to GND) when not actively driven.
    • A pull-up resistor might be employed in NMOS configurations or to ensure a defined state when an open-drain or open-collector output (like U5's ~RESET) goes inactive (high impedance).
Considering the overall functionality and typical PMOS behavior, there seems to be a misunderstanding or misdescription of how $R3$ and $R7$ are utilized:
  • Assumption 1: If U5 is pulling ~RESET low under low VBAT conditions to deactivate the PMOS, the resistor connected between ~RESET and the gate of Q1 should be helping in pulling the gate low, which means it acts more like a direct connection with a safety or current-limiting resistor rather than a conventional pull-up resistor as typically described.
  • Assumption 2: If $R7$ is meant to keep Q1 off by default (pulling the gate to ground), its effectiveness is questionable because a PMOS is turned off when the gate voltage is higher relative to the source (VBAT), not lower.
Conclusion: The explanation provided seems to conflate the standard pull-up/pull-down functionality with the specific actions taken by U5's ~RESET output. If the goal is to ensure Q1 turns off when VBAT drops below 3.2V, the design as briefly described seems to use these resistors in a manner that does not align with conventional wisdom. Clarification on the specific roles and connections of $R3$ and $R7$, as well as a more detailed operation scheme of U5 in relation to Q1, would be necessary for a precise assessment.
1y
what needs to be changed with these resistors to accomplish the described outcome.
1y
To accomplish the outcome where Q1 (a PMOS transistor) is turned off when the battery voltage (VBAT) drops below 3.2V with assistance from a supervisory IC (U5, assumed to be similar to MAX809), the arrangement of resistors and how they are utilized needs to be adjusted for coherence and effectiveness. Here's a recommendation based on the typical behavior of PMOS devices and supervisory ICs:
Original Description and Objective:
  • Objective: Ensure Q1 is off when VBAT is below 3.2V and on when above.
  • Original Configuration Issue: The pull-up (R3: 10k) and pull-down (R7: 100k) resistors' roles were not effectively described for controlling a PMOS gate with a supervisor IC (U5).
Recommended Changes:
  1. Remove Pull-Up between ~RESET and Gate:
    • Since ~RESET will be driving low to turn off Q1 when VBAT < 3.2V, the direct connection from ~RESET to the gate of Q1 through a current-limiting resistor is logical. However, the notion of a pull-up in this context is misleading.
    • Action: Keep a resistor between ~RESET of U5 and the gate of Q1 but ensure it acts as a current-limiting resistor for the shutdown signal, not as a traditional pull-up. This resistor (let's call it R_shutdown for clarity) could be around 10k to limit the current from the ~RESET pin.
  2. Define Pull-Down Resistor's role clearly:
    • The initial objective of R7 as a pull-down might have been misconstrued. For a PMOS, pulling the gate towards the source voltage turns it on, whereas driving it towards GND (or making it lower than the source) turns it off. In our case, the ~RESET active low functionality serves the latter purpose during low VBAT conditions so the "pull-down" via R7 isn't necessarily for turning Q1 off in this context but rather to ensure the gate doesn't float when ~RESET is inactive.
    • Action: Adjust or potentially remove the pull-down resistor on the gate of Q1, since its role seems counter-productive for the intended gating behaviour facilitated by U5. If the only goal was to avoid floating gates while ~RESET is in a high-impedance state, a very high value pull-up resistor to VBAT might make more sense, ensuring the PMOS remains on in normal operation but still allowing ~RESET to overpower it and pull the gate low when necessary.
Final Setup Recommendation:
  • Connect ~RESET of U5 directly to the gate of Q1 through a resistor (R_shutdown, around 10k), and reassess the need for a pull-down resistor at Q1's gate, possibly replacing it with a high-value pull-up to VBAT if necessary to keep the PMOS on under normal conditions (assuring that this pull-up doesn't impede the ~RESET action).
  • This ensures that when VBAT is above 3.2V, Q1 remains on, and when it drops below 3.2V, ~RESET going low will successfully and straightforwardly turn off Q1.
By focusing on the function of the ~RESET pin from U5 to directly control the gate of Q1 with a suitable current-limiting resistor and clarifying the role of any resistor at the gate relative to the source and ground levels, you ensure a more reliable and straightforward design for voltage monitoring and response.
1y
lets make this a bit more clear. Tell me to remove R3 or R7 and where to place them
1y
To make the operational goal clearer and achieve the desired outcome with Q1 and U5 (the supervisory IC analogous to MAX809), here's the direct instruction:
Instructions for Modification:
  • Remove R7: The 100k pull-down resistor currently connected to the gate of Q1 should be removed. In the described scenario, this resistor potentially conflicts with the desired control mechanism provided by U5's ~RESET output.
  • Retain R3 (or R_shutdown) with Adjustments: Keep the resistor (initially R3, referred to as 10k) that connects the ~RESET output of U5 to the gate of Q1. This resistor will act as a current-limiting resistor, ensuring that when U5's ~RESET goes low (active) due to VBAT dropping below 3.2V, it pulls the gate of Q1 to a low level safely, turning off Q1.
Revised Connections:
  • Direct Connection from U5 ~RESET to Q1 Gate through R_shutdown: Connect U5:~RESET directly to Q1:G through a resistor (let's continue referring to it as R3 for the sake of consistency, but it's now designated as R_shutdown). Ensure this resistor is about 10kΩ.
    Connect U5:2 (~RESET) to Q1:G through R3 (10kΩ).
    
  • No Pull-Down Resistor on Q1 Gate: With the active control provided by U5 through R3 (R_shutdown), there's no need for a pull-down resistor on Q1's gate for this specific functionality.
Clarification:
  • This configuration ensures that when VBAT is above 3.2V, Q1 can be on (depending on the application circuitry not fully described here), and when VBAT drops below 3.2V, U5 will pull its ~RESET pin low, actively pulling the gate of Q1 low through R3 (R_shutdown), ensuring Q1 turns off. This mechanism effectively uses the supervisory IC (U5) to control Q1 based on VBAT's voltage level, fulfilling the project requirement.
1y
5
does u4 MCP2517FD need 5v? or can we just use 3v3

@copilot does u4 MCP2517FD need 5v? or can we just use 3v3
1y
The MCP2517FD is a stand-alone CAN FD controller that enhances Microchip's CAN FD portfolio. The device operates with a supply voltage (VDD) in the range of 2.7V to 5.5V, which means it can work with both 3.3V and 5V supplies. For your specific application, whether to use 3.3V or 5V will depend on other design considerations such as the operating voltage levels of interfaced components, desired performance characteristics, and available power sources.
Given the flexibility of the MCP2517FD to operate over a wide voltage range, you can safely use 3.3V as the supply for U4 if that simplifies your power supply design or if other components in your system are also operating at 3.3V, which seems likely given that you have designators marked for 3.3V (3V3) in your project description. This can be advantageous for reducing power consumption and for compatibility with other low-voltage logic devices in your design.
For establishing the connection to use 3.3V with U4 in your schematic in Flux, you would ensure the following connection is made:
  • Connect 3V3:(P1) to U4:(VDD)
This ensures U4 is powered correctly in your NRF-Dual Power Circuit project with the 3.3V supply. Remember, it's crucial to check the datasheet for any additional requirements for operation at lower voltages, such as variations in the CAN bus performance or the need for different bypass capacitors for stability.
1y
3
5V
R3
Resistance
10k Ω
R11
Resistance
100k Ω
VBAT
R8
Resistance
100k Ω
Q3
Designator Prefix
Q
VBAT
R9
Resistance
100k Ω
If VCC on U15 is below 3.2V the RESET pin will be low, thus not allowing Q3 PMOS to conduct. This will make the input to D9 low and disconnect the battery from the circuit until VCC rises above 3.2V for 140ms.
MAX809T
Line 1
MAX809T: With a threshold voltage of around 3.08V, this variant is suitable for 3.7V LiPo battery protection. It acts close to the lower safe limit, providing a timely indication to prevent deep discharge.
R10
Resistance
100k Ω
Q1
Designator Prefix
Q
Q2
Designator Prefix
Q
U5
Manufacturer Part Number
MAX809


  • Terminal
    Terminal
    An electrical connector acting as reusable interface to a conductor and creating a point where external circuits can be connected.
  • Ground
    A common return path for electric current. Commonly known as ground.
  • Net Portal
    A net identifier used to create connectivity to other Net Portal with the same designator. #portal
  • Power Net Portal
    Power net portal is a special schematic object used to define a power or ground net. Power ports allow you to conveniently indicate a power net at any location in the design. Power nets of the same designator automatically connect throughout your design #portal #power
  • Generic Resistor
    A generic fixed resistor for rapid developing circuit topology. Save precious design time by seamlessly add more information to this part (value, footprint, etc.) as it becomes available. Standard resistor values: 1.0Ω 10Ω 100Ω 1.0kΩ 10kΩ 100kΩ 1.0MΩ 1.1Ω 11Ω 110Ω 1.1kΩ 11kΩ 110kΩ 1.1MΩ 1.2Ω 12Ω 120Ω 1.2kΩ 12kΩ 120kΩ 1.2MΩ 1.3Ω 13Ω 130Ω 1.3kΩ 13kΩ 130kΩ 1.3MΩ 1.5Ω 15Ω 150Ω 1.5kΩ 15kΩ 150kΩ 1.5MΩ 1.6Ω 16Ω 160Ω 1.6kΩ 16kΩ 160kΩ 1.6MΩ 1.8Ω 18Ω 180Ω 1.8KΩ 18kΩ 180kΩ 1.8MΩ 2.0Ω 20Ω 200Ω 2.0kΩ 20kΩ 200kΩ 2.0MΩ 2.2Ω 22Ω 220Ω 2.2kΩ 22kΩ 220kΩ 2.2MΩ 2.4Ω 24Ω 240Ω 2.4kΩ 24kΩ 240kΩ 2.4MΩ 2.7Ω 27Ω 270Ω 2.7kΩ 27kΩ 270kΩ 2.7MΩ 3.0Ω 30Ω 300Ω 3.0KΩ 30KΩ 300KΩ 3.0MΩ 3.3Ω 33Ω 330Ω 3.3kΩ 33kΩ 330kΩ 3.3MΩ 3.6Ω 36Ω 360Ω 3.6kΩ 36kΩ 360kΩ 3.6MΩ 3.9Ω 39Ω 390Ω 3.9kΩ 39kΩ 390kΩ 3.9MΩ 4.3Ω 43Ω 430Ω 4.3kΩ 43KΩ 430KΩ 4.3MΩ 4.7Ω 47Ω 470Ω 4.7kΩ 47kΩ 470kΩ 4.7MΩ 5.1Ω 51Ω 510Ω 5.1kΩ 51kΩ 510kΩ 5.1MΩ 5.6Ω 56Ω 560Ω 5.6kΩ 56kΩ 560kΩ 5.6MΩ 6.2Ω 62Ω 620Ω 6.2kΩ 62KΩ 620KΩ 6.2MΩ 6.8Ω 68Ω 680Ω 6.8kΩ 68kΩ 680kΩ 6.8MΩ 7.5Ω 75Ω 750Ω 7.5kΩ 75kΩ 750kΩ 7.5MΩ 8.2Ω 82Ω 820Ω 8.2kΩ 82kΩ 820kΩ 8.2MΩ 9.1Ω 91Ω 910Ω 9.1kΩ 91kΩ 910kΩ 9.1MΩ #generics #CommonPartsLibrary
  • Generic Capacitor
    A generic fixed capacitor for rapid developing circuit topology. Save precious design time by seamlessly add more information to this part (value, footprint, etc.) as it becomes available. Standard capacitor values: 1.0pF 10pF 100pF 1000pF 0.01uF 0.1uF 1.0uF 10uF 100uF 1000uF 10,000uF 1.1pF 11pF 110pF 1100pF 1.2pF 12pF 120pF 1200pF 1.3pF 13pF 130pF 1300pF 1.5pF 15pF 150pF 1500pF 0.015uF 0.15uF 1.5uF 15uF 150uF 1500uF 1.6pF 16pF 160pF 1600pF 1.8pF 18pF 180pF 1800pF 2.0pF 20pF 200pF 2000pF 2.2pF 22pF 20pF 2200pF 0.022uF 0.22uF 2.2uF 22uF 220uF 2200uF 2.4pF 24pF 240pF 2400pF 2.7pF 27pF 270pF 2700pF 3.0pF 30pF 300pF 3000pF 3.3pF 33pF 330pF 3300pF 0.033uF 0.33uF 3.3uF 33uF 330uF 3300uF 3.6pF 36pF 360pF 3600pF 3.9pF 39pF 390pF 3900pF 4.3pF 43pF 430pF 4300pF 4.7pF 47pF 470pF 4700pF 0.047uF 0.47uF 4.7uF 47uF 470uF 4700uF 5.1pF 51pF 510pF 5100pF 5.6pF 56pF 560pF 5600pF 6.2pF 62pF 620pF 6200pF 6.8pF 68pF 680pF 6800pF 0.068uF 0.68uF 6.8uF 68uF 680uF 6800uF 7.5pF 75pF 750pF 7500pF 8.2pF 82pF 820pF 8200pF 9.1pF 91pF 910pF 9100pF #generics #CommonPartsLibrary
  • Generic Inductor
    A generic fixed inductor for rapid developing circuit topology. *You can now change the footprint and 3D model at the top level anytime you want. This is the power of #generics
  • RMCF0805JT47K0
    47 kOhms ±5% 0.125W, 1/8W Chip Resistor 0805 (2012 Metric) Automotive AEC-Q200 Thick Film #forLedBlink
  • 875105359001
    10uF Capacitor Aluminum Polymer 20% 16V SMD 5x5.3mm #forLedBlink #commonpartslibrary #capacitor #aluminumpolymer #radialcan
  • CTL1206FYW1T
    Yellow 595nm LED Indication - Discrete 1.7V 1206 (3216 Metric) #forLedBlink

Inspect

NRF-Dual Power Circuit

NRF-Dual Power Circuit
Description

Created
Last updated by ril3y
1 Contributor(s)
ril3y

Controls

Properties

Availability & Pricing

DistributorQty 1
Digi-Key$13.73–$15.09
LCSC$4.38
Mouser$6.33

Assets

    Simulation

    µs

    Simulation Speed