Lamp switching circuit for realizing PSR mode and rechargeable battery device

By using a PSR mode light-changing circuit, the automatic switching between green and red lights is achieved through a transconductance amplifier unit and a comparator. This solves the problems of numerous components, high cost, and low efficiency in existing technologies, and realizes a miniaturized and efficient light-changing circuit design.

CN224233874UActive Publication Date: 2026-05-12SHENZHEN QUNXIN KECHUANG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
SHENZHEN QUNXIN KECHUANG ELECTRONICS CO LTD
Filing Date
2025-04-07
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing lithium battery and lead-acid battery turn signal modules require additional LM358 and TL431 circuit components, resulting in large PCB size, high cost and low system efficiency.

Method used

The lamp switching circuit using PSR mode utilizes a control unit, power transistor, transformer unit, transconductance amplifier unit, comparator, inverter, and lamp control unit. By comparing the output voltage of the transconductance amplifier unit with the preset comparator switching voltage, the green and red lights are illuminated, reducing the number of circuit components and operating in dual-winding PSR mode.

Benefits of technology

It reduces the number of circuit components, lowers the PCB footprint, adapts to miniaturization design requirements, improves system efficiency, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224233874U_ABST
    Figure CN224233874U_ABST
Patent Text Reader

Abstract

The utility model discloses a light switching circuit for realizing a PSR mode and a rechargeable battery device, and the light switching circuit comprises a control unit, a power tube, a transformer unit, a transconductance amplification unit, a comparator, a phase inverter, a green light control unit, and a red light control unit. The control unit is electrically connected with the power tube, the power tube is connected with a primary winding of the transformer unit, a secondary winding of the transformer unit is connected with the charging end, the primary winding of the transformer unit is electrically connected with the input end of the transconductance amplification unit, and the output end of the transconductance amplification unit is electrically connected with the input end of the comparator. The output end of the comparator is electrically connected with the input end of the phase inverter and the green light control unit, and the output end of the phase inverter is electrically connected with the red light control unit. According to the technical scheme of the utility model, the number of circuit elements can be reduced, the occupied area of a PCB (Printed Circuit Board) is reduced, the miniaturization design requirement is met, and meanwhile, the circuit has the advantages of convenience in debugging, improvement of the efficiency of the whole circuit and reduction of cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of switching power supply conversion, and in particular to a lamp-turning circuit and rechargeable battery device for realizing PSR mode. Background Technology

[0002] With the development of portable electronic devices, rechargeable batteries are becoming increasingly widely used, including lithium and lead-acid batteries. Lithium and lead-acid batteries contain charging modules. To allow customers to easily and clearly see whether the module is fully charged, a switching indicator module is typically included. This module samples the output charging current and amplifies it using a high-gain closed-loop LM358, comparing it with a TL431 reference to control the module's operation. However, this switching indicator module requires additional circuitry for the LM358 and TL431, resulting in a larger PCB size, which is difficult to meet miniaturization requirements. The introduction of multiple circuit components also significantly increases the overall circuit cost and necessitates the use of high-power sampling resistors, reducing system efficiency.

[0003] In view of this, it is necessary to propose further improvements to the current circuit structure of the turn signal circuit. Utility Model Content

[0004] To solve at least one of the above-mentioned technical problems, the main objective of this utility model is to provide a turn signal circuit and a rechargeable battery device for realizing PSR mode.

[0005] To achieve the above objectives, the present invention provides a technical solution for a light-changing circuit that implements PSR mode, comprising: a control unit, a power transistor, a transformer unit, a transconductance amplifier unit, a comparator, an inverter, a green light control unit, and a red light control unit.

[0006] The control unit is electrically connected to the power transistor, the power transistor is connected to the primary winding of the transformer unit, the secondary winding of the transformer unit is connected to the charging terminal, the primary winding of the transformer unit is electrically connected to the input terminal of the transconductance amplifier unit, the output terminal of the transconductance amplifier unit is electrically connected to the input terminal of the comparator, the output terminal of the comparator is electrically connected to the input terminal of the inverter and the green light control unit respectively, and the output terminal of the inverter is electrically connected to the red light control unit.

[0007] The output voltage of the transconductance amplification unit is inversely proportional to the charging current of the secondary winding of the transformer unit. When the rechargeable battery at the charging end is in a normal charging state, the output voltage of the transconductance amplification unit is relatively small, and the red light control unit illuminates the red light; when the rechargeable battery at the charging end is in a fully charged state, the output voltage of the transconductance amplification unit is relatively large, and the green light control unit illuminates the green light.

[0008] The power transistor is an NPN transistor. The base of the NPN transistor is connected to the output terminal of the control unit, the collector is connected to the line voltage, and the emitter is connected to the primary winding of the transformer unit.

