CN109525017B - Charging circuit and electronic device - Google Patents

Charging circuit and electronic device Download PDF

Info

Publication number
CN109525017B
CN109525017B CN201811575263.XA CN201811575263A CN109525017B CN 109525017 B CN109525017 B CN 109525017B CN 201811575263 A CN201811575263 A CN 201811575263A CN 109525017 B CN109525017 B CN 109525017B
Authority
CN
China
Prior art keywords
proximity sensor
switch
contact
charging circuit
control module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811575263.XA
Other languages
Chinese (zh)
Other versions
CN109525017A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhang Daming
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201811575263.XA priority Critical patent/CN109525017B/en
Publication of CN109525017A publication Critical patent/CN109525017A/en
Application granted granted Critical
Publication of CN109525017B publication Critical patent/CN109525017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections

Abstract

The application discloses a charging circuit and electronic equipment, wherein the charging circuit comprises a proximity sensor, an interruption detection module, a switch control module, a switch, a resistor and a power supply; the proximity sensor is connected with the power supply through a resistor, if the switch is in a closed state, the proximity sensor is connected with the power supply through the switch, and the proximity sensor is connected with the switch sequentially through the interruption detection module and the switch control module; the interrupt detection module outputs a generated low-level interrupt signal to the switch control module if detecting that the input level of the proximity sensor contact is a low level; if the input level of the contact of the proximity sensor is detected to be changed from high level to low level, the generated falling edge interrupt signal is output to the switch control module; the switch control module can control the switch to be closed according to the low-level interrupt signal or the falling edge interrupt signal; and if the switch is closed, the power supply charges the proximity sensor. The application can improve the controllability of the charging of the proximity sensor.

Description

