Chat
Welcome to Flux
Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More
Ready.
Reviews
Properties
Properties describe core aspects of the project.
Pricing & Availability
Distributor | Qty 1 |
|---|
Assets
No assets added.
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.
hamedm
copilot
- Coil (Inductor)
- Oscillator Circuit (to generate AC signal)
- Demodulator/Rectifier Circuit (to process the signal from the oscillator)
- Comparator (to provide a digital output)
- Power Supply
- Miscellaneous components: Resistors, Capacitors, Diodes
Circuit Overview- Oscillator: Generates a high-frequency AC signal.
- Inductive Coil: The presence of a metallic object will change the inductance of the coil.
- Detection Circuit: Processes the signal and generates a change in voltage when a metal object is near.
- Comparator: Converts the analog signal to a digital signal indicating presence or absence of the object.
Assumptions- Supply Voltage: 12V
- Coil inductance: 100µH
- Oscillator frequency: 1MHz
Step-by-Step Connections-
Oscillator Circuit:
- Use a Colpitts oscillator with an inductor L1 and capacitors C1, C2 to generate the high-frequency signal.
- Connect the junction of the capacitors to the base of the NPN transistor Q1.
-
Coil:
- Connect the coil L1 as part of the oscillator circuit.
-
Detection Circuit:
- Connect a diode D1 and a capacitor C3 to rectify and filter the signal from the oscillator.
- The resistor R1 sets the time constant for filtering.
-
Comparator:
- Use an operational amplifier (op-amp) in comparator configuration.
- Connect the output of the detection circuit to the inverting input of the op-amp U1:−.
- Connect a reference voltage to the non-inverting input of the op-amp U1:+. This reference voltage determines the threshold for detection.
-
Output:
- The output of the comparator is a digital signal which goes High or Low depending on the presence of the metallic object.
Specific Connections-
Oscillator:
- Connect Q1:Collector to VCC.
- Connect Q1:Emitter to GND.
- Connect Q1:Base to the junction of C1 and C2 and the emitter via L1.
-
Rectifier:
- Connect L1 to D1:Anode, D1:Cathode to C3:1 and R1:1, then C3:2 to GND.
-
Comparator:
- Connect R1:2 to U1:−.
- Connect ReferenceVoltage to U1:+.
- Connect U1:Output to the digital output pin for further processing.
Schematic Representationhamedm
copilot
hamedm
copilot
- Forward Bias: When the diode is forward-biased (correct polarity), it allows current to flow to the circuit with a minimal voltage drop.
- Reverse Bias: When the polarity is reversed, the diode becomes reverse-biased and prevents current from reaching the circuit, thus protecting it.
Why Not Use a Diode in the Ground Line?- Ground Reference: Ground serves as a reference point for all potential measurements in the circuit. Adding a diode here could disrupt this reference.
- Voltage Drop Issues: Adding a diode in the ground line introduces another voltage drop, which can affect the performance of sensitive circuits.
- Potential Loops: It could create unexpected potential differences, leading to dysfunction in interconnected systems.
Additional Protection Methodshamedm
copilot
-
Purpose: Protects the circuit by limiting the current in the event of an overcurrent or short circuit.
-
Working: It behaves like a resistor that increases in resistance when heated by excessive current, effectively limiting the current flow.
-
Connection:
- Place the polyfuse in series with the power supply line, right after the diode.
- Connection: Place it between the diode and the circuit’s VCC line.
- Example: Connect Polyfuse:1 to D2:Cathode, and Polyfuse:2 to Sensor Circuit:VCC.
-
Types: Polyfuses have different ratings; select one appropriate for your circuit's maximum current needs.
TVS Diode (Transient Voltage Suppression Diode)- Purpose: Protects against voltage spikes and transients which can occur due to switching or external interference.
- Working: It clamps excess voltage and shunts it to ground, preventing it from passing into the circuit.
- Connection:
- Connect a TVS diode in parallel with the power rails (across VCC and GND).
- Connection: Connect TVS:Anode to GND, and TVS:Cathode to VCC.
- Ensure the TVS diode's reverse breakdown voltage is slightly higher than the normal operating voltage.
Parallel Diode for Reverse Polarity Protectionhamedm
copilot
-
Schottky Diode (for series protection):
- Part suggestion: Use a diode like the 1N5819, rated for at least 24V and over 50mA.
-
Polyfuse (Resettable fuse):
- Choose a polyfuse rated around 60-100mA, allowing for some margin beyond the 50mA.
-
TVS Diode (Transient Voltage Suppression):
- Choose a TVS diode that has a breakdown voltage slightly above 24V. A 30V rated part would be suitable.
Circuit Design-
Series Schottky Diode for Reverse Polarity Protection:
- Placement: Place the diode in series with the VCC line from your power supply.
- Connection:
- Connect D1:Anode to Power Source:Positive Line.
- Connect D1:Cathode to Polyfuse:1.
-
Polyfuse for Overcurrent Protection:
- Placement: Place it in series after the Schottky diode to protect against overcurrent.
- Connection:
- Connect Polyfuse:1 to D1:Cathode.
- Connect Polyfuse:2 to $V_{CC}$ line of Circuit.
-
TVS Diode for Voltage Spike Protection:
- Placement: Connect in parallel across the supply rails (VCC and Ground).
- Connection:
- Connect TVS:Anode to GND line of Circuit.
- Connect TVS:Cathode to $V_{CC}$ after the polyfuse.
Schematic Overviewhamedm
copilot
- Part Number: RUE090
- Specifications: 90mA rated current, which allows for a safe margin beyond your circuit's 50mA requirement.
2. Schematic Location for Schottky Diodehamedm
copilot
hamedm
copilot
- Part Number: RTE050
- Specifications: 50mA hold current, suitable for your application.
2. Protecting the Output Wire from Reverse Polarityhamedm
copilot
hamedm
copilot
- Current Limiting Protection: A polyfuse is primarily used to protect against overcurrent situations. It is designed to limit current by increasing its resistance when a specified current threshold, the trip current, is exceeded.
Key Parameters for Polyfuse Selection-
Hold Current ($I_{\text{hold}}$):
- This is the maximum current the polyfuse can carry indefinitely without tripping.
- Should be slightly above your circuit's normal operating current to avoid nuisance tripping.
-
Trip Current ($I_{\text{trip}}$):
- The minimum current that will cause the polyfuse to trip and significantly increase its resistance.
- This should be above your normal operating current but below what would cause damage to your circuit.
-
Voltage Rating:
- Although the focus is on current, the polyfuse must also have a voltage rating equal to or greater than the maximum voltage in your circuit to ensure safe operation.
- This ensures the polyfuse can block the circuit voltage when tripped and is capable of operating safely across your voltage range.
Use Case Explanation- Overcurrent Protection: The polyfuse responds to excessive current by heating up and transitioning from a low-resistance state to a high-resistance state, thus limiting the current flow and protecting downstream components.
- Voltage Consideration: The voltage rating ensures that once tripped, the polyfuse can withstand the circuit's voltage without breaking down or causing further issues.
Not for Over-Voltage Protectionhamedm
copilot