[0009] The transformer unit includes a primary winding, a first primary resistor, a second primary resistor, a secondary winding, and a load.

[0010] One end of the primary winding is connected to the power transistor, and the other end is grounded; the first primary resistor and the second primary resistor are connected in series, and the series-connected first primary resistor and the second primary resistor are connected in parallel with the primary winding; the load is connected in parallel to the secondary winding.

[0011] The transconductance amplification unit includes a transconductance amplifier, a first resistor, a second resistor, and a third resistor. The transconductance amplifier has a positive input terminal, a negative input terminal, and an output terminal. The positive input terminal is connected to the common junction of the first primary resistor and the second primary resistor. The negative input terminal is connected to a reference voltage through the first resistor. The first resistor is connected to the output terminal through the second resistor. The output terminal is connected to the comparator through the third resistor. The output terminal is also connected to the input terminal of the control unit.

[0012] The transconductance amplifier includes third to tenth P-type MOS transistors and first to fifth N-type MOS transistors. The gate of the third P-type MOS transistor is connected to a control voltage, its source to a preset voltage, and its drain to a common junction connecting the sources of the fourth and fifth P-type MOS transistors. The gate of the fourth P-type MOS transistor is connected to the negative terminal of the input voltage, and its drain to a common junction connecting the drain of the second and fourth N-type MOS transistors. The gate of the fifth P-type MOS transistor is connected to the positive terminal of the input voltage, and its drain to a common junction connecting the drain of the third and fifth N-type MOS transistors. The source of the sixth P-type MOS transistor is connected to a preset voltage, its drain to the drain of the first N-type MOS transistor, and its gate to a common junction connecting the gates of the ninth and tenth P-type MOS transistors. The seventh P-type MOS transistor and the... Nine P-type MOSFETs are cascaded together. The eighth and tenth P-type MOSFETs are cascaded together, with the gates of the seventh and eighth P-type MOSFETs connected, the gates of the ninth and tenth P-type MOSFETs connected, the drain of the ninth P-type MOSFET connected to the drain of the fourth N-type MOSFET, and the drain of the tenth P-type MOSFET connected to the drain of the fifth N-type MOSFET. The fourth and second N-type MOSFETs are cascaded together, and the fifth and third N-type MOSFETs are cascaded together. The gates of the fourth and fifth N-type MOSFETs are connected, the gates of the second and third N-type MOSFETs are connected, the sources of the second and third N-type MOSFETs are grounded, the source of the first N-type MOSFET is grounded, and the gate is connected to the input voltage.

[0013] The comparator includes eleventh to fourteenth P-type MOSFETs and sixth to eighth N-type MOSFETs. The sources of the eleventh and twelfth P-type MOSFETs are connected to a preset voltage, and their gates are connected to the input voltage. The drain of the eleventh P-type MOSFET is connected to the common junction of the sources of the thirteenth and fourteenth P-type MOSFETs, and the drain of the twelfth P-type MOSFET is connected to the drain of the eighth N-type MOSFET. The gate of the thirteenth P-type MOSFET is connected to the negative terminal of the input voltage, and its drain is connected to the drain of the sixth N-type MOSFET. The gate of the fourteenth P-type MOSFET is connected to the positive terminal of the input voltage, and its drain is connected to the drain of the seventh N-type MOSFET. The gates of the sixth and seventh N-type MOSFETs are connected, and their sources are both grounded. The gate of the eighth N-type MOSFET is connected to the common junction of the sources of the fourteenth P-type MOSFET and the drain of the seventh N-type MOSFET, and its source is grounded.

[0014] The inverter includes a fifteenth P-type MOS transistor and a ninth N-type MOS transistor. The gate of the fifteenth P-type MOS transistor and the gate of the ninth N-type MOS transistor are connected to the input voltage. The drain of the fifteenth P-type MOS transistor and the drain of the ninth N-type MOS transistor are connected. The source of the fifteenth P-type MOS transistor is connected to the preset voltage. The source of the ninth N-type MOS transistor is grounded.

[0015] The green light control unit includes a second P-type MOSFET and a green light diode, and the red light control unit includes a first P-type MOSFET and a red light diode. The drains of the first and second P-type MOSFETs are both connected to a preset voltage. The gate of the first P-type MOSFET is connected to the output terminal of the inverter, and its source is connected to the positive terminal of the red light diode, while the negative terminal of the red light diode is grounded. The gate of the second P-type MOSFET is connected to the common junction connecting the input terminal of the inverter and the output terminal of the comparator, and its source is connected to the positive terminal of the green light diode, while the negative terminal of the green light diode is grounded.

