1. Production process
According to the circuit schematic, design a single-sided PCB as shown below.
Before soldering the circuit board, first prepare all the components in Appendix 1. Use a multimeter to test all of them to ensure that there are no problems with the components.
Before soldering the circuit board, first prepare all the components in Appendix 1. Use a multimeter to test all of them to ensure that there are no problems with the components.
Next, you can start soldering. Follow the principle of soldering from low to high and from small to large. As shown in the figure below, first solder the smaller components such as resistors and ceramic capacitors to the circuit board. Then solder the electrolytic capacitors, transformers, and USB ports in sequence.
For safety reasons, use a 1/2W 1Ω resistor as a fuse (F1).
The following points should be noted during soldering:
(1) The light-emitting diode LED1 is the power indicator light. It needs to be aligned with the round hole on the shell. The pin of LED1 can be left longer, otherwise it cannot be seen on the surface.
(2) Do not mix up the diodes D1, D5, D6, and D7. IN4007 is a low-frequency diode, FR107 is a high-frequency high-voltage diode, IN5819 is a low-voltage high-frequency diode, etc. They cannot be replaced.
(3) Do not install the transistors Q1 and Q2 incorrectly, let alone reversely.
(4) After installation and soldering, carefully check each part to see if there is any cold soldering or other problems.
2. Debugging Methods
After carefully checking that the circuit board is correctly welded, it is time to enter the debugging stage. Pay special attention to safety here, because the circuit is directly powered by 220V, and there is a 22C)V high voltage on the entire circuit board. Once the human body touches the circuit board, an electric shock will occur. So be extra careful in the next steps.
For the convenience of debugging, first solder a 220V plug wire on the PCB. At the same time, for safety reasons, please connect a 10W bulb in series on the plug wire to prevent short circuit or wrong connection, as shown in the figure below.
If the welding is correct, you can use a multimeter to measure that there is a +5V DC voltage output between the 1st and 4th pins of the USB port, and the power indicator LED1 lights up normally. After everything is normal, remove the plug wire, replace it with two wires, and connect the circuit board to the pins on the shell, as shown in the figure below.
Finally, insert the circuit board into the other half of the shell, expose the indicator light outside the round hole, and align the USB port with the square hole reserved in the shell. After completion, you can use it normally to charge MP3 and MP4. The final effect is shown in the figure below. See the component list in the table below.
3. Other solutions
In addition to the solutions described above, you can also refer to the following figure to make a switch-mode USB charger using the DC-DC converter MC34063A as the core. The internal structure of MC34063A can be seen in the right figure. Its internal transistor Q1 plays the role of an analog switch. The internal oscillator sets the switching cycle. At the same time, the Ipeak sensing end limits the current flowing through the inductor L1 by controlling the conduction time of the transistor Q1. The 125V reference voltage and the comparator form a circuit to monitor the output voltage and provide feedback to the chip.
In the figure below. When the power switch S1 is closed, MC34063A obtains the working power supply, the diode D1 can prevent the power supply polarity from being reversed during welding and burning the device, and the transient voltage interference suppressor D2 can suppress the high-frequency pulse noise introduced from the power supply. Capacitors C1 and C2 play a further filtering role.
In addition to the solutions described above, you can also refer to the following figure to make a switch-mode USB charger using the DC-DC converter MC34063A as the core. The internal structure of MC34063A can be seen in the right figure. Its internal transistor Q1 plays the role of an analog switch. The internal oscillator sets the switching cycle. At the same time, the Ipeak sensing end limits the current flowing through the inductor L1 by controlling the conduction time of the transistor Q1. The 125V reference voltage and the comparator form a circuit to monitor the output voltage and provide feedback to the chip.
In the figure below. When the power switch S1 is closed, MC34063A obtains the working power supply, the diode D1 can prevent the power supply polarity from being reversed during welding and burning the device, and the transient voltage interference suppressor D2 can suppress the high-frequency pulse noise introduced from the power supply. Capacitors C1 and C2 play a further filtering role.
Three 1Ω resistors R1, R2, and R3 in parallel can help monitor the current flowing through the inductor L1. When the current reaches 1A, the level of pin 7 of MC34063A is 300mV lower than that of pin 6, so that the internal transistor of MC34063A is cut off, and the energy stored in the inductor L1 enters the capacitor C4 through the Schottky diode D3.
Pin 5 of MC34063A stabilizes the output voltage through a voltage divider. The voltage regulator diode D4 and the 10Ω resistor R7 play the role of overvoltage protection when the load suddenly decreases. Under normal circumstances, when the output voltage is 5V, the voltage regulator diode D4 will not conduct. However, when the potentiometer R5 is adjusted to make the divided voltage 1.25V, the output voltage is 5V. If it exceeds 5.1V, the voltage regulator diode D4 will continue to conduct, so it is necessary to be cautious when adjusting R5 to ensure that the output voltage does not exceed 5.1V.
Inductor L1 is made by winding 75 turns of φ0.5mm enameled wire on a round iron core. Since the circuit is relatively simple, you can refer to the device layout in the figure above to design a single-sided PCB. After the PCB is made. Solder the components according to the principle of small to large, and the final product is shown in the figure below. After
the production is completed, enter the debugging stage. First, turn the potentiometer R5 counterclockwise to the end, use the voltage range of the multimeter to measure the voltage of the circuit test point TP, then power the circuit, close the power switch S1, and adjust the potentiometer R5 so that the multimeter reading is 5V±20mV. After debugging, you can install the circuit board shown in the figure below into a plastic box, so that the indicator light D5 is exposed.
the production is completed, enter the debugging stage. First, turn the potentiometer R5 counterclockwise to the end, use the voltage range of the multimeter to measure the voltage of the circuit test point TP, then power the circuit, close the power switch S1, and adjust the potentiometer R5 so that the multimeter reading is 5V±20mV. After debugging, you can install the circuit board shown in the figure below into a plastic box, so that the indicator light D5 is exposed.
4. How to use the USB charger
The finished USB charger is shown in the figure below. It is very simple to use. Just plug the USB charger into a 220VAC socket. If the indicator light on the charger is on, it means it is working properly. Then connect the original USB cable of the MP3 or MP4 to the USB port below the charger and the charging port on the device. You will see a message on the MP3 or MP4 that the battery is being charged. When the MP3 or MP4
prompts that the battery is fully charged, unplug the charger from the socket and disconnect the USB connection between the device and the charger.
prompts that the battery is fully charged, unplug the charger from the socket and disconnect the USB connection between the device and the charger.
5. How does a USB charger work?
It is very easy to use this homemade USB charger to charge MP3 or MP4. So what is the secret in the USB charger? In fact, the circuit of the USB charger is very simple (you can guess it from the cost of less than 10 yuan!), as shown in the figure below is the circuit diagram of the USB charger.
After the 220V AC is rectified and filtered by diode D1 and capacitor C1, there will be a DC voltage of about 300V at C1. After the resistor R2, the base of the transistor Q1 is provided with working current. After Q1 works, its collector generates current in the primary coil 3~4 of the transformer T1, so that the secondary coil 5~6 of T1 generates voltage due to induction, and the other secondary coil 1~2 of T1 also generates induced voltage. These two secondary coils are two independent coils with the same number of turns. The output of coils 1~2 is rectified and filtered by diode D7 and capacitor C5, and finally charged to the load through the USB socket and JP2.
Coils 5-6 of T1, capacitor C3, and resistor R4 also form a positive feedback circuit of transistor Q1, which makes Q1 oscillate at high frequency and continuously supply power to coils 3-4. When the load impedance changes and the output voltage increases, coils 5-6 and voltage-stabilizing diode ZD1 sample and compare to turn on transistor Q2, and the base current of Q1 decreases, and the collector current also decreases, so that the circuit load capacity decreases and the output voltage is reduced, thus playing a role in voltage stabilization.
In addition, capacitor C4, resistor R5, and diode D5 form a breakdown protection circuit to prevent the induced voltage of coils 3-4 from breaking down Q1.
After the 220V AC is rectified and filtered by diode D1 and capacitor C1, there will be a DC voltage of about 300V at C1. After the resistor R2, the base of the transistor Q1 is provided with working current. After Q1 works, its collector generates current in the primary coil 3~4 of the transformer T1, so that the secondary coil 5~6 of T1 generates voltage due to induction, and the other secondary coil 1~2 of T1 also generates induced voltage. These two secondary coils are two independent coils with the same number of turns. The output of coils 1~2 is rectified and filtered by diode D7 and capacitor C5, and finally charged to the load through the USB socket and JP2.
Coils 5-6 of T1, capacitor C3, and resistor R4 also form a positive feedback circuit of transistor Q1, which makes Q1 oscillate at high frequency and continuously supply power to coils 3-4. When the load impedance changes and the output voltage increases, coils 5-6 and voltage-stabilizing diode ZD1 sample and compare to turn on transistor Q2, and the base current of Q1 decreases, and the collector current also decreases, so that the circuit load capacity decreases and the output voltage is reduced, thus playing a role in voltage stabilization.
In addition, capacitor C4, resistor R5, and diode D5 form a breakdown protection circuit to prevent the induced voltage of coils 3-4 from breaking down Q1.
Previous article:Overload protection of quasi-resonant power supply
Next article:Electric vehicle battery charging protection circuit diagram
Recommended ReadingLatest update time:2024-11-16 21:52
USB controller chip and its application in image acquisition
USB controller chip and its application in image acquisition
This paper introduces the features and functions of the CYPRESS2131 USB controller chip in detail, and makes a detailed analysis of its application in image acquisition. The paper includes schematics and routines.
Keywords:
CYPR
[Analog Electronics]
Gowin launches GoBridge ASSP product line for USB peripheral bridge
Guangzhou, China, June 29, 2021 - Guangdong Gowin Semiconductor Technology Co., Ltd. (hereinafter referred to as "Gowin Semiconductor") launched its GoBridge ASSP product line and released the GWU2X and GWU2U USB interface bridge devices. The GWU2X ASSP can convert USB interfaces to SPI, JTAG, I2C and GPIO, while th
[Analog Electronics]
CS5261 chip specification | USB-c to HDMI 2.0 conversion solution
Capstone CS5261 is a high-performance Type-C/DP1.4 to HDMI2.0b converter designed to connect USB Type-C end or DP1.4 source to HDMI2.0b conversion. CS5261 integrates a DP1.4 compatible receiver and an HDMI2.0b compatible transmitter. In addition, two CC controllers are included for CC communication to achieve DP Alt
[Embedded]
STM32 study notes USB data receiving and sending process analysis
Now that you have learned USB, you must understand how USB devices communicate with USB host data. Here we mainly talk about the device side, because our code is used for USB devices. We need to define the USB interrupt. First, in the interrupt vector table of STM32, two interrupts are given to USB. We can find these
[Microcontroller]
Würth Elektronik launches USB2.0 Type-C socket and plug
Würth Elektronik launches USB2.0 Type-C socket and plug
Enjoy the convenience of USB Type-C power and connectivity
Waldenburg (Germany), October 11, 2022 - Würth Elektronik offers a very practical solution for engineers who want to use USB Type-C connectors but do not need the high data
[Power Management]
Design of optometry control system based on FPGA and USB interface
1. Introduction In recent years, myopia has seriously affected people's health. In order to accurately understand the degree of myopia of myopic patients and provide more suitable glasses for them, optometry instruments have become indispensable equipment in the eyewear retail industry. At present, the mainstream
[Power Management]
ARM USB Communication
Use ZLG's dynamic link library for dynamic loading. ARM is Context-M3-1343. Host computer communication software developed in C++ Builder 6. The USB communication code is as follows: //--------------------------------------------------------------------------- #include vcl.h #pragma hdrstop #include "Uni
[Microcontroller]
Nexperia launches very low clamping bidirectional ESD protection device for USB4 standard interface
Nexperia launches very low clamping bidirectional ESD protection device for USB4 standard interface
TrEOS diodes offer industry-leading insertion loss and return loss characteristics for more robust USB4TM data transmission
Nijmegen, October 21, 2021:
Nexperia, the expert
[Power Management]
- Popular Resources
- Popular amplifiers
- Virtualization Technology Practice Guide - High-efficiency and low-cost solutions for small and medium-sized enterprises (Wang Chunhai)
- usb_host_device_code
- Image acquisition and processing system for panoramic map applications
- Teach you to learn 51 single chip microcomputer-C language version (Second Edition) (Song Xuefeng)
Recommended Content
Latest Power Management Articles
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
MoreSelected Circuit Diagrams
MorePopular Articles
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
MoreDaily News
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
Guess you like
- Thoughts and feelings after experiencing a domestic USB audio chip
- [2022 Digi-Key Innovation Design Competition] [Intelligent Garden Integrated Control System] Data Collection STM32L496G-DISCO
- Voltech pm1000+PC software (host computer software)
- Embedded vision engine and DSP library expand TI driver assistance system
- MSP430 main system clock and 430 low power settings
- Analysis of C64x+ CACHE consistency issues
- Don’t all design applications require 5G?
- Digital tube decreasing display and running light control (beginner level) [including Proteus simulation and source code]
- Instructions for purchasing the CC1352R1 wireless development board on TI.com
- Waveform Generator Circuit