Charging circuit and electronic device
Technical Field
The application relates to the technical field of charging, in particular to a charging circuit and electronic equipment.
Background
The call is the most basic function of the terminal, and in order to further save the electricity consumption of the terminal during the call, the terminal is generally arranged through a proximity sensor at present, and whether a screen is close to an object or not and the light brightness of the surrounding environment of the terminal are detected during the call of the terminal. When the proximity sensor detects that the screen is far away from the object, the screen can be closed to save the electricity consumption when the terminal is in a call. When the proximity sensor detects the light brightness of the surrounding environment of the terminal, the brightness of the screen can be adjusted according to the light brightness, so that the electricity consumption of the terminal during communication is saved.
In the related art, the charging operation of the proximity sensor is relatively uncontrollable.
Disclosure of Invention
The embodiment of the application provides a charging circuit and an electronic device, which can improve the charging controllability of a proximity sensor.
In a first aspect, an embodiment of the present application provides a charging circuit, where the charging circuit includes a proximity sensor, an interruption detection module, a switch control module, a switch, a resistor, and a power supply;
the proximity sensor is electrically connected with the power supply sequentially through the contact of the proximity sensor and the resistor, when the switch is in a closed state, the proximity sensor is electrically connected with the power supply sequentially through the contact of the proximity sensor and the switch, wherein the contact of the proximity sensor comprises a first input port, a first output port and a second output port, the contact of the proximity sensor is connected with the switch and the resistor through the first input port, the contact of the proximity sensor is connected with the proximity sensor through the first output port, the contact of the proximity sensor is connected with the interruption detection module through the second output port, and the interruption detection module is connected with the switch through the switch control module;
the interrupt detection module is used for detecting an input level received by a contact of the proximity sensor, generating a low-level interrupt signal when detecting that the input level received by the contact of the proximity sensor is a low level, and outputting the generated low-level interrupt signal to the switch control module; when the input level received by the contact of the proximity sensor is detected to be changed from a high level to a low level, generating a falling edge interrupt signal, and outputting the generated falling edge interrupt signal to the switch control module;
the switch control module is used for outputting a first control signal to the switch according to the input low-level interrupt signal or the input falling edge interrupt signal so as to control the switch to be closed;
and the power supply is used for charging the proximity sensor sequentially through the switch when the switch is closed.
In a second aspect, an embodiment of the present application provides an electronic device, including a housing, a circuit board, and a charging circuit, the circuit board and the charging circuit are disposed in the housing, the charging circuit is integrated on the circuit board, and the charging circuit is the above-mentioned charging circuit.
The charging circuit in this application embodiment, before preparing to charge proximity sensor, whether contact sensor contacts well is judged to the input level that accessible proximity sensor's contact was received, when the input level that the contact was received was the low level, then contact sensor contacts well, and control switch closure is in order to charge proximity sensor this moment, prevents to charge proximity sensor to contact failure, and leads to the extravagant and too high proximity sensor temperature of electric quantity to proximity sensor charging's controllability has been improved.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a schematic view of a scenario provided in an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of a first structure of a charging circuit according to an embodiment of the present disclosure.
Fig. 4 is a second structural schematic diagram of a charging circuit according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a third structure of a charging circuit according to an embodiment of the present application.
Fig. 6 is a fourth structural schematic diagram of a charging circuit according to an embodiment of the present application.
Fig. 7 is a fifth structural schematic diagram of a charging circuit according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
Referring to fig. 1, fig. 1 is a schematic view of a scene provided in an embodiment of the present application, and an analysis description is performed below. As shown in fig. 1, the electronic device may include a power source and a proximity sensor. The electronic device can charge the proximity sensor through a discharge interface of the power supply. The proximity sensor is used for detecting the distance between the screen and an object and the light brightness of the surrounding environment of the electronic equipment. In some embodiments, the proximity sensor may employ a photoelectric proximity sensor. Because the electronic equipment accommodation space is limited, the proximity sensor is generally highly integrated, and a mode of inserting and connecting with a corresponding interface of a mainboard is adopted. The proximity sensor is connected in a plug-in manner, which is likely to cause poor contact of the proximity sensor in the electronic device due to factors such as falling and impact. The power supply electric quantity consumed when the contact of the proximity sensor is poor is different from the power supply electric quantity consumed when the contact of the proximity sensor is good. In addition, when the proximity sensor is in poor contact, the power supply still supplies power to the proximity sensor through the discharging interface, which not only causes power waste, but also causes local overheating of the electronic equipment.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 1 includes a housing 10, a circuit board 20, and a charging circuit 30. The circuit board 20 and the charging circuit 30 are placed in the housing 10, and the charging circuit 30 is integrated on the circuit board 20.
Wherein, the housing 10 may include a cover plate 11, a middle frame 12 and a rear cover 13, the cover plate 11, the middle frame 12 and the rear cover 13 are combined with each other to form the housing 10, and the housing 10 has a closed space formed by the cover plate 11, the middle frame 12 and the rear cover 13 to accommodate the circuit board 20, the charging circuit 30 and the like. In some embodiments, the cover plate 11 is covered on the middle frame 12, the rear cover 13 is covered on the middle frame 12, the cover plate 11 and the rear cover 13 are located on opposite sides of the middle frame 12, the cover plate 11 and the rear cover 13 are oppositely arranged, and the closed space of the housing 10 is located between the cover plate 11 and the rear cover 13.
In some embodiments, the housing 10 may be a metal housing. It should be noted that the material of the housing 10 in the embodiment of the present application is not limited to this, and other manners may also be adopted, such as: the housing 10 may include a plastic portion and a metal portion. For another example: the housing 10 may be a plastic housing. Also for example: the housing 10 may be a metal and plastic housing structure. The cover plate 11 may be a transparent glass cover plate. In some embodiments, the cover plate 11 may be a glass cover plate made of a material such as sapphire.
It should be noted that, the structure of the housing in the embodiment of the present application is not limited to this, for example: the rear cover and the middle frame are integrally formed to form a middle frame 12 structure. Specifically, the housing 10 includes a cover plate 11 and a middle frame 12, and the cover plate 11 and the middle frame 12 are fixed to each other to form a closed space for accommodating the circuit board 20, the charging circuit 30, and the like.
In some embodiments, the housing 10 may be provided with an earphone hole, a microphone hole, a speaker hole, a usb interface hole at its periphery. The earphone hole, the microphone hole, the loudspeaker hole and the universal serial bus interface hole are all through holes.
The circuit board 20, also called a circuit board, is an electrical provider of the electronic device 1, and various circuits, such as a Radio Frequency (RF) circuit, for example, an audio circuit, etc., are integrated on the circuit board 20. In some embodiments, the charging circuit 30 may also be integrated on the circuit board 20. The Circuit Board 20 may be a Flexible Printed Circuit (FPC) Circuit Board, a rigid Printed Circuit Board (PCB) Circuit Board, or a rigid-flex Circuit Board, and is not limited herein.
The radio frequency circuit is used for receiving and sending electromagnetic waves, and realizing the interconversion of the electromagnetic waves and the electric signals, so as to communicate with a communication network or other equipment. The radio frequency circuitry may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and so forth. The rf circuit may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The audio circuitry, speaker, and microphone may provide an audio interface between the user and the electronic device. The audio circuit can transmit the electric signal converted from the received audio data to the loudspeaker, and the electric signal is converted into a sound signal by the loudspeaker to be output; on the other hand, the microphone converts the collected sound signal into an electrical signal, the electrical signal is received by the audio circuit and then converted into audio data, and the audio data is processed by the audio data output processor and then sent to another electronic device through the radio frequency circuit, or the audio data is output to the memory for further processing. The audio circuitry may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
In some embodiments, the electronic device 1 may further include a processor electrically connected to the circuit board. The processor is the control center of the electronic device 1, and the processor may be connected to various parts of the electronic device 1 through various interfaces and lines. Data processing is performed to perform various functions of the electronic device 1 by running or executing an application program stored in the memory of the electronic device 1 and calling data stored in the memory of the electronic device 1. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 2 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Referring to fig. 3, fig. 3 is a schematic diagram of a first structure of a charging circuit 30 according to an embodiment of the present disclosure, where the charging circuit 30 may include a proximity sensor 310, an interrupt detection module 360, a switch control module 370, a switch 330, a resistor 340, and a power supply 350.
In the embodiment of the present application, the proximity sensor 310 is electrically connected to the power source 350 through the contact 320 and the resistor 340 of the proximity sensor in sequence, when the switch 330 is in a closed state, the proximity sensor 310 is electrically connected to the power source 350 through the contact 320 and the switch 330 of the proximity sensor in sequence, wherein the contact 320 of the proximity sensor includes a first input port 3201, a first output port 3202, and a second output port 3203, the contact 320 is connected to the switch 330 and the resistor 340 through the first input port 3201, the contact 320 is connected to the proximity sensor 310 through the first output port 3202, the contact 320 is connected to the interrupt detection module 360 through the second output port 3203, and the interrupt detection module 360 is connected to the switch 330 through the switch control module 370.
It is to be understood that the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", "third", "fourth" may explicitly or implicitly include one or more of the features. Furthermore, in the description of the present application, the term "connected" is to be understood broadly, unless otherwise explicitly specified or limited.
Wherein the power supply 350 can provide power to various components of the electronic device, such as the power supply 350 can provide power to the proximity sensor 310 of the electronic device. The power supply 350 may be logically coupled to the processor through a power supply 350 management system, such that the power supply 350 management system may manage charging, discharging, and power consumption. Power supply 350 may also include any component of one or more dc or ac power supplies 350, a recharging system, a power supply 350 fault detection circuit, a power supply 350 converter or inverter, a power supply 350 status indicator, and the like.
The proximity sensor 310 may turn off the display panel and/or the backlight when the electronic device moves to the ear, so as to save the communication power of the electronic device.
The interrupt detection module 360 is configured to detect an input level received by the contact 320 of the proximity sensor, generate a low-level interrupt signal when detecting that the input level received by the contact 320 of the proximity sensor is a low level, and output the generated low-level interrupt signal to the switch control module 370; when it is detected that the input level received by the contact 320 of the proximity sensor changes from a high level to a low level, a falling edge interrupt signal is generated and outputted to the switch control module 370.
The contact 320 of the proximity sensor may be disposed at the charging interface of the proximity sensor, or may be disposed separately near the proximity sensor 310, where the position of the contact 320 of the proximity sensor is not particularly limited. It should be noted that the input level received by the contact 320 should be approximately equal to the input level of the proximity sensor 310.
The switch control module 370 is configured to output a first control signal to the switch 330 to control the switch 330 to close according to the input low-level interrupt signal or the input falling-edge interrupt signal.
The power source 350 is used to charge the proximity sensor 310 through the switch 330 when the switch 330 is closed.
In some embodiments, the switch 330 may be a triode switch 330.
In the embodiment of the present application, the power supply to the contact sensor may be realized by controlling the closing of the switch 330; de-energizing of the contact sensor may be accomplished by controlling the opening of switch 330. Assuming that the connection condition of the proximity sensor 310 is good, when the switch 330 is in the off state, the current generated by the power source 350 can be sequentially outputted to the contact 320 of the proximity sensor and the proximity sensor 310 only through the resistor 340. At this time, since the resistance value of the proximity sensor 310 itself is much smaller than that of the resistor 340, the proximity sensor 310 is not actually charged. When the switch 330 is in a closed state, the current generated by the power source 350 is sequentially output to the contact 320 of the proximity sensor and the proximity sensor 310 only through the switch 330. At this time, the current generated by the power source 350 does not pass through the resistor 340, so the proximity sensor 310 is charged.
In the embodiment of the present application, when the switch 330 is in the off state, that is, when the contact sensor is not charged, it can be determined whether the contact sensor is well contacted by the level received by the contact 320 of the proximity sensor, and the switch 330 is closed to charge the contact sensor only when the contact is well contacted. If the contact sensor is in poor contact, that is, the circuit formed by the power source 350, the resistor 340 and the proximity sensor 310 in sequence is broken at the contact sensor, the value of the resistor 340 at the broken position of the circuit tends to infinity, so that the level at the broken position is high, and the contact 320 of the proximity sensor is close to the contact sensor, so that the contact sensor can be judged to be in poor contact according to the fact that the level received by the contact 320 of the proximity sensor is high. If the contact sensor is in good contact, i.e., the power source 350, the resistor 340 and the proximity sensor 310 sequentially form a path, at this time, the proximity sensor 310 is not actually charged because the resistance of the proximity sensor 310 itself is much smaller than that of the resistor 340.
Referring to fig. 4, fig. 4 is a schematic diagram of a second structure of the charging circuit 30 according to the embodiment of the present disclosure, where the charging circuit 30 may include a proximity sensor 310, an interruption detection module 360, a switch control module 370, a switch 330, a resistor 340, a power source 350, an electricity meter 380, and a first comparator 390.
In some embodiments, the charging circuit 30 further comprises an electricity meter 380, the proximity sensor 310 comprises a first port 3101, and a second port 3102, the proximity sensor 310 is connected to the proximity sensor contacts 320 through the first port 3101, and the proximity sensor 310 is connected to the electricity meter 380 through the second port 3102.
The electricity meter 380 is used for detecting the increased amount of electricity of the proximity sensor 310 during the charging process of the proximity sensor 310.
In some embodiments, the charging circuit 30 further includes a first comparator 390, and the fuel gauge 380 is connected to the switch control module 370 through the first comparator 390.
The electricity meter 380 is also used to send the detected increased amount of electricity of the proximity sensor 310 to the first comparator 390.
The first comparator 390 is configured to compare the received increased power of the proximity sensor 310 with a preset power, and output a switch 330 off signal to the switch control module 370 when the increased power reaches the preset power.
The switch control module 370 is further configured to output a second control signal to the switch 330 to control the switch 330 to open according to the input opening signal of the switch 330.
In some embodiments, the first comparator 390 may be separately disposed, and the first comparator 390 may also be integrated into the switch control module 370, which is not limited herein.
Before the proximity sensor 310 is ready to be charged, the charging circuit 30 in the embodiment of the present application may determine whether the contact of the proximity sensor is good through the input level received by the contact 320, and when the input level received by the contact 320 is low, the contact of the proximity sensor is good, and at this time, the control switch 330 is closed to charge the proximity sensor 310, so as to prevent charging of the proximity sensor 310 with poor contact, which may result in waste of electric quantity and over-high temperature of the proximity sensor 310, thereby improving the charging controllability of the proximity sensor 310. In addition, the proximity sensor 310 may be monitored for an increased charge by the fuel gauge 380 during a charging operation of the proximity sensor 310, preventing the proximity sensor 310 from being sufficiently charged and still being charged, thereby improving controllability of charging of the proximity sensor 310.
Referring to fig. 5, fig. 5 is a schematic diagram of a third structure of a charging circuit 30 according to an embodiment of the present disclosure, where the charging circuit 30 may include a proximity sensor 310, an interruption detection module 360, a switch control module 370, a switch 330, a resistor 340, a power source 350, a fuel gauge 380, a first comparator 390, a thermometer 400, and a second comparator 410.
In some embodiments, the charging circuit 30 further comprises a thermometer 400, the proximity sensor 310 further comprises a third port 3103, and the proximity sensor 310 is coupled to the thermometer 400 through the third port 3103.
The thermometer 400 is used for detecting the temperature of the proximity sensor 310 during the process of charging the proximity sensor 310.
In some embodiments, the charging circuit 30 further comprises a second comparator 410, and the thermometer 400 is connected to the switch control module 370 through the first comparator 390.
The thermometer 400 is also used to send the detected temperature of the proximity sensor 310 to a second comparator 410.
The second comparator 410 is configured to compare the received temperature of the proximity sensor 310 with a preset temperature, and output a switch 330 off signal to the switch control module 370 when the temperature reaches the preset temperature.
The switch control module 370 is further configured to output a second control signal to the switch 330 to control the switch 330 to open according to the input opening signal of the switch 330.
In some embodiments, the second comparator 410 may be separately disposed, and the second comparator 410 may also be integrated into the switch control module 370, which is not limited herein.
In some embodiments, the proximity sensor 310 also includes a fourth port through which the proximity sensor 310 is grounded.
The proximity sensor 310 includes a first port 3101 for supplying power to the proximity sensor 310, a second port 3102 for connecting the electricity meter 380, a third port 3103 for connecting the thermometer 400, and a fourth port for grounding, but is not limited thereto.
In some embodiments, the charging circuit 30 may also include a proximity sensor 310 interface for connecting various pins of the proximity sensor 310.
Wherein the resistance 340 of the resistor 340 has a value greater than the value of the resistor 340 between the first port 3101 and the second port 3102 of the proximity sensor 310 when the switch 330 is in the off state.
In some embodiments, the resistor 340 has a resistance value in a range of 500 megaohms to 1000 megaohms. Assuming that the resistance 340 between the first port 3101 and the second port 3102 of the proximity sensor 310 is 600M Ω when the switch 330 is in the off state, if the resistance 340 is 60k Ω, the charging voltage at the contact 320 is one-eleventh when the proximity sensor 310 is in good contact with the electronic device.
Before the proximity sensor 310 is ready to be charged, the charging circuit 30 in the embodiment of the present application may determine whether the contact of the proximity sensor is good through the input level received by the contact 320, and when the input level received by the contact 320 is low, the contact of the proximity sensor is good, and at this time, the control switch 330 is closed to charge the proximity sensor 310, so as to prevent charging of the proximity sensor 310 with poor contact, which may result in waste of electric quantity and over-high temperature of the proximity sensor 310, thereby improving the charging controllability of the proximity sensor 310. During the charging operation of the proximity sensor 310, the increased charge of the proximity sensor 310 can be monitored by the fuel gauge 380, so as to prevent the proximity sensor 310 from being charged sufficiently and certainly, thereby improving the controllability of the charging of the proximity sensor 310. In addition, when the proximity sensor 310 is charged, the temperature of the proximity sensor 310 can be monitored by the thermometer 400, so that the proximity sensor 310 is prevented from being in poor contact due to dropping, collision and the like during charging, the temperature of the proximity sensor 310 is prevented from being too high, the charging controllability of the proximity sensor 310 is improved, and the service life of the proximity sensor 310 is prolonged.
Referring to fig. 6, fig. 6 is a schematic diagram of a fourth structure of a charging circuit 30 according to an embodiment of the present disclosure, where the charging circuit 30 may include a proximity sensor 310, an interruption detection module 360, a switch control module 370, a switch 330, a resistor 340, a power supply 350, an electricity meter 380, a first comparator 390, a thermometer 400, a second comparator 410, and a voltage regulator 420.
In some embodiments, the charging circuit 30 further includes a voltage regulator 420, the proximity sensor 310 is electrically connected to the power supply 350 through the contact 320 of the proximity sensor, the resistor 340 and the voltage regulator 420 in sequence, and when the switch 330 is in a closed state, the proximity sensor 310 is electrically connected to the power supply 350 through the contact 320 of the proximity sensor, the switch 330 and the voltage regulator 420 in sequence.
The voltage regulator 420 is used for regulating a charging voltage of the power supply 350 for charging the proximity sensor 310.
In some embodiments, the voltage regulator 420 may regulate the charging voltage of the power supply 350 to charge the proximity sensor 310 to 0.5V to 1.1V. For example, the voltage regulator 420 may regulate the charging voltage of the power supply 350 to charge the proximity sensor 310 to 0.8V.
In some embodiments, the regulator 420 may be an ultra low dropout regulator or a low dropout regulator.
Among other things, Low Dropout regulators (LDOs) use transistors or Field Effect Transistors (FETs) that operate in their linear region to subtract excess voltage from the applied input voltage to produce a regulated output voltage. By droop voltage, it is meant the minimum value of the difference between the input voltage and the output voltage required by the LDO to maintain the output voltage within 100mV above or below its nominal value. Low dropout regulators with positive output voltage typically use a power transistor (also called pass device) as the PNP. This transistor allows saturation so the regulator can have a very low dropout voltage, typically around 200 mV; in contrast, the voltage drop of the conventional linear regulator using the NPN composite power transistor is about 2V. The negative output LDO uses an NPN as its pass device, which operates in a similar mode as the PNP device of the positive output LDO.
Among them, the Very Low Dropout Regulator (VLDO) can also generate a regulated output voltage by subtracting an excess voltage from an input voltage received from the power supply 350.
Specifically, referring to fig. 7, a fifth structural diagram of the charging circuit 30 according to the embodiment of the present disclosure is shown. The proximity sensor 310 is connected to the switch 330, the resistor 340 and the bus expander 430 through the first port 3101, the power supply Input terminal VDD of the proximity sensor 310 is connected to the power supply 350VLDO through the controllable switch 330, the proximity sensor 310 is electrically connected to the power supply 350 through the resistor 340 and the voltage regulator 420 in sequence, when the switch 330 is in a closed state, the proximity sensor 310 is electrically connected to the power supply 350 through the switch 330 and the voltage regulator 420 in sequence, and the proximity sensor 310 is connected to a switch (GPIO) through the bus expander 430 and the central processing unit 440 in sequence. The cpu 440, including the interrupt detection module 360 and the switch control module 370, can control the switch 330 to be turned off, and can also control the output voltage of the voltage regulator 420.
In some embodiments, when the voltage received by the bus expander 430 is equal to the output voltage of the power supply 350, the cpu 440 may control the switch 330 to be turned off; when the voltage received by the bus expander 430 is not equal to the output voltage of the power supply 350, the cpu 440 controls the switch 330 to close.
In some embodiments, when the voltage received by the bus expander 430 is equal to the output voltage of the voltage regulator 420, the cpu 440 controls the switch 330 to be turned off; when the voltage received by bus expander 430 is not equal to the output voltage of voltage regulator 420, cpu 440 controls switch 330 to close.
Bus extender 430, which is a general purpose input or output port, is used when the microcontroller or chipset does not have enough I/O ports, and when the system needs to employ remote serial communication or control, bus extender 430 can provide additional control and monitoring functions. In the present embodiment, the contacts 320 of the proximity sensor are integrated on a bus extender 430, and the bus extender 430 can be used to monitor the level change of the contacts.
The charging circuit and the electronic equipment provided by the embodiment of the application judge whether the proximity sensor is in good contact through the input level received by the contact before charging, when the input level received by the contact is low level, the contact sensor is in good contact, the control switch is closed to charge the proximity sensor, the proximity sensor with poor contact is prevented from being charged, the electric quantity is wasted, the temperature of the proximity sensor is too high, and the charging controllability of the proximity sensor is improved.
The charging circuit and the electronic device provided by the embodiments of the present application are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present application, and the description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A charging circuit is characterized by comprising a proximity sensor, an interruption detection module, a switch control module, a switch, a resistor and a power supply;
the proximity sensor is electrically connected with the power supply sequentially through the contact of the proximity sensor and the resistor, when the switch is in a closed state, the proximity sensor is electrically connected with the power supply sequentially through the contact of the proximity sensor and the switch, wherein the contact of the proximity sensor comprises a first input port, a first output port and a second output port, the contact of the proximity sensor is connected with the switch and the resistor through the first input port, the contact of the proximity sensor is connected with the proximity sensor through the first output port, the contact of the proximity sensor is connected with the interruption detection module through the second output port, and the interruption detection module is connected with the switch through the switch control module;
the interrupt detection module is used for detecting an input level received by a contact of the proximity sensor, generating a low-level interrupt signal when detecting that the input level received by the contact of the proximity sensor is a low level, and outputting the generated low-level interrupt signal to the switch control module; when the input level received by the contact of the proximity sensor is detected to be changed from a high level to a low level, generating a falling edge interrupt signal, and outputting the generated falling edge interrupt signal to the switch control module;
the switch control module is used for outputting a first control signal to the switch according to the input low-level interrupt signal or the input falling edge interrupt signal so as to control the switch to be closed;
the power supply is used for charging the proximity sensor through the switch when the switch is closed.
2. The charging circuit of claim 1, further comprising an electricity meter, the proximity sensor comprising a first port through which the proximity sensor is connected to contacts of the proximity sensor, and a second port through which the proximity sensor is connected to the electricity meter;
the electricity meter is used for detecting the increased electric quantity of the proximity sensor in the process of charging the proximity sensor.
3. The charging circuit of claim 2, further comprising a first comparator, wherein the fuel gauge is connected to the switch control module through the first comparator;
the electricity meter is further used for sending the detected increased electricity quantity of the proximity sensor to the first comparator;
the first comparator is used for comparing the received increased electric quantity of the proximity sensor with a preset electric quantity, and outputting a switch disconnection signal to the switch control module when the increased electric quantity reaches the preset electric quantity;
the switch control module is further configured to output a second control signal to the switch according to the input switch off signal to control the switch to be turned off.
4. The charging circuit of claim 3, further comprising a thermometer, the proximity sensor further comprising a third port, the proximity sensor being connected to the thermometer through the third port;
the thermometer is used for detecting the temperature of the proximity sensor in the process of charging the proximity sensor.
5. The charging circuit of claim 4, further comprising a second comparator, wherein the thermometer is connected to the switch control module through the first comparator;
the thermometer is also used for sending the detected temperature of the proximity sensor to the second comparator;
the second comparator is used for comparing the received temperature of the proximity sensor with a preset temperature and outputting a switch disconnection signal to the switch control module when the temperature reaches the preset temperature;
the switch control module is further configured to output a second control signal to the switch according to the input switch off signal to control the switch to be turned off.
6. The charging circuit of claim 1, wherein the proximity sensor further comprises a fourth port through which the proximity sensor is grounded.
7. The charging circuit of claim 6, wherein the resistor has a resistance value in a range of 500 megaohms to 1000 megaohms.
8. The charging circuit according to claim 1, further comprising a voltage regulator, wherein the proximity sensor is electrically connected to the power supply sequentially through the contact of the proximity sensor, the resistor, and the voltage regulator, and when the switch is in a closed state, the proximity sensor is electrically connected to the power supply sequentially through the contact of the proximity sensor, the switch, and the voltage regulator;
the voltage stabilizer is used for adjusting the charging voltage for charging the proximity sensor by the power supply.
9. The charging circuit of claim 8, wherein the voltage regulator is an ultra-low dropout regulator or a low dropout regulator.
10. An electronic device comprising a housing, a circuit board, and a charging circuit, wherein the circuit board and the charging circuit are disposed in the housing, the charging circuit is integrated on the circuit board, and the charging circuit is the charging circuit according to any one of claims 1 to 9.
CN201811575263.XA 2018-12-21 2018-12-21 Charging circuit and electronic device Active CN109525017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811575263.XA CN109525017B (en) 2018-12-21 2018-12-21 Charging circuit and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811575263.XA CN109525017B (en) 2018-12-21 2018-12-21 Charging circuit and electronic device