[0016] The control unit is an AC-DC control unit, and the control unit operates in PSR mode. The output terminal of the control unit controls the conduction frequency and output current of the power transistor. The input terminal of the control unit receives the output signal of the transconductance amplifier unit and controls the output current of the power transistor according to the magnitude of the output signal.

[0017] To achieve the above objectives, another technical solution adopted by this utility model is to provide a rechargeable battery device, including the lamp-turning circuit for realizing the PSR mode as described above.

[0018] This invention employs a control unit, power transistor, transformer unit, transconductance amplifier unit, comparator, inverter, green light control unit, and red light control unit operating in PSR mode. It eliminates the need for the LM358 and its associated TL431 circuit. The entire circuit operates in dual-winding PSR mode, requiring no external light-turning bias circuit. The output voltage of the transconductance amplifier unit is determined based on the output current of the transformer unit. By comparing the output voltage with the preset comparator switching voltage VREF, a higher output voltage indicates small current charging, and the green light control unit illuminates the green light; a lower output voltage indicates large current charging, and the inverter and red light control unit illuminate the red light, thus achieving the light-turning function. This solution significantly reduces the number of circuit components, decreases the PCB footprint, and meets the requirements of miniaturized designs. It also offers advantages such as convenient debugging, improved overall circuit efficiency, and reduced costs. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0020] Figure 1 This is a block diagram of a light-turning circuit implementing PSR mode according to an embodiment of the present invention.

[0021] Figure 2 This is a schematic diagram of the circuit structure of a turn signal circuit implementing PSR mode according to an embodiment of the present invention;

[0022] Figure 3 This is a schematic diagram of the circuit structure of a transconductance amplifier according to an embodiment of the present invention;

[0023] Figure 4 This is a schematic diagram of the circuit structure of a comparator according to an embodiment of the present invention;

[0024] Figure 5 This is a schematic diagram of the circuit structure of an inverter according to an embodiment of the present invention;

[0025] Figure 6 This is a schematic diagram of the peripheral application circuit structure of a lamp-turning circuit that implements PSR mode according to an embodiment of this utility model.

[0026] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0027] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.

[0028] It should be noted that the descriptions involving "first," "second," etc., in this utility model are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this utility model.

[0029] Unlike existing technologies where the turn signal module uses an LM358 to create a high-gain closed-loop amplifier for amplification and then compares it with a TL431 reference, resulting in a complex circuit structure, difficult debugging, and very high cost, this invention provides a turn signal circuit that implements PSR mode. It eliminates the need for the LM358 and its associated TL431 circuit, operates in dual-winding PSR mode, and requires no external turn signal bias circuit. It compares the output voltage of the internally determined transconductance amplifier with a preset switching voltage VREF. If the output voltage is higher than VREF, it indicates a small current (saturation current) charging, and the green light illuminates; if it is lower than VREF, it indicates a large current (normal current) charging, and the red light illuminates. The specific circuit structure of this PSR mode turn signal circuit is shown in the following embodiment.

[0030] Please refer to Figures 1 to 6 , Figure 1 This is a block diagram of a light-turning circuit implementing PSR mode according to an embodiment of the present invention. Figure 2 This is a schematic diagram of the circuit structure of a turn signal circuit implementing PSR mode according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the circuit structure of a transconductance amplifier according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the circuit structure of a comparator according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the circuit structure of an inverter according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the peripheral application circuit structure of a light-changing circuit implementing PSR mode according to an embodiment of the present invention. In this embodiment, the light-changing circuit implementing PSR mode includes: a control unit 100, a power transistor 200, a transformer unit 300, a transconductance amplifier unit 400, a comparator 500, an inverter 600, a green light control unit 700, and a red light control unit 800;

[0031] The control unit 100 is electrically connected to the power transistor 200. The power transistor 200 is connected to the primary winding LP of the transformer unit 300. The secondary winding LS of the transformer unit 300 is connected to the charging terminal. The primary winding LP of the transformer unit 300 is electrically connected to the input terminal of the transconductance amplifier unit 400. The output terminal of the transconductance amplifier unit 400 is electrically connected to the input terminal of the comparator 500. The output terminal of the comparator 500 is electrically connected to the input terminal of the inverter 600 and the green light control unit 700. The output terminal of the inverter 600 is electrically connected to the red light control unit 800.

[0032] The output voltage of the transconductance amplification unit 400 is inversely proportional to the charging current of the secondary winding LS of the transformer unit 300. When the rechargeable battery at the charging end is in a normal charging state, the output voltage of the transconductance amplification unit 400 is relatively small, and the red light control unit 800 illuminates the red light. When the rechargeable battery at the charging end is in a fully charged state, the output voltage of the transconductance amplification unit 400 is relatively large, and the green light control unit 700 illuminates the green light.

[0033] Specifically, the control unit 100 controls the output current of the power transistor 200, which amplifies the line voltage. The transformer unit 300 adjusts the output charging current to meet the charging requirements of the rechargeable battery. Specifically, the rechargeable battery has a normal charging state and a saturated charging state. In the normal charging state, a larger charging current is required; in the saturated charging state, a smaller charging current is required. These two states can be indicated by illuminating a red and a green light. In this embodiment, when the rechargeable battery is in the normal charging state, the red light control unit 800 illuminates the red light, and the green light control unit 700 turns off the green light; when the rechargeable battery is in the saturated charging state, the green light control unit 700 illuminates the green light, and the red light control unit 800 turns off the red light. Specifically, when the rechargeable battery is just starting to charge, i.e., during normal charging, the transconductance amplifier unit 400 detects a relatively large charging current. The input of the transconductance amplifier unit 400 is compared with the reference voltage VREF1, and then a sampled voltage is output. This sampled voltage is compared with the reference voltage VREF2 of the comparator 500. If the sampled voltage is higher than the reference voltage VREF2 of the comparator 500, it indicates a small current charging, and the green light control unit 700 illuminates the green light. If the sampled voltage is lower than the reference voltage VREF2 of the comparator 500, it indicates a large current charging, and the inverter 600 and the red light control unit 800 illuminate the red light, thus turning the light on. Furthermore, the input of the control unit 100 is connected to the output of the transconductance amplifier unit 400, allowing it to adjust the output current of the power transistor 200 in a timely manner based on the sampled voltage at the output.

[0034] Specifically, the power transistor 200 is an NPN transistor NPN1. The base of the NPN transistor NPN1 is connected to the output terminal of the control unit 100, the collector is connected to the line voltage, and the emitter is connected to the primary winding LP of the transformer unit 300. This line voltage is Vin, specifically the output terminal after rectification of the high-voltage 220V.

[0035] In one specific embodiment, the transformer unit 300 includes a primary winding LP, a first primary resistor Rf1, a second primary resistor Rf2, a secondary winding LS, and a load R; wherein, the primary winding LP and the secondary winding LS form a transformer T1.

[0036] One end of the primary winding LP is connected to the power transistor 200, and the other end is grounded; the first primary resistor Rf1 and the second primary resistor Rf2 are connected in series, and the series-connected first primary resistor Rf1 and second primary resistor Rf2 are connected in parallel with the primary winding LP; the load R is connected in parallel with the secondary winding LS. The transformer unit 300 also includes a first diode D1 and a first capacitor C1. The first diode D1 is connected in series between the load R and the secondary winding LS, and the first capacitor C1 is connected in parallel with the load R. Specifically, the control unit 100 controls the switching of the power transistor 200, and obtains energy from the line voltage Vin through the transformer and transfers it to the first capacitor C1 and the load R battery. When the power transistor 200 is turned on, energy is stored through the primary winding LP of the transformer. When the power transistor 200 is turned off, energy is discharged through the secondary winding LS of the transformer to charge the rechargeable battery. At this time, the output voltage is sampled across the primary winding LP through the turns ratio of the primary winding LP and the secondary winding LS of the transformer. The first primary resistor Rf1 and the second primary resistor Rf2 sample the voltage across the primary winding LP.

[0037] Specifically, the transconductance amplification unit 400 includes a transconductance amplifier GM1, a first resistor R1, a second resistor R2, and a third resistor R3. The transconductance amplifier GM1 has a positive input terminal, a negative input terminal, and an output terminal. The positive input terminal is connected to the common junction of the first primary-side resistor Rf1 and the second primary-side resistor Rf2. The negative input terminal is connected to a reference voltage through the first resistor R1. The first resistor R1 is connected to the output terminal through the second resistor R2. The output terminal is connected to the comparator 500 through the third resistor R3. The output terminal is also connected to the input terminal of the control unit 100. The two ends of the third resistor R3 are respectively connected to a second capacitor C2 and a third capacitor C3, and the other ends of both the second capacitor C2 and the third capacitor C3 are grounded. The voltage divider formed by the first primary resistor Rf1 and the second primary resistor Rf2 is connected to the positive input terminal of the closed-loop transconductance amplifier GM1. The negative terminal of the closed-loop transconductance amplifier GM1 is connected to the first gain resistor R1 and the second gain resistor R2. The first gain resistor R1 is connected to the reference voltage VREF1. The voltage division between the first primary resistor Rf1 and the second primary resistor Rf2 is compared with the reference voltage VREF1 to control the output Pout of the transconductance amplifier GM1.