Publications (2)

Publication Number Publication Date
CN109525017A CN109525017A (en) 2019-03-26
CN109525017B true CN109525017B (en) 2020-07-07

Family

ID=65796976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811575263.XA Active CN109525017B (en) 2018-12-21 2018-12-21 Charging circuit and electronic device

Country Status (1)

Country Link
CN (1) CN109525017B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7541816B1 (en) * 2008-05-05 2009-06-02 Generalplus Technology Inc. Capacitive sensor
CN104065124A (en) * 2014-06-19 2014-09-24 Tcl通讯(宁波)有限公司 Mobile terminal with false battery function and false battery enabling and disabling method thereof
CN104539014A (en) * 2014-12-29 2015-04-22 深圳市航盛电子股份有限公司 Novel wireless charger and method for lowering wireless charging stand-by power consumption of novel wireless charger
CN106412152A (en) * 2016-06-08 2017-02-15 Tcl移动通信科技(宁波)有限公司 SIM card detection method based on mobile terminal and mobile terminal
CN106463984A (en) * 2014-05-30 2017-02-22 微软技术许可有限责任公司 Battery isolation circuit
CN108450042A (en) * 2015-12-03 2018-08-24 Lg伊诺特有限公司 Wireless charging device, wireless power transmission method thus and the recording medium for it
CN108683230A (en) * 2018-05-31 2018-10-19 出门问问信息科技有限公司 Charge management circuit and charging management method, device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7541816B1 (en) * 2008-05-05 2009-06-02 Generalplus Technology Inc. Capacitive sensor
CN106463984A (en) * 2014-05-30 2017-02-22 微软技术许可有限责任公司 Battery isolation circuit
CN104065124A (en) * 2014-06-19 2014-09-24 Tcl通讯(宁波)有限公司 Mobile terminal with false battery function and false battery enabling and disabling method thereof
CN104539014A (en) * 2014-12-29 2015-04-22 深圳市航盛电子股份有限公司 Novel wireless charger and method for lowering wireless charging stand-by power consumption of novel wireless charger
CN108450042A (en) * 2015-12-03 2018-08-24 Lg伊诺特有限公司 Wireless charging device, wireless power transmission method thus and the recording medium for it
CN106412152A (en) * 2016-06-08 2017-02-15 Tcl移动通信科技(宁波)有限公司 SIM card detection method based on mobile terminal and mobile terminal
CN108683230A (en) * 2018-05-31 2018-10-19 出门问问信息科技有限公司 Charge management circuit and charging management method, device