[0038] The specific calculation formula is as follows: Let the turns ratio of the primary winding LP and the secondary winding LS be N, the voltage of the primary winding LP be VLP, the voltage of the secondary winding LS be VLS, the output voltage be VOUT, and the output voltage of the transconductance amplifier GM1 be Vpout.

[0039] VOUT + 0.7 = VLS

[0040] N*(VOUT+0.7)=VLP,

[0041] VLP*{Rf2 / (Rf2+Rf1)}-VREF1=Vpout / {(R2+R1) / R1},

[0042] (R2+R1) / R1=80,

[0043] so:

[0044] VLP*{Rf2 / (Rf2+Rf1)}-VREF1=0

[0045] VLP*{Rf2 / (Rf2+Rf1)}=VREF1,

[0046] N*(VOUT+0.7}*{Rf2 / (Rf2+Rf1)}=VREF1

[0047] The output expression is:

[0048] VOUT=VREF1*{(Rf2+Rf1) / Rf2}-0.7V.

[0049] This system uses a dual-winding configuration to detect the output voltage.

[0050] The following is an analysis of the turn signal;

[0051] VLP*{Rf2 / (Rf2+Rf1)}-VREF1=Vpout / {(R2+R1) / R1},

[0052] N*(VOUT+0.7)=VLP,

[0053] From the above two equations, we can conclude that

[0054] N*(VOUT+0.7)*{Rf2 / (Rf2+Rf1)}-VREF1=Vpout / {(R2+R1) / R1},

[0055] From the above formula, it can be seen that the higher the voltage division of the first primary resistor Rf1 and the second primary resistor Rf2, the more the secondary output voltage VOUT increases, the load R decreases, the charging current decreases, the transconductance amplifier GM1 output voltage Pout increases, and thus the control unit 100 controls the power transistor 200 to reduce the output power.

[0056] The lower the voltage division of the first primary resistor Rf1 and the second primary resistor Rf2, the slower the secondary output voltage decreases. As the load R increases, the charging current increases, the output voltage Pout of the transconductance amplifier GM1 decreases, and thus the control unit 100 controls the power transistor 200 to increase its output power.

[0057] This invention sets the Pout output range to 0.3-3V, the maximum secondary charging current to Im, the corresponding Pout output to 0.3V, the red-green light switching current to k*Im, here k is set to 0.2, corresponding to Pout at 1.5V, and VREF2 is set to 1.5V.

[0058] The output voltage Pout is inversely proportional to the secondary charge level. In this PSR mode, the indicator light circuit detects the Pout level and controls the on / off state of the green light LG and the red light LR. When the secondary charge current is less than 0.2*Im, Vpout is greater than VREF2, comparator 500Cmp1 outputs a high level, turning off P2 and the red light, while inverter 600 outputs a low level, turning on P1 and the green light, thus achieving the red-green light indicator from charging to fully charged.

[0059] The process from charging without a battery to charging with a user connected to the battery is analyzed as follows: When charging without a battery, Vpout is greater than VREF2, and the green light is on. When a battery is connected, Vpout immediately decreases and becomes less than VREF2. Cmp1 outputs a low level, P2 is turned on, the red light is turned on, and inverter 600 outputs a high level, P1 is turned off, and the green light is turned off. This realizes the red and green light switching indication from charging to fully charged.