Also Published As

Publication number Publication date
CN109525017A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
US11288407B2 (en) Method and electronic device for controlling voltage output to external electronic device according to size of voltage detected at signal terminal connected to external electronic device
KR102577457B1 (en) Electronic apparatus and method for controlling power supplying
US10042801B2 (en) System for detecting universal serial bus (USB) device and method thereof
US6452402B1 (en) Apparatus for determining the type of external device being connected
US20190109480A1 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US11322993B2 (en) Device and method for providing user interface according to wireless power-sharing
KR20190136690A (en) Electronic device comprsing control circuits controlling switchs connected to charging circuit
CN109378877A (en) Charging circuit, charging method, electronic equipment and storage medium
US11329438B2 (en) Device and method of ensuring power delivery in universal serial bus interface
KR20140126491A (en) power supply circuit and method for controlling thereof
CN112886664A (en) Electronic device
KR20200114430A (en) Power circuit and electronic device including the same
US20140042996A1 (en) Voltage Regulating Device
CN109525017B (en) Charging circuit and electronic device
US20230238749A1 (en) Power delivery device and control method of power supply path
EP3629428B1 (en) Method and apparatus for changing impedance of terminal included in connector
KR20200042376A (en) Electronic device and method for wire and wireless charging in electronic device
CN109193878A (en) Charging circuit, charging method, electronic equipment and storage medium
US10667052B2 (en) Speaker module, and audio compensation method and apparatus
KR20190055588A (en) Electronic apparatus supporting a plurality of communication interfaces
CN111045506B (en) Control method and electronic equipment
WO2019112257A1 (en) Electronic device for battery calibration and operation method therefor
KR20200102256A (en) Electronic device including logic circuit for determining connecting state of connector
WO2022186502A1 (en) Electronic device, and method for controlling power supply of electronic device
WO2023045967A1 (en) Terminal charging system, terminal charging method, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230215

Address after: 518054 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Patentee after: Zhang Daming

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.