[0060] In one specific embodiment, the transconductance amplifier GM1 includes a third to a tenth P-type MOSFET and a first to a fifth N-type MOSFET. The gate of the third P-type MOSFET P3 is connected to a control voltage, the source is connected to a preset voltage, and the drain is connected to a common junction connecting the sources of the fourth P-type MOSFET P4 and the fifth P-type MOSFET. The gate of the fourth P-type MOSFET P4 is connected to the negative terminal of the input voltage, and the drain is connected to a common junction connecting the drain of the second N-type MOSFET N2 and the source of the fourth N-type MOSFET N4. The gate of the fifth P-type MOSFET P5 is connected to the positive terminal of the input voltage, and the drain is connected to a common junction connecting the drain of the third N-type MOSFET N3 and the source of the fifth N-type MOSFET N5. The source of the sixth P-type MOSFET P6 is connected to a preset voltage, the drain is connected to the drain of the first N-type MOSFET N1, and the gate is connected to a common junction connecting the gate of the ninth P-type MOSFET P9 and the gate of the tenth P-type MOSFET P10. The seventh P-type MOSFET P7 and the ninth P-type MOSFET P10 are connected to a common junction connecting the gate of the ninth P-type MOSFET P9 and the gate of the tenth P-type MOSFET P10. The S-type MOSFET P9 is cascaded. The eighth P-type MOSFET P8 and the tenth P-type MOSFET P10 are cascaded. The gate of the seventh P-type MOSFET P7 is connected to the gate of the eighth P-type MOSFET P8. The gate of the ninth P-type MOSFET P9 is connected to the gate of the tenth P-type MOSFET P10. The drain of the ninth P-type MOSFET P9 is connected to the drain of the fourth N-type MOSFET N4. The drain of the tenth P-type MOSFET P10 is connected to the drain of the fifth N-type MOSFET N5. The fourth N-type MOSFET N4 and the second N-type MOSFET N2 are cascaded. The fifth N-type MOSFET N5 and the third N-type MOSFET N3 are cascaded. The gate of the fourth N-type MOSFET N4 is connected to the gate of the fifth N-type MOSFET N5. The gate of the second N-type MOSFET N2 is connected to the gate of the third N-type MOSFET N3. The source of the second N-type MOSFET N2 and the source of the third N-type MOSFET N3 are grounded. The source of the first N-type MOSFET N1 is grounded, and its gate is connected to the input voltage. The transconductance amplifier GM1 samples the voltage of the primary winding LP by dividing the voltage by the first primary resistor Rf1 and the second primary resistor Rf2. This voltage is compared with the reference voltage VREF1 to output the sampled voltage.

[0061] In one specific embodiment, the comparator 500 includes eleventh to fourteenth P-type MOSFETs and sixth to eighth N-type MOSFETs; the sources of the eleventh P-type MOSFET P11 and the twelfth P-type MOSFET P12 are both connected to a preset voltage, and their gates are both connected to the input voltage. The drain of the eleventh P-type MOSFET P11 is connected to the common junction connecting the sources of the thirteenth P-type MOSFET P13 and the fourteenth P-type MOSFET P14, and the drain of the twelfth P-type MOSFET P12 is connected to the eighth N-type MOSFET N8. The gate of the thirteenth P-type MOSFET P13 is connected to the negative terminal of the input voltage, and its drain is connected to the drain of the sixth N-type MOSFET N6; the gate of the fourteenth P-type MOSFET P14 is connected to the positive terminal of the input voltage, and its drain is connected to the drain of the seventh N-type MOSFET N7; the gates of the sixth N-type MOSFET N6 and the seventh N-type MOSFET N7 are connected, and their sources are both grounded; the gate of the eighth N-type MOSFET N8 is connected to the common junction connecting the source of the fourteenth P-type MOSFET P14 and the drain of the seventh N-type MOSFET N7, and its source is grounded. This comparator 500 compares the sampled voltage at the output of the transconductance amplifier GM1 with the reference voltage VREF2 of the comparator 500. When the sampled voltage is greater than the reference voltage VREF2 of the comparator 500, it indicates a small current charge, and the green light control unit 700 illuminates the green light; when the sampled voltage is lower than the reference voltage VREF2 of the comparator 500, it indicates a large current charge, and the inverter 600 and the red light control unit 800 illuminate the red light. The aforementioned reference voltage VREF2 is also a switching voltage.

[0062] Specifically, the inverter 600 includes a fifteenth P-type MOSFET P15 and a ninth N-type MOSFET N9. The gates of the fifteenth P-type MOSFET P15 and the ninth N-type MOSFET N9 are connected to the input voltage. The drains of the fifteenth P-type MOSFET P15 and the ninth N-type MOSFET N9 are connected. The source of the fifteenth P-type MOSFET P15 is connected to a preset voltage, and the source of the ninth N-type MOSFET N9 is grounded. When the output of the comparator 500 is high, the inverter 600 outputs a low level. At this time, the green light control unit 700 lights up the green light, and the red light control unit 800 turns off the red light. When the output of the comparator 500 is low, the inverter 600 outputs a high level. At this time, the red light control unit 800 lights up the red light, and the green light control unit 700 turns off the green light.

[0063] In one specific embodiment, the green light control unit 700 includes a second P-type MOSFET P2 and a green light diode LG, and the red light control unit 800 includes a first P-type MOSFET P1 and a red light diode LR. The drains of both the first P-type MOSFET P1 and the second P-type MOSFET P2 are connected to a preset voltage. The gate of the first P-type MOSFET P1 is connected to the output terminal of the inverter 600, and its source is connected to the positive terminal of the red light diode LR, with the negative terminal of LR grounded. The gate of the second P-type MOSFET P2 is connected to the common junction connecting the input terminal of the inverter 600 and the output terminal of the comparator 500. Its source is connected to the positive terminal of the green light diode LG, with the negative terminal of LG grounded. The first P-type MOSFET P1 controls the red light diode LR to be on or off, and the second P-type MOSFET P2 controls the green light diode LG to be on or off, corresponding to the two charging states of the rechargeable battery.

[0064] Specifically, the control unit 100 is an AC-DC control unit 100, and the control unit 100 operates in PSR mode. The output terminal Cout of the control unit 100 controls the conduction frequency and output current of the power transistor 200. The input terminal of the control unit 100 receives the output signal of the transconductance amplifier unit 400 and controls the output current of the power transistor 200 according to the magnitude of the output signal. By adjusting the output current of the power transistor 200, overcharging of the rechargeable battery can be avoided, thereby protecting the rechargeable battery and extending its service life.

[0065] In summary, the indicator light circuit of this invention operates in PSR mode. The transformer only requires two windings, and the traditional battery charging indicator light switching circuit is integrated into a single chip, eliminating the need for an additional current detection module. This achieves the switching of the charging indicator light. When the user-set charging current is reached, the indicator light switches; if the charging current drops to 80% of the normal charging current, the indicator light changes from red to green. This PSR mode indicator light circuit eliminates the need for traditional current sampling and indicator light switching circuits, significantly reducing system cost and improving indicator light accuracy. Peripheral application diagrams are shown below. Figure 6 As shown, the secondary turn signal module is completely removed, reducing the cost of the turn signal to zero.

[0066] In an embodiment of this utility model, the rechargeable battery device includes the aforementioned light-turning circuit for implementing the PSR mode. The specific structure of this light-turning circuit for implementing the PSR mode is described in the above embodiments and will not be repeated here. Since the rechargeable battery device of this solution adopts all the technical solutions of all the above embodiments, it possesses at least all the advantages and beneficial effects brought about by the technical solutions of the above embodiments, and will not be repeated here.

[0067] The above description is only a preferred embodiment of the present utility model and does not limit the patent scope of the present utility model. All equivalent structural transformations made under the technical concept of the present utility model using the contents of the present utility model specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present utility model.

Claims

1. A lamp-turning circuit for implementing PSR mode, characterized in that, The light-changing circuit for implementing PSR mode includes: a control unit, a power transistor, a transformer unit, a transconductance amplifier unit, a comparator, an inverter, a green light control unit, and a red light control unit; The control unit is electrically connected to the power transistor, the power transistor is connected to the primary winding of the transformer unit, the secondary winding of the transformer unit is connected to the charging terminal, the primary winding of the transformer unit is electrically connected to the input terminal of the transconductance amplifier unit, the output terminal of the transconductance amplifier unit is electrically connected to the input terminal of the comparator, the output terminal of the comparator is electrically connected to the input terminal of the inverter and the green light control unit respectively, and the output terminal of the inverter is electrically connected to the red light control unit. The output voltage of the transconductance amplification unit is inversely proportional to the charging current of the secondary winding of the transformer unit. When the rechargeable battery at the charging end is in a normal charging state, the output voltage of the transconductance amplification unit is relatively small, and the red light control unit illuminates the red light; when the rechargeable battery at the charging end is in a fully charged state, the output voltage of the transconductance amplification unit is relatively large, and the green light control unit illuminates the green light.

2. The lamp-turning circuit for implementing PSR mode as described in claim 1, characterized in that, The power transistor is an NPN transistor. The base of the NPN transistor is connected to the output terminal of the control unit, the collector is connected to the line voltage, and the emitter is connected to the primary winding of the transformer unit.

3. The lamp-turning circuit for implementing PSR mode as described in claim 1, characterized in that, The transformer unit includes a primary winding, a first primary resistor, a second primary resistor, a secondary winding, and a load. One end of the primary winding is connected to the power transistor, and the other end is grounded; the first primary resistor and the second primary resistor are connected in series, and the series-connected first primary resistor and the second primary resistor are connected in parallel with the primary winding; the load is connected in parallel to the secondary winding.

4. The lamp-turning circuit for implementing PSR mode as described in claim 3, characterized in that, The transconductance amplification unit includes a transconductance amplifier, a first resistor, a second resistor, and a third resistor. The transconductance amplifier has a positive input terminal, a negative input terminal, and an output terminal. The positive input terminal is connected to the common junction of the first primary resistor and the second primary resistor. The negative input terminal is connected to a reference voltage through the first resistor. The first resistor is connected to the output terminal through the second resistor. The output terminal is connected to the comparator through the third resistor. The output terminal is also connected to the input terminal of the control unit.

5. The lamp-turning circuit for implementing PSR mode as described in claim 4, characterized in that, The transconductance amplifier includes third to tenth P-type MOSFETs and first to fifth N-type MOSFETs. The gate of the third P-type MOSFET is connected to a control voltage, its source to a preset voltage, and its drain to a common junction connecting the sources of the fourth and fifth P-type MOSFETs. The gate of the fourth P-type MOSFET is connected to the negative terminal of the input voltage, and its drain to a common junction connecting the drain of the second and fourth N-type MOSFETs. The gate of the fifth P-type MOSFET is connected to the positive terminal of the input voltage, and its drain to a common junction connecting the drain of the third and fifth N-type MOSFETs. The source of the sixth P-type MOSFET is connected to a preset voltage, its drain to the drain of the first N-type MOSFET, and its gate to a common junction connecting the gates of the ninth and tenth P-type MOSFETs. The seventh P-type MOSFET and the ninth P-type MOSFET... The MOSFETs are cascaded in the following configuration: the eighth P-type MOSFET is cascaded with the tenth P-type MOSFET, and the gate of the seventh P-type MOSFET is connected to the gate of the eighth P-type MOSFET; the gate of the ninth P-type MOSFET is connected to the gate of the tenth P-type MOSFET; the drain of the ninth P-type MOSFET is connected to the drain of the fourth N-type MOSFET; and the drain of the tenth P-type MOSFET is connected to the drain of the fifth N-type MOSFET. The fourth N-type MOSFET is cascaded with the second N-type MOSFET, and the fifth N-type MOSFET is cascaded with the third N-type MOSFET. The gate of the fourth N-type MOSFET is connected to the gate of the fifth N-type MOSFET, and the gate of the second N-type MOSFET is connected to the gate of the third N-type MOSFET. The source of the second N-type MOSFET is grounded to the source of the third N-type MOSFET, and the source of the first N-type MOSFET is grounded. The gate of the first N-type MOSFET is connected to the input voltage.

6. The lamp-turning circuit for implementing PSR mode as described in claim 1, characterized in that, The comparator includes eleventh to fourteenth P-type MOSFETs and sixth to eighth N-type MOSFETs. The sources of the eleventh and twelfth P-type MOSFETs are connected to a preset voltage, and their gates are connected to the input voltage. The drain of the eleventh P-type MOSFET is connected to the common junction of the sources of the thirteenth and fourteenth P-type MOSFETs, and the drain of the twelfth P-type MOSFET is connected to the drain of the eighth N-type MOSFET. The gate of the thirteenth P-type MOSFET is connected to the negative terminal of the input voltage, and its drain is connected to the drain of the sixth N-type MOSFET. The gate of the fourteenth P-type MOSFET is connected to the positive terminal of the input voltage, and its drain is connected to the drain of the seventh N-type MOSFET. The gates of the sixth and seventh N-type MOSFETs are connected, and their sources are both grounded. The gate of the eighth N-type MOSFET is connected to the common junction of the sources of the fourteenth P-type MOSFET and the drain of the seventh N-type MOSFET, and its source is grounded.

7. The lamp-turning circuit for implementing PSR mode as described in claim 1, characterized in that, The inverter includes a fifteenth P-type MOS transistor and a ninth N-type MOS transistor. The gate of the fifteenth P-type MOS transistor and the gate of the ninth N-type MOS transistor are connected to the input voltage. The drain of the fifteenth P-type MOS transistor and the drain of the ninth N-type MOS transistor are connected. The source of the fifteenth P-type MOS transistor is connected to the preset voltage. The source of the ninth N-type MOS transistor is grounded.

8. The lamp-turning circuit for implementing PSR mode as described in claim 1, characterized in that, The green light control unit includes a second P-type MOSFET and a green light diode, and the red light control unit includes a first P-type MOSFET and a red light diode. The drains of the first and second P-type MOSFETs are both connected to a preset voltage. The gate of the first P-type MOSFET is connected to the output terminal of the inverter, and its source is connected to the positive terminal of the red light diode, while the negative terminal of the red light diode is grounded. The gate of the second P-type MOSFET is connected to the common junction connecting the input terminal of the inverter and the output terminal of the comparator, and its source is connected to the positive terminal of the green light diode, while the negative terminal of the green light diode is grounded.

9. The lamp-turning circuit for implementing PSR mode as described in claim 1, characterized in that, The control unit is an AC-DC control unit, and the control unit operates in PSR mode. The output terminal of the control unit controls the conduction frequency and output current of the power transistor. The input terminal of the control unit receives the output signal of the transconductance amplifier unit and controls the output current of the power transistor according to the magnitude of the output signal.

10. A rechargeable battery device, characterized in that, The rechargeable battery device includes a turn signal circuit for implementing PSR mode as described in any one of claims 1 to 9.