WO2022042708A1 - System-on-chip, battery assembly, electronic device, battery protection circuit, test subsystem, test system, bluetooth earphone, shipping mode setting method, and computer readable storage medium - Google Patents

System-on-chip, battery assembly, electronic device, battery protection circuit, test subsystem, test system, bluetooth earphone, shipping mode setting method, and computer readable storage medium Download PDF

Info

Publication number
WO2022042708A1
WO2022042708A1 PCT/CN2021/115169 CN2021115169W WO2022042708A1 WO 2022042708 A1 WO2022042708 A1 WO 2022042708A1 CN 2021115169 W CN2021115169 W CN 2021115169W WO 2022042708 A1 WO2022042708 A1 WO 2022042708A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
battery
shipping
chip
signal
Prior art date
Application number
PCT/CN2021/115169
Other languages
French (fr)
Chinese (zh)
Inventor
宋利军
宋朋亮
徐丹蓉
Original Assignee
西安稳先半导体科技有限责任公司
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
Priority claimed from CN202010880054.7A external-priority patent/CN111987771B/en
Priority claimed from CN202010880048.1A external-priority patent/CN112039152B/en
Priority claimed from CN202010880053.2A external-priority patent/CN112039153B/en
Priority claimed from CN202010881223.9A external-priority patent/CN112039154B/en
Priority claimed from CN202010881217.3A external-priority patent/CN111987772B/en
Priority claimed from CN202010881221.XA external-priority patent/CN111987773B/en
Priority claimed from CN202011105770.4A external-priority patent/CN112271772B/en
Priority claimed from CN202110224611.4A external-priority patent/CN112986738B/en
Application filed by 西安稳先半导体科技有限责任公司 filed Critical 西安稳先半导体科技有限责任公司
Publication of WO2022042708A1 publication Critical patent/WO2022042708A1/en
Priority to US18/110,174 priority Critical patent/US20230196269A1/en
Priority to US18/110,149 priority patent/US20230275441A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • 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

Definitions

  • the present application relates to the field of battery technology, and in particular, to a system-on-chip, a battery assembly, an electronic device, a battery protection circuit, a test subsystem, a test system, a Bluetooth headset, a shipping mode setting method, and a computer-readable storage medium.
  • a battery assembly includes a bare cell, a battery protection circuit electrically connected to the bare cell to prevent overcharging or overdischarging of the bare cell.
  • the battery assembly After the electronic device with battery assembly is manufactured at the production site, the battery assembly is charged with a preset amount of power and the electronic device is turned off, and then transported and stored for a long time, and finally when the end user gets the electronic device for the first time. Due to long-term transportation and storage, the electronic device may be completely discharged due to internal current consumption. Therefore, the end user must charge the electronic device to restore the power before the first use, resulting in poor user experience.
  • the technical problem to be solved by the embodiments of the present application is to provide a system-on-chip, a battery assembly, and an electronic device. It can reduce the current consumption of the battery during transportation and storage, improve the battery retention time, and improve the user experience.
  • a first aspect of the embodiments of the present application provides a system-on-chip, including: a power supply pin, a power ground pin, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge and overcurrent protection unit, A reference voltage generation unit, a frequency generation unit, a control unit, a wake-up unit, and a first switch unit, wherein the power supply pin and the power ground pin are respectively used for electrical connection with the battery, and the first switch unit is used for controlling The battery supplies power to the system circuit;
  • the system-on-chip further includes a shipping pin, when the shipping pin receives a first signal, the system-on-chip enters a shipping mode, and in the shipping mode, the first switch unit is turned off to stop the battery Power is supplied to the system circuit and at least some units of the system-on-chip are powered off, and the wake-up unit is powered when in the shipping mode, and the wake-up unit is used to exit the system-on-chip from the shipping mode.
  • the system-on-chip is triggered to generate a shipping control signal to enter the shipping mode.
  • the first signal is an encoded signal that is agreed between the system on chip and the system circuit.
  • the first signal includes a pulse signal
  • the system-on-chip further includes a pulse counting unit, the pulse counting unit is electrically connected to the shipping pin, when the pulse counting unit receives the pulse signal within a first predetermined period of time.
  • a shipping control signal is triggered.
  • the first signal is a continuous high-level signal or a continuous low-level signal
  • the system-on-chip further includes a first timing unit
  • the first timing unit is electrically connected to the shipping pin , when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, triggering the generation of the shipping control signal.
  • the over-discharge voltage protection unit includes a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal is a continuous high-level signal or a continuous high-level signal.
  • the system-on-chip further includes a second switch unit and a first resistor, the control end of the second switch unit is electrically connected to the shipping pin, and the input end of the second switch unit is grounded, The output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit is also connected to the overdischarge voltage protection unit.
  • the reverse terminal of the comparator is electrically connected, and the output terminal of the comparator is electrically connected to the second timing unit.
  • the second switch unit When the shipping pin is connected to the first signal, the second switch unit is turned on, and the second switch unit is turned on.
  • the generation of the shipping control signal is triggered when the duration of the high level received by the timing unit is greater than or equal to the third predetermined time period.
  • the wake-up unit is a charge detection unit.
  • the system-on-chip exits the shipping mode.
  • At least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
  • the first switch unit includes a MOS transistor.
  • a second aspect of the embodiments of the present application provides a battery assembly, including:
  • the capacity of the battery is 10mAH-80mAH.
  • a third aspect of the embodiments of the present application provides an electronic device, including:
  • the electronic device is a Bluetooth headset.
  • a fourth aspect of the embodiments of the present application provides a system-on-chip, including: a power supply pin, a power supply ground pin, an overdischarge voltage protection unit, a control unit, a wake-up unit, and a first switch unit, wherein the power supply lead The pin and the power ground pin are respectively used for electrical connection with the battery, and the first switch unit is used for controlling the battery to supply power to the system circuit;
  • the power supply pin is also used for electrical connection with the shipping outlet of the system circuit.
  • the system-on-chip Entering a shipping mode, in which the first switch unit is turned off to stop the battery from supplying power to the system circuit and at least part of the system-on-chip units are powered off, and in the shipping mode the wake-up unit is powered , the wake-up unit is used to make the system-on-chip exit the shipping mode.
  • the system-on-chip enters the shipping mode.
  • the system-on-chip further includes a pulse counting unit, which is electrically connected to the power supply pin, and when the pulse counting unit confirms the number of pulses received by the power supply pin within a predetermined period of time.
  • the system-on-chip enters the shipping mode when the number is greater than or equal to the first predetermined number.
  • the over-discharge voltage protection unit includes a comparator
  • the system-on-chip further includes a third switch unit and a third resistor
  • the control terminal of the third switch unit is electrically connected to the output terminal of the pulse counting unit.
  • the input end of the third switch unit is grounded
  • the output end of the third switch unit is electrically connected to one end of the third resistor
  • the other end of the third resistor is connected to a high level
  • the output end of the third switch unit is electrically connected to one end of the third resistor.
  • the output terminal is also electrically connected to the reverse terminal of the comparator, and when the pulse counting unit confirms that the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to the first predetermined number, a control signal is output to make all
  • the third switch unit is turned on, the output signal of the comparator is changed to control the system on chip to enter the shipping mode, and in the shipping mode, all units of the system on chip except the wake-up unit are powered off.
  • the system-on-chip enters the shipping mode when the voltage signal received by the power supply pin is lower than a preset threshold voltage due to the voltage division of the branch where the shipping outlet is located.
  • the over-discharge voltage protection unit is electrically connected to the power supply pin, and when the voltage signal of the power supply pin is lower than the threshold voltage, the discharge protection unit controls the system-on-chip to enter the shipping mode, and is in shipping mode. In the mode, the first switch unit is turned off, and all units of the system-on-chip except the wake-up unit are powered off.
  • the wake-up unit is a charge detection unit.
  • the system-on-chip exits the shipping mode.
  • the system-on-chip further includes an overcharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, and a frequency generation unit.
  • the overcharge voltage protection unit, the overdischarge voltage protection unit, At least one of the discharge overcurrent protection unit, the control unit, the reference voltage generating unit and the frequency generating unit is stopped from supplying power.
  • all units of the system-on-chip except the wake-up unit are powered off.
  • the first switch unit includes a MOS transistor.
  • a fifth aspect of the embodiments of the present application provides a battery assembly, including:
  • the capacity of the battery is 10mAH-80mAH.
  • a sixth aspect of the embodiments of the present application provides an electronic device, including:
  • the electronic device is a Bluetooth headset.
  • the shipping output terminal of the system circuit is electrically connected to the power supply pin of the system-on-chip via a second resistor, and the shipping output terminal is in the middle of outputting a signal that causes the system-on-chip to enter the shipping mode. Outside the time is high resistance state.
  • a seventh aspect of an embodiment of the present application provides a battery protection circuit, including: a power supply terminal, a power ground terminal, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, and a frequency generation unit. a unit, a control unit, and a first switch unit, wherein the power supply terminal and the power ground terminal are respectively used for electrical connection with the battery, and the first switch unit is used to control the battery to supply power to the system circuit;
  • the battery protection circuit further includes a shipping input terminal, when the shipping input terminal receives the first signal, the battery protection circuit enters the shipping mode, and at least some units of the battery protection circuit are stopped in the shipping mode powered by.
  • the first switch unit is turned off to stop the battery from supplying power to the system circuit.
  • the battery protection circuit further includes a wake-up unit, the wake-up unit is powered in the shipping mode, and the wake-up unit is configured to make the battery protection circuit exit the shipping mode.
  • the battery protection circuit is triggered to generate a shipping control signal to enter the shipping mode.
  • the first signal is an encoded signal that the battery protection circuit and the system circuit perform an agreement on.
  • the first signal includes a pulse signal
  • the battery protection circuit further includes a pulse counting unit
  • the pulse counting unit is electrically connected to the shipping input end, when the pulse counting unit is within a first predetermined time period When the number of received pulses is greater than or equal to the first predetermined number, the generation of the shipping control signal is triggered.
  • the first signal includes a continuous high-level signal or a continuous low-level signal
  • the battery protection circuit further includes a first timing unit
  • the first timing unit is electrically connected to the shipping input terminal. connected, when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, triggering the generation of a shipping control signal.
  • the over-discharge voltage protection unit includes a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal is a continuous high-level signal or a continuous high-level signal.
  • the battery protection circuit further includes a second switch unit and a first resistor, the control end of the second switch unit is electrically connected to the shipping pin, and the input end of the second switch unit is grounded , the output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit is also connected to the overdischarge voltage protection unit
  • the reverse end of the comparator is electrically connected, and the output end of the comparator is electrically connected to the second timing unit.
  • the wake-up unit is a charge detection unit.
  • the battery protection circuit exits the shipping mode.
  • At least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
  • the first switch unit includes a MOS transistor.
  • the battery protection circuit is implemented on the same chip, or all units of the battery protection circuit except the first switch unit are implemented on the same chip.
  • An eighth aspect of the embodiments of the present application provides a battery assembly, including:
  • the power supply terminal and the power ground terminal of the battery protection circuit are respectively electrically connected to the battery.
  • the capacity of the battery is 10mAH-80mAH.
  • a ninth aspect of the embodiments of the present application provides an electronic device, including:
  • a system circuit wherein the battery is controlled to supply power to the system circuit via the battery protection circuit.
  • a tenth aspect of an embodiment of the present application provides a system-on-chip, including: a power supply pin, a power ground pin, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, a frequency A generation unit, a control unit, a wake-up unit, and a control pin, wherein the power supply pin and the power ground pin are respectively used for electrical connection with the battery, and the control pin is used to control the first switch unit, and the third A switch unit is used to control the battery to supply power to the system circuit;
  • the system-on-chip further includes a shipping pin, when the shipping pin receives the first signal, the system-on-chip enters the shipping mode, and the system-on-chip output is used to turn off the first switch in the shipping mode
  • the control signal of the unit is given to the control pin to make the battery stop supplying power to the system circuit and at least part of the system-on-chip units are stopped, and the wake-up unit is powered in the shipping mode, and the wake-up unit is used to make the The SoC exits shipping mode.
  • the system-on-chip is triggered to generate a shipping control signal to enter the shipping mode.
  • the first signal is an encoded signal that is agreed between the system on chip and the system circuit.
  • the first signal includes a pulse signal
  • the system-on-chip further includes a pulse counting unit, the pulse counting unit is electrically connected to the shipping pin, when the pulse counting unit receives the pulse signal within a first predetermined period of time.
  • a shipping control signal is triggered.
  • the first signal includes a continuous high-level signal or a continuous low-level signal
  • the system-on-chip further includes a first timing unit
  • the first timing unit is electrically connected to the shipping pin. , when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, triggering the generation of the shipping control signal.
  • the over-discharge voltage protection unit includes a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal is a continuous high-level signal or a continuous high-level signal.
  • the system-on-chip further includes a second switch unit and a first resistor, the control end of the second switch unit is electrically connected to the shipping pin, and the input end of the second switch unit is grounded, The output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit is also connected to the overdischarge voltage protection unit.
  • the reverse terminal of the comparator is electrically connected, and the output terminal of the comparator is electrically connected to the second timing unit.
  • the second switch unit When the shipping pin is connected to the first signal, the second switch unit is turned on, and the second switch unit is turned on.
  • the generation of the shipping control signal is triggered when the duration of the high level received by the timing unit is greater than or equal to the third predetermined time period.
  • the wake-up unit is a charge detection unit.
  • the system-on-chip exits the shipping mode.
  • At least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
  • the first switch unit includes a MOS transistor.
  • An eleventh aspect of the embodiments of the present application provides a battery assembly, including:
  • the first switch unit is electrically connected to the control pin of the system-on-chip, the input end of the first switch unit is electrically connected to the battery, and the output end of the first switch unit is used for electrical connection with the system circuit.
  • the capacity of the battery is 10mAH-80mAH.
  • a twelfth aspect of the embodiments of the present application provides an electronic device, including:
  • the electronic device is a Bluetooth headset.
  • a thirteenth aspect of an embodiment of the present application provides a system-on-chip, including: a power supply pin, a power ground pin, an overdischarge voltage protection unit, a control unit, a wake-up unit, and a control pin, wherein the power supply lead
  • the pin and the power ground pin are respectively used for electrical connection with the battery
  • the control pin is used to control the first switch unit
  • the first switch unit is used to control the battery to supply power to the system circuit
  • the power supply pin is also used for electrical connection with the shipping outlet of the system circuit.
  • the system-on-chip Entering the shipping mode
  • the system-on-chip outputs a control signal for turning off the first switch unit to the control pin, so that the battery stops supplying power to the system circuit and at least some units of the system-on-chip are powered off,
  • the wake-up unit is powered, and the wake-up unit is used to make the system on chip exit the shipping mode.
  • the system-on-chip enters the shipping mode.
  • the system-on-chip also includes a pulse counting unit, which is electrically connected to the power supply pin, and when the pulse counting unit confirms the number of pulses received by the power supply pin within a predetermined period of time.
  • the system-on-chip enters the shipping mode when the number is greater than or equal to the first predetermined number.
  • the over-discharge voltage protection unit includes a comparator
  • the system-on-chip further includes a third switch unit and a third resistor
  • the control terminal of the third switch unit is electrically connected to the output terminal of the pulse counting unit.
  • the input end of the third switch unit is grounded
  • the output end of the third switch unit is electrically connected to one end of the third resistor
  • the other end of the third resistor is connected to a high level
  • the output end of the third switch unit is electrically connected to one end of the third resistor.
  • the output terminal is also electrically connected to the reverse terminal of the comparator, and when the pulse counting unit confirms that the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to the first predetermined number, a control signal is output to make all
  • the third switch unit is turned on, the output signal of the comparator is changed to control the system on chip to enter the shipping mode, and in the shipping mode, all units of the system on chip except the wake-up unit are powered off.
  • the system-on-chip enters the shipping mode when the voltage signal received by the power supply pin is lower than a preset threshold voltage due to the voltage division of the branch where the shipping outlet is located.
  • the over-discharge voltage protection unit is electrically connected to the power supply pin, and when the voltage signal of the power supply pin is lower than the threshold voltage, the discharge protection unit controls the system-on-chip to enter the shipping mode, and is in shipping mode. In the mode, the first switch unit is turned off, and all units of the system-on-chip except the wake-up unit are powered off.
  • the wake-up unit is a charge detection unit.
  • the system-on-chip exits the shipping mode.
  • the system-on-chip further includes an overcharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, and a frequency generation unit.
  • the overcharge voltage protection unit, the overdischarge voltage protection unit, At least one of the discharge overcurrent protection unit, the control unit, the reference voltage generating unit and the frequency generating unit is stopped from supplying power.
  • all units of the system-on-chip except the wake-up unit are powered off.
  • the first switch unit includes a MOS transistor.
  • a fourteenth aspect of the embodiments of the present application provides a battery assembly, including:
  • the first switch unit is electrically connected to the control pin of the system-on-chip, the input end of the first switch unit is electrically connected to the battery, and the output end of the first switch unit is used for electrical connection with the system circuit.
  • the capacity of the battery is 10mAH-80mAH.
  • a fifteenth aspect of the embodiments of the present application provides an electronic device, including:
  • the electronic device is a Bluetooth headset.
  • the shipping output terminal of the system circuit is electrically connected to the power supply pin of the system-on-chip via a second resistor, and the shipping output terminal is in the middle of outputting a signal that causes the system-on-chip to enter the shipping mode. Outside the time is high resistance state.
  • a sixteenth aspect of the embodiments of the present application provides a battery protection circuit, including: a power supply terminal, a power ground terminal, an overdischarge voltage protection unit, a control unit, a first resistor, a first switch unit, a first test solder joint, and The second test solder joint, wherein the power supply terminal and the power ground terminal are respectively used for electrical connection with the battery, the over-discharge voltage protection unit is electrically connected with the control unit, and the input terminal of the first resistor is electrically connected with the battery , the output end of the first resistor is electrically connected to the power supply end of the power supply, and the first switch unit is used to control the battery to supply power to the system circuit;
  • the first test pad is electrically connected to the power supply terminal
  • the second test pad is electrically grounded
  • the first test pad and the second test pad are used for electrical connection with the test unit.
  • the first test pad and the second test pad are turned on, so that the voltage signal received by the power supply terminal is lower than the preset threshold voltage , so that the battery protection circuit enters a sleep mode, in which the first switch unit is turned off to stop the battery supplying power to the system circuit, and at least part of the battery protection circuit is stopped from supplying power.
  • the battery protection circuit further includes a wake-up unit, the wake-up unit is powered in the sleep mode, and the wake-up unit is configured to make the battery protection circuit exit the sleep mode.
  • the first test pad is directly electrically connected to the power supply terminal of the power supply; or a second resistance is set between the first test pad and the power supply terminal to be indirectly electrically connected.
  • the second test pad is directly grounded; or a second resistance indirect electrical connection is set between the second test pad and the ground.
  • the over-discharge voltage protection unit is electrically connected to the power supply terminal.
  • the discharge protection unit controls the battery protection circuit to enter the sleep mode.
  • the first switch unit is turned off, and at least part of the battery protection circuit is stopped from supplying power.
  • the wake-up unit is a charge detection unit.
  • the charging detection unit detects the charging signal
  • the battery protection circuit exits the sleep mode.
  • the battery protection circuit further includes an overcharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit and a frequency generation unit, wherein in the sleep mode, the overcharge voltage protection unit, the overdischarge voltage protection unit At least one of the unit, the discharge overcurrent protection unit, the control unit, the reference voltage generating unit and the frequency generating unit is powered off.
  • the first switch unit includes a MOS transistor.
  • the battery protection circuit is implemented on the same chip, or all units of the battery protection circuit except the first switch unit are implemented on the same chip.
  • a seventeenth aspect of the embodiments of the present application provides a battery assembly, including:
  • the power supply terminal and the power ground terminal of the battery protection circuit are respectively electrically connected to the battery.
  • the capacity of the battery is 10mAH-80mAH.
  • An eighteenth aspect of the embodiments of the present application provides a testing subsystem, including:
  • the two ends of the test unit are used for electrical connection with the first test pad and the second test pad, when the two ends of the test unit are electrically connected with the first test pad and the second test pad.
  • the first test pad and the second test pad are turned on, so that the voltage signal received by the power supply end of the battery protection circuit is lower than a preset threshold voltage, so that the battery protection circuit enters a sleep mode, In the sleep mode, the first switch unit is turned off to stop the battery from supplying power to the system circuit, and at least part of the battery protection circuit is stopped from supplying power.
  • the test unit is a wire, and a second resistance is provided between the first test pad and the power supply terminal.
  • the test unit is a wire, and a second resistance is set between the second test pad and the ground.
  • the test unit is a wire and a second resistor, and a second resistor is set between the first test pad and the second test point.
  • a nineteenth aspect of the embodiments of the present application provides a testing system, including:
  • the power supply terminal and the power ground terminal of the battery protection circuit in the test subsystem are respectively electrically connected to the battery.
  • the capacity of the battery is 10mAH-80mAH.
  • a twentieth aspect of an embodiment of the present application provides an electronic device, including:
  • a system circuit wherein the battery is controlled to supply power to the system circuit via the battery protection circuit.
  • a twenty-first aspect of the embodiments of the present application provides a Bluetooth headset, including:
  • a battery protection circuit includes: a power supply terminal, a power ground terminal, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, a frequency generation unit, a control unit, and a first switch unit, Wherein, the power supply terminal and the power ground terminal are respectively electrically connected to the battery, and the first switch unit is used to control the battery to supply power to the system circuit;
  • the system circuit is electrically connected to the battery protection circuit, the battery protection circuit enters a shipping mode when the system circuit outputs a first signal to the battery protection circuit, and the first switch unit is disconnected in the shipping mode to stop the battery supplying power to the system circuits.
  • the battery protection circuit includes a shipping input terminal, the shipping input terminal is electrically connected to the system circuit, and the system circuit outputs the first signal through the shipping input terminal.
  • the battery protection circuit further includes a wake-up unit, at least some units of the battery protection circuit are powered off in the shipping mode, and the wake-up unit is powered on in the shipping mode, and the wake-up unit is used for Take the battery protection circuit out of shipping mode.
  • the wake-up unit is a charge detection unit.
  • the battery protection circuit exits the shipping mode.
  • At least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
  • the battery protection circuit when the battery protection circuit receives the first signal, the battery protection circuit is triggered to generate a shipping control signal to enter the shipping mode.
  • the first signal is an encoded signal that the battery protection circuit and the system circuit perform an agreement on.
  • the first signal includes a pulse signal
  • the battery protection circuit further includes a pulse counting unit
  • the pulse counting unit is electrically connected to the shipping input end, when the pulse counting unit is within a first predetermined time period When the number of received pulses is greater than or equal to the first predetermined number, the generation of the shipping control signal is triggered.
  • the first signal includes a continuous high-level signal or a continuous low-level signal
  • the battery protection circuit further includes a first timing unit
  • the first timing unit is electrically connected to the shipping input terminal. connected, when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, triggering the generation of a shipping control signal.
  • the over-discharge voltage protection unit includes a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal is a continuous high-level signal or a continuous high-level signal.
  • the battery protection circuit further includes a second switch unit and a first resistor, the control end of the second switch unit is electrically connected to the shipping pin, and the input end of the second switch unit is grounded , the output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit is also connected to the overdischarge voltage protection unit
  • the reverse end of the comparator is electrically connected, and the output end of the comparator is electrically connected to the second timing unit.
  • the first switch unit includes a MOS transistor.
  • the battery protection circuit is implemented on the same chip, or all units of the battery protection circuit except the first switch unit are implemented on the same chip.
  • a twenty-second aspect of an embodiment of the present application provides a method for setting a shipping mode of an electronic device, the method comprising:
  • the shipping mode feedback command is a valid response command for successfully entering the shipping mode or an invalid response command for failing to enter the shipping mode.
  • the electronic device includes a main control module and a battery protection module electrically connected to the main control module,
  • the step of receiving the shipping instruction to enter the shipping mode sent by the host computer specifically includes:
  • the main control module receives the shipping instruction to enter the shipping mode sent by the host computer
  • the battery protection module receives the shipping instruction sent by the main control module
  • the step of sending the shipping mode feedback command to the host computer specifically includes:
  • the main control module sends the failure response command to the upper computer.
  • the electronic device is a tws earphone
  • the tws earphone includes an earphone body and an earphone compartment for accommodating the earphone body, and the main control module and the battery protection module are arranged in the earphone body;
  • the step of the main control module receiving the shipping instruction to enter the shipping mode sent by the host computer specifically includes:
  • the earphone compartment receives the shipping instruction to enter the shipping mode sent by the host computer;
  • the main control module receives the shipping instruction sent by the headset compartment
  • the main control module sends the effective response command to the headset compartment
  • the headset compartment sends the effective response command to the host computer
  • the step of the main control module sending the failure response command to the host computer specifically includes:
  • the main control module sends the failure response command to the earphone compartment
  • the earphone compartment sends the failure response command to the upper computer.
  • the step of sending the effective response command to the host computer by the headset compartment further includes:
  • the shipping instruction, the shipping mode feedback instruction and the shipping confirmation signal are respectively in the form of code, pulse or level.
  • a twenty-third aspect of an embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory coupled to each other, the processor is configured to execute program instructions stored in the memory, so as to implement the above-mentioned ship Operation mode setting method.
  • a twenty-fourth aspect of an embodiment of the present application provides a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the foregoing method for setting a shipping mode is implemented.
  • a twenty-fifth aspect of an embodiment of the present application provides an electronic device, the electronic device includes a main control module and a battery protection module, the main control module is provided with input and output pins, and the battery protection module is provided with a shipping pin, when the main control module receives the shipping instruction from the host computer to enter the shipping mode, the shipping instruction is transmitted to the shipping pin by the input and output pins, and the master control The module sends a shipping mode feedback command to the host computer according to whether it receives a shipping confirmation signal fed back from the shipping pin; wherein, the shipping mode feedback command is an effective response command that successfully enters the shipping mode Or a fail-response command that fails to enter shipping mode.
  • the input and output pins include a first input and output pin and a second input and output pin
  • the battery protection module is further provided with a feedback pin
  • the shipping instructions are guided by the first input and output pins.
  • the pin is transmitted to the shipping pin, and the feedback command is sent from the feedback pin to the second input and output pin.
  • the electronic device is a tws earphone.
  • the system-on-chip further includes a shipping pin
  • the shipping pin receives the first signal
  • the system-on-chip enters the shipping mode, and in the shipping mode
  • the The first switch unit is turned off so that the battery stops supplying power to the system circuit and at least some units of the system on chip are powered off
  • the wake-up unit is powered in the shipping mode
  • the wake-up unit is used to enable the system on chip Exit shipping mode.
  • the first switch unit is turned off, so that the battery cannot supply power to the system circuit, which can greatly save the power of the battery.
  • the system-on-chip in the shipping mode, at least some units of the system-on-chip are powered off, so that the battery only needs to supply power to the system.
  • a few circuit units such as the wake-up unit of the system-on-chip continue to supply power, so that the power consumption of the battery is further reduced, which can reduce the current consumption of the electronic device and improve the battery retention time.
  • the user gets the electronic device, the user only needs to operate the wake-up
  • the unit enables the system-on-chip to exit the shipping mode, and the electronic device can be used normally when it is turned on, which improves the user experience.
  • FIG. 1 is a schematic diagram of a circuit module of an electronic device according to a first embodiment of the present application
  • FIG. 2 is a schematic diagram of a circuit module of an electronic device according to another embodiment of the first embodiment of the present application;
  • FIG. 3 is a schematic diagram of a circuit module of the system-on-chip according to the first embodiment of the present application
  • FIG. 4 is a schematic diagram of an implementation of triggering the system-on-chip to generate a shipping control signal when the shipping pin of the system-on-chip according to the first embodiment of the present application receives the first signal;
  • Fig. 5 is the waveform diagram of the signal received by the shipping pin in Fig. 4 and the output signal of the pulse counting unit;
  • FIG. 6 is a schematic diagram of another implementation manner of triggering the SoC to generate a shipping control signal when the shipping pin of the SoC according to the first embodiment of the present application receives the first signal;
  • Fig. 7 is the waveform diagram of the signal received by the shipping pin in Fig. 6 and the output signal of the first timing unit;
  • FIG. 8 is a schematic diagram of yet another implementation manner of triggering the SoC to generate a shipping control signal when the shipping pin of the SoC according to the first embodiment of the present application receives the first signal;
  • FIG. 9 is a specific circuit implementation diagram of the shipping pin and the over-discharge voltage protection unit according to the first embodiment of the present application.
  • Fig. 10 is the waveform diagram of the signal received by the shipping pin in Fig. 9 and the output signal of the second timing unit;
  • FIG. 11 is a schematic diagram of a circuit module of an electronic device according to a second embodiment of the present application.
  • FIG. 12 is a schematic diagram of a circuit module of still another electronic device according to the second embodiment of the present application.
  • FIG. 13 is a schematic diagram of a circuit module of a system-on-chip according to the second embodiment of the present application.
  • Fig. 14 is the waveform diagram of the signal received by the shipping outlet, the signal received by the power supply pin and the output signal of the pulse counting unit in Fig. 13;
  • FIG. 15 is a schematic diagram of a circuit module of another electronic device according to the second embodiment of the present application.
  • Fig. 16 is the circuit module schematic diagram of the system-on-chip in Fig. 15;
  • 17 is a schematic diagram of a circuit module of another system-on-a-chip according to the second embodiment of the present application.
  • FIG. 18 is a specific circuit realization diagram of the pulse counting unit and the over-discharge voltage protection unit in FIG. 17;
  • FIG. 19 is a schematic diagram of a circuit module of an electronic device according to a third embodiment of the present application.
  • Figure 20 is a waveform diagram of the signal received at the shipping input in Figure 19 and the output signal of the pulse counting unit;
  • 21 is a schematic diagram of a circuit module of another electronic device according to the third embodiment of the present application.
  • 22 is a schematic diagram of a circuit module of another electronic device according to the third embodiment of the present application.
  • Figure 23 is a waveform diagram of the signal received at the shipping input in Figure 22 and the output signal of the first timing unit;
  • FIG. 24 is a schematic diagram of a circuit module of another electronic device according to the third embodiment of the present application.
  • 25 is a specific circuit implementation diagram of the shipping input terminal and the over-discharge voltage protection unit according to the third embodiment of the present application;
  • Figure 26 is a waveform diagram of the signal received at the shipping input in Figure 25 and the output signal of the second timing unit;
  • FIG. 27 is a schematic diagram of a circuit module of an electronic device according to a fourth embodiment of the present application.
  • FIG. 28 is a schematic diagram of a circuit module of another electronic device according to the fourth embodiment of the present application.
  • 29 is a schematic diagram of a circuit module of a system-on-chip according to the fourth embodiment of the present application.
  • FIG. 30 is a schematic diagram of an implementation manner of triggering the SoC to generate a shipping control signal when the shipping pin of the SoC according to the fourth embodiment of the present application receives the first signal;
  • Figure 31 is a waveform diagram of the signal received by the shipping pin in Figure 30 and the output signal of the pulse counting unit;
  • 32 is a schematic diagram of another implementation manner of triggering the SoC to generate a shipping control signal when the shipping pin of the SoC according to the fourth embodiment of the present application receives the first signal;
  • Figure 33 is a waveform diagram of the signal received by the shipping pin in Figure 32 and the output signal of the first timing unit;
  • 34 is a schematic diagram of yet another implementation of triggering the system-on-chip to generate a shipping control signal when the shipping pin of the system-on-chip according to the fourth embodiment of the present application receives the first signal;
  • 35 is a specific circuit implementation diagram of the shipping pin and the over-discharge voltage protection unit according to the fourth embodiment of the present application.
  • Figure 36 is a waveform diagram of the signal received by the shipping pin in Figure 35 and the output signal of the second timing unit;
  • FIG. 37 is a schematic diagram of a circuit module of an electronic device according to a fifth embodiment of the present application.
  • 39 is a schematic diagram of a circuit module of a system-on-chip according to the fifth embodiment of the present application.
  • Figure 40 is a waveform diagram of the signal received by the shipping outlet in Figure 39, the signal received by the power supply pin and the output signal of the pulse counting unit;
  • 41 is a schematic diagram of a circuit module of another electronic device according to the fifth embodiment of the present application.
  • FIG. 42 is a schematic diagram of a circuit module of the system-on-chip in FIG. 41;
  • FIG. 43 is a schematic diagram of a circuit module of another system-on-chip according to the fifth embodiment of the present application.
  • Fig. 44 is the concrete circuit realization diagram of the pulse counting unit and the over-discharge voltage protection unit in Fig. 43;
  • 46 is a schematic diagram of a circuit module of the battery protection circuit according to the sixth embodiment of the present application.
  • 47 is a schematic diagram of a circuit module of another electronic device according to the sixth embodiment of the present application.
  • FIG. 48 is a schematic diagram of a circuit module of another electronic device according to the sixth embodiment of the present application.
  • 49 is a schematic flowchart of the first embodiment of the shipping mode setting method of the electronic device of the present application.
  • 50 is a schematic flowchart of the second embodiment of the shipping mode setting method of the electronic device of the present application.
  • 51 is a schematic flowchart of the third embodiment of the shipping mode setting method of the electronic device of the present application.
  • FIG. 52 is a schematic diagram of the framework of the seventh embodiment of the electronic device of the present application.
  • 53 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application.
  • Fig. 54 is another circuit diagram of the seventh embodiment of the electronic device of the present application.
  • FIG. 55 is another circuit diagram of the seventh embodiment of the electronic device of the present application.
  • the electronic device is, for example, a Bluetooth headset, a mobile phone, a tablet computer, and the like.
  • the electronic device includes a battery assembly and a system circuit 200.
  • the system circuit 200 is, for example, a circuit composed of a microprocessor, a camera driving circuit, an image processor, etc.
  • the system circuit 200 is electrically connected to the battery assembly, and the battery assembly is used to supply The system circuit 200 is powered.
  • the battery assembly includes a battery 300 and a system-on-chip 100, the system-on-chip 100 is electrically connected to the positive and negative poles of the battery 300, the system circuit 200 is electrically connected to the system-on-chip 100, the battery 300 supplies power to the system-on-chip 100, and the system-on-chip 100 plays a protective role.
  • the battery 300 is protected when it is overcharged or overdischarged. Since how the system-on-chip 100 protects the battery 300 from overcharge and overdischarge is a common technical means in the field, it will not be repeated here.
  • the number of the batteries 300 is one or more. When there are multiple batteries 300, the multiple batteries 300 can be connected in parallel, in series, or mixed in series and parallel.
  • the batteries 300 are preferably lithium batteries 300, and the capacity of the batteries 300 is 10mAH-80mAH, such as 10mAH, 20mAH, 30mAH, 40mAH, 50mAH, 60mAH, 70mAH, 80mAH, the battery 300 with this capacity is small in volume, preferably, the capacity of the battery 300 is 20mAH-40mAH, and the The volume is smaller and can be easily configured in small electronic devices, such as Bluetooth headsets. Moreover, since the capacity of the battery 300 is so small, how to maintain the power of the battery 300 for a long time becomes a very important issue.
  • the system on chip 100 (System on Chip, SOC) is a technology commonly used in the field of integrated circuits, and the purpose is to combine multiple integrated circuits with specific functions on one chip to form a system or product, including complete The hardware system and the embedded software it carries.
  • the system-on-chip 100 has obvious advantages in performance, cost, power consumption, reliability, and life cycle and usage range.
  • a second resistor R2 and a capacitor C are further provided between the battery 300 and the system-on-chip 100 , and the second resistor R2 and the capacitor C are set for filtering.
  • other circuits or electronic components may also be provided between the battery 300 and the system-on-chip 100 .
  • the power supply pin VDD and the power supply ground pin GND are respectively used for electrical connection with the positive and negative poles of the battery 300 , so that the battery 300 can supply power to the system-on-chip 100 .
  • the system circuit 200 forms a loop to supply power to the system circuit 200 .
  • the overcharge voltage protection unit 110 is used to protect the battery 300 when it is detected that the charging voltage is too high during the charging process of the battery 300, for example, stop charging the battery 300, etc., to prevent the battery 300 from being charged. damage or safety issues.
  • the over-discharge voltage protection unit 190 is used to protect the battery 300 when it is detected that the discharge voltage is too low during the discharge process of the battery 300, for example, to control the battery 300 to discharge to a minimum degree, etc.
  • the power supply to the system circuit 200 is stopped, and the power supply to the circuits other than the charging detection circuit of the system on chip 100 is stopped, so as to prevent the battery 300 from being permanently damaged due to excessive discharge of the battery 300 .
  • the discharge overcurrent protection unit 130 is used to protect the battery 300 when it is detected that the discharge current is too large during the discharge process of the battery 300 , for example, the battery 300 stops discharging, etc., to prevent the discharge current from being excessively high. It may cause permanent damage to the battery 300 or a safety problem.
  • the discharge overcurrent protection unit 130 includes a plurality of sub-units, each of which is electrically connected to the control unit 160, and each sub-unit is used to process different discharge currents, and three sub-units are set in the figure .
  • the reference voltage generation unit 140 is used to generate the reference voltage required by the system on chip 100
  • the frequency generation unit 150 is used to generate different frequencies
  • the control unit 160 is respectively connected with the overcharge voltage protection unit 110 and the overdischarge voltage.
  • the protection unit 190 , the discharge overcurrent protection unit 130 , the reference voltage generation unit 140 , the frequency generation unit 150 , the wake-up unit 170 , the first switch unit 180 and the like are electrically connected.
  • the overcharge voltage protection unit 110 , the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the reference voltage generation unit 140 , the frequency generation unit 150 , and the control unit 160 are conventional circuits in the field, and here No longer.
  • the wake-up unit 170 is a charging detection unit for detecting whether the electronic device is connected to a power source through a charger to charge the battery 300 .
  • the charging detection unit detects to the charging signal to charge the battery 300; if the battery 300 is protected by the overdischarge voltage protection unit 190 and the charging detection unit detects the charging signal at this time, the overdischarge voltage protection for the battery 300 is exited, that is, the The system circuit 200 supplies power and normally supplies power to the system on chip 100 .
  • the first signal is a digital coded signal
  • the coded signal is pre-agreed in the design of the SoC and the system circuit.
  • the SoC When the coded signal is received by the shipping pin, the SoC generates the shipping Control signal to enter shipping mode.
  • the first signal includes two periods of time: the first period is a high-level signal, and the second period is a predetermined number of pulse signals.
  • the high-level signal is used to trigger the corresponding components of the system-on-chip to activate, for example Tell the corresponding component of the system-on-chip to prepare for timing or counting, and then the corresponding component of the system-on-chip will count or time the received pulse signal (for example, different pulse durations are different).
  • the system-on-chip When the number of pulses meets the preset requirements, the system-on-chip generates For the shipping control signal, when the number of pulses does not meet the preset requirements, the corresponding components of the system-on-chip return to the state where they are not activated at the beginning. Since the first signal is a coded signal of the SoC and the system circuit protocol, the specific form of the first signal is not limited, complex coding or simple coding can be used, and the SoC and the system circuit can be identified by pre-protocol agreement. In addition, when the first signal is relatively complex, the system-on-chip is reliable and safe at this time, which can prevent false triggering.
  • the electronic device when the electronic device needs to be transported or stored for a long time, there are several ways to enter the system-on-chip 100 of the electronic device into the shipping mode, which are described below.
  • the manners for making the SoC 100 of the electronic device enter the shipping mode are not limited to the following. In other embodiments of the present application, those skilled in the art can also set other conventional circuits to realize the SoC 100 of the electronic device. Enter shipping mode.
  • the system-on-chip 100 includes a power supply pin VDD, a power supply ground pin GND, an overcharge voltage protection unit 110, an overdischarge voltage protection unit 190, a discharge voltage
  • the first switch unit 180 includes a switch tube and a substrate control circuit, the switch tube is a MOS tube, the control end of the switch tube is electrically connected to the control unit 160 , and the substrate control circuit is electrically connected to the control unit 160 , the substrate control circuit is used to realize the correct bias of the substrate of the switch tube.
  • the first switch unit 180 may further include a charge switch and a discharge switch, wherein the charge switch and the discharge switch are both MOS transistors, and the charge switch and the discharge switch are respectively connected to the control Unit 160 is electrically connected.
  • the first switch unit 180 may also be implemented in other forms, for example, including only one switch tube.
  • the first switch unit 180 is used to control the battery 300 to supply power to the system circuit 200 .
  • the control terminal of the first switch unit 180 is electrically connected to the control unit 160, and the input terminal of the first switch unit 180 is used to electrically connect to the battery 300, for example, to the power ground pin GND of the system-on-chip 100.
  • the output end of a switch unit 180 is used for electrical connection with the system circuit 200 , so that the battery 300 , the system circuit 200 and the first switch unit 180 form a power supply loop, and the system-on-chip 100 can control whether the battery 300 is Power is supplied to the system circuit 200 .
  • the system on chip 100 further includes a shipping pin CTL.
  • the shipping pin CTL is a newly added pin of the system on chip 100.
  • the first switch unit 180 is turned off to stop the battery 300 from supplying power to the system circuit 200, and at least some units of the system-on-chip 100 are stopped from supplying power.
  • the generation of the first signal may be implemented by software or by hardware. When implemented by hardware, it may be implemented by, for example, the power button of the electronic device, for example, by long pressing the power button to generate the first signal.
  • the wake-up unit 170 is continuously powered by the battery 300 in the shipping mode, and the wake-up unit 170 is used to make the system-on-chip 100 exit the shipping mode.
  • the wake-up unit 170 is a charging detection circuit, and the charging detection circuit is an existing circuit of the system-on-chip 100 , this design can save costs.
  • the charging detection circuit detects the charging signal, and the system-on-chip 100 automatically exits the shipping mode. Since the power of the battery 300 can be maintained for a long time, the electronic device can be powered on normally.
  • the wake-up unit 170 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the system on chip 100 exit the shipping mode. Those skilled in the art may Specific requirements for circuit design.
  • the system-on-chip 100 of the electronic device can enter the shipping mode.
  • the first switch unit 180 is turned off, Therefore, the battery 300 cannot supply power to the system circuit 200, which can greatly save the power of the battery 300.
  • the shipping mode at least some units of the SoC 100 are powered off, so that the battery 300 only needs to power the wake-up unit 170 of the SoC 100, etc. A few circuit units continue to supply power, so that the power consumption of the battery 300 is further reduced, which can reduce the current consumption of the electronic device.
  • the current consumption can be as low as several nA/h, so that the power retention time of the battery 300 can be improved, even if the capacity of the battery 300 itself is In a relatively small case, the power of the battery 300 can also be maintained for half a year to a year in the shipping mode.
  • the user gets the electronic device, the user only needs to operate the wake-up unit 170 to make the system-on-chip 100 exit the shipping mode, and the electronic device is turned on immediately. It can be used normally, which improves the user experience and prevents the user from mistakenly thinking that the electronic device is faulty.
  • At least some units of the system on chip 100 are powered off during the shipping mode.
  • at least one of the overcharge voltage protection unit 110 , the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the control unit 160 , the reference voltage generation unit 140 and the frequency generation unit 150 of the system on chip 100 is Stop power supply, for example, one of the overcharge voltage protection unit 110, the overdischarge voltage protection unit 190, the discharge overcurrent protection unit 130, the control unit 160, the reference voltage generation unit 140 and the frequency generation unit 150 is stopped in the shipping mode power supply, or two of the overcharge voltage protection unit 110, the overdischarge voltage protection unit 190, the discharge overcurrent protection unit 130, the control unit 160, the reference voltage generation unit 140 and the frequency generation unit 150 are powered off during the shipping mode, Or in the shipping mode, three of the overcharge voltage protection unit 110, the overdischarge voltage protection unit 190, the discharge overcurrent protection unit 130, the control unit 160, the reference voltage generation unit 140 and the frequency generation unit 150 are
  • the overcharge voltage protection unit 110 the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the control unit 160 , the reference voltage generation unit 140 and the frequency generation unit 150 are all powered off. Reduce battery consumption by 300.
  • the system-on-chip 100 further includes a temperature protection unit 410, a charging overcurrent protection unit 120, etc. In the shipping mode, the temperature protection unit 410 and the charging overcurrent protection unit 120 may not be powered, It can also be powered, which is also the scope of the protection of the present invention.
  • the circuits of the system on chip 100 except the wake-up unit 170 are all powered off, that is, the circuits of the system on chip 100 except for the circuits required for the system on chip 100 to exit the shipping mode are stopped. Except that the wake-up unit 170 is powered, other circuit units of the system-on-chip 100 are not powered, which can further save the power of the battery 300, reduce the power consumption of the battery 300, and further improve the power retention time of the battery 300. The capacity retention time of the battery 300 .
  • the system-on-chip 100 when the shipping pin CTL receives the first signal, the system-on-chip 100 is triggered to generate a shipping control signal to enter the shipping mode.
  • the present application is not limited thereto. In other embodiments of the present application, the system on chip 100 can directly enter the shipping mode when the shipping pin CTL receives the first signal.
  • the shipping pin CTL when the shipping pin CTL receives the first signal, there are three ways to trigger the system-on-chip 100 to generate the shipping control signal, which will be described separately below.
  • the manner of triggering the SoC 100 to generate the shipping control signal is not limited to the following three. In other embodiments of the present application, those skilled in the art can also set other conventional circuits. to trigger the system-on-chip 100 to generate a shipping control signal.
  • the first signal includes a pulse signal
  • the system-on-chip 100 further includes a pulse counting unit 420 and a third resistor R3.
  • the shipping pin CTL defaults to a low level.
  • the shipping pin CTL is grounded through the third resistor R3 to achieve a low level, and the pulse counting unit 420 outputs a low level signal under normal conditions.
  • the shipping pin CTL is electrically connected with the pulse counting unit 420 .
  • the pulse counting unit 420 counts the pulses
  • the pulse counting unit 420 triggers counting with a rising edge.
  • the output signal of the pulse counting unit 420 changes from a low level to a high level, and the high level at this time is the shipping control signal, wherein the first predetermined time period and the first predetermined number are The system on chip 100 is preset, the first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc., and the first predetermined number is, for example, 3, 4, 5, etc. This design can prevent false triggering.
  • the output terminals of the pulse counting unit 420 are respectively connected with the overcharge voltage protection unit 110 , the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the reference voltage generation unit 140 , the frequency generation unit 150 , and the control unit 160 .
  • the units whose power supply needs to be stopped are electrically connected to stop the power supply of the units other than the wake-up unit 170 of the system on chip 100 .
  • the output terminal of the pulse counting unit 420 outputs a high level under normal conditions, and at this time, a low level is a shipping control signal.
  • the pulse counting unit 420 is provided separately from the control unit 160 .
  • the pulse counting unit 420 may also be integrated into the control unit 160 .
  • the first signal includes a continuous high-level signal or a continuous low-level signal
  • the system-on-chip 100 further includes a first timing unit 430 and a third resistor R3 .
  • the shipping pin CTL defaults to a low level.
  • the shipping pin CTL is grounded through the third resistor R3 to achieve a low level, and the first timing unit 430 outputs a low level under normal conditions. signal, the shipping pin CTL is electrically connected to the first timing unit 430 .
  • the first timing unit 430 triggers the timing, and the first timing The unit 430 triggers timing with a rising edge.
  • the output signal of the first timing unit 430 changes from a low level to a high level
  • the high-level signal at this time is the shipping control signal, wherein the second predetermined time period T1 is preset by the SoC 100, and the second predetermined time period T1 is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second Waiting time period, this design can prevent false triggering.
  • the output end of the first timing unit 430 is respectively connected with the overcharge voltage protection unit 110 , the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the reference voltage generation unit 140 , the frequency generation unit 150 , and the control unit
  • the units whose power supply needs to be stopped, such as 160 are electrically connected to stop the power supply of units other than the wake-up unit 170 of the system on chip 100 .
  • the output end of the first timing unit 430 outputs a high-level signal under normal conditions, and at this time, the low-level signal is a shipping control signal.
  • the first timing unit 430 is provided separately from the control unit 160 .
  • the first timing unit 430 may also be integrated into the control unit 160 .
  • the conventional system-on-chip 100 or battery 300 protection circuit detects through the over-discharge voltage protection unit 190.
  • the battery 300 is deeply discharged, the over-discharge voltage protection unit 190 sends a signal to the control unit 160, the control unit 160 passively controls the first switch unit 180 to disconnect, and passively controls the system-on-chip 100 or the battery 300 protection circuit except the charging detection unit to be disabled. Stop the power supply to protect the battery 300 and prevent the battery 300 from being damaged due to over-discharge, until the system-on-chip 100 or the battery 300 protection circuit resumes power supply after the charging detection unit detects the charging signal, and the first switch unit 180 is turned off to restore the system circuit 200.
  • the over-discharge voltage protection unit 190 includes a comparator 191 and a second timing unit 192 .
  • the comparator 191 has a same-direction terminal and two reverse terminals, and the two reverse terminals are respectively are the first reverse terminal and the second reverse terminal, the output terminal of the comparator 191 is electrically connected to the second timer, the non-inverting terminal of the comparator 191 is connected to a reference voltage, and the first reverse terminal of the comparator 191 is electrically connected to the battery
  • the output voltage detection point of 300 is used to detect whether the battery 300 is deeply discharged.
  • the first signal includes a continuous high-level signal.
  • the system on chip 100 further includes a second switch unit 440 and a first resistor R1. The control end of the second switch unit 440 is electrically connected to the shipping pin CTL.
  • the input end is grounded, the output end of the second switch unit 440 is electrically connected to one end of the first resistor R1, the other end of the first resistor R1 is connected to a high level, and the output end of the second switch unit 440 is also connected to the overdischarge voltage protection unit 190
  • the second reverse terminal of the comparator 191 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when either the first reverse terminal or the second reverse terminal is When one is at low level, the reverse terminal of comparator 191 is at low level at this time.
  • the second switch unit 440 when the shipping pin CTL is connected to the first signal, the second switch unit 440 is turned on, at this time, the second reverse terminal of the comparator 191 is grounded, and at this time, the reverse terminal of the comparator 191 is low Therefore, the comparator 191 outputs a high level, and the second timing unit 192 triggers the generation of a shipping control signal when the received high level duration is greater than or equal to the third predetermined time period T2, and the shipping control signal is high level signal. Furthermore, by using the existing over-discharge voltage protection unit 190, the first switch unit 180 is controlled to be turned off, and the power supply of the system-on-chip 100 other than the charge detection unit is controlled to be stopped.
  • the third predetermined time period T2 is preset by the system-on-chip 100, and the third predetermined time period T2 is, for example, 10 seconds, 5 seconds, 3 seconds, etc. This design can prevent false triggering.
  • the second switch unit 440 is an NMOS transistor.
  • the present application is not limited thereto.
  • the second switch unit 440 may also be a PMOS transistor, and at this time, the first signal includes a continuous low-level signal.
  • the system-on-chip 100 further includes a system ground pin VM, which is used for electrical connection with the system circuit 200 , and the system ground pin VM is also used for Charge.
  • a first switch unit 180 is disposed between the system ground pin VM and the power supply ground pin GND.
  • the second embodiment is based on the first embodiment, and the newly added shipping pin CTL_2 of the system on chip 100_2 shares one pin with the power supply pin VDD_2.
  • the power supply pin VDD_2 is the same as the power supply pin VDD_2.
  • the shipping outlet 210_2 of the system circuit 200_2 is electrically connected, so that the output of the battery 300_2 is divided into two branches from the power supply pin VDD_2, one branch enters the system-on-chip 100_2 through the power supply pin VDD_2, and the other branch Entering the system circuit 200_2 through the shipping output terminal 210_2, when the control system circuit 200_2 is controlled so that the signal of the shipping output terminal 210_2 changes, the voltage signal of the power supply pin VDD_2 changes accordingly.
  • controlling the inside of the system circuit 200_2 to change the signal of the shipping outlet 210_2 can be implemented by software or hardware. For example, it is realized by the power button or the sound button. For example, by long pressing the power button, the signal on the shipping outlet 210_2 can be changed.
  • the system-on-chip 100_2 includes a power supply pin VDD_2, a power supply ground pin GND_2, an overcharge voltage protection unit 110_2, an overdischarge voltage protection unit 190_2, a discharge voltage
  • the structure and working principle of the first switch unit 180_2 are the same as those in the first embodiment, and are not repeated here.
  • the wake-up unit 170_2 is continuously powered by the battery 300_2 in the shipping mode, and the wake-up unit 170_2 is used to make the system-on-chip 100_2 exit the shipping mode.
  • the wake-up unit 170_2 is a charging detection circuit, and the charging detection circuit is an existing circuit of the system-on-chip 100_2, such a design can save costs.
  • the charging detection circuit detects the charging signal at this time, and the system-on-chip 100_2 automatically exits the shipping mode. Since the power of the battery 300_2 can be maintained for a long time, the electronic device can be normally turned on for use.
  • the wake-up unit 170_2 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the system-on-chip 100_2 exit the shipping mode. Those skilled in the art may Design the circuit according to specific requirements.
  • the SoC 100_2 of the electronic device can enter the shipping mode.
  • the first switch unit 180_2 is turned off, so that the battery 300_2
  • the system circuit 200_2 cannot be powered, which can greatly save the power of the battery 300_2.
  • at least some units of the system-on-chip 100_2 are powered off, so the battery 300_2 only needs to continue to supply a few circuit units such as the wake-up circuit of the system-on-chip 100_2.
  • the power consumption of the battery 300_2 is further reduced, which can reduce the current consumption of the electronic device, and the current consumption can be as low as several nA/h, so that the power retention time of the battery 300_2 can be improved, even if the capacity of the battery 300_2 itself is relatively small.
  • the power of the battery 300_2 in the shipping mode, can also be maintained for half a year to a year. After the user gets the electronic device, the user only needs to wake up the unit 170_2 to make the system-on-chip 100_2 exit the shipping mode, and the electronic device can be turned on normally. In use, the user's experience is improved, and the user is prevented from mistaking the quality of the electronic device itself.
  • At least some units of the system on chip 100_2 are powered off during the shipping mode.
  • at least one of the overcharge voltage protection unit 110_2 , the overdischarge voltage protection unit 190_2 , the discharge overcurrent protection unit 130_2 , the control unit 160_2 , the reference voltage generation unit 140_2 and the frequency generation unit 150_2 of the system on chip 100_2 is Stop power supply, for example, one of the overcharge voltage protection unit 110_2, the overdischarge voltage protection unit 190_2, the discharge overcurrent protection unit 130_2, the control unit 160_2, the reference voltage generation unit 140_2 and the frequency generation unit 150_2 is stopped in the shipping mode power supply, or two of the overcharge voltage protection unit 110_2, the overdischarge voltage protection unit 190_2, the discharge overcurrent protection unit 130_2, the control unit 160_2, the reference voltage generation unit 140_2 and the frequency generation unit 150_2 are powered off in the shipping mode, Or in the shipping mode, three of the overcharge voltage protection unit 110_2, the overdis
  • the overcharge voltage protection unit 110_2 , the overdischarge voltage protection unit 190_2 , the discharge overcurrent protection unit 130_2 , the control unit 160_2 , the reference voltage generation unit 140_2 and the frequency generation unit 150_2 are all powered off. Reduce the power consumption of the battery 300_2.
  • the system-on-chip 100_2 further includes a temperature protection unit 410_2, a charging overcurrent protection unit 120_2, etc. In the shipping mode, the temperature protection unit 410_2 and the charging overcurrent protection unit 120_2 may not be powered, It can also be powered, which is also the scope of protection of this application.
  • the power supply of the circuit units of the system on chip 100_2 except the wake-up unit 170_2 is stopped, that is, the system on chip 100_2 is not required to exit the shipping mode except for the system on chip 100_2.
  • the wake-up unit 170_2 is powered, other circuit units of the system-on-chip 100_2 are not powered, so that the power of the battery 300_2 can be further saved, the power consumption of the battery 300_2 can be reduced, and the power retention time of the battery 300_2 can be further improved.
  • the system-on-chip 100_2 Enter shipping mode.
  • the shipping outlet 210_2 is electrically connected to the power supply pin VDD_2 via a second resistor R2_2, and the second resistor R2_2 and the first resistor R1_2 have the same resistance value. Under normal conditions, the shipping outlet 210_2 is in a high resistance state.
  • the voltage signal received by the power supply pin VDD_2 is only affected by the battery 300_2 and is not affected by the shipping output terminal 210_2 of the system-on-chip 100_2.
  • the switch is closed at this time, the high level of the pulse signal is, for example, the battery voltage, and the low level of the pulse signal is, for example, 0V.
  • the voltage at the power supply pin VDD_2 is the battery voltage.
  • the system-on-chip 100_2 further includes a pulse counting unit 420_2.
  • the pulse counting unit 420_2 outputs a low level signal under normal conditions, and the power supply pin VDD_2 is electrically connected to the pulse counting unit 420_2.
  • the pulse counting unit 420_2 When the power supply pin VDD_2 also outputs a pulse signal due to the output of the pulse signal from the shipping outlet 210_2, the pulse counting unit 420_2 counts the pulses, and when the pulse counting unit 420_2 receives the pulse signal within the first predetermined time period When the number of received pulses is greater than or equal to the first predetermined number, the output signal of the pulse counting unit 420_2 changes from low level to high level, wherein the first predetermined time period and the first predetermined number are preset by the system on chip 100_2,
  • the first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc.
  • the first predetermined number is, for example, 3, 4, 5, etc., which can prevent false triggering.
  • the output end of the pulse counting unit 420_2 is respectively connected with the overcharge voltage protection unit 110_2, the overdischarge voltage protection unit 190_2, the discharge overcurrent protection unit 130_2, the reference voltage generation unit 140_2, the frequency generation unit 150_2, and the control unit 160_2
  • the pulse counting unit 420_2 outputs a high level, the power supply to the units of the system on chip 100_2 other than the wake-up unit 170_2 can be controlled to be stopped.
  • the output terminal of the pulse counting unit 420_2 outputs a high level under normal conditions, and at this time, the pulse counting unit 420_2 outputs a low level for controlling to stop the system on chip 100_2 except the wake-up unit 170_2 power supply to external units.
  • the pulse counting unit 420_2 is provided separately from the control unit 160_2.
  • the pulse counting unit 420_2 may also be integrated into the control unit 160_2.
  • the pulse counting unit 420_2 may be used to control to stop the power supply to some units of the system-on-chip 100_2.
  • the conventional SoC 100_2 or the battery protection circuit detects the battery 300_2 through the over-discharge voltage protection unit 190_2. Deep discharge, specifically, by detecting whether the voltage at the power supply pin VDD_2 is lower than a preset threshold voltage to determine whether it is deeply discharged, if it is lower than the preset preset voltage, the overdischarge voltage protection unit 190_2 determines that the battery 300_2 is in deep discharge state, the over-discharge voltage protection unit 190_2 sends a signal to the control unit 160_2, the control unit 160_2 passively controls the first switch unit 180_2 to be disconnected, and passively controls the system-on-chip 100_2 except the charging detection unit or the battery protection circuit is stopped from power supply, using In order to protect the battery 300_2 and prevent the battery 300_2 from being damaged due to over-discharge, until the system on chip 100_2 or the battery protection circuit restores power after the charging detection unit
  • the original circuit and functions of the over-discharge voltage protection unit 190_2 in the prior art are fully utilized to actively control the disconnection of the first switch unit 180_2 and actively control the system-on-chip except the charging detection unit
  • the power supply of 100_2 is stopped, which can reduce the cost while increasing the power retention time of the battery 300_2.
  • the shipping output terminal 210_2 of the system circuit 200_2 is electrically connected to the power supply pin VDD_2 via the second resistor R2_2 , and the second resistor R2_2 and the first resistor R1_2 have the same resistance value, and the general state
  • the disembarkation transportation outlet 210_2 is in a high resistance state.
  • the system circuit 200_2 includes a second switch unit 220_2, and the input terminal of the second switch unit 220_2 is connected to a first level, where the first level is 0, that is, grounded, However, the first level may not be 0, as long as the voltage at the power supply pin VDD_2 is lower than the preset threshold voltage when the second switch unit 220_2 is turned on.
  • the output end of the second switch is electrically connected to one end of the second resistor R2_2, the other end of the second resistor R2_2 is electrically connected to the power supply pin VDD_2, and the control end of the second switch unit 220_2 is controlled by the hardware of the system circuit 200_2 Or software control.
  • the second switch unit 220_2 Under normal conditions, the second switch unit 220_2 is disconnected, and the shipping outlet 210_2 is in a high-impedance state.
  • the user can control the second switch through software or hardware.
  • the unit 220_2 is turned off, and the branch formed by the power supply pin VDD_2, the second resistor R2_2, and the second switch unit 220_2 is turned on. Since the second resistor R2_2 and the first resistor R1_2 have the same resistance value, the second resistor R2_2 and the first resistor R1_2 have the same resistance value.
  • a resistor R1_2 divides the battery voltage, so that the voltage signal received at the power supply pin VDD_2 decreases.
  • the voltage is reduced to half of the battery voltage.
  • half of the battery voltage will be lower than the preset threshold set by deep discharge.
  • the power supply voltage of the battery 300_2 is in the range of 2.8V-4.2V
  • the threshold voltage of deep discharge is generally 2.8V
  • half of the battery voltage range is 1.4V-2.1V, which is lower than the threshold voltage of deep discharge. Therefore, when the second switch unit 220_2 is turned on, the over-discharge voltage protection unit 190_2 detects that the voltage of the power supply pin VDD_2 is lower than the threshold voltage.
  • the over-discharge voltage protection unit 190_2 controls the first switch unit 180_2 to turn off, and controls Other units of the system-on-chip 500_2 except the charge detection unit are powered off.
  • the second switch unit 220_2 is an NMOS transistor.
  • the present application is not limited thereto, and in other embodiments of the present application, the second switch unit 220_2 may also be a PMOS transistor.
  • the SoC 500_2 has two protection modes for deep discharge: over-discharge recoverable mode and over-discharge non-recoverable mode, which can be set by the user or manufacturer as required.
  • the discharge voltage protection unit 190_2 detects that the voltage of the power supply pin VDD_2 is lower than the preset threshold voltage (eg, false detection), the first switch unit 180_2 is turned off, and the power supply of the SoC 500_2 except the charging detection unit is stopped.
  • the system-on-chip 500_2 when the voltage of the power supply pin VDD_2 increases above the preset threshold voltage, the system-on-chip 500_2 is automatically restored to power supply by the unit whose power supply is stopped, and the first switch unit 180_2 is turned on; when the system-on-chip 500_2 is in the over-discharge non-recoverable mode , when the over-discharge voltage protection unit 190_2 detects that the voltage of the power supply pin VDD_2 is lower than the preset threshold voltage, the first switch unit 180_2 is turned off, and the power supply of the SoC 500_2 except the charging detection unit is stopped.
  • the first switch unit 180_2 remains disconnected, and the SoC 500_2 other than the charging detection unit continues to be powered off.
  • the charging detection module detects the charging signal
  • the power supply unit of the system-on-chip 500_2 whose power supply is stopped will resume power supply, and the first switch unit 180_2 will be turned on.
  • the system-on-chip 500_2 works in the over-discharge non-recoverable mode.
  • the second switch unit 220_2 is disconnected because it is not powered, and the first switch unit 180_2 remains disconnected, except for charging
  • the power supply of the system-on-chip 500_2 other than the detection unit continues to be stopped, which is conducive to maintaining the power of the battery 300_2.
  • the original circuit and function of the over-discharge voltage protection unit 190_2 of the prior art are fully utilized to realize the active control of the first switch unit 180_2 to be disconnected, and the active control The power supply of the system on chip 100_2 except the charging detection unit is stopped, which can reduce the cost.
  • the overdischarge voltage protection unit 190_2 includes a comparator 191_2 , and the comparator 191_2 has one non-inverting terminal and two inverting terminals, and the two inverting terminals are the first The reverse terminal and the second reverse terminal, the non-inverting terminal of the comparator 191_2 is connected to a reference voltage, and the first reverse terminal of the comparator 191_2 is electrically connected to the output voltage detection point of the battery 300_2 for detecting whether the battery 300_2 is deeply discharged.
  • the voltage supply pins are electrically connected to the voltage supply pins.
  • the system-on-chip 100_2 further includes a third switch unit 440_2 and a third resistor R3_2, the control terminal of the third switch unit 440_2 is electrically connected to the output terminal of the pulse counting unit 420_2, and the input terminal of the third switch unit 440_2 is grounded , the output end of the third switch unit 440_2 is electrically connected to one end of the third resistor R3_2, the other end of the third resistor R3_2 is connected to a high level, and the output end of the third switch unit 440_2 is also connected to the comparator of the overdischarge voltage protection unit 190_2
  • the second reverse terminal of 191_2 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when one of the first reverse terminal or the second reverse terminal is low At this time, the inverting terminal of the comparator 191_2 is at a low level.
  • the third switch unit 440_2 when the pulse counting unit 420_2 outputs a high level, the third switch unit 440_2 is turned on, at this time, the second reverse terminal of the comparator 191_2 is grounded, and at this time, the reverse terminal of the comparator 191_2 is at a low level, As a result, the output of the comparator 191_2 changes from a low level to a high level, thereby controlling the first switch unit 180_2 to be turned off, and controlling the power supply of the system on chip 100_2 except the charging detection unit to be stopped.
  • the third switch unit 440_2 is an NMOS transistor. However, the present application is not limited to this.
  • the third switch unit 440_2 may also be a PMOS transistor. At this time, the pulse counting unit 420_2 outputs a low level to turn on the third switch unit 440_2. In this embodiment, the system-on-chip 100_2 works in an over-discharge irrecoverable mode.
  • the system-on-chip 100_2 further includes a system ground pin VM_2, the system ground pin VM_2 is used for electrical connection with the system circuit 200_2, and the system ground pin VM_2 is also used for Charge.
  • a first switch unit 180_2 is disposed between the system ground pin VM_2 and the power supply ground pin GND_2.
  • the third embodiment is based on the first embodiment, and the battery protection circuit 100_3 does not include a wake-up unit.
  • the battery protection circuit 100_3 includes a power supply terminal VDD_3 , a power ground terminal GND_3 , an overcharge voltage protection unit 110_3 , an overdischarge voltage protection unit 190_3 , a discharge overcurrent protection unit 130_3 , and a reference voltage generation
  • the charging detection unit is used to detect whether the electronic device is connected to the power source through the charger to charge the battery 300_3.
  • the charging detection unit detects the charging signal to charge the battery 300_3 is charged; if the battery 300_3 is protected by the over-discharge voltage protection unit 190_3, and the charging detection unit detects a charging signal at this time, the over-discharge voltage protection for the battery 300_3 is exited, that is, the system circuit 200_3 is powered and the battery
  • the protection circuit 100_3 provides normal power supply.
  • the structure and working principle of the first switch unit 180_3 are the same as those in the first embodiment, and are not repeated here.
  • the battery protection circuit 100_3 further includes a shipping input terminal CTL_3, and the shipping input terminal CTL_3 is a newly added terminal of the battery protection circuit 100_3.
  • the shipping input terminal CTL_3 receives the first signal
  • the battery protection circuit 100_3 enters the ship In the shipping mode, at least some units of the battery protection circuit 100_3 are powered off. Therefore, the power consumption of the battery is reduced, the current consumption of the electronic device can be reduced, and the power retention time of the battery can be increased.
  • the user gets the electronic device, the user only needs to operate the wake-up unit to make the battery protection circuit exit the shipping mode, and the electronic device is turned on. That is, it can be used normally, which improves the user experience.
  • the generation of the first signal may be implemented by software or by hardware.
  • it may be implemented by, for example, a power button or a sound button of an electronic device, for example, by using a long
  • the first signal is generated by pressing the power button.
  • the first switch unit 180_3 is turned off to stop the battery 300_3 from supplying power to the system circuit 200_3 in the shipping mode. In the shipping mode, the first switch unit is turned off, so that the battery cannot supply power to the system circuit, which can greatly save the power of the battery.
  • the battery protection circuit 100_3 further includes a wake-up unit 170_3, which is continuously powered by the battery 300_3 in the shipping mode, and is used to make the battery protection circuit 100_3 exit the shipping mode.
  • the wake-up unit 170_3 is a charging detection circuit
  • the charging detection circuit is a circuit originally existing in the battery protection circuit 100_3, so the design can save costs.
  • the charging detection circuit detects the charging signal, and the battery protection circuit 100_3 automatically exits the shipping mode. Since the power of the battery 300_3 can be maintained for a long time, the electronic device can be powered on normally. .
  • the wake-up unit 170_3 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the battery protection circuit 100_3 exit the shipping mode. Those skilled in the art Circuit design can be performed on specific requirements. In addition, in other embodiments of the present application, the wake-up unit 170_3 may also be a control unit 160_3.
  • the battery protection circuit 100_3 of the electronic device can enter the shipping mode.
  • the first switch unit 180_3 is turned off, thereby The battery 300_3 cannot supply power to the system circuit 200_3, which can greatly save the power of the battery 300_3.
  • the battery 300_3 in the shipping mode, at least some units of the battery protection circuit 100_3 are powered off, so the battery 300_3 only needs to provide the wake-up circuit of the battery protection circuit 100_3, etc.
  • a few circuit units continue to supply power, so that the power consumption of the battery 300_3 is further reduced, which can reduce the current consumption of the electronic device, and the current consumption can be as low as several nA/h, so that the battery 300_3 can be maintained.
  • the battery 300_3 can maintain the power of the battery 300_3 for half a year to a year in the shipping mode.
  • the user When the user gets the electronic device, the user only needs to operate the wake-up unit 170_3 to make the battery protection circuit 100_3 exit the shipping mode and turn on the electronic device. That is, it can be used normally, the user experience is improved, and the user is prevented from mistakenly thinking that the electronic device is faulty.
  • At least some units of the battery protection circuit 100_3 are powered off during the shipping mode.
  • at least one of the overcharge voltage protection unit 110_3 , the overdischarge voltage protection unit 190_3 , the discharge overcurrent protection unit 130_3 , the control unit 160_3 , the reference voltage generation unit 140_3 and the frequency generation unit 150_3 of the battery protection circuit 100_3 Power supply is stopped, for example, in the shipping mode, one of the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the control unit 160_3, the reference voltage generation unit 140_3 and the frequency generation unit 150_3 is Power supply is stopped, or two of the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the control unit 160_3, the reference voltage generation unit 140_3 and the frequency generation unit 150_3 are stopped to supply power in the shipping mode , or in the shipping mode, three of the overcharge voltage protection unit 110_
  • the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the control unit 160_3, the reference voltage generation unit 140_3 and the frequency generation unit 150_3 are all powered off, at this time, you can The power consumption of the battery 300_3 is further reduced.
  • the battery protection circuit 100_3 further includes a temperature protection unit 410_3, a charging overcurrent protection unit 120_3, etc. In the shipping mode, the temperature protection unit 410_3 and the charging overcurrent protection unit 120_3 may not be powered , can also be powered, which is also the scope of the protection of the present invention.
  • the battery protection circuit 100_3 when the battery protection circuit 100_3 enters the shipping mode, the power supply of the battery protection circuit 100_3 except the wake-up unit 170_3 is all stopped, that is, the battery protection circuit 100_3 is used to make the battery protection circuit 100_3 exit the shipping Except that the wake-up unit 170_3 required by the mode is powered, other circuit units of the battery protection circuit 100_3 are not powered, which can further save the power of the battery 300_3, reduce the power consumption of the battery 300_3, and further improve the power retention time of the battery 300_3 , especially the power retention time of the small-capacity battery 300_3 can be improved.
  • the battery protection circuit 100_3 when the shipping input terminal CTL_3 receives the first signal, the battery protection circuit 100_3 is triggered to generate the shipping control signal to enter the shipping mode.
  • the present application is not limited thereto. In other embodiments of the present application, when the shipping input terminal CTL_3 receives the first signal, the battery protection circuit 100_3 can directly enter the shipping mode.
  • the shipping input terminal CTL_3 when the shipping input terminal CTL_3 receives the first signal, there are three ways to trigger the battery protection circuit 100_3 to generate the shipping control signal, which will be described below.
  • the manner in which the battery protection circuit 100_3 is triggered to generate the shipping control signal is not limited to the following three. In other embodiments of the present application, those skilled in the art can also set other conventional circuit to trigger the battery protection circuit 100_3 to generate a shipping control signal.
  • the first signal includes a pulse signal
  • the battery protection circuit 100_3 further includes a pulse counting unit 420_3 and a third resistor R3_3 .
  • the shipping input terminal CTL_3 is at a low level by default.
  • the shipping input terminal CTL_3 is grounded through the third resistor R3_3 to achieve a low level, and the pulse counting unit 420_3 outputs a low level signal under normal conditions.
  • the shipping input terminal CTL_3 is electrically connected to the pulse counting unit 420_3.
  • the pulse counting unit 420_3 When the shipping input terminal CTL_3 receives the first signal, the pulse counting unit 420_3 counts the pulses, and the pulse counting unit 420_3 triggers counting with a rising edge. or equal to the first predetermined number, the output signal of the pulse counting unit 420_3 changes from low level to high level, and the high level at this time is the shipping control signal, wherein the first predetermined time period and the first predetermined number are The battery protection circuit 100_3 is pre-set, the first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc., and the first predetermined number is, for example, 3, 4, 5, etc., this design can prevent false triggering .
  • the output end of the pulse counting unit 420_3 is connected to the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the reference voltage generation unit 140_3, the frequency generation unit 150_3, and the control unit 160_3 respectively.
  • the units whose power supply needs to be stopped are electrically connected to stop the power supply of the units other than the wake-up unit 170_3 of the battery protection circuit 100_3.
  • the output terminal of the pulse counting unit 420_3 outputs a high level under normal conditions, and at this time, a low level is a shipping control signal.
  • the pulse counting unit 420_3 is provided separately from the control unit 160_3.
  • the pulse counting unit 420_3 may also be integrated into the control unit 160_3.
  • the first signal includes a continuous high level or a continuous low level signal
  • the battery protection circuit 500_3 further includes a first timing unit 430_3, a third Resistor R3_3.
  • the shipping input terminal CTL_3 is at a low level by default.
  • the shipping input terminal CTL_3 is grounded through the third resistor R3_3 to achieve a low level.
  • the first timing unit 430_3 outputs a low level under normal conditions. signal, the shipping input terminal CTL_3 is electrically connected to the first timing unit 430_3.
  • the first timing unit 430_3 triggers the timing, and the first timing The unit 430_3 triggers timing with a rising edge.
  • the output signal of the first timing unit 430_3 changes from a low level to a high level
  • the high-level signal at this time is the shipping control signal, wherein the second predetermined time period T1 is preset by the battery protection circuit 500_3, and the second predetermined time period T1 is, for example, 10 seconds, 5 seconds, 3 seconds, 1 Seconds and other time periods, this design can prevent false triggering.
  • the output end of the first timing unit 430_3 is respectively connected with the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the reference voltage generation unit 140_3, the frequency generation unit 150_3, and the control unit
  • the units whose power supply needs to be stopped, such as 160_3, are electrically connected to stop the power supply of the units other than the wake-up unit 170_3 of the battery protection circuit 500_3.
  • the output end of the first timing unit 430_3 outputs a high-level signal under normal conditions, and at this time, the low-level signal is a shipping control signal.
  • the first timing unit 430_3 is provided separately from the control unit 160_3.
  • the first timing unit 430_3 may also be integrated into the control unit 160_3.
  • the conventional battery protection circuit 600_3 when the battery 300_3 is deeply discharged, the conventional battery protection circuit 600_3 or the battery protection circuit detects the deep discharge of the battery 300_3 through the over-discharge voltage protection unit 190_3, and the over-discharge voltage protection
  • the unit 190_3 sends a signal to the control unit 160_3, the control unit 160_3 passively controls the first switch unit 180_3 to be turned off, and passively controls the battery protection circuit 600_3 except the charging detection unit or the battery protection circuit is stopped to supply power for protecting the battery 300_3,
  • the first switch unit 180_3 restores power supply after the charging detection unit detects the charging signal, the first switch unit 180_3 is turned off to restore the power supply to the system circuit 200_3 .
  • the original circuit and functions of the over-discharge voltage protection unit 190_3 in the prior art are fully utilized to actively control the first switch unit 180_3 to be disconnected, and actively control the batteries other than the charging detection unit.
  • the power supply of the protection circuit 600_3 is stopped, which can reduce the cost.
  • the over-discharge voltage protection unit 190_3 includes a comparator 191_3 and a second timing unit 192_3.
  • the comparator 191_3 has a same-direction terminal and two reverse terminals, and the two reverse terminals are respectively are the first reverse terminal and the second reverse terminal, the output terminal of the comparator 191_3 is electrically connected to the second timer, the non-inverting terminal of the comparator 191_3 is connected to a reference voltage, and the first reverse terminal of the comparator 191_3 is electrically connected to the battery
  • the output voltage detection point of 300_3 is used to detect whether the battery 300_3 is deeply discharged.
  • the first signal includes a continuous high level signal
  • the battery protection circuit 600_3 further includes a second switch unit 440_3 and a first resistor R1_3, the control terminal of the second switch unit 440_3 is electrically connected to the shipping input terminal CTL_3, and the second switch unit 440_3
  • the input end of the second switch unit 440_3 is electrically connected to one end of the first resistor R1_3, the other end of the first resistor R1_3 is connected to a high level, and the output end of the second switch unit 440_3 is also connected to the over-discharge voltage protection unit.
  • the second reverse terminal of the comparator 191_3 of 190_3 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when the first reverse terminal or the second reverse terminal When one of them is a low level, the reverse terminal of the comparator 191_3 is a low level at this time.
  • the second switch unit 440_3 when the shipping input terminal CTL_3 receives the first signal, the second switch unit 440_3 is turned on, at this time, the second reverse terminal of the comparator 191_3 is grounded, and at this time, the reverse terminal of the comparator 191_3 is low Therefore, the comparator 191_3 outputs a high level.
  • the second timing unit 192_3 When the duration of the high level received by the second timing unit 192_3 is greater than or equal to the third predetermined time period T2, a shipping control signal is triggered, and the shipping control signal is high level signal. Furthermore, by using the existing over-discharge voltage protection unit 190_3, the first switch unit 180_3 is controlled to be turned off, and the battery protection circuit 600_3 other than the charging detection unit is controlled to be stopped from supplying power.
  • the third predetermined time period T2 is preset by the battery protection circuit 600_3, and the third predetermined time period T2 is, for example, 10 seconds, 5 seconds, 3 seconds, etc., which can prevent false triggering.
  • the second switch unit 440_3 is an NMOS transistor. However, the present application is not limited thereto. In other embodiments of the present application, the second switch unit 440_3 may also be a PMOS transistor, and at this time, the first signal includes a continuous low-level signal.
  • the battery protection circuit 100_3 further includes a system ground terminal VM_3 , the system ground terminal VM_3 is used for electrical connection with the system circuit 200_3 , and the system ground terminal VM_3 is also used for charging.
  • a first switch unit 180_3 is disposed between the system ground VM_3 and the power ground terminal GND_3.
  • the battery protection circuit 100_3 is formed on the same chip, that is, the battery protection circuit 100_3 is formed as a whole system on a chip.
  • the system on chip (SOC) is a technology commonly used in the field of integrated circuits. Combining multiple integrated circuits with specific functions on a chip to form a system or product, which includes the completed hardware system and the embedded software it carries. SoCs have obvious advantages in performance, cost, power consumption, reliability, as well as life cycle and usage range.
  • the units of the battery protection circuit 100_3 except the first switch unit 180_3 are all implemented on the same chip, that is, the entire unit of the battery protection circuit 100_3 except the first switch unit 180_3 Made into a system-on-chip.
  • the second resistor R2_3 and the capacitor C in FIG. 21 can also be implemented in a system-on-chip.
  • a Bluetooth headset including:
  • the battery protection circuit can be implemented on the same chip, or the units of the battery protection circuit except the first switch unit are implemented on the same chip;
  • the battery protection circuit 100_3 is electrically connected to the system circuit 200_3.
  • the system circuit 200_3 outputs a first signal to the battery protection circuit 100_3, the battery protection circuit 100_3 enters the shipping mode, and the first switch unit 180_3 is turned off in the shipping mode.
  • the battery protection circuit 100_3 is electrically connected to the system circuit 200_3 through the shipping input terminal CTL_3.
  • the shipping input terminal CTL_3 receives the first signal
  • the battery protection circuit 100_3 enters the shipping mode, and in the shipping mode, the battery protection circuit 100_3 enters the shipping mode through the control unit 160_3.
  • the first switch unit 180_3 is controlled to be turned off to stop the battery 300_3 from supplying power to the system circuit 200_3.
  • the generation of the first signal can be implemented by software or by hardware. When implemented by hardware, it can be implemented by, for example, the power button and the sound button of the Bluetooth headset. Long press the power button to generate the first signal.
  • the battery protection circuit 100_3 may also be electrically connected to the system circuit 200_3 by sharing other terminals, for example, inputting the first signal through the power supply terminal VDD_3.
  • the battery protection circuit 100_3 may also be electrically connected to the system circuit 200_3 through other lines, for example, the first signal is input through the power supply terminal VDD_3.
  • the battery protection circuit 100_3 In the shipping mode, at least some units of the battery protection circuit 100_3 are also powered off, so that the battery 300_3 only needs to continue to supply power to a few circuit units such as the wake-up unit 170_3 of the battery protection circuit 100_3, so that the power consumption of the battery 300_3 is further reduced.
  • the current consumption of the Bluetooth headset the current consumption can be as low as a few nA/h, which can improve the power retention time of the battery 300_3, even if the capacity of the Bluetooth headset battery 300_3 itself is relatively small, the power of the battery 300_3 in the shipping mode It can be kept for half a year to a year.
  • the fourth embodiment is based on the first embodiment, and a new control pin CTR_4 is added to the SoC 100_4, the control pin CTR_4 is electrically connected to the control unit 160_4 inside the SoC 100_4, and the control pin CTR_4 is used for connecting with the first embodiment.
  • a switch unit 180_4 is electrically connected, and the control unit 160_4 controls the on-off of the first switch unit 180_4 through the control pin CTR_4.
  • the number of control pins CTR_4 is one.
  • the present application is not limited thereto, and in other embodiments of the present application, the number of control pins CTR_4 may be multiple.
  • the first switch unit 180_4 includes a switch tube and a substrate control circuit
  • the switch tube is a MOS tube
  • the control end of the switch tube is electrically connected to the system-on-chip 100_4, specifically the control unit of the system-on-chip 100_4 mentioned later 160_4 is electrically connected
  • the substrate control circuit is electrically connected to the control unit 160_4 of the system-on-chip 100_4, and the substrate control circuit is used to realize the correct bias of the substrate of the switch tube.
  • the present application is not limited thereto.
  • the first switch unit 180_4 may further include a charge switch and a discharge switch, wherein the charge switch and the discharge switch are both MOS transistors, and the charge switch and the discharge switch are respectively connected to the control The unit 160_4 is electrically connected.
  • the first switch unit 180_4 may also be implemented in other forms, for example, including only one switch tube.
  • the first switch unit 180_4 is used to control the battery 300_4 to supply power to the system circuit 200_4, specifically, the battery 300_4, the system circuit 200_4, and the first switch unit 180_4 form a loop to supply power to the system-on-chip 100_4.
  • the control terminal of the first switch unit 180_4 is electrically connected to the control unit 160_4, the input terminal of the first switch unit 180_4 is used for electrical connection with the battery 300_4, for example, the negative terminal of the battery 300_4 is electrically connected.
  • the output terminal is used for electrical connection with the system circuit 200_4, so that the battery 300_4, the system circuit 200_4, and the first switch unit 180_4 form a power supply loop. powered by.
  • the first switch unit 180_4 is implemented outside the system-on-chip 100_4, but in other embodiments of the present application, the first switch unit 180_4 may also be implemented on the system-on-chip 100_4.
  • the system-on-chip 100_4 includes a power supply pin VDD_4, a power supply ground pin GND_4, an overcharge voltage protection unit 110_4, an overdischarge voltage protection unit 190_4, and a discharge and overcurrent protection unit 130_4, a reference voltage generating unit 140_4, a frequency generating unit 150_4, a control unit 160_4, a wake-up unit 170_4, and a control pin CTR_4.
  • the SoC 100_4 when the shipping pin CTL_4 on the SoC 100_4 receives the first signal, the SoC 100_4 enters the shipping mode, and in the shipping mode, the output of the SoC 100_4 is used to turn off the first switch unit 180_4
  • the control signal of 1 is supplied to the control pin CTR_4 to make the battery 300_4 stop supplying power to the system circuit 200_4, and at least some units of the system-on-chip 100_4 are stopped from supplying power.
  • the generation of the first signal may be implemented by software or by hardware. When implemented by hardware, it may be implemented by, for example, the power button of the electronic device, for example, by long pressing the power button to generate the first signal.
  • the wake-up unit 170_4 is continuously powered by the battery 300_4 in the shipping mode, and the wake-up unit 170_4 is used to make the system on chip 100_4 exit the shipping mode.
  • the wake-up unit 170_4 is a charging detection circuit, and the charging detection circuit is a circuit originally existing in the system-on-chip 100_4, such a design can save costs.
  • the charging detection circuit detects the charging signal, and the system-on-chip 100_4 automatically exits the shipping mode. Since the power of the battery 300_4 can be maintained for a long time, the electronic device can be powered on normally.
  • the wake-up unit 170_4 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the system-on-chip 100_4 exit the shipping mode. Those skilled in the art may Specific requirements for circuit design.
  • the SoC 100_4 of the electronic device can enter the shipping mode.
  • the control unit 160_4 of the SoC 100_4 controls the The pin CTR_4 controls the first switch unit 180_4 to be disconnected, so that the battery 300_4 cannot supply power to the system circuit 200_4, which can greatly save the power of the battery 300_4.
  • the battery 300_4 Only a few circuit units such as the wake-up unit 170_4 of the system-on-chip 100_4 need to continue to supply power, so that the power consumption of the battery 300_4 is further reduced, and the current consumption of the electronic device can be reduced, and the current consumption can be as low as several nA/h, so that the battery 300_4 can be improved Even if the capacity of the battery 300_4 itself is relatively small, the power of the battery 300_4 can be maintained for half a year to a year in the shipping mode.
  • the electronic device When the user gets the electronic device, the user only needs to operate the wake-up unit 170_4 to make the on-chip
  • the electronic device can be used normally after it is turned on, which improves the user experience and prevents the user from mistakenly thinking that the electronic device is faulty.
  • At least some units of the system on chip 100_4 are powered off during the shipping mode.
  • at least one of the overcharge voltage protection unit 110_4 , the overdischarge voltage protection unit 190_4 , the discharge overcurrent protection unit 130_4 , the control unit 160_4 , the reference voltage generation unit 140_4 and the frequency generation unit 150_4 of the system on chip 100_4 is Stop power supply, for example, one of the overcharge voltage protection unit 110_4, the overdischarge voltage protection unit 190_4, the discharge overcurrent protection unit 130_4, the control unit 160_4, the reference voltage generation unit 140_4 and the frequency generation unit 150_4 is stopped in the shipping mode power supply, or two of the overcharge voltage protection unit 110_4, the overdischarge voltage protection unit 190_4, the discharge overcurrent protection unit 130_4, the control unit 160_4, the reference voltage generation unit 140_4 and the frequency generation unit 150_4 are powered off in the shipping mode, Or in the shipping mode, three of the overcharge voltage protection unit 110_4 , the over
  • the overcharge voltage protection unit 110_4 , the overdischarge voltage protection unit 190_4 , the discharge overcurrent protection unit 130_4 , the control unit 160_4 , the reference voltage generation unit 140_4 and the frequency generation unit 150_4 are all powered off. Reduce the power consumption of the battery 300_4.
  • the system-on-chip 100_4 further includes a temperature protection unit 410_4, a charging overcurrent protection unit 120_4, etc. In the shipping mode, the temperature protection unit 410_4 and the charging overcurrent protection unit 120_4 may not be powered, It can also be powered, which is also the scope of the protection of the present invention.
  • the circuits of the system on chip 100_4 except the wake-up unit 170_4 are all powered off, that is, the circuits of the system on chip 100_4 except for the circuits required for the system on chip 100_4 to exit the shipping mode Except that the wake-up unit 170_4 is powered, other circuit units of the system-on-chip 100_4 are not powered, which can further save the power of the battery 300_4, reduce the power consumption of the battery 300_4, and further improve the power retention time of the battery 300_4.
  • the charge retention time of the battery 300_4 of the capacity is the circuits of the system on chip 100_4 except the wake-up unit 170_4 are all powered off, that is, the circuits of the system on chip 100_4 except for the circuits required for the system on chip 100_4 to exit the shipping mode Except that the wake-up unit 170_4 is powered, other circuit units of the system-on-chip 100_4 are not powered, which can further save the power of the battery 300_4, reduce the power consumption of the battery 300_4, and
  • the SoC 100_4 when the shipping pin CTL_4 receives the first signal, the SoC 100_4 is triggered to generate a shipping control signal to enter the shipping mode.
  • the present application is not limited thereto. In other embodiments of the present application, the system on chip 100_4 can directly enter the shipping mode when the shipping pin CTL_4 receives the first signal.
  • the shipping pin CTL_4 when the shipping pin CTL_4 receives the first signal, there are three ways to trigger the system-on-chip 100_4 to generate the shipping control signal, which will be described below.
  • the manner of triggering the SoC 100_4 to generate the shipping control signal is not limited to the following three.
  • those skilled in the art can also set other conventional circuits to trigger the system-on-chip 100_4 to generate a shipping control signal.
  • the first signal includes a pulse signal
  • the system-on-chip 100_4 further includes a pulse counting unit 420_4 and a third resistor R3_4 .
  • the shipping pin CTL_4 is at a low level by default.
  • the shipping pin CTL_4 is grounded to a low level through the third resistor R3_4, and the pulse counting unit 420_4 outputs a low level signal under normal conditions.
  • the shipping pin CTL_4 is electrically connected to the pulse counting unit 420_4.
  • the pulse counting unit 420_4 When the shipping pin CTL_4 receives the first signal, the pulse counting unit 420_4 counts the pulses, and the pulse counting unit 420_4 triggers counting with a rising edge. or equal to the first predetermined number, the output signal of the pulse counting unit 420_4 changes from low level to high level, and the high level at this time is the shipping control signal, wherein the first predetermined time period and the first predetermined number are The system-on-chip 100_4 is preset, the first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc., and the first predetermined number is, for example, 3, 4, 5, etc. This design can prevent false triggering.
  • the output end of the pulse counting unit 420_4 is connected to the overcharge voltage protection unit 110_4, the overdischarge voltage protection unit 190_4, the discharge overcurrent protection unit 130_4, the reference voltage generation unit 140_4, the frequency generation unit 150_4, and the control unit 160_4 respectively.
  • the units whose power supply needs to be stopped are electrically connected to stop the power supply of the units of the system-on-chip 100_4 except the wake-up unit 170_4.
  • the output terminal of the pulse counting unit 420_4 outputs a high level under normal conditions, and at this time, a low level is a shipping control signal.
  • the pulse counting unit 420_4 is provided separately from the control unit 160_4.
  • the pulse counting unit 420_4 may also be integrated into the control unit 160_4.
  • the first signal includes a continuous high-level signal or a continuous low-level signal
  • the system-on-chip 100_4 further includes a first timing unit 430_4 and a third resistor R3_4 .
  • the shipping pin CTL_4 is at a low level by default.
  • the shipping pin CTL_4 is grounded through the third resistor R3_4 to achieve a low level, and the first timing unit 430_4 outputs a low level under normal conditions. signal, the shipping pin CTL_4 is electrically connected to the first timing unit 430_4.
  • the first timing unit 430_4 triggers the timing, and the first timing The unit 430_4 triggers timing with a rising edge.
  • the output signal of the first timing unit 430_4 changes from a low level to a high level
  • the high-level signal at this time is the shipping control signal, wherein the second predetermined time period T1 is preset by the SoC 100_4, and the second predetermined time period T1 is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second Waiting time period, this design can prevent false triggering.
  • the output end of the first timing unit 430_4 is respectively connected with the overcharge voltage protection unit 110_4 , the overdischarge voltage protection unit 190_4 , the discharge overcurrent protection unit 130_4 , the reference voltage generation unit 140_4 , the frequency generation unit 150_4 , and the control unit
  • the units whose power supply needs to be stopped, such as 160_4 are electrically connected to stop the power supply of the units other than the wake-up unit 170_4 of the system on chip 100_4.
  • the output end of the first timing unit 430_4 outputs a high-level signal under normal conditions, and at this time, the low-level signal is a shipping control signal.
  • the first timing unit 430_4 is provided separately from the control unit 160_4.
  • the first timing unit 430_4 may also be integrated into the control unit 160_4.
  • the conventional SoC 100_4 or battery 300_4 protection circuit when the battery 300_4 is deeply discharged, the conventional SoC 100_4 or battery 300_4 protection circuit detects through the over-discharge voltage protection unit 190_4.
  • the over-discharge voltage protection unit 190_4 sends a signal to the control unit 160_4, and the control unit 160_4 passively controls the first switch unit 180_4 to disconnect through the control pin CTR_4, and passively controls the system-on-chip 100_4 except the charge detection unit or
  • the battery 300_4 protection circuit is stopped to supply power to protect the battery 300_4 and prevent the battery 300_4 from being damaged due to over-discharge, until the system on chip 100_4 or the battery 300_4 protection circuit resumes power supply after the charging detection unit detects the charging signal, and the first switch unit 180_4 is turned off to Power is restored to the system circuit 200_4.
  • the original circuit and functions of the over-discharge voltage protection unit 190_4 in the prior art are fully utilized, and the control pin CTR_4 is used to actively control the first switch unit 180_4 to be disconnected, and to actively control the charge removal detection unit.
  • the power supply of the other system-on-chip 100_4 is stopped, which can reduce the cost.
  • the over-discharge voltage protection unit 190_4 includes a comparator 191_4 and a second timing unit 192_4 .
  • the comparator 191_4 has a same-direction terminal and two reverse terminals, and the two reverse terminals are respectively are the first reverse terminal and the second reverse terminal, the output terminal of the comparator 191_4 is electrically connected to the second timer, the non-inverting terminal of the comparator 191_4 is connected to a reference voltage, and the first reverse terminal of the comparator 191_4 is electrically connected to the battery
  • the output voltage detection point of 300_4 is used to detect whether the battery 300_4 is deeply discharged.
  • the first signal includes a continuous high level signal
  • the system on chip 100_4 further includes a second switch unit 440_4 and a first resistor R1_4, the control end of the second switch unit 440_4 is electrically connected to the shipping pin CTL_4, and the second switch unit 440_4
  • the input end is grounded
  • the output end of the second switch unit 440_4 is electrically connected to one end of the first resistor R1_4, the other end of the first resistor R1_4 is connected to a high level
  • the output end of the second switch unit 440_4 is also connected to the overdischarge voltage protection unit 190_4
  • the second reverse terminal of the comparator 191_4 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when either the first reverse terminal or the second reverse terminal When the first is a low level, the reverse terminal of the comparator 191_4 is a low level at this time.
  • the second switch unit 440_4 when the shipping pin CTL_4 receives the first signal, the second switch unit 440_4 is turned on, the second reverse terminal of the comparator 191_4 is grounded, and the reverse terminal of the comparator 191_4 is low. Therefore, the comparator 191_4 outputs a high level.
  • the duration of the high level received by the second timing unit 192_4 is greater than or equal to the third predetermined time period T2
  • a shipping control signal is triggered, and the shipping control signal is high level signal.
  • the first switch unit 180_4 is controlled to be turned off through the control pin CTR_4, and the power supply of the system-on-chip 100_4 other than the charging detection unit is controlled to be stopped.
  • the third predetermined time period T2 is preset by the SoC 100_4, and the third predetermined time period T2 is, for example, 10 seconds, 5 seconds, 3 seconds, etc., which can prevent false triggering.
  • the second switch unit 440_4 is an NMOS transistor.
  • the present application is not limited thereto.
  • the second switch unit 440_4 may also be a PMOS transistor, and at this time, the first signal includes a continuous low-level signal.
  • the system-on-chip 100_4 further includes a system ground pin VM_4, the system ground pin VM_4 is used for electrical connection with the system circuit 200_4, and the system ground pin VM_4 is also used for Charge.
  • the fifth embodiment is based on the second embodiment, and a new control pin CTR_5 is added to the SoC 100_5.
  • the control pin CTR_5 is electrically connected to the control unit 160_5 inside the SoC 100_5, and the control pin CTR_5 is electrically connected to the control unit 160_5.
  • the pin CTR_5 is used for electrical connection with the first switch unit 180_5, and the control unit 160_5 controls the on-off of the first switch unit 180_5 through the control pin CTR_5.
  • the number of control pins CTR_5 is one.
  • the present application is not limited thereto, and in other embodiments of the present application, the number of control pins CTR_5 may be multiple.
  • the first switch unit 180_5 includes a switch tube and a substrate control circuit
  • the switch tube is a MOS tube
  • the control end of the switch tube is electrically connected to the system-on-chip 100_5, specifically the control unit of the system-on-chip 100_5 mentioned later 160_5 is electrically connected
  • the substrate control circuit is electrically connected to the control unit 160_5 of the system-on-chip 100_5, and the substrate control circuit is used to realize the correct bias of the substrate of the switch tube.
  • the present application is not limited thereto.
  • the first switch unit 180_5 may further include a charge switch and a discharge switch, wherein the charge switch and the discharge switch are both MOS transistors, and the charge switch and the discharge switch are respectively connected to the control
  • the unit 160_5 is electrically connected.
  • the first switch unit 180_5 may also be implemented in other forms, for example, including only one switch tube.
  • the first switch unit 180_5 is used to control the battery 300_5 to supply power to the system circuit 200_5 , specifically, the battery 300_5 , the system circuit 200_5 , and the first switch unit 180_5 form a loop to supply power to the system-on-chip 100_5 .
  • the control terminal of the first switch unit 180_5 is electrically connected to the control unit 160_5, the input terminal of the first switch unit 180_5 is used for electrical connection with the battery 300_5, for example, the negative terminal of the battery 300_5 is electrically connected, and the input terminal of the first switch unit 180_5 is electrically connected to
  • the output terminal is used for electrical connection with the system circuit 200_5, so that the battery 300_5, the system circuit 200_5, and the first switch unit 180_5 form a power supply loop. powered by.
  • the first switch unit 180_5 is implemented outside the system-on-chip 100_5, but in other embodiments of the present application, the first switch unit 180_5 may also be implemented on the system-on-chip 100_5.
  • the system-on-chip 100_5 includes a power supply pin VDD_5, a power supply ground pin GND_5, an overcharge voltage protection unit 110_5, an overdischarge voltage protection unit 190_5, and a discharge and overcurrent protection unit 130_5, a reference voltage generating unit 140_5, a frequency generating unit 150_5, a control unit 160_5, a wake-up unit 170_5, and a control pin CTR_5.
  • the power supply pin VDD_5 is also electrically connected to the shipping output terminal 210_5 of the system circuit 200_5 , so that the output of the battery 300_5 power is divided into two from the power supply pin VDD_5 Branch, one branch enters the system-on-chip 100_5 through the power supply pin VDD_5, and one branch enters the system circuit 200_5 through the shipping outlet 210_5.
  • the control system circuit 200_5 is controlled inside the system circuit 200_5, the signal of the shipping outlet 210_5 changes. At this time, the voltage signal of the power supply pin VDD_5 changes accordingly.
  • the system-on-chip 100_5 is in the shipping mode.
  • controlling the inside of the system circuit 200_5 to change the signal of the shipping outlet 210_5 can be implemented either by software or by hardware. For example, it is realized by the power button or the sound button. For example, the signal on the shipping outlet 210_5 can be changed by long pressing the power button.
  • the wake-up unit 170_5 is continuously powered by the battery 300_5 in the shipping mode, and the wake-up unit 170_5 is used to make the system-on-chip 100_5 exit the shipping mode.
  • the wake-up unit 170_5 is a charging detection circuit, and the charging detection circuit is an existing circuit of the system-on-chip 100_5, such a design can save costs.
  • the charging detection circuit detects the charging signal, and the system-on-chip 100_5 automatically exits the shipping mode. Since the power of the battery 300_5 can be maintained for a long time, the electronic device can be normally turned on for use.
  • the wake-up unit 170_5 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the system-on-chip 100_5 exit the shipping mode. Those skilled in the art may Design the circuit according to specific requirements.
  • the SoC 100_5 of the electronic device can enter the shipping mode.
  • the control unit 160_5 of the SoC 100_5 controls the pin CTR_5 controls the first switch unit 180_5 to be turned off, which can greatly save the power of the battery 300_5.
  • the shipping mode at least some units of the system on chip 100_5 are powered off, so that the battery 300_5 only needs to provide a few wake-up circuits for the system on chip 100_5.
  • the circuit unit continues to supply power, so that the power consumption of the battery 300_5 is further reduced, which can reduce the current consumption of the electronic device.
  • the current consumption can be as low as several nA/h, so that the power retention time of the battery 300_5 can be improved, even if the capacity of the battery 300_5 itself is compared In small cases, the power of the battery 300_5 can also be maintained for half a year to a year in the shipping mode. After the user gets the electronic device, the user only needs to wake up the unit 170_5 to make the SoC 100_5 exit the shipping mode and turn on the electronic device. That is, it can be used normally, which improves the user's experience and prevents the user from mistakenly thinking that the quality of the electronic device itself is a problem.
  • At least some units of the system on chip 100_5 are powered off during the shipping mode.
  • at least one of the overcharge voltage protection unit 110_5 , the overdischarge voltage protection unit 190_5 , the discharge overcurrent protection unit 130_5 , the control unit 160_5 , the reference voltage generation unit 140_5 and the frequency generation unit 150_5 of the system on chip 100_5 is Stop power supply, for example, one of the overcharge voltage protection unit 110_5, the overdischarge voltage protection unit 190_5, the discharge overcurrent protection unit 130_5, the control unit 160_5, the reference voltage generation unit 140_5 and the frequency generation unit 150_5 is stopped in the shipping mode power supply, or two of the overcharge voltage protection unit 110_5, the overdischarge voltage protection unit 190_5, the discharge overcurrent protection unit 130_5, the control unit 160_5, the reference voltage generation unit 140_5 and the frequency generation unit 150_5 are powered off in the shipping mode, Or in the shipping mode, three of the overcharge voltage protection unit 110_5, the overdis
  • the system-on-chip 100_5 further includes a temperature protection unit 410_5, a charging overcurrent protection unit 120_5, etc.
  • the temperature protection unit 410_5 and the charging overcurrent protection unit 120_5 may not be powered, It can also be powered, which is also the scope of protection of this application.
  • the power supply of the circuit units of the system on chip 100_5 except the wake-up unit 170_5 is all stopped, that is, the system on chip 100_5 is not required to exit the shipping mode except for the system on chip 100_5 Except that the wake-up unit 170_5 is powered, other circuit units of the system-on-chip 100_5 are not powered, which can further save the power of the battery 300_5, reduce the power consumption of the battery 300_5, and further improve the power retention time of the battery 300_5.
  • the system-on-chip 100_5 Enter shipping mode.
  • the shipping outlet 210_5 is electrically connected to the power supply pin VDD_5 via a second resistor R2_5.
  • the second resistor R2_5 and the first resistor R1_5 have the same resistance value. Under normal conditions, the shipping outlet 210_5 is in a high resistance state.
  • the shipping output terminal 210_5 is controlled to be disconnected by a switch, and the voltage signal received by the power supply pin VDD_5 is only affected by the battery 300_5, and is not affected by the shipping output terminal 210_5 of the SoC 100_5.
  • the ship transportation outlet 210_5 is controlled by the system circuit 200_5 to output a pulse signal, for example, the switch is closed at this time, the high level of the pulse signal is, for example, the battery voltage, and the low level of the pulse signal is, for example, 0V.
  • the shipping output terminal 210_5 is at a high level, the voltage at the power supply pin VDD_5 is the battery voltage.
  • the system-on-chip 100_5 further includes a pulse counting unit 420_5.
  • the pulse counting unit 420_5 outputs a low level signal under normal conditions, and the power supply pin VDD_5 is electrically connected to the pulse counting unit 420_5.
  • the pulse counting unit 420_5 counts the pulses.
  • the pulse counting unit 420_5 receives the pulse signal within the first predetermined period
  • the output signal of the pulse counting unit 420_5 changes from low level to high level, wherein the first predetermined time period and the first predetermined number are preset by the system on chip 100_5,
  • the first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc.
  • the first predetermined number is, for example, 3, 4, 5, etc., such a design can prevent false triggering.
  • the output end of the pulse counting unit 420_5 is connected to the overcharge voltage protection unit 110_5 , the overdischarge voltage protection unit 190_5 , the discharge overcurrent protection unit 130_5 , the reference voltage generation unit 140_5 , the frequency generation unit 150_5 , and the control unit 160_5 respectively.
  • the pulse counting unit 420_5 outputs a high level, the power supply to the units of the system on chip 100_5 other than the wake-up unit 170_5 can be controlled to be stopped.
  • the output terminal of the pulse counting unit 420_5 outputs a high level under normal conditions, and at this time, the pulse counting unit 420_5 outputs a low level for controlling to stop the system on chip 100_5 except the wake-up unit 170_5. power supply to external units.
  • the pulse counting unit 420_5 is provided separately from the control unit 160_5.
  • the pulse counting unit 420_5 may also be integrated into the control unit 160_5.
  • the pulse counting unit 420_5 may be used to control to stop the power supply to some units of the system-on-chip 100_5.
  • the conventional SoC 100_5 or the battery protection circuit detects the battery 300_5 through the over-discharge voltage protection unit 190_5. Deep discharge, specifically, by detecting whether the voltage at the power supply pin VDD_5 is lower than a preset threshold voltage to determine whether it is deeply discharged, if it is lower than the preset preset voltage, the over-discharge voltage protection unit 190_5 determines that the battery 300_5 is in deep discharge state, the over-discharge voltage protection unit 190_5 sends a signal to the control unit 160_5, the control unit 160_5 passively controls the first switch unit 180_5 to turn off through the control pin CTR_5, and passively controls the system-on-chip 100_5 or the battery protection circuit except the charge detection unit The power supply is stopped to protect the battery 300_5 and prevent the battery 300_5 from being damaged due to over-discharge.
  • the on-chip system 100_5 or the battery protection circuit restores power supply, and the first switch unit 180_5 is turned off to restore the power supply to the system circuit 200_5. powered by.
  • the original circuit and functions of the over-discharge voltage protection unit 190_5 in the prior art are fully utilized to actively control the first switch unit 180_5 to be disconnected through the control pin CTR_5, and actively control the charge removal detection unit
  • the power supply of the other system-on-chip 100_5 is stopped, which can reduce the cost while improving the power retention time of the battery 300_5. Specifically, please refer to FIG. 41-FIG. 42.
  • the shipping output terminal 210_5 of the system circuit 200_5 is electrically connected to the power supply pin VDD_5 via the second resistor R2_5.
  • the second resistor R2_5 and the first resistor R1_5 have the same resistance value.
  • the disembarkation transportation outlet 210_5 is in a high resistance state.
  • the system circuit 200_5 includes a second switch unit 220_5, and the input terminal of the second switch unit 220_5 is connected to a first level, where the first level is 0, that is, grounded, However, the first level may not be 0, as long as the voltage at the power supply pin VDD_5 is lower than the preset threshold voltage when the second switch unit 220_5 is turned on.
  • the output end of the second switch is electrically connected to one end of the second resistor R2_5, the other end of the second resistor R2_5 is electrically connected to the power supply pin VDD_5, and the control end of the second switch unit 220_5 is controlled by the hardware of the system circuit 200_5 Or software control, under normal conditions, the second switch unit 220_5 is disconnected, and the shipping outlet 210_5 is in a high-impedance state.
  • the SoC 500_5 needs to enter the shipping mode, the user can control the second switch through software or hardware.
  • the unit 220_5 is turned off. At this time, the branch formed by the power supply pin VDD_5, the second resistor R2_5, and the second switch unit 220_5 is turned on.
  • a resistor R1_5 divides the battery voltage, so that the voltage signal received at the power supply pin VDD_5 is reduced. In this embodiment, it is reduced to half the battery voltage. Generally, half the battery voltage will be lower than the preset threshold set by deep discharge. Generally speaking, the power supply voltage of the battery 300_5 is in the range of 2.8V-4.2V, the threshold voltage of deep discharge is generally 2.8V, and half of the battery voltage range is 1.4V-2.1V, which is lower than the threshold voltage of deep discharge.
  • the over-discharge voltage protection unit 190_5 detects that the voltage of the power supply pin VDD_5 is lower than the threshold voltage. At this time, the over-discharge voltage protection unit 190_5 controls the first switch unit 180_5 through the control pin CTR_5 Disconnected, and control the other units of the system-on-chip 500_5 except the charge detection unit to stop power supply.
  • the second switch unit 220_5 is an NMOS transistor.
  • the present application is not limited thereto, and in other embodiments of the present application, the second switch unit 220_5 may also be a PMOS transistor.
  • the SoC 500_5 has two protection modes for deep discharge: over-discharge recoverable mode and over-discharge non-recoverable mode, which can be set by users or manufacturers as needed.
  • over-discharge recoverable mode the SoC 500_5 is in the over-discharge recoverable mode
  • the discharge voltage protection unit 190_5 detects that the voltage of the power supply pin VDD_5 is lower than the preset threshold voltage (eg, false detection), it controls the first switch unit 180_5 to be disconnected through the control pin CTR_5, and the on-chip other than the charge detection unit The power supply of the system 500_5 is stopped.
  • the preset threshold voltage eg, false detection
  • the power supply of the system on chip 500_5 is automatically restored by the unit whose power supply is stopped, and the first switch unit 180_5 is turned on; when the system on chip 500_5 is in In the over-discharge non-recoverable mode, when the over-discharge voltage protection unit 190_5 detects that the voltage of the power supply pin VDD_5 is lower than the preset threshold voltage, it controls the first switch unit 180_5 to turn off through the control pin CTR_5, and other than the charging detection unit All other SoCs 500_5 are powered off.
  • the first switch unit 180_5 remains disconnected, except for the charge detection unit.
  • the power supply of the system on chip 500_5 continues to be stopped. In this case, only when the charging detection module detects the charging signal, the power supply of the unit of the system on chip 500_5 whose power supply is stopped is restored, and the first switch unit 180_5 is turned on. In this embodiment, the system-on-chip 500_5 works in the over-discharge non-recoverable mode.
  • the second switch unit 220_5 is disconnected because it is not powered, and the first switch unit 180_5 remains disconnected, except for charging
  • the system-on-chip 500_5 other than the detection unit continues to be powered off, which is beneficial for maintaining the power of the battery 300_5.
  • the original circuit and functions of the over-discharge voltage protection unit 190_5 of the prior art are fully utilized to realize the active control of the first switch unit 180_5 through the control pin CTR_5. It is turned on, and the power supply of the system-on-chip 100_5 except the charging detection unit is actively controlled to be stopped, which can reduce the cost.
  • the power supply of the system-on-chip 100_5 except the charging detection unit is actively controlled to be stopped, which can reduce the cost.
  • the over-discharge voltage protection unit 190_5 includes a comparator 191_5 , and the comparator 191_5 has a same-direction terminal and two reverse terminals, and the two reverse terminals are the first The reverse terminal and the second reverse terminal, the non-inverting terminal of the comparator 191_5 is connected to a reference voltage, and the first reverse terminal of the comparator 191_5 is electrically connected to the output voltage detection point of the battery 300_5 for detecting whether the battery 300_5 is deeply discharged. are electrically connected to the voltage supply pins.
  • the system-on-chip 100_5 further includes a third switch unit 440_5 and a third resistor R3_5, the control terminal of the third switch unit 440_5 is electrically connected to the output terminal of the pulse counting unit 420_5, and the input terminal of the third switch unit 440_5 is grounded , the output end of the third switch unit 440_5 is electrically connected to one end of the third resistor R3_5, the other end of the third resistor R3_5 is connected to a high level, and the output end of the third switch unit 440_5 is also connected to the comparator of the overdischarge voltage protection unit 190_5
  • the second reverse terminal of 191_5 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when one of the first reverse terminal or the second reverse terminal is low When the level is low, the reverse terminal of the comparator 191_5 is at a low level.
  • the third switch unit 440_5 when the pulse counting unit 420_5 outputs a high level, the third switch unit 440_5 is turned on, at this time, the second reverse terminal of the comparator 191_5 is grounded, and at this time, the reverse terminal of the comparator 191_5 is at a low level, Therefore, the output of the comparator 191_5 changes from low level to high level, thereby controlling the first switch unit 180_5 to be disconnected through the control pin CTR_5, and controlling the power supply of the system on chip 100_5 except the charging detection unit to be stopped.
  • the third switch unit 440_5 is an NMOS transistor.
  • the present application is not limited thereto.
  • the third switch unit 440_5 may also be a PMOS transistor. At this time, the pulse counting unit 420_5 outputs a low level to turn on the third switch unit 440_5. In this embodiment, the system-on-chip 100_5 works in an over-discharge irrecoverable mode.
  • the system-on-chip 100_5 further includes a system ground pin VM_5, the system ground pin VM_5 is used for electrical connection with the system circuit 200_5, and the system ground pin VM_5 is also used for Charge.
  • a first test pad and a second test pad are added to the battery protection circuit 100_6.
  • the power supply terminal VDD_6 passes through the second resistor.
  • R2_6 is electrically connected to the first test pad A, so that when the first test pad A and the second test pad B are short-circuited, the output of the battery 300_6 is divided into two branches from the power supply terminal VDD_6, one branch Entering the battery protection circuit 100_6 through the power supply terminal VDD_6, a branch passes through the power supply terminal VDD_6 and the second resistor R2_6, causing the voltage signal of the power supply terminal VDD_6 to change accordingly.
  • the battery protection circuit 100_6 When the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage and the time exceeds the over-discharge delay time, the battery protection circuit 100_6 enters the sleep mode, and the first switch unit 180_6 is turned off to stop the battery 300_6 in the sleep mode. Power is supplied to the system circuit 200_6, and at least some cells of the battery protection circuit 100_6 are powered off.
  • the battery protection circuit 100_6 includes a power supply terminal VDD_6, a power ground terminal GND_6, an overcharge voltage protection unit 110_6, an overdischarge voltage protection unit 190_6, and a discharge overcurrent protection unit 130_6 , a reference voltage generation unit 140_6, a frequency generation unit 150_6, a control unit 160_6, a wake-up unit 170_6, and a first switch unit 180_6.
  • the first switch unit 180_6 includes a switch tube and a substrate control circuit, the switch tube is a MOS tube, the control end of the switch tube is electrically connected to the control unit 160_6, the substrate control circuit is electrically connected to the control unit 160_6, and the substrate is electrically connected to the control unit 160_6.
  • the bottom control circuit is used to realize the correct bias of the substrate of the switch tube.
  • the first switch unit 180_6 may also include a charge switch and a discharge switch, wherein the charge switch and the discharge switch are both MOS transistors, and the charge switch and the discharge switch are respectively connected to The control unit 160_6 is electrically connected.
  • the first switch unit 180_6 may also be implemented in other forms, for example, including only one switch tube.
  • the first switch unit 180_6 is used to control the battery 300_6 to supply power to the system circuit 200_6, specifically, a loop is formed by the battery 300_6, the system circuit 200_6, and the first switch unit 180_6 of the battery protection circuit 100_6 to supply power to the battery protection circuit 100_6.
  • the control terminal of the first switch unit 180_6 is electrically connected to the control unit 160_6, and the input terminal of the first switch unit 180_6 is used to electrically connect to the battery 300_6, for example, to the power ground terminal GND_6 of the battery protection circuit 100_6.
  • the output end of a switch unit 180_6 is used for electrical connection with the system circuit 200_6, so that the battery 300_6, the battery protection circuit 100_6, and the first switch unit 180_6 form a power supply loop. Whether the battery 300_6 supplies power to the system circuit 200_6 can be controlled.
  • the wake-up unit 170_6 may not be a charging detection circuit, but may also be another newly added hardware circuit specially used to make the battery protection circuit 100_6 exit the sleep mode. Those skilled in the art may Design the circuit according to specific requirements.
  • the battery protection circuit 100_6 of the electronic device can enter the sleep mode.
  • the first switch unit 180_6 is turned off, so that the battery 300_6 cannot Supplying power to the system circuit 200_6 can save a lot of power of the battery 300_6.
  • the sleep mode at least some units of the battery protection circuit 100_6 are powered off, so that the battery 300_6 only needs to continue to supply a few circuit units such as the wake-up circuit of the battery protection circuit 100_6.
  • the power of the battery 300_6 can also be maintained for half a year to a year in the sleep mode. After the user gets the electronic device, the user only needs to wake up the unit 170_6 to make the battery protection circuit 100_6 exit the sleep mode, and the electronic device can be used normally after powering on. , which improves the user experience and prevents users from mistaking the quality of the electronic device itself.
  • the sleep mode at least some units of the battery protection circuit 100_6 are powered off.
  • at least one of the overcharge voltage protection unit 110_6 , the overdischarge voltage protection unit 190_6 , the discharge overcurrent protection unit 130_6 , the control unit 160_6 , the reference voltage generation unit 140_6 and the frequency generation unit 150_6 of the battery protection circuit 100_6 Power supply is stopped, for example, one of the overcharge voltage protection unit 110_6, the overdischarge voltage protection unit 190_6, the discharge overcurrent protection unit 130_6, the control unit 160_6, the reference voltage generation unit 140_6 and the frequency generation unit 150_6 is stopped in the sleep mode power supply, or two of the overcharge voltage protection unit 110_6, the overdischarge voltage protection unit 190_6, the discharge overcurrent protection unit 130_6, the control unit 160_6, the reference voltage generation unit 140_6 and the frequency generation unit 150_6 are powered off during the sleep mode, or In the sleep mode, three of the overcharge voltage protection unit 110_6, the overd
  • the overcharge voltage protection unit 110_6 , the overdischarge voltage protection unit 190_6 , the discharge overcurrent protection unit 130_6 , the control unit 160_6 , the reference voltage generation unit 140_6 and the frequency generation unit 150_6 are all powered off, and the battery 300_6 can be further reduced at this time. power consumption.
  • the battery protection circuit 100_6 further includes a temperature protection unit 410_6, a charging overcurrent protection unit 120_6, etc. In the sleep mode, the temperature protection unit 410_6 and the charging overcurrent protection unit 120_6 may not be powered, It can also be powered, which is also the scope of protection of this application.
  • the circuit units of the battery protection circuit 100_6 except the wake-up unit 170_6 are all stopped from supplying power, that is, the battery protection circuit 100_6 is used to make the battery protection circuit 100_6 exit the sleep mode. Except that the required wake-up unit 170_6 is powered, other circuit units of the battery protection circuit 100_6 are not powered, so that the power of the battery 300_6 can be further saved, the power consumption of the battery 300_6 can be reduced, and the power retention time of the battery 300_6 can be further improved. In particular, the power retention time of the small-capacity battery 300_6 can be improved.
  • the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage, which will be described below.
  • the methods of changing the voltage of the power supply terminal VDD_6 by adding test solder joints are not limited to the following methods.
  • Those skilled in the art can also set other conventional circuits to realize the operation of the test solder joints to cause the power supply terminal VDD_6 to receive The received voltage signal changes.
  • the conventional battery protection circuit 100_6 when the battery 300_6 is deeply discharged, the conventional battery protection circuit 100_6 detects the deep discharge of the battery 300_6 through the over-discharge voltage protection unit 190_6.
  • the overdischarge voltage protection unit 190_6 determines that the battery 300_6 is in a deep discharge state, and the overdischarge voltage
  • the protection unit 190_6 sends a signal to the control unit 160_6, the control unit 160_6 passively controls the first switch unit 180_6 to be disconnected, and passively controls the battery protection circuit 100_6 except the charging detection unit to stop power supply, for protecting the battery 300_6 and preventing the battery 300_6 Due to over-discharge damage, until the battery protection circuit 100_6 restores power after the charging detection unit detects the charging signal, the first switch unit 180_6 is turned off to restore power to the system circuit 200_6.
  • the original circuit and functions of the over-discharge voltage protection unit 190_6 in the prior art are fully utilized to actively control the disconnection of the first switch unit 180_6 and actively control the battery protection except the charging detection unit.
  • the power supply of the circuit 100_6 is stopped, which can reduce the cost while increasing the power retention time of the battery 300_6.
  • a first test soldering point A and a second testing soldering point B are added to the battery protection circuit.
  • a second resistance is set between the first test pad A and the power supply terminal to realize indirect electrical connection, the second test pad B is electrically grounded, and the first test pad A and the second test pad B are used to electrically connect to the test unit. connect.
  • the test unit is the test unit is the wire.
  • the first test pad A and the second test pad B are directly connected with wires, the first test pad A and the second test pad B are conductive, so that the voltage signal received by the power supply terminal is lower than the preset threshold voltage, so that the battery protection circuit enters a sleep mode, in which the first switch unit is turned off to stop the battery supplying power to the system circuit and at least part of the battery protection circuit is stopped from supplying power.
  • a sleep mode in which the first switch unit is turned off to stop the battery supplying power to the system circuit and at least part of the battery protection circuit is stopped from supplying power.
  • the power output of the battery 300_6 is divided into two branches from the power supply terminal VDD_6, one branch enters the battery protection circuit 100_6 through the power supply terminal VDD_6, and the other branch passes through the power supply terminal VDD_6, The second resistor R2_6.
  • the branch formed by the power supply terminal VDD_6, the second resistor R2_6 and the circuit is turned on.
  • the second resistor R2_6 and the first resistor R1_6 have the same resistance value, Therefore, the second resistor R2_6 and the first resistor R1_6 divide the voltage of the battery, so that the voltage signal received at the power supply terminal VDD_6 decreases, when the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage, and the time exceeds the over-discharge delay time
  • the battery protection circuit 100_6 is in a sleep mode, and the first switch unit 180_6 is turned off in the sleep mode to stop the battery 300_6 from supplying power to the system circuit 200_6, and at least some units of the battery protection circuit 100_6 are stopped from supplying power.
  • the battery voltage is reduced to half.
  • the power supply voltage of the battery 300_6 is in the range of 2.8V-4.2V, and the deep discharge threshold The voltage is generally 2.8V, while half the battery voltage range is 1.4V-2.1V, which is below the threshold voltage for deep discharge. Therefore, when the first test pad A and the second test pad B are turned on, secondly, the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the threshold voltage.
  • the over-discharge voltage protection unit 190_6 controls the A switch unit 180_6 is turned off, and controls other units of the circuit protection system 100_6 except the charge detection unit to stop supplying power.
  • the circuit protection system 100_6 has two protection modes for deep discharge: an overdischarge recoverable mode and an overdischarge non-recoverable mode, which can be set by the user or the manufacturer as required.
  • the circuit protection system 100_6 When the circuit protection system 100_6 is in the overdischarge recoverable mode , when the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the preset threshold voltage (eg, false detection), the first switch unit 180_6 is turned off, and the circuit protection system 100_6 except the charging detection unit is blocked Stop the power supply, when the voltage of the power supply terminal VDD_6 increases to above the preset threshold voltage, the circuit protection system 100_6 is automatically restored to power supply by the unit whose power supply is stopped, and the first switch unit 180_6 is turned on; when the circuit protection system 100_6 is in the over-discharge cannot In the recovery mode, when the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the preset threshold voltage, the first switch unit 180_6 is turned off, and the power supply of the circuit protection system 100_6 except the charging detection unit is stopped.
  • the preset threshold voltage
  • the circuit protection system 100_6 works in the over-discharge non-recoverable mode. At this time, the circuit protection system 100_6 other than the charging detection unit continues to be stopped from supplying power, which is conducive to maintaining the power of the battery 300_6 .
  • the original circuit and function of the over-discharge voltage protection unit 190_6 of the prior art are fully utilized to realize the active control of the first switch unit 180_6 to disconnect, and Actively controlling the battery protection circuit 100_6 other than the charging detection unit to stop supplying power can reduce the cost while improving the battery 300_6 power retention time.
  • FIG. 47 Add the first test welding point A and the second test welding point B on the battery protection circuit. The first test pad A and the power supply terminal of the power supply are directly electrically connected, a second resistance is set between the second test pad and the ground, and the first test pad A and the second test pad B are used to electrically connect to the test unit. connect.
  • the test unit is the test unit is the wire.
  • the first test pad A and the second test pad B are directly connected with wires, the first test pad A and the second test pad B are turned on, so that the voltage signal received by the power supply terminal is lower than the preset threshold voltage to make the battery protection circuit enter a sleep mode, in which the first switch unit is turned off to stop the battery supplying power to the system circuit and at least part of the battery protection circuit is stopped from supplying power.
  • the power output of the battery 300_6 is divided into two branches from the power supply terminal VDD_6, one branch enters the battery protection circuit 100_6 through the power supply terminal VDD_6, and the other branch passes through the power supply terminal VDD_6, The second resistor R2_6.
  • the branch formed by the power supply terminal VDD_6, the second resistor R2_6 and the circuit is turned on. Since the second resistor R2_6 and the first resistor R1_6 have the same resistance value, Therefore, the second resistor R2_6 and the first resistor R1_6 divide the voltage of the battery, so that the voltage signal received at the power supply terminal VDD_6 decreases.
  • the battery protection circuit 100_6 When the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage, and the time exceeds the over-discharge delay time After time, the battery protection circuit 100_6 is in a sleep mode, and the first switch unit 180_6 is turned off in the sleep mode to stop the battery 300_6 from supplying power to the system circuit 200_6, and at least some units of the battery protection circuit 100_6 are stopped from supplying power.
  • the battery voltage is reduced to half. Generally, half of the battery voltage will be lower than the preset threshold voltage set by the deep discharge.
  • the power supply voltage of the battery 300_6 is in the range of 2.8V-4.2V, and the deep discharge threshold The voltage is generally 2.8V, while half the battery voltage range is 1.4V-2.1V, which is below the threshold voltage for deep discharge. Therefore, when the first test pad A and the second test pad B are turned on, secondly, the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the threshold voltage, and at this time, the over-discharge voltage protection unit 190_6 controls the A switch unit 180_6 is turned off, and controls other units of the circuit protection system 100_6 except the charge detection unit to stop supplying power.
  • the original circuit and function of the over-discharge voltage protection unit 190_6 of the prior art are fully utilized to realize the active control of the first switch unit 180_6 to be disconnected, and Actively controlling the battery protection circuit 100_6 other than the charging detection unit to stop supplying power can reduce the cost while increasing the power retention time of the battery 300_6.
  • FIG. 48 Add the first test welding point A and the second test welding point B on the battery protection circuit. The first test pad A and the power supply terminal are directly electrically connected, the second test pad B is electrically grounded, and the first test pad A and the second test pad B are used for electrical connection with the test unit.
  • the test unit is a wire and a second resistor, and a second resistor is set between the first test solder point A and the second test point B.
  • a second resistor is set between the first test solder point A and the second test point B.
  • the power output of the battery 300_6 is divided into two branches from the power supply terminal VDD_6, one branch enters the battery protection circuit 100_6 through the power supply terminal VDD_6, and the other branch passes through the power supply terminal VDD_6, The second resistor R2_6.
  • the branch formed by the power supply terminal VDD_6 the second resistor R2_6 and the circuit is turned on. Since the second resistor R2_6 and the first resistor R1_6 have the same resistance value, Therefore, the second resistor R2_6 and the first resistor R1_6 divide the voltage of the battery, so that the voltage signal received at the power supply terminal VDD_6 decreases.
  • the battery protection circuit 100_6 When the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage, and the time exceeds the over-discharge delay time After time, the battery protection circuit 100_6 is in a sleep mode, and the first switch unit 180_6 is turned off in the sleep mode to stop the battery 300_6 from supplying power to the system circuit 200_6, and at least some units of the battery protection circuit 100_6 are stopped from supplying power.
  • the battery voltage is reduced to half. Generally, half of the battery voltage will be lower than the preset threshold voltage set by the deep discharge.
  • the power supply voltage of the battery 300_6 is in the range of 2.8V-4.2V, and the deep discharge threshold The voltage is generally 2.8V, while half the battery voltage range is 1.4V-2.1V, which is below the threshold voltage for deep discharge. Therefore, when the first test pad A and the second test pad B are turned on, secondly, the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the threshold voltage, and at this time, the over-discharge voltage protection unit 190_6 controls the A switch unit 180_6 is turned off, and controls other units of the circuit protection system 100_6 except the charge detection unit to stop supplying power.
  • the circuit protection system 100_6 further includes a system ground terminal VM_6, which is used for electrical connection with the system circuit 200_6, and is also used for charging.
  • a first switch unit 180_6 is disposed between the system ground terminal VM_6 and the power ground terminal GND_6.
  • the battery protection circuit 100_6 is implemented on the same chip, that is, the battery protection circuit 100_6 is formed as a whole system on a chip.
  • the system on chip (SOC) is a technology commonly used in the field of integrated circuits. The purpose is to Combining multiple integrated circuits with specific functions on a chip to form a system or product, which includes the completed hardware system and the embedded software it carries. SoCs have obvious advantages in performance, cost, power consumption, reliability, as well as life cycle and usage range.
  • the units of the battery protection circuit 100_6 except the first switch unit 180_6 are all implemented on the same chip, that is, the entire unit of the battery protection circuit 100_6 except the first switch unit 180_6 Made into a system-on-chip.
  • the second resistor R2_6 and the capacitor C in FIG. 46 can also be implemented in a system-on-chip.
  • a testing subsystem including:
  • a test unit both ends of which are used for electrical connection with the first test pad and the second test pad, when the two ends of the test unit are electrically connected with the first test pad and the second test pad
  • the first test pad and the second test pad are turned on, so that the voltage signal received by the power supply end of the battery protection circuit is lower than a preset threshold voltage, so that the battery protection circuit enters a sleep mode, In the sleep mode, the first switch unit is turned off to stop the battery from supplying power to the system circuit, and at least part of the battery protection circuit is stopped from supplying power.
  • the test unit is a wire
  • a second resistor is provided between the first test pad and the power supply terminal.
  • the test unit is a wire
  • a second resistance is provided between the second test pad and the ground.
  • the test unit is a wire and a second resistor, and the second resistor is set between the first test pad and the second test point.
  • a testing system comprising:
  • the capacity of the above-mentioned battery can be 10mAH-80mAH, such as 10mAH, 20mAH, 30mAH, 40mAH, 50mAH, 60mAH, 70mAH, 80mAH.
  • a method for setting a shipping mode of an electronic device including:
  • the shipping mode feedback command is a valid response command for successfully entering the shipping mode or an invalid response command for failing to enter the shipping mode.
  • FIG. 49 is a schematic flowchart of the first embodiment of the method for setting the shipping mode of the electronic device of the present invention.
  • the shipping mode setting method of the electronic device of this embodiment includes the following steps:
  • S11 Receive the shipping instruction sent by the host computer to enter the shipping mode.
  • the electronic device may be a Bluetooth headset, a mobile phone, a tablet computer, or the like.
  • the electronic device and the host computer are connected through a serial port, and the shipping instruction is sent through the serial port.
  • the shipping instruction can be in the form of code, pulse or level, which is not limited in this application, and in other embodiments It can also be other forms of private protocols.
  • S12 Send a shipping mode feedback command to the upper computer, wherein the shipping mode feedback command is a valid response command for successfully entering the shipping mode or an invalid response command for failing to enter the shipping mode.
  • the electronic device regardless of whether the electronic device successfully enters the shipping mode, the electronic device will actively issue a clear instruction to the upper computer, so as to prevent the electronic device from being sold from the factory without entering the shipping mode.
  • FIG. 50 is a schematic flowchart of a second embodiment of a method for setting a shipping mode of an electronic device according to the present invention.
  • the shipping mode setting method of the electronic device of this embodiment includes the following steps:
  • S21 The main control module receives the shipping instruction sent by the upper computer to enter the shipping mode.
  • the electronic equipment includes a main control module and a battery protection module electrically connected to the main control module.
  • the main control module includes a processor and its peripheral circuits.
  • the battery protection module is used to control the power supply of the battery. When the battery is not connected to the main control module and other system circuits When the module is supplying power, it enters the shipping mode.
  • the shipping mode can also be more thorough, such as protecting the battery protection module for unnecessary power-consuming units (such as overcharge voltage protection units, overdischarge voltage protection units). , discharge overcurrent protection unit, control unit, reference voltage generating unit and frequency generating unit) also do not supply power, and only reserve the part of the wake-up unit for exiting the shipping mode to supply power.
  • the battery protection module receives the shipping instruction sent by the main control module.
  • the shipping instruction can be in the form of code, pulse or level.
  • step S24 is performed, and if it is not received, then step S25 is performed.
  • the preset time may be set to 0.5-1s.
  • the electronic device After the main control module sends a valid response command, the electronic device enters the shipping mode.
  • S25 The main control module sends a failure response command to the upper computer.
  • the factory side can send the next shipping instruction through the host computer until the electronic device enters the shipping mode.
  • FIG. 51 is a schematic flowchart of a third embodiment of a method for setting a shipping mode of an electronic device according to the present invention.
  • the overall process of this embodiment is the same as that of the previous embodiment, the difference is that the electronic device of the present application is a tws (True Wireless Stereo) earphone, the electronic device is a tws earphone, and the tws earphone includes an earphone body and an earphone compartment for accommodating the earphone body, The main control module and the battery protection module are arranged in the earphone body.
  • the tws headset has a more complex structure and a longer signal transmission chain. If the shipping mode is not set in the shipping mode, it is not easy to find the problem.
  • the earphone compartment receives the shipping instruction sent by the host computer to enter the shipping mode.
  • the earphone compartment can be connected with the upper computer through the serial port, so as to transmit the shipping instructions.
  • S32 The main control module receives the shipping instruction sent by the headset compartment.
  • the main control module is preferably connected with the earphone compartment by means of Bluetooth.
  • the battery protection module receives the shipping instruction sent by the main control module.
  • S35 The main control module sends a valid response command to the earphone compartment.
  • the main control module sends a failure response command to the earphone compartment.
  • FIG. 52 is a schematic diagram of a frame of an embodiment of an electronic device of the present invention.
  • the electronic device 50 includes a memory 51 and a processor 52 coupled to each other, and the processor 52 is configured to execute program instructions stored in the memory 51, so as to implement the steps of any of the foregoing shipping mode setting method embodiments.
  • the terminal device 50 may be a Bluetooth headset, a mobile phone, a tablet computer, or the like.
  • the processor 52 is used to control itself and the memory 51 to implement the steps of any of the above-mentioned shipping mode setting method embodiments.
  • the processor 52 may also be referred to as a CPU (Central Processing Unit, central processing unit).
  • the processor 52 may be an integrated circuit chip with signal processing capability.
  • the processor 52 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the processor 52 may be jointly implemented by an integrated circuit chip.
  • FIG. 53 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present invention.
  • the computer-readable storage medium 60 stores program instructions 601 that can be executed by the processor, and the program instructions 601 are used to implement the steps of any one of the foregoing shipping mode setting method embodiments.
  • the functions or modules included in the apparatuses provided in the embodiments of the present disclosure may be used to execute the methods described in the above method embodiments.
  • the disclosed method and apparatus may be implemented in other manners.
  • the device implementations described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other divisions.
  • units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
  • FIG. 54 is a circuit diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device may be a Bluetooth headset, a mobile phone, a tablet computer, or the like.
  • the tws earphone is taken as an example, and only the main control module and battery protection module are shown, and the earphone compartment is omitted.
  • the electronic device includes a main control module 10 and a battery protection module 20, the electronic device includes a main control module 10 and a battery protection module 20 electrically connected to the main control module 10, the main control module 10 includes a processor and its peripheral circuits, and the battery protection module 20 It is used to control the power supply of the battery 30.
  • Non-essential power-consuming units such as overcharge voltage protection unit, overdischarge voltage protection unit, discharge overcurrent protection unit, control unit, reference voltage generation unit and frequency generation unit
  • do not supply power and are only reserved for exiting shipping mode The wake-up unit part is powered.
  • the main control module 10 is provided with an input and output pin GPIO
  • the battery protection module 20 is provided with a power supply pin VDD_7, a power ground pin GND_7 and a shipping pin CTL_7
  • the power supply pin VDD_7 and the power supply ground pin GND_7 are respectively connected with the battery.
  • the positive and negative poles of 30 are electrically connected
  • the shipping pin CTL_7 is electrically connected to the input and output pins GPIO.
  • the pin is transmitted to the shipping pin, and the main control module 10 sends the shipping mode feedback command to the upper computer according to whether it receives the shipping confirmation signal fed back from the shipping pin; wherein, the shipping mode feedback command is to enter the shipping mode A successful valid acknowledgment command or a failed acknowledgment command that fails to enter shipping mode.
  • the specific circuit for entering the shipping mode is in the prior art and will not be repeated here.
  • the electronic device in this embodiment can actively feed back to the upper computer whether to enter the shipping mode, so as to avoid the electronic device from being left out of the factory without actually entering the shipping mode, thereby improving user experience.
  • FIG. 55 is a circuit diagram of another embodiment of the electronic device of the present invention.
  • the pins are not shared, and the sending of shipping instructions and the receiving of shipping confirmation signals pass through different pins respectively.
  • the input and output pins of the main control module 10_2 include a first input and output pin GPIO-1 and a second input and output pin GPIO-2
  • the battery protection module 20_2 is also provided with a feedback pin ANS
  • the shipping instruction is set by The first input and output pin GPIO-1 is transmitted to the shipping pin CTL_7, and the feedback command is sent to the second input and output pin GPIO-2 by the feedback pin ANS.
  • references herein to "a plurality” means two or more.
  • Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein.
  • This application is intended to cover any variations, uses or adaptations of this application that follow the general principles of this application and include common knowledge or conventional techniques in the technical field not disclosed in this application .
  • the specification and examples are to be regarded as exemplary only, with the true scope and spirit of the application being indicated by the following claims.
  • each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments.
  • the apparatus embodiment since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts.

Abstract

The present application provides a system-on-chip, comprising: a power supply pin, a power grounding pin, an over-charge voltage protection unit, an over-discharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, a frequency generation unit, a control unit, a wake-up unit, and a first switch unit. The system-on-chip further comprises a shipping pin. When the shipping pin receives a first signal, the system-on-chip enters a shipping mode; in the shipping mode, the first switch unit is turned off so that a battery stops supplying power to a system circuit, and at least part of the units of the system-on-chip are stopped from power supply; moreover, in the shipping mode, the wake-up unit is supplied with power, and the wake-up unit is used for causing the system-on-chip to exit the shipping mode. The present application further provides a battery assembly and an electronic device. The present application has the following advantages: current consumption of the battery in the transportation and storage process can be reduced, the electric quantity retention time of the battery is prolonged, and user experience is improved.

Description

一种片上系统、电池组件、电子装置、电池保护电路、测试子系统、测试系统、蓝牙耳机、船运模式设置方法及计算机可读存储介质A system-on-chip, battery assembly, electronic device, battery protection circuit, test subsystem, test system, Bluetooth headset, shipping mode setting method, and computer-readable storage medium 技术领域technical field
本申请涉及电池技术领域,尤其涉及一种片上系统、电池组件、电子装置、电池保护电路、测试子系统、测试系统、蓝牙耳机、船运模式设置方法及计算机可读存储介质。The present application relates to the field of battery technology, and in particular, to a system-on-chip, a battery assembly, an electronic device, a battery protection circuit, a test subsystem, a test system, a Bluetooth headset, a shipping mode setting method, and a computer-readable storage medium.
背景技术Background technique
电池组件广泛应用在电子装置,电子装置例如蓝牙耳机、手机、平板电脑等,以提供电子装置较具弹性化的使用环境,无须受限于插座与电源供应线材的范围。一般说来,电池组件包括裸电池、电连接至裸电池以防止裸电池过充电或过放电的电池保护电路。Battery components are widely used in electronic devices, such as Bluetooth headsets, mobile phones, tablet computers, etc., to provide a more flexible use environment for electronic devices without being limited by the range of sockets and power supply cables. Generally speaking, a battery assembly includes a bare cell, a battery protection circuit electrically connected to the bare cell to prevent overcharging or overdischarging of the bare cell.
带电池组件的电子装置在生产地制造好以后,电池组件被充以预设的电量后电子装置被关机,然后经过较长的时间运输、存储,最终当终端用户第一次拿到电子装置使用时,由于长时间的运输、存储,电子装置可能由于内部电流消耗而被完全放电,因此终端用户在第一次使用前必须对电子装置进行充电而恢复电量,导致用户的体验变差。After the electronic device with battery assembly is manufactured at the production site, the battery assembly is charged with a preset amount of power and the electronic device is turned off, and then transported and stored for a long time, and finally when the end user gets the electronic device for the first time. Due to long-term transportation and storage, the electronic device may be completely discharged due to internal current consumption. Therefore, the end user must charge the electronic device to restore the power before the first use, resulting in poor user experience.
发明内容SUMMARY OF THE INVENTION
本申请实施例所要解决的技术问题在于,提供一种片上系统、电池组件及电子装置。可降低电池在运输、存储过程中电流消耗,提升电池的电量保持时间,提升用户的体验。The technical problem to be solved by the embodiments of the present application is to provide a system-on-chip, a battery assembly, and an electronic device. It can reduce the current consumption of the battery during transportation and storage, improve the battery retention time, and improve the user experience.
为了解决上述技术问题,本申请实施例第一方面提供了一种片上系统,包括:电源供电引脚、电源接地引脚、过充电压保护单元、过放电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元、控制单元、唤醒单元、第一开关单元,其中,所述电源供电引脚和电源接地引脚分别用于与电池电连接,所述第一开关单元用于控制电池供电给系统电路;In order to solve the above technical problem, a first aspect of the embodiments of the present application provides a system-on-chip, including: a power supply pin, a power ground pin, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge and overcurrent protection unit, A reference voltage generation unit, a frequency generation unit, a control unit, a wake-up unit, and a first switch unit, wherein the power supply pin and the power ground pin are respectively used for electrical connection with the battery, and the first switch unit is used for controlling The battery supplies power to the system circuit;
其中,所述片上系统还包括船运引脚,当船运引脚接收到第一信号时所述片上系统进入船运模式,在船运模式时所述第一开关单元断开以使电池停止向系统电路供电且所述片上系统至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述片上系统退出船运模式。Wherein, the system-on-chip further includes a shipping pin, when the shipping pin receives a first signal, the system-on-chip enters a shipping mode, and in the shipping mode, the first switch unit is turned off to stop the battery Power is supplied to the system circuit and at least some units of the system-on-chip are powered off, and the wake-up unit is powered when in the shipping mode, and the wake-up unit is used to exit the system-on-chip from the shipping mode.
可选的,当船运引脚接收到第一信号时触发所述片上系统产生船运控制信号以进入船运模式。Optionally, when the shipping pin receives the first signal, the system-on-chip is triggered to generate a shipping control signal to enter the shipping mode.
可选的,所述第一信号为片上系统与系统电路进行协议的编码信号。Optionally, the first signal is an encoded signal that is agreed between the system on chip and the system circuit.
可选的,所述第一信号包括脉冲信号,所述片上系统还包括脉冲计数单元,所述脉冲计数单元与所述船运引脚电连接,当脉冲计数单元在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时触发产生船运控制信号。Optionally, the first signal includes a pulse signal, and the system-on-chip further includes a pulse counting unit, the pulse counting unit is electrically connected to the shipping pin, when the pulse counting unit receives the pulse signal within a first predetermined period of time. When the number of received pulses is greater than or equal to the first predetermined number, a shipping control signal is triggered.
可选的,所述第一信号为持续的高电平信号或持续的低电平信号,所述片上系统还包括第一计时单元,所述第一计时单元与所述船运引脚电连接,当第一计时单 元接收到的高电平信号或低电平信号持续时间大于或等于第二预定时间段时触发产生船运控制信号。Optionally, the first signal is a continuous high-level signal or a continuous low-level signal, the system-on-chip further includes a first timing unit, and the first timing unit is electrically connected to the shipping pin , when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, triggering the generation of the shipping control signal.
可选的,所述过放电压保护单元包括比较器和第二计时单元,所述比较器的输出端与第二计时器电连接,所述第一信号为持续的高电平信号或持续的低电平信号,所述片上系统还包括第二开关单元和第一电阻,所述第二开关单元的控制端与所述船运引脚电连接,所述第二开关单元的输入端接地,所述第二开关单元的输出端与第一电阻的一端电连接,所述第一电阻的另一端接高电平,所述第二开关单元的输出端还与所述过放电压保护单元的比较器的反向端电连接,所述比较器的输出端与第二计时单元电连接,当所述船运引脚接到第一信号时所述第二开关单元导通,所述第二计时单元接收到的高电平持续时间大于或等于第三预定时间段时触发产生船运控制信号。Optionally, the over-discharge voltage protection unit includes a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal is a continuous high-level signal or a continuous high-level signal. a low-level signal, the system-on-chip further includes a second switch unit and a first resistor, the control end of the second switch unit is electrically connected to the shipping pin, and the input end of the second switch unit is grounded, The output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit is also connected to the overdischarge voltage protection unit. The reverse terminal of the comparator is electrically connected, and the output terminal of the comparator is electrically connected to the second timing unit. When the shipping pin is connected to the first signal, the second switch unit is turned on, and the second switch unit is turned on. The generation of the shipping control signal is triggered when the duration of the high level received by the timing unit is greater than or equal to the third predetermined time period.
可选的,所述唤醒单元为充电检测单元。Optionally, the wake-up unit is a charge detection unit.
可选的,当充电检测单元检测到充电信号时,所述片上系统退出船运模式。Optionally, when the charging detection unit detects a charging signal, the system-on-chip exits the shipping mode.
可选的,所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。Optionally, at least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
可选的,当所述片上系统进入船运模式时所述片上系统除唤醒单元之外的电路均被停止供电。Optionally, when the system-on-chip enters the shipping mode, all circuits of the system-on-chip except the wake-up unit are powered off.
可选的,所述第一开关单元包括MOS管。Optionally, the first switch unit includes a MOS transistor.
本申请实施例第二方面提供了一种电池组件,包括:A second aspect of the embodiments of the present application provides a battery assembly, including:
电池;Battery;
上述的片上系统,其中,所述片上系统的电源供电引脚、电源接地引脚分别与电池电连接。In the above system-on-chip, wherein the power supply pin and the power ground pin of the system-on-chip are respectively electrically connected to the battery.
可选的,所述电池的容量为10mAH-80mAH。Optionally, the capacity of the battery is 10mAH-80mAH.
本申请实施例第三方面提供了一种电子装置,包括:A third aspect of the embodiments of the present application provides an electronic device, including:
上述的电池组件;The above-mentioned battery assembly;
系统电路,其中,所述电池经由所述片上系统控制向所述系统电路供电。a system circuit, wherein the battery supplies power to the system circuit via the system-on-chip control.
可选的,所述电子装置为蓝牙耳机。Optionally, the electronic device is a Bluetooth headset.
本申请实施例第四方面提供了一种片上系统,包括:电源供电引脚、电源接地引脚、过放电压保护单元、控制单元、唤醒单元、第一开关单元,其中,所述电源供电引脚和电源接地引脚分别用于与电池电连接,所述第一开关单元用于控制电池供电给系统电路;A fourth aspect of the embodiments of the present application provides a system-on-chip, including: a power supply pin, a power supply ground pin, an overdischarge voltage protection unit, a control unit, a wake-up unit, and a first switch unit, wherein the power supply lead The pin and the power ground pin are respectively used for electrical connection with the battery, and the first switch unit is used for controlling the battery to supply power to the system circuit;
其中,所述电源供电引脚还用于与系统电路的船运输出端电连接,当电源供电引脚由于船运输出端信号的改变而导致其接收到的电压信号发生改变时所述片上系统进入船运模式,在船运模式时所述第一开关单元断开以使电池停止向系统电路供电且所述片上系统至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述片上系统退出船运模式。Wherein, the power supply pin is also used for electrical connection with the shipping outlet of the system circuit. When the voltage signal received by the power supply pin changes due to the change of the shipping output signal, the system-on-chip Entering a shipping mode, in which the first switch unit is turned off to stop the battery from supplying power to the system circuit and at least part of the system-on-chip units are powered off, and in the shipping mode the wake-up unit is powered , the wake-up unit is used to make the system-on-chip exit the shipping mode.
可选的,当电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统进入船运模式。Optionally, when the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to a first predetermined number, the system-on-chip enters the shipping mode.
可选的,所述片上系统还包括脉冲计数单元,所述脉冲计数单元与所述电源供电引脚电连接,当所述脉冲计数单元确认电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统进入船运模式。Optionally, the system-on-chip further includes a pulse counting unit, which is electrically connected to the power supply pin, and when the pulse counting unit confirms the number of pulses received by the power supply pin within a predetermined period of time. The system-on-chip enters the shipping mode when the number is greater than or equal to the first predetermined number.
可选的,所述过放电压保护单元包括比较器,所述片上系统还包括第三开关单元和第三电阻,所述第三开关单元的控制端与所述脉冲计数单元的输出端电连接, 所述第三开关单元的输入端接地,所述第三开关单元的输出端与第三电阻的一端电连接,所述第三电阻的另一端接高电平,所述第三开关单元的输出端还与所述比较器的反向端电连接,当所述脉冲计数单元确认电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时输出控制信号以使所述第三开关单元导通,所述比较器的输出信号发生改变以控制片上系统进入船运模式,且在船运模式时所述片上系统除唤醒单元之外的单元均被停止供电。Optionally, the over-discharge voltage protection unit includes a comparator, the system-on-chip further includes a third switch unit and a third resistor, and the control terminal of the third switch unit is electrically connected to the output terminal of the pulse counting unit. , the input end of the third switch unit is grounded, the output end of the third switch unit is electrically connected to one end of the third resistor, the other end of the third resistor is connected to a high level, and the output end of the third switch unit is electrically connected to one end of the third resistor. The output terminal is also electrically connected to the reverse terminal of the comparator, and when the pulse counting unit confirms that the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to the first predetermined number, a control signal is output to make all The third switch unit is turned on, the output signal of the comparator is changed to control the system on chip to enter the shipping mode, and in the shipping mode, all units of the system on chip except the wake-up unit are powered off.
可选的,当电源供电引脚由于船运输出端所在支路的分压而导致其接收到的电压信号低于预设阈值电压时所述片上系统进入船运模式。Optionally, the system-on-chip enters the shipping mode when the voltage signal received by the power supply pin is lower than a preset threshold voltage due to the voltage division of the branch where the shipping outlet is located.
可选的,所述过放电压保护单元与所述电源供电引脚电连接,当电源供电引脚的电压信号低于阈值电压时所述放电保护单元控制片上系统进入船运模式,在船运模式时所述第一开关单元断开且所述片上系统除唤醒单元之外的单元均被停止供电。Optionally, the over-discharge voltage protection unit is electrically connected to the power supply pin, and when the voltage signal of the power supply pin is lower than the threshold voltage, the discharge protection unit controls the system-on-chip to enter the shipping mode, and is in shipping mode. In the mode, the first switch unit is turned off, and all units of the system-on-chip except the wake-up unit are powered off.
可选的,所述唤醒单元为充电检测单元。Optionally, the wake-up unit is a charge detection unit.
可选的,当充电检测单元检测到充电信号时,所述片上系统退出船运模式。Optionally, when the charging detection unit detects a charging signal, the system-on-chip exits the shipping mode.
可选的,所述片上系统还包括过充电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元,在船运模式时所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。Optionally, the system-on-chip further includes an overcharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, and a frequency generation unit. In the shipping mode, the overcharge voltage protection unit, the overdischarge voltage protection unit, At least one of the discharge overcurrent protection unit, the control unit, the reference voltage generating unit and the frequency generating unit is stopped from supplying power.
可选的,在船运模式时所述片上系统除唤醒单元之外的单元均被停止供电。Optionally, in the shipping mode, all units of the system-on-chip except the wake-up unit are powered off.
可选的,所述第一开关单元包括MOS管。Optionally, the first switch unit includes a MOS transistor.
本申请实施例第五方面提供了一种电池组件,包括:A fifth aspect of the embodiments of the present application provides a battery assembly, including:
电池;Battery;
上述的片上系统,其中,所述片上系统的电源供电引脚、电源接地引脚分别与电池电连接。In the above system-on-chip, wherein the power supply pin and the power ground pin of the system-on-chip are respectively electrically connected to the battery.
可选的,所述电池的容量为10mAH-80mAH。Optionally, the capacity of the battery is 10mAH-80mAH.
本申请实施例第六方面提供了一种电子装置,包括:A sixth aspect of the embodiments of the present application provides an electronic device, including:
上述的电池组件;The above-mentioned battery assembly;
系统电路,其中,所述电池经由所述片上系统控制向所述系统电路供电。a system circuit, wherein the battery supplies power to the system circuit via the system-on-chip control.
可选的,所述电子装置为蓝牙耳机。Optionally, the electronic device is a Bluetooth headset.
可选的,所述系统电路的船运输出端经由第二电阻与所述片上系统的电源供电引脚电连接,所述船运输出端在输出使所述片上系统进入船运模式的信号之外的时间呈高阻态。Optionally, the shipping output terminal of the system circuit is electrically connected to the power supply pin of the system-on-chip via a second resistor, and the shipping output terminal is in the middle of outputting a signal that causes the system-on-chip to enter the shipping mode. Outside the time is high resistance state.
本申请实施例第七方面提供了一种电池保护电路,包括:电源供电端、电源接地端、过充电压保护单元、过放电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元、控制单元、第一开关单元,其中,所述电源供电端和电源接地端分别用于与电池电连接,所述第一开关单元用于控制电池供电给系统电路;A seventh aspect of an embodiment of the present application provides a battery protection circuit, including: a power supply terminal, a power ground terminal, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, and a frequency generation unit. a unit, a control unit, and a first switch unit, wherein the power supply terminal and the power ground terminal are respectively used for electrical connection with the battery, and the first switch unit is used to control the battery to supply power to the system circuit;
其中,所述电池保护电路还包括船运输入端,当船运输入端接收到第一信号时所述电池保护电路进入船运模式,在船运模式时所述电池保护电路至少部分单元被停止供电。Wherein, the battery protection circuit further includes a shipping input terminal, when the shipping input terminal receives the first signal, the battery protection circuit enters the shipping mode, and at least some units of the battery protection circuit are stopped in the shipping mode powered by.
可选的,在船运模式时所述第一开关单元断开以使电池停止向系统电路供电。Optionally, in the shipping mode, the first switch unit is turned off to stop the battery from supplying power to the system circuit.
可选的,所述电池保护电路还包括唤醒单元,在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述电池保护电路退出船运模式。Optionally, the battery protection circuit further includes a wake-up unit, the wake-up unit is powered in the shipping mode, and the wake-up unit is configured to make the battery protection circuit exit the shipping mode.
可选的,当船运输入端接收到第一信号时触发所述电池保护电路产生船运控制信号以进入船运模式。Optionally, when the shipping input terminal receives the first signal, the battery protection circuit is triggered to generate a shipping control signal to enter the shipping mode.
可选的,所述第一信号为电池保护电路与系统电路进行协议的编码信号。Optionally, the first signal is an encoded signal that the battery protection circuit and the system circuit perform an agreement on.
可选的,所述第一信号包括脉冲信号,所述电池保护电路还包括脉冲计数单元,所述脉冲计数单元与所述船运输入端电连接,当脉冲计数单元在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时触发产生船运控制信号。Optionally, the first signal includes a pulse signal, the battery protection circuit further includes a pulse counting unit, the pulse counting unit is electrically connected to the shipping input end, when the pulse counting unit is within a first predetermined time period When the number of received pulses is greater than or equal to the first predetermined number, the generation of the shipping control signal is triggered.
可选的,所述第一信号包括持续的高电平信号或持续的低电平信号,所述电池保护电路还包括第一计时单元,所述第一计时单元与所述船运输入端电连接,当第一计时单元接收到的高电平信号或低电平信号持续时间大于或等于第二预定时间段时触发产生船运控制信号。Optionally, the first signal includes a continuous high-level signal or a continuous low-level signal, the battery protection circuit further includes a first timing unit, and the first timing unit is electrically connected to the shipping input terminal. connected, when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, triggering the generation of a shipping control signal.
可选的,所述过放电压保护单元包括比较器和第二计时单元,所述比较器的输出端与第二计时器电连接,所述第一信号为持续的高电平信号或持续的低电平信号,所述电池保护电路还包括第二开关单元和第一电阻,所述第二开关单元的控制端与所述船运引脚电连接,所述第二开关单元的输入端接地,所述第二开关单元的输出端与第一电阻的一端电连接,所述第一电阻的另一端接高电平,所述第二开关单元的输出端还与所述过放电压保护单元的比较器的反向端电连接,所述比较器的输出端与第二计时单元电连接,当所述船运引脚接到第一信号时所述第二开关单元导通,所述第二计时单元接收到的高电平持续时间大于或等于第三预定时间段时触发产生船运控制信号。Optionally, the over-discharge voltage protection unit includes a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal is a continuous high-level signal or a continuous high-level signal. a low-level signal, the battery protection circuit further includes a second switch unit and a first resistor, the control end of the second switch unit is electrically connected to the shipping pin, and the input end of the second switch unit is grounded , the output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit is also connected to the overdischarge voltage protection unit The reverse end of the comparator is electrically connected, and the output end of the comparator is electrically connected to the second timing unit. When the shipping pin is connected to the first signal, the second switch unit is turned on, and the second switch unit is turned on. When the duration of the high level received by the second timing unit is greater than or equal to the third predetermined time period, the shipping control signal is triggered.
可选的,所述唤醒单元为充电检测单元。Optionally, the wake-up unit is a charge detection unit.
可选的,当充电检测单元检测到充电信号时,所述电池保护电路退出船运模式。Optionally, when the charging detection unit detects a charging signal, the battery protection circuit exits the shipping mode.
可选的,所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。Optionally, at least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
可选的,当所述电池保护电路进入船运模式时所述电池保护电路除唤醒单元之外的电路均被停止供电。Optionally, when the battery protection circuit enters the shipping mode, all circuits of the battery protection circuit except the wake-up unit are stopped from supplying power.
可选的,所述第一开关单元包括MOS管。Optionally, the first switch unit includes a MOS transistor.
可选的,所述电池保护电路做在同一个芯片上,或者,所述电池保护电路除第一开关单元之外的单元均做在同一个芯片上。Optionally, the battery protection circuit is implemented on the same chip, or all units of the battery protection circuit except the first switch unit are implemented on the same chip.
本申请实施例第八方面提供了一种电池组件,包括:An eighth aspect of the embodiments of the present application provides a battery assembly, including:
电池;Battery;
上述的电池保护电路,其中,所述电池保护电路的电源供电端、电源接地端分别与电池电连接。In the above-mentioned battery protection circuit, the power supply terminal and the power ground terminal of the battery protection circuit are respectively electrically connected to the battery.
可选的,所述电池的容量为10mAH-80mAH。Optionally, the capacity of the battery is 10mAH-80mAH.
本申请实施例第九方面提供了一种电子装置,包括:A ninth aspect of the embodiments of the present application provides an electronic device, including:
上述的电池组件;The above-mentioned battery assembly;
系统电路,其中,所述电池经由所述电池保护电路控制向所述系统电路供电。A system circuit, wherein the battery is controlled to supply power to the system circuit via the battery protection circuit.
本申请实施例第十方面提供了一种片上系统,包括:电源供电引脚、电源接地引脚、过充电压保护单元、过放电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元、控制单元、唤醒单元、控制引脚,其中,所述电源供电引脚和电源接地引脚分别用于与电池电连接,所述控制引脚用于对第一开关单元进行控制,第一开关单元用于控制电池供电给系统电路;A tenth aspect of an embodiment of the present application provides a system-on-chip, including: a power supply pin, a power ground pin, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, a frequency A generation unit, a control unit, a wake-up unit, and a control pin, wherein the power supply pin and the power ground pin are respectively used for electrical connection with the battery, and the control pin is used to control the first switch unit, and the third A switch unit is used to control the battery to supply power to the system circuit;
其中,所述片上系统还包括船运引脚,当船运引脚接收到第一信号时所述片上系统进入船运模式,在船运模式时所述片上系统输出用于关断第一开关单元的控制信号给控制引脚以使电池停止向系统电路供电且所述片上系统至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述片上系统退出船运模式。Wherein, the system-on-chip further includes a shipping pin, when the shipping pin receives the first signal, the system-on-chip enters the shipping mode, and the system-on-chip output is used to turn off the first switch in the shipping mode The control signal of the unit is given to the control pin to make the battery stop supplying power to the system circuit and at least part of the system-on-chip units are stopped, and the wake-up unit is powered in the shipping mode, and the wake-up unit is used to make the The SoC exits shipping mode.
可选的,当船运引脚接收到第一信号时触发所述片上系统产生船运控制信号以进入船运模式。Optionally, when the shipping pin receives the first signal, the system-on-chip is triggered to generate a shipping control signal to enter the shipping mode.
可选的,所述第一信号为片上系统与系统电路进行协议的编码信号。Optionally, the first signal is an encoded signal that is agreed between the system on chip and the system circuit.
可选的,所述第一信号包括脉冲信号,所述片上系统还包括脉冲计数单元,所述脉冲计数单元与所述船运引脚电连接,当脉冲计数单元在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时触发产生船运控制信号。Optionally, the first signal includes a pulse signal, and the system-on-chip further includes a pulse counting unit, the pulse counting unit is electrically connected to the shipping pin, when the pulse counting unit receives the pulse signal within a first predetermined period of time. When the number of received pulses is greater than or equal to the first predetermined number, a shipping control signal is triggered.
可选的,所述第一信号包括持续的高电平信号或持续的低电平信号,所述片上系统还包括第一计时单元,所述第一计时单元与所述船运引脚电连接,当第一计时单元接收到的高电平信号或低电平信号持续时间大于或等于第二预定时间段时触发产生船运控制信号。Optionally, the first signal includes a continuous high-level signal or a continuous low-level signal, the system-on-chip further includes a first timing unit, and the first timing unit is electrically connected to the shipping pin. , when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, triggering the generation of the shipping control signal.
可选的,所述过放电压保护单元包括比较器和第二计时单元,所述比较器的输出端与第二计时器电连接,所述第一信号为持续的高电平信号或持续的低电平信号,所述片上系统还包括第二开关单元和第一电阻,所述第二开关单元的控制端与所述船运引脚电连接,所述第二开关单元的输入端接地,所述第二开关单元的输出端与第一电阻的一端电连接,所述第一电阻的另一端接高电平,所述第二开关单元的输出端还与所述过放电压保护单元的比较器的反向端电连接,所述比较器的输出端与第二计时单元电连接,当所述船运引脚接到第一信号时所述第二开关单元导通,所述第二计时单元接收到的高电平持续时间大于或等于第三预定时间段时触发产生船运控制信号。Optionally, the over-discharge voltage protection unit includes a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal is a continuous high-level signal or a continuous high-level signal. a low-level signal, the system-on-chip further includes a second switch unit and a first resistor, the control end of the second switch unit is electrically connected to the shipping pin, and the input end of the second switch unit is grounded, The output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit is also connected to the overdischarge voltage protection unit. The reverse terminal of the comparator is electrically connected, and the output terminal of the comparator is electrically connected to the second timing unit. When the shipping pin is connected to the first signal, the second switch unit is turned on, and the second switch unit is turned on. The generation of the shipping control signal is triggered when the duration of the high level received by the timing unit is greater than or equal to the third predetermined time period.
可选的,所述唤醒单元为充电检测单元。Optionally, the wake-up unit is a charge detection unit.
可选的,当充电检测单元检测到充电信号时,所述片上系统退出船运模式。Optionally, when the charging detection unit detects a charging signal, the system-on-chip exits the shipping mode.
可选的,所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。Optionally, at least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
可选的,当所述片上系统进入船运模式时所述片上系统除唤醒单元之外的电路均被停止供电。Optionally, when the system-on-chip enters the shipping mode, all circuits of the system-on-chip except the wake-up unit are powered off.
可选的,所述第一开关单元包括MOS管。Optionally, the first switch unit includes a MOS transistor.
本申请实施例第十一方面提供了一种电池组件,包括:An eleventh aspect of the embodiments of the present application provides a battery assembly, including:
电池;Battery;
上述的片上系统,其中,所述片上系统的电源供电引脚、电源接地引脚分别与电池电连接;The above-mentioned system-on-chip, wherein the power supply pin and the power supply ground pin of the system-on-chip are respectively electrically connected to the battery;
第一开关单元,其与所述片上系统的控制引脚电连接,所述第一开关单元的输入端与电池电连接,所述第一开关单元的输出端用于与系统电路电连接。The first switch unit is electrically connected to the control pin of the system-on-chip, the input end of the first switch unit is electrically connected to the battery, and the output end of the first switch unit is used for electrical connection with the system circuit.
可选的,所述电池的容量为10mAH-80mAH。Optionally, the capacity of the battery is 10mAH-80mAH.
本申请实施例第十二方面提供了一种电子装置,包括:A twelfth aspect of the embodiments of the present application provides an electronic device, including:
上述的电池组件;The above-mentioned battery assembly;
系统电路,其中,所述电池经由所述片上系统控制向所述系统电路供电。a system circuit, wherein the battery supplies power to the system circuit via the system-on-chip control.
可选的,所述电子装置为蓝牙耳机。Optionally, the electronic device is a Bluetooth headset.
本申请实施例第十三方面提供了一种片上系统,包括:电源供电引脚、电源接地引脚、过放电压保护单元、控制单元、唤醒单元、控制引脚,其中,所述电源供电引脚和电源接地引脚分别用于与电池电连接,所述控制引脚用于对第一开关单元进行控制,第一开关单元用于控制电池供电给系统电路;A thirteenth aspect of an embodiment of the present application provides a system-on-chip, including: a power supply pin, a power ground pin, an overdischarge voltage protection unit, a control unit, a wake-up unit, and a control pin, wherein the power supply lead The pin and the power ground pin are respectively used for electrical connection with the battery, the control pin is used to control the first switch unit, and the first switch unit is used to control the battery to supply power to the system circuit;
其中,所述电源供电引脚还用于与系统电路的船运输出端电连接,当电源供电引脚由于船运输出端信号的改变而导致其接收到的电压信号发生改变时所述片上系统进入船运模式,在船运模式时所述片上系统输出用于关断第一开关单元的控制信号给控制引脚以使电池停止向系统电路供电且所述片上系统至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述片上系统退出船运模式。Wherein, the power supply pin is also used for electrical connection with the shipping outlet of the system circuit. When the voltage signal received by the power supply pin changes due to the change of the shipping output signal, the system-on-chip Entering the shipping mode, in the shipping mode, the system-on-chip outputs a control signal for turning off the first switch unit to the control pin, so that the battery stops supplying power to the system circuit and at least some units of the system-on-chip are powered off, And in the shipping mode, the wake-up unit is powered, and the wake-up unit is used to make the system on chip exit the shipping mode.
可选的,当电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统进入船运模式。Optionally, when the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to a first predetermined number, the system-on-chip enters the shipping mode.
可选的,所述片上系统还包括脉冲计数单元,所述脉冲计数单元与所述电源供电引脚电连接,当所述脉冲计数单元确认电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统进入船运模式。Optionally, the system-on-chip also includes a pulse counting unit, which is electrically connected to the power supply pin, and when the pulse counting unit confirms the number of pulses received by the power supply pin within a predetermined period of time. The system-on-chip enters the shipping mode when the number is greater than or equal to the first predetermined number.
可选的,所述过放电压保护单元包括比较器,所述片上系统还包括第三开关单元和第三电阻,所述第三开关单元的控制端与所述脉冲计数单元的输出端电连接,所述第三开关单元的输入端接地,所述第三开关单元的输出端与第三电阻的一端电连接,所述第三电阻的另一端接高电平,所述第三开关单元的输出端还与所述比较器的反向端电连接,当所述脉冲计数单元确认电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时输出控制信号以使所述第三开关单元导通,所述比较器的输出信号发生改变以控制片上系统进入船运模式,且在船运模式时所述片上系统除唤醒单元之外的单元均被停止供电。Optionally, the over-discharge voltage protection unit includes a comparator, the system-on-chip further includes a third switch unit and a third resistor, and the control terminal of the third switch unit is electrically connected to the output terminal of the pulse counting unit. , the input end of the third switch unit is grounded, the output end of the third switch unit is electrically connected to one end of the third resistor, the other end of the third resistor is connected to a high level, and the output end of the third switch unit is electrically connected to one end of the third resistor. The output terminal is also electrically connected to the reverse terminal of the comparator, and when the pulse counting unit confirms that the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to the first predetermined number, a control signal is output to make all The third switch unit is turned on, the output signal of the comparator is changed to control the system on chip to enter the shipping mode, and in the shipping mode, all units of the system on chip except the wake-up unit are powered off.
可选的,当电源供电引脚由于船运输出端所在支路的分压而导致其接收到的电压信号低于预设阈值电压时所述片上系统进入船运模式。Optionally, the system-on-chip enters the shipping mode when the voltage signal received by the power supply pin is lower than a preset threshold voltage due to the voltage division of the branch where the shipping outlet is located.
可选的,所述过放电压保护单元与所述电源供电引脚电连接,当电源供电引脚的电压信号低于阈值电压时所述放电保护单元控制片上系统进入船运模式,在船运模式时所述第一开关单元断开且所述片上系统除唤醒单元之外的单元均被停止供电。Optionally, the over-discharge voltage protection unit is electrically connected to the power supply pin, and when the voltage signal of the power supply pin is lower than the threshold voltage, the discharge protection unit controls the system-on-chip to enter the shipping mode, and is in shipping mode. In the mode, the first switch unit is turned off, and all units of the system-on-chip except the wake-up unit are powered off.
可选的,所述唤醒单元为充电检测单元。Optionally, the wake-up unit is a charge detection unit.
可选的,当充电检测单元检测到充电信号时,所述片上系统退出船运模式。Optionally, when the charging detection unit detects a charging signal, the system-on-chip exits the shipping mode.
可选的,所述片上系统还包括过充电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元,在船运模式时所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。Optionally, the system-on-chip further includes an overcharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, and a frequency generation unit. In the shipping mode, the overcharge voltage protection unit, the overdischarge voltage protection unit, At least one of the discharge overcurrent protection unit, the control unit, the reference voltage generating unit and the frequency generating unit is stopped from supplying power.
可选的,在船运模式时所述片上系统除唤醒单元之外的单元均被停止供电。Optionally, in the shipping mode, all units of the system-on-chip except the wake-up unit are powered off.
可选的,所述第一开关单元包括MOS管。Optionally, the first switch unit includes a MOS transistor.
本申请实施例第十四方面提供了一种电池组件,包括:A fourteenth aspect of the embodiments of the present application provides a battery assembly, including:
电池;Battery;
上述的片上系统,其中,所述片上系统的电源供电引脚、电源接地引脚分别与电池电连接;The above-mentioned system-on-chip, wherein the power supply pin and the power supply ground pin of the system-on-chip are respectively electrically connected to the battery;
第一开关单元,其与所述片上系统的控制引脚电连接,所述第一开关单元的输入端与电池电连接,所述第一开关单元的输出端用于与系统电路电连接。The first switch unit is electrically connected to the control pin of the system-on-chip, the input end of the first switch unit is electrically connected to the battery, and the output end of the first switch unit is used for electrical connection with the system circuit.
可选的,所述电池的容量为10mAH-80mAH。Optionally, the capacity of the battery is 10mAH-80mAH.
本申请实施例第十五方面提供了一种电子装置,包括:A fifteenth aspect of the embodiments of the present application provides an electronic device, including:
上述的电池组件;The above-mentioned battery assembly;
系统电路,其中,所述电池经由所述片上系统控制向所述系统电路供电。a system circuit, wherein the battery supplies power to the system circuit via the system-on-chip control.
可选的,所述电子装置为蓝牙耳机。Optionally, the electronic device is a Bluetooth headset.
可选的,所述系统电路的船运输出端经由第二电阻与所述片上系统的电源供电引脚电连接,所述船运输出端在输出使所述片上系统进入船运模式的信号之外的时间呈高阻态。Optionally, the shipping output terminal of the system circuit is electrically connected to the power supply pin of the system-on-chip via a second resistor, and the shipping output terminal is in the middle of outputting a signal that causes the system-on-chip to enter the shipping mode. Outside the time is high resistance state.
本申请实施例第十六方面提供了一种电池保护电路,包括:电源供电端、电源接地端、过放电压保护单元、控制单元、第一电阻、第一开关单元、第一测试焊点和第二测试焊点,其中,所述电源供电端和电源接地端分别用于与电池电连接,所述过放电压保护单元与控制单元电连接,所述第一电阻的输入端与电池电连接,所述第一电阻的输出端与电源供电端电连接,所述第一开关单元用于控制电池供电给系统电路;A sixteenth aspect of the embodiments of the present application provides a battery protection circuit, including: a power supply terminal, a power ground terminal, an overdischarge voltage protection unit, a control unit, a first resistor, a first switch unit, a first test solder joint, and The second test solder joint, wherein the power supply terminal and the power ground terminal are respectively used for electrical connection with the battery, the over-discharge voltage protection unit is electrically connected with the control unit, and the input terminal of the first resistor is electrically connected with the battery , the output end of the first resistor is electrically connected to the power supply end of the power supply, and the first switch unit is used to control the battery to supply power to the system circuit;
其中,所述第一测试焊点与电源供电端电连接,所述第二测试焊点电接地,所述第一测试焊点和第二测试焊点用于与测试单元电连接,当第一测试焊点和第二测试焊点用于与测试单元电连接时所述第一测试焊点和所述第二测试焊点导通而导致电源供电端接收到的电压信号低于预设阈值电压,以使所述电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开以使电池停止向系统电路供电,且电池保护电路至少部分电路被停止供电。The first test pad is electrically connected to the power supply terminal, the second test pad is electrically grounded, and the first test pad and the second test pad are used for electrical connection with the test unit. When the test pad and the second test pad are used for electrical connection with the test unit, the first test pad and the second test pad are turned on, so that the voltage signal received by the power supply terminal is lower than the preset threshold voltage , so that the battery protection circuit enters a sleep mode, in which the first switch unit is turned off to stop the battery supplying power to the system circuit, and at least part of the battery protection circuit is stopped from supplying power.
可选的,所述电池保护电路还包括唤醒单元,在休眠模式时所述唤醒单元被供电,所述唤醒单元用于使所述电池保护电路退出休眠模式。Optionally, the battery protection circuit further includes a wake-up unit, the wake-up unit is powered in the sleep mode, and the wake-up unit is configured to make the battery protection circuit exit the sleep mode.
可选的,所述第一测试焊点与电源供电端直接电连接;或者第一测试焊点与电源供电端之间设置第二电阻间接电连接。Optionally, the first test pad is directly electrically connected to the power supply terminal of the power supply; or a second resistance is set between the first test pad and the power supply terminal to be indirectly electrically connected.
可选的,所述第二测试焊点直接接地;或者第二测试焊点与接地之间设置第二电阻间接电连接。Optionally, the second test pad is directly grounded; or a second resistance indirect electrical connection is set between the second test pad and the ground.
可选的,所述过放电压保护单元与所述电源供电端电连接,当电源供电端的电压信号低于阈值电压时所述放电保护单元控制电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开,且所述且电池保护电路至少部分电路被停止供电。Optionally, the over-discharge voltage protection unit is electrically connected to the power supply terminal. When the voltage signal of the power supply terminal is lower than the threshold voltage, the discharge protection unit controls the battery protection circuit to enter the sleep mode. The first switch unit is turned off, and at least part of the battery protection circuit is stopped from supplying power.
可选的,所述唤醒单元为充电检测单元。当充电检测单元检测到充电信号时,所述电池保护电路退出休眠模式。Optionally, the wake-up unit is a charge detection unit. When the charging detection unit detects the charging signal, the battery protection circuit exits the sleep mode.
可选的,所述电池保护电路还包括过充电压保护单元、放电过流保护单元、基准电压产生单元和频率产生单元,其中,在休眠模式时所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。Optionally, the battery protection circuit further includes an overcharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit and a frequency generation unit, wherein in the sleep mode, the overcharge voltage protection unit, the overdischarge voltage protection unit At least one of the unit, the discharge overcurrent protection unit, the control unit, the reference voltage generating unit and the frequency generating unit is powered off.
可选的,当所述电池保护电路进入休眠模式时所述电池保护电路除唤醒单元之外的电路均被停止供电。Optionally, when the battery protection circuit enters the sleep mode, all circuits of the battery protection circuit except the wake-up unit are stopped from supplying power.
可选的,所述第一开关单元包括MOS管。Optionally, the first switch unit includes a MOS transistor.
可选的,所述电池保护电路做在同一个芯片上,或者,所述电池保护电路除第一开关单元之外的单元均做在同一个芯片上。Optionally, the battery protection circuit is implemented on the same chip, or all units of the battery protection circuit except the first switch unit are implemented on the same chip.
本申请实施例第十七方面提供了一种电池组件,包括:A seventeenth aspect of the embodiments of the present application provides a battery assembly, including:
电池;Battery;
上述的电池保护电路,其中,所述电池保护电路的电源供电端、电源接地端分 别与电池电连接。In the above-mentioned battery protection circuit, the power supply terminal and the power ground terminal of the battery protection circuit are respectively electrically connected to the battery.
可选的,所述电池的容量为10mAH-80mAH。Optionally, the capacity of the battery is 10mAH-80mAH.
本申请实施例第十八方面提供了一种测试子系统,包括:An eighteenth aspect of the embodiments of the present application provides a testing subsystem, including:
上述的电池保护电路;The above-mentioned battery protection circuit;
测试单元,其两端用于与所述第一测试焊点、第二测试焊点电连接,当所述测试单元两端与所述第一测试焊点、第二测试焊点电连接时所述第一测试焊点和所述第二测试焊点导通而导致所述电池保护电路的电源供电端接收到的电压信号低于预设阈值电压,以使所述电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开以使电池停止向系统电路供电,且电池保护电路至少部分电路被停止供电。The two ends of the test unit are used for electrical connection with the first test pad and the second test pad, when the two ends of the test unit are electrically connected with the first test pad and the second test pad. The first test pad and the second test pad are turned on, so that the voltage signal received by the power supply end of the battery protection circuit is lower than a preset threshold voltage, so that the battery protection circuit enters a sleep mode, In the sleep mode, the first switch unit is turned off to stop the battery from supplying power to the system circuit, and at least part of the battery protection circuit is stopped from supplying power.
可选的,所述测试单元为导线,在第一测试焊点与电源供电端之间设置第二电阻。Optionally, the test unit is a wire, and a second resistance is provided between the first test pad and the power supply terminal.
可选的,所述测试单元为导线,在第二测试焊点与接地之间设置第二电阻。Optionally, the test unit is a wire, and a second resistance is set between the second test pad and the ground.
可选的,所述测试单元为导线和第二电阻,在第一测试焊点与第二测试点之间设置第二电阻。Optionally, the test unit is a wire and a second resistor, and a second resistor is set between the first test pad and the second test point.
本申请实施例第十九方面提供了一种测试系统,包括:A nineteenth aspect of the embodiments of the present application provides a testing system, including:
电池,Battery,
上述的测试子系统,其中,所述测试子系统中的电池保护电路的电源供电端、电源接地端分别与电池电连接。In the above test subsystem, the power supply terminal and the power ground terminal of the battery protection circuit in the test subsystem are respectively electrically connected to the battery.
可选的,所述电池的容量为10mAH-80mAH。Optionally, the capacity of the battery is 10mAH-80mAH.
本申请实施例第二十方面提供了一种电子装置,包括:A twentieth aspect of an embodiment of the present application provides an electronic device, including:
上述的电池组件;The above-mentioned battery assembly;
系统电路,其中,所述电池经由所述电池保护电路控制向所述系统电路供电。A system circuit, wherein the battery is controlled to supply power to the system circuit via the battery protection circuit.
本申请实施例第二十一方面提供了一种蓝牙耳机,包括:A twenty-first aspect of the embodiments of the present application provides a Bluetooth headset, including:
系统电路;system circuit;
电池,其容量为10mAH-80mAH;Battery, its capacity is 10mAH-80mAH;
电池保护电路,其包括:电源供电端、电源接地端、过充电压保护单元、过放电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元、控制单元、第一开关单元,其中,所述电源供电端和电源接地端分别与电池电连接,所述第一开关单元用于控制电池供电给系统电路;A battery protection circuit includes: a power supply terminal, a power ground terminal, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, a frequency generation unit, a control unit, and a first switch unit, Wherein, the power supply terminal and the power ground terminal are respectively electrically connected to the battery, and the first switch unit is used to control the battery to supply power to the system circuit;
其中,所述系统电路与所述电池保护电路电连接,当系统电路向电池保护电路输出第一信号时所述电池保护电路进入船运模式,在船运模式时所述第一开关单元断开以使电池停止向系统电路供电。The system circuit is electrically connected to the battery protection circuit, the battery protection circuit enters a shipping mode when the system circuit outputs a first signal to the battery protection circuit, and the first switch unit is disconnected in the shipping mode to stop the battery supplying power to the system circuits.
可选的,所述电池保护电路包括船运输入端,所述船运输入端与所述系统电路电连接,所述系统电路通过船运输入端输出第一信号。Optionally, the battery protection circuit includes a shipping input terminal, the shipping input terminal is electrically connected to the system circuit, and the system circuit outputs the first signal through the shipping input terminal.
可选的,所述电池保护电路还包括唤醒单元,在船运模式时所述电池保护电路至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述电池保护电路退出船运模式。Optionally, the battery protection circuit further includes a wake-up unit, at least some units of the battery protection circuit are powered off in the shipping mode, and the wake-up unit is powered on in the shipping mode, and the wake-up unit is used for Take the battery protection circuit out of shipping mode.
可选的,所述唤醒单元为充电检测单元。Optionally, the wake-up unit is a charge detection unit.
可选的,当充电检测单元检测到充电信号时,所述电池保护电路退出船运模式。Optionally, when the charging detection unit detects a charging signal, the battery protection circuit exits the shipping mode.
可选的,所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。Optionally, at least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
可选的,当所述电池保护电路进入船运模式时所述电池保护电路除唤醒单元之外的电路均被停止供电。Optionally, when the battery protection circuit enters the shipping mode, all circuits of the battery protection circuit except the wake-up unit are stopped from supplying power.
可选的,当电池保护电路接收到第一信号时触发所述电池保护电路产生船运控制信号以进入船运模式。Optionally, when the battery protection circuit receives the first signal, the battery protection circuit is triggered to generate a shipping control signal to enter the shipping mode.
可选的,所述第一信号为电池保护电路与系统电路进行协议的编码信号。Optionally, the first signal is an encoded signal that the battery protection circuit and the system circuit perform an agreement on.
可选的,所述第一信号包括脉冲信号,所述电池保护电路还包括脉冲计数单元,所述脉冲计数单元与所述船运输入端电连接,当脉冲计数单元在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时触发产生船运控制信号。Optionally, the first signal includes a pulse signal, the battery protection circuit further includes a pulse counting unit, the pulse counting unit is electrically connected to the shipping input end, when the pulse counting unit is within a first predetermined time period When the number of received pulses is greater than or equal to the first predetermined number, the generation of the shipping control signal is triggered.
可选的,所述第一信号包括持续的高电平信号或持续的低电平信号,所述电池保护电路还包括第一计时单元,所述第一计时单元与所述船运输入端电连接,当第一计时单元接收到的高电平信号或低电平信号持续时间大于或等于第二预定时间段时触发产生船运控制信号。Optionally, the first signal includes a continuous high-level signal or a continuous low-level signal, the battery protection circuit further includes a first timing unit, and the first timing unit is electrically connected to the shipping input terminal. connected, when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, triggering the generation of a shipping control signal.
可选的,所述过放电压保护单元包括比较器和第二计时单元,所述比较器的输出端与第二计时器电连接,所述第一信号为持续的高电平信号或持续的低电平信号,所述电池保护电路还包括第二开关单元和第一电阻,所述第二开关单元的控制端与所述船运引脚电连接,所述第二开关单元的输入端接地,所述第二开关单元的输出端与第一电阻的一端电连接,所述第一电阻的另一端接高电平,所述第二开关单元的输出端还与所述过放电压保护单元的比较器的反向端电连接,所述比较器的输出端与第二计时单元电连接,当所述船运引脚接到第一信号时所述第二开关单元导通,所述第二计时单元接收到的高电平持续时间大于或等于第三预定时间段时触发产生船运控制信号。Optionally, the over-discharge voltage protection unit includes a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal is a continuous high-level signal or a continuous high-level signal. a low-level signal, the battery protection circuit further includes a second switch unit and a first resistor, the control end of the second switch unit is electrically connected to the shipping pin, and the input end of the second switch unit is grounded , the output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit is also connected to the overdischarge voltage protection unit The reverse end of the comparator is electrically connected, and the output end of the comparator is electrically connected to the second timing unit. When the shipping pin is connected to the first signal, the second switch unit is turned on, and the second switch unit is turned on. When the duration of the high level received by the second timing unit is greater than or equal to the third predetermined time period, the shipping control signal is triggered.
可选的,所述第一开关单元包括MOS管。Optionally, the first switch unit includes a MOS transistor.
可选的,所述电池保护电路做在同一个芯片上,或者,所述电池保护电路除第一开关单元之外的单元均做在同一个芯片上。Optionally, the battery protection circuit is implemented on the same chip, or all units of the battery protection circuit except the first switch unit are implemented on the same chip.
本申请实施例第二十二方面提供了一种电子设备的船运模式设置方法,所述方法包括:A twenty-second aspect of an embodiment of the present application provides a method for setting a shipping mode of an electronic device, the method comprising:
接收上位机发送的进入船运模式的船运指令;Receive the shipping instruction sent by the host computer to enter the shipping mode;
向所述上位机发送船运模式反馈指令;sending a shipping mode feedback command to the host computer;
其中,所述船运模式反馈指令为进入船运模式成功的有效应答指令或者进入船运模式失败的失效应答指令。Wherein, the shipping mode feedback command is a valid response command for successfully entering the shipping mode or an invalid response command for failing to enter the shipping mode.
可选的,所述电子设备包括主控模块和与所述主控模块电连接的电池保护模块,Optionally, the electronic device includes a main control module and a battery protection module electrically connected to the main control module,
所述接收上位机发送的进入船运模式的船运指令的步骤具体包括:The step of receiving the shipping instruction to enter the shipping mode sent by the host computer specifically includes:
所述主控模块接收上位机发送的进入船运模式的船运指令;The main control module receives the shipping instruction to enter the shipping mode sent by the host computer;
所述电池保护模块接收所述主控模块发送的所述船运指令;The battery protection module receives the shipping instruction sent by the main control module;
所述向所述上位机发送船运模式反馈指令的步骤具体包括:The step of sending the shipping mode feedback command to the host computer specifically includes:
若预设时间内收到所述电池保护模块发送的船运确认信号,所述主控模块发送所述有效应答指令至所述上位机;If the shipping confirmation signal sent by the battery protection module is received within a preset time, the main control module sends the valid response command to the upper computer;
若预设时间内未收到所述电池保护模块发送的船运确认信号,所述主控模块发送所述失效应答指令至所述上位机。If the shipping confirmation signal sent by the battery protection module is not received within a preset time, the main control module sends the failure response command to the upper computer.
可选的,所述电子设备为tws耳机,所述tws耳机包括耳机本体和用于容纳所述耳机本体的耳机仓,所述主控模块和所述电池保护模块设于所述耳机本体内;Optionally, the electronic device is a tws earphone, the tws earphone includes an earphone body and an earphone compartment for accommodating the earphone body, and the main control module and the battery protection module are arranged in the earphone body;
所述主控模块接收上位机发送的进入船运模式的船运指令的步骤具体包括:The step of the main control module receiving the shipping instruction to enter the shipping mode sent by the host computer specifically includes:
所述耳机仓接收上位机发送的进入船运模式的船运指令;The earphone compartment receives the shipping instruction to enter the shipping mode sent by the host computer;
所述主控模块接收所述耳机仓发送的所述船运指令;The main control module receives the shipping instruction sent by the headset compartment;
所述主控模块发送所述有效应答指令至所述上位机的步骤具体包括:The step of the main control module sending the effective response command to the host computer specifically includes:
所述主控模块发送所述有效应答指令至所述耳机仓;The main control module sends the effective response command to the headset compartment;
所述耳机仓发送所述有效应答指令至所述上位机;The headset compartment sends the effective response command to the host computer;
所述主控模块发送所述失效应答指令至所述上位机的步骤具体包括:The step of the main control module sending the failure response command to the host computer specifically includes:
所述主控模块发送所述失效应答指令至所述耳机仓;The main control module sends the failure response command to the earphone compartment;
所述耳机仓发送所述失效应答指令至所述上位机。The earphone compartment sends the failure response command to the upper computer.
可选的,所述耳机仓发送所述有效应答指令至所述上位机的步骤之后还包括:Optionally, after the step of sending the effective response command to the host computer by the headset compartment, the step further includes:
进入船运模式。Enter shipping mode.
可选的,所述船运指令、所述船运模式反馈指令和所述船运确认信号分别为编码、脉冲或者电平形式。Optionally, the shipping instruction, the shipping mode feedback instruction and the shipping confirmation signal are respectively in the form of code, pulse or level.
本申请实施例第二十三方面提供了一种电子设备,所述电子设备包括相互耦接的处理器和存储器,所述处理器用于执行所述存储器中存储的程序指令,以实现上述的船运模式设置方法。A twenty-third aspect of an embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory coupled to each other, the processor is configured to execute program instructions stored in the memory, so as to implement the above-mentioned ship Operation mode setting method.
本申请实施例第二十四方面提供了一种计算机可读存储介质,其上存储有程序指令,所述程序指令被处理器执行时实现上述的船运模式设置方法。A twenty-fourth aspect of an embodiment of the present application provides a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the foregoing method for setting a shipping mode is implemented.
本申请实施例第二十五方面提供了一种电子设备,所述电子设备包括主控模块和电池保护模块,所述主控模块设置有输入输出引脚,所述电池保护模块设置有船运引脚,当所述主控模块接收到来自上位机的进入船运模式的船运指令时,所述船运指令由所述输入输出引脚传输至所述船运引脚,所述主控模块根据是否接收到来自所述船运引脚反馈的船运确认信号,向所述上位机发送船运模式反馈指令;其中,所述船运模式反馈指令为进入船运模式成功的有效应答指令或者进入船运模式失败的失效应答指令。A twenty-fifth aspect of an embodiment of the present application provides an electronic device, the electronic device includes a main control module and a battery protection module, the main control module is provided with input and output pins, and the battery protection module is provided with a shipping pin, when the main control module receives the shipping instruction from the host computer to enter the shipping mode, the shipping instruction is transmitted to the shipping pin by the input and output pins, and the master control The module sends a shipping mode feedback command to the host computer according to whether it receives a shipping confirmation signal fed back from the shipping pin; wherein, the shipping mode feedback command is an effective response command that successfully enters the shipping mode Or a fail-response command that fails to enter shipping mode.
可选的,所述输入输出引脚包括第一输入输出引脚和第二输入输出引脚,所述电池保护模块还设置有反馈引脚,所述船运指令由所述第一输入输出引脚传输至所述船运引脚,所述反馈指令由所述反馈引脚发送至所述第二输入输出引脚。Optionally, the input and output pins include a first input and output pin and a second input and output pin, the battery protection module is further provided with a feedback pin, and the shipping instructions are guided by the first input and output pins. The pin is transmitted to the shipping pin, and the feedback command is sent from the feedback pin to the second input and output pin.
可选的,所述电子设备为tws耳机。Optionally, the electronic device is a tws earphone.
实施本申请实施例,具有如下有益效果:由于所述片上系统还包括船运引脚,当船运引脚接收到第一信号时所述片上系统进入船运模式,在船运模式时所述第一开关单元断开以使电池停止向系统电路供电且所述片上系统至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述片上系统退出船运模式。在船运模式下,第一开关单元断开,从而电池不能向系统电路供电,可以大量节省电池的电量,而且,在船运模式下,片上系统至少部分单元被停止供电,从而电池只需要给片上系统的唤醒单元等少数电路单元继续供电,从而电池的电量消耗进一步得到减少,可降低电子装置的电流消耗,可以提升电池的电量保持时间,当用户拿到电子装置后,用户只需要操作唤醒单元使片上系统退出船运模式,电子装置开机即可以正常使用,提升了用户的体验。Implementing the embodiments of the present application has the following beneficial effects: since the system-on-chip further includes a shipping pin, when the shipping pin receives the first signal, the system-on-chip enters the shipping mode, and in the shipping mode, the The first switch unit is turned off so that the battery stops supplying power to the system circuit and at least some units of the system on chip are powered off, and the wake-up unit is powered in the shipping mode, the wake-up unit is used to enable the system on chip Exit shipping mode. In the shipping mode, the first switch unit is turned off, so that the battery cannot supply power to the system circuit, which can greatly save the power of the battery. Moreover, in the shipping mode, at least some units of the system-on-chip are powered off, so that the battery only needs to supply power to the system. A few circuit units such as the wake-up unit of the system-on-chip continue to supply power, so that the power consumption of the battery is further reduced, which can reduce the current consumption of the electronic device and improve the battery retention time. When the user gets the electronic device, the user only needs to operate the wake-up The unit enables the system-on-chip to exit the shipping mode, and the electronic device can be used normally when it is turned on, which improves the user experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动 的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请第一实施例的电子装置的电路模块示意图;1 is a schematic diagram of a circuit module of an electronic device according to a first embodiment of the present application;
图2是本申请第一实施例的另一实施例的电子装置的电路模块示意图;2 is a schematic diagram of a circuit module of an electronic device according to another embodiment of the first embodiment of the present application;
图3是本申请第一实施例的片上系统的电路模块示意图;3 is a schematic diagram of a circuit module of the system-on-chip according to the first embodiment of the present application;
图4是本申请第一实施例的片上系统的船运引脚接收第一信号时触发片上系统产生船运控制信号的一种实现方式的示意图;4 is a schematic diagram of an implementation of triggering the system-on-chip to generate a shipping control signal when the shipping pin of the system-on-chip according to the first embodiment of the present application receives the first signal;
图5是图4中船运引脚接收的信号和脉冲计数单元输出信号的波形图;Fig. 5 is the waveform diagram of the signal received by the shipping pin in Fig. 4 and the output signal of the pulse counting unit;
图6是本申请第一实施例的片上系统的船运引脚接收第一信号时触发片上系统产生船运控制信号的另一种实现方式的示意图;6 is a schematic diagram of another implementation manner of triggering the SoC to generate a shipping control signal when the shipping pin of the SoC according to the first embodiment of the present application receives the first signal;
图7是图6中船运引脚接收的信号和第一计时单元输出信号的波形图;Fig. 7 is the waveform diagram of the signal received by the shipping pin in Fig. 6 and the output signal of the first timing unit;
图8是本申请第一实施例的片上系统的船运引脚接收第一信号时触发片上系统产生船运控制信号的再一种实现方式的示意图;8 is a schematic diagram of yet another implementation manner of triggering the SoC to generate a shipping control signal when the shipping pin of the SoC according to the first embodiment of the present application receives the first signal;
图9是本申请第一实施例的船运引脚与过放电压保护单元的具体电路实现图;9 is a specific circuit implementation diagram of the shipping pin and the over-discharge voltage protection unit according to the first embodiment of the present application;
图10是图9中船运引脚接收的信号和第二计时单元输出信号的波形图;Fig. 10 is the waveform diagram of the signal received by the shipping pin in Fig. 9 and the output signal of the second timing unit;
图11是本申请第二实施例的电子装置的电路模块示意图;11 is a schematic diagram of a circuit module of an electronic device according to a second embodiment of the present application;
图12是本申请第二实施例的再一电子装置的电路模块示意图;12 is a schematic diagram of a circuit module of still another electronic device according to the second embodiment of the present application;
图13是本申请第二实施例的片上系统的电路模块示意图;13 is a schematic diagram of a circuit module of a system-on-chip according to the second embodiment of the present application;
图14是图13中船运输出端接收的信号、电源供电引脚接收的信号和脉冲计数单元输出信号的波形图;Fig. 14 is the waveform diagram of the signal received by the shipping outlet, the signal received by the power supply pin and the output signal of the pulse counting unit in Fig. 13;
图15是本申请第二实施例的又一电子装置的电路模块示意图;15 is a schematic diagram of a circuit module of another electronic device according to the second embodiment of the present application;
图16是图15中片上系统的电路模块示意图;Fig. 16 is the circuit module schematic diagram of the system-on-chip in Fig. 15;
图17是本申请第二实施例的又一片上系统的电路模块示意图;17 is a schematic diagram of a circuit module of another system-on-a-chip according to the second embodiment of the present application;
图18是图17中脉冲计数单元与过放电压保护单元的具体电路实现图;FIG. 18 is a specific circuit realization diagram of the pulse counting unit and the over-discharge voltage protection unit in FIG. 17;
图19是本申请第三实施例的电子装置的电路模块示意图;19 is a schematic diagram of a circuit module of an electronic device according to a third embodiment of the present application;
图20是图19中船运输入端接收的信号和脉冲计数单元输出信号的波形图;Figure 20 is a waveform diagram of the signal received at the shipping input in Figure 19 and the output signal of the pulse counting unit;
图21是本申请第三实施例另一电子装置的电路模块示意图;21 is a schematic diagram of a circuit module of another electronic device according to the third embodiment of the present application;
图22是本申请第三实施例又一电子装置的电路模块示意图;22 is a schematic diagram of a circuit module of another electronic device according to the third embodiment of the present application;
图23是图22中船运输入端接收的信号和第一计时单元输出信号的波形图;Figure 23 is a waveform diagram of the signal received at the shipping input in Figure 22 and the output signal of the first timing unit;
图24是本申请第三实施例再一电子装置的电路模块示意图;24 is a schematic diagram of a circuit module of another electronic device according to the third embodiment of the present application;
图25是本申请第三实施例的船运输入端与过放电压保护单元的具体电路实现图;25 is a specific circuit implementation diagram of the shipping input terminal and the over-discharge voltage protection unit according to the third embodiment of the present application;
图26是图25中船运输入端接收的信号和第二计时单元输出信号的波形图;Figure 26 is a waveform diagram of the signal received at the shipping input in Figure 25 and the output signal of the second timing unit;
图27是本申请第四实施例的电子装置的电路模块示意图;27 is a schematic diagram of a circuit module of an electronic device according to a fourth embodiment of the present application;
图28是本申请第四实施例的另一电子装置的电路模块示意图;28 is a schematic diagram of a circuit module of another electronic device according to the fourth embodiment of the present application;
图29是本申请第四实施例的片上系统的电路模块示意图;29 is a schematic diagram of a circuit module of a system-on-chip according to the fourth embodiment of the present application;
图30是本申请第四实施例的片上系统的船运引脚接收第一信号时触发片上系统产生船运控制信号的一种实现方式的示意图;30 is a schematic diagram of an implementation manner of triggering the SoC to generate a shipping control signal when the shipping pin of the SoC according to the fourth embodiment of the present application receives the first signal;
图31是图30中船运引脚接收的信号和脉冲计数单元输出信号的波形图;Figure 31 is a waveform diagram of the signal received by the shipping pin in Figure 30 and the output signal of the pulse counting unit;
图32是本申请第四实施例的片上系统的船运引脚接收第一信号时触发片上系统产生船运控制信号的另一种实现方式的示意图;32 is a schematic diagram of another implementation manner of triggering the SoC to generate a shipping control signal when the shipping pin of the SoC according to the fourth embodiment of the present application receives the first signal;
图33是图32中船运引脚接收的信号和第一计时单元输出信号的波形图;Figure 33 is a waveform diagram of the signal received by the shipping pin in Figure 32 and the output signal of the first timing unit;
图34是本申请第四实施例的片上系统的船运引脚接收第一信号时触发片上系统产生船运控制信号的再一种实现方式的示意图;34 is a schematic diagram of yet another implementation of triggering the system-on-chip to generate a shipping control signal when the shipping pin of the system-on-chip according to the fourth embodiment of the present application receives the first signal;
图35是本申请第四实施例的船运引脚与过放电压保护单元的具体电路实现图;35 is a specific circuit implementation diagram of the shipping pin and the over-discharge voltage protection unit according to the fourth embodiment of the present application;
图36是图35中船运引脚接收的信号和第二计时单元输出信号的波形图;Figure 36 is a waveform diagram of the signal received by the shipping pin in Figure 35 and the output signal of the second timing unit;
图37是本申请第五实施例的电子装置的电路模块示意图;37 is a schematic diagram of a circuit module of an electronic device according to a fifth embodiment of the present application;
图38是本申请第五实施例的另一电子装置的电路模块示意图;38 is a schematic diagram of a circuit module of another electronic device according to the fifth embodiment of the present application;
图39是本申请第五实施例的片上系统的电路模块示意图;39 is a schematic diagram of a circuit module of a system-on-chip according to the fifth embodiment of the present application;
图40是图39中船运输出端接收的信号、电源供电引脚接收的信号和脉冲计数单元输出信号的波形图;Figure 40 is a waveform diagram of the signal received by the shipping outlet in Figure 39, the signal received by the power supply pin and the output signal of the pulse counting unit;
图41是本申请第五实施例的又一电子装置的电路模块示意图;41 is a schematic diagram of a circuit module of another electronic device according to the fifth embodiment of the present application;
图42是图41中片上系统的电路模块示意图;FIG. 42 is a schematic diagram of a circuit module of the system-on-chip in FIG. 41;
图43是本申请第五实施例的另一片上系统的电路模块示意图;43 is a schematic diagram of a circuit module of another system-on-chip according to the fifth embodiment of the present application;
图44是图43中脉冲计数单元与过放电压保护单元的具体电路实现图;Fig. 44 is the concrete circuit realization diagram of the pulse counting unit and the over-discharge voltage protection unit in Fig. 43;
图45是本申请第六实施例的电子装置的电路模块示意图;45 is a schematic diagram of a circuit module of the electronic device according to the sixth embodiment of the present application;
图46是本申请第六实施例的电池保护电路的电路模块示意图;46 is a schematic diagram of a circuit module of the battery protection circuit according to the sixth embodiment of the present application;
图47是本申请第六实施例的又一电子装置的电路模块示意图;47 is a schematic diagram of a circuit module of another electronic device according to the sixth embodiment of the present application;
图48是本申请第六实施例的另一电子装置的电路模块示意图;48 is a schematic diagram of a circuit module of another electronic device according to the sixth embodiment of the present application;
图49是本申请电子设备的船运模式设置方法第一实施例的流程示意图;49 is a schematic flowchart of the first embodiment of the shipping mode setting method of the electronic device of the present application;
图50是本申请电子设备的船运模式设置方法第二实施例的流程示意图;50 is a schematic flowchart of the second embodiment of the shipping mode setting method of the electronic device of the present application;
图51是本申请电子设备的船运模式设置方法第三实施例的流程示意图;51 is a schematic flowchart of the third embodiment of the shipping mode setting method of the electronic device of the present application;
图52是本申请电子设备第七实施例的框架示意图;FIG. 52 is a schematic diagram of the framework of the seventh embodiment of the electronic device of the present application;
图53是本申请计算机可读存储介质一实施例的框架示意图;53 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application;
图54是本申请电子设备第七实施例的又一电路图;Fig. 54 is another circuit diagram of the seventh embodiment of the electronic device of the present application;
图55是本申请电子设备第七实施例的另一电路图。FIG. 55 is another circuit diagram of the seventh embodiment of the electronic device of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、 完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请说明书、权利要求书和附图中出现的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或模块的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,术语“第一”、“第二”和“第三”等是用于区别不同的对象,而并非用于描述特定的顺序。The appearances of the terms "comprising" and "having" and any variations thereof in the specification, claims and drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or modules is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices. In addition, the terms "first", "second", "third", etc. are used to distinguish different objects, and not to describe a specific order.
本申请实施例提供一种电子装置,电子装置例如为蓝牙耳机、手机、平板电脑等。请参见图1,电子装置包括电池组件和系统电路200,系统电路200例如为微处理器、摄像头驱动电路、图像处理器等组成的电路,系统电路200与电池组件电连接,电池组件用于给系统电路200供电。电池组件包括电池300和片上系统100,片上系统100与电池300的正负极电连接,系统电路200与片上系统100电连接,电池300给片上系统100供电,片上系统100起保护作用,例如当电池300过充电或过放电时进行保护,由于片上系统100如何对电池300过充、过放进行保护为本领域的常用技术手段,在此不再赘述。在本实施例中,电池300的数量为一个或多个,当为多个时,多个电池300可以并联也可以串联也可以串并联混合,电池300优选为锂电池300,电池300的容量为10mAH-80mAH,例如为10mAH、20mAH、30mAH、40mAH、50mAH、60mAH、70mAH、80mAH,这种容量的电池300体积较小,较佳的,电池300的容量为20mAH-40mAH,此时电池300的体积更小,可以方便配置于小的电子装置中,例如蓝牙耳机中。而且,由于电池300的容量这么小,从而电池300的电量如何保持长时间成为一个很重要的课题。在本实施例中,片上系统100(System on Chip,SOC)是集成电路领域常用的一种技术,目的是将多个具有特定功能的集成电路组合在一个芯片上形成系统或产品,其中包含完成的硬件系统及其承载的嵌入式软件。片上系统100在性能、成本、功耗、可靠性,以及生命周期与使用范围等各个方面都有明显的优势。另外,在本申请的其他实施例中,请参见图2,电池300与片上系统100之间还设有第二电阻R2和电容C,第二电阻R2和电容C的设置用于滤波。另外,在本申请的其他实施例中,电池300与片上系统100之间还可以设有其他电路或者电子元件。An embodiment of the present application provides an electronic device, and the electronic device is, for example, a Bluetooth headset, a mobile phone, a tablet computer, and the like. Referring to FIG. 1, the electronic device includes a battery assembly and a system circuit 200. The system circuit 200 is, for example, a circuit composed of a microprocessor, a camera driving circuit, an image processor, etc. The system circuit 200 is electrically connected to the battery assembly, and the battery assembly is used to supply The system circuit 200 is powered. The battery assembly includes a battery 300 and a system-on-chip 100, the system-on-chip 100 is electrically connected to the positive and negative poles of the battery 300, the system circuit 200 is electrically connected to the system-on-chip 100, the battery 300 supplies power to the system-on-chip 100, and the system-on-chip 100 plays a protective role. The battery 300 is protected when it is overcharged or overdischarged. Since how the system-on-chip 100 protects the battery 300 from overcharge and overdischarge is a common technical means in the field, it will not be repeated here. In this embodiment, the number of the batteries 300 is one or more. When there are multiple batteries 300, the multiple batteries 300 can be connected in parallel, in series, or mixed in series and parallel. The batteries 300 are preferably lithium batteries 300, and the capacity of the batteries 300 is 10mAH-80mAH, such as 10mAH, 20mAH, 30mAH, 40mAH, 50mAH, 60mAH, 70mAH, 80mAH, the battery 300 with this capacity is small in volume, preferably, the capacity of the battery 300 is 20mAH-40mAH, and the The volume is smaller and can be easily configured in small electronic devices, such as Bluetooth headsets. Moreover, since the capacity of the battery 300 is so small, how to maintain the power of the battery 300 for a long time becomes a very important issue. In this embodiment, the system on chip 100 (System on Chip, SOC) is a technology commonly used in the field of integrated circuits, and the purpose is to combine multiple integrated circuits with specific functions on one chip to form a system or product, including complete The hardware system and the embedded software it carries. The system-on-chip 100 has obvious advantages in performance, cost, power consumption, reliability, and life cycle and usage range. In addition, in other embodiments of the present application, referring to FIG. 2 , a second resistor R2 and a capacitor C are further provided between the battery 300 and the system-on-chip 100 , and the second resistor R2 and the capacitor C are set for filtering. In addition, in other embodiments of the present application, other circuits or electronic components may also be provided between the battery 300 and the system-on-chip 100 .
在本申请的实施例中,电源供电引脚VDD、电源接地引脚GND分别用于与电池300的正、负极电连接,从而电池300可以给片上系统100供电,同时,电池300经由片上系统100、系统电路200形成回路以给系统电路200供电。In the embodiment of the present application, the power supply pin VDD and the power supply ground pin GND are respectively used for electrical connection with the positive and negative poles of the battery 300 , so that the battery 300 can supply power to the system-on-chip 100 . . The system circuit 200 forms a loop to supply power to the system circuit 200 .
在本申请的实施例中,过充电压保护单元110用于在电池300充电过程中,当侦测到充电电压过高时对电池300进行保护,例如停止对电池300进行充电 等,防止电池300损坏或出现安全问题。In the embodiment of the present application, the overcharge voltage protection unit 110 is used to protect the battery 300 when it is detected that the charging voltage is too high during the charging process of the battery 300, for example, stop charging the battery 300, etc., to prevent the battery 300 from being charged. damage or safety issues.
在本申请的实施例中,过放电压保护单元190用于在电池300放电过程中,当侦测到放电电压过低时对电池300进行保护,例如控制电池300只进行最低程度的放电等,一般停止对系统电路200供电并对片上系统100除充电检测电路之外的电路停止供电,防止电池300放电过度而造成电池300永久性的损坏。In the embodiment of the present application, the over-discharge voltage protection unit 190 is used to protect the battery 300 when it is detected that the discharge voltage is too low during the discharge process of the battery 300, for example, to control the battery 300 to discharge to a minimum degree, etc. Generally, the power supply to the system circuit 200 is stopped, and the power supply to the circuits other than the charging detection circuit of the system on chip 100 is stopped, so as to prevent the battery 300 from being permanently damaged due to excessive discharge of the battery 300 .
在本申请的实施例中,放电过流保护单元130用于在电池300放电过程中,当侦测到放电电流过大时对电池300进行保护,例如电池300停止进行放电等,防止放电电流过大导致电池300的永久性损坏或出现安全问题。在本实施例中,放电过流保护单元130包括多个子单元,每个子单元分别与控制单元160电连接,每个子单元用于对不同的放电电流进行处理,在图示中设置了三个子单元。In the embodiment of the present application, the discharge overcurrent protection unit 130 is used to protect the battery 300 when it is detected that the discharge current is too large during the discharge process of the battery 300 , for example, the battery 300 stops discharging, etc., to prevent the discharge current from being excessively high. It may cause permanent damage to the battery 300 or a safety problem. In this embodiment, the discharge overcurrent protection unit 130 includes a plurality of sub-units, each of which is electrically connected to the control unit 160, and each sub-unit is used to process different discharge currents, and three sub-units are set in the figure .
在本申请的实施例中,基准电压产生单元140用于产生片上系统100需要的基准电压,频率产生单元150用于产生不同的频率,控制单元160分别与过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、基准电压产生单元140、频率产生单元150、唤醒单元170、第一开关单元180等电连接。在本实施例中,过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、基准电压产生单元140、频率产生单元150、控制单元160为本领域的常规电路,在此不再赘述。In the embodiment of the present application, the reference voltage generation unit 140 is used to generate the reference voltage required by the system on chip 100 , the frequency generation unit 150 is used to generate different frequencies, and the control unit 160 is respectively connected with the overcharge voltage protection unit 110 and the overdischarge voltage. The protection unit 190 , the discharge overcurrent protection unit 130 , the reference voltage generation unit 140 , the frequency generation unit 150 , the wake-up unit 170 , the first switch unit 180 and the like are electrically connected. In this embodiment, the overcharge voltage protection unit 110 , the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the reference voltage generation unit 140 , the frequency generation unit 150 , and the control unit 160 are conventional circuits in the field, and here No longer.
在本申请的实施例中,唤醒单元170为充电检测单元,用于检测电子装置是否通过充电器连接到电源以对电池300进行充电,当电子装置通过充电器连接到电源后,充电检测单元检测到充电信号,以对电池300进行充电;如果由于过放电压保护单元190对电池300进行了保护,此时充电检测单元检测到充电信号,则退出对电池300的过放电压保护,也即对系统电路200供电并对片上系统100进行正常供电。In the embodiment of the present application, the wake-up unit 170 is a charging detection unit for detecting whether the electronic device is connected to a power source through a charger to charge the battery 300 . When the electronic device is connected to the power source through a charger, the charging detection unit detects to the charging signal to charge the battery 300; if the battery 300 is protected by the overdischarge voltage protection unit 190 and the charging detection unit detects the charging signal at this time, the overdischarge voltage protection for the battery 300 is exited, that is, the The system circuit 200 supplies power and normally supplies power to the system on chip 100 .
在本申请的实施例中,第一信号为数字编码信号,该编码信号为片上系统和系统电路在设计时预先协议好的,当船运引脚接收到该编码信号时,片上系统产生船运控制信号以进入船运模式。例如,第一信号包括两段时间:第一时间段为高电平信号,第二时间段为预定数量的脉冲信号,在这里,高电平信号用于触发片上系统对应的元件进行激活,例如告诉片上系统对应的元件准备计时或者计数,接下来片上系统对应的元件对接收到的脉冲信号进行计数或者计时(例如不同的脉冲持续时间不同),当脉冲数满足预设要求时,片上系统产生船运控制信号,当脉冲数不满足预设要求时,片上系统对应的元件回到开始不进行激活的状态。由于第一信号为片上系统和系统电路协议的编码信号,从而第一信号的具体形式不做限制,复杂的编码或者简单的编码都可以,片上系统和系统电路预先协议好片上系统就可以识别。另外,当第一信号比较复杂时,此时片上系统可靠、安全,可以防止误触发。In the embodiment of the present application, the first signal is a digital coded signal, and the coded signal is pre-agreed in the design of the SoC and the system circuit. When the coded signal is received by the shipping pin, the SoC generates the shipping Control signal to enter shipping mode. For example, the first signal includes two periods of time: the first period is a high-level signal, and the second period is a predetermined number of pulse signals. Here, the high-level signal is used to trigger the corresponding components of the system-on-chip to activate, for example Tell the corresponding component of the system-on-chip to prepare for timing or counting, and then the corresponding component of the system-on-chip will count or time the received pulse signal (for example, different pulse durations are different). When the number of pulses meets the preset requirements, the system-on-chip generates For the shipping control signal, when the number of pulses does not meet the preset requirements, the corresponding components of the system-on-chip return to the state where they are not activated at the beginning. Since the first signal is a coded signal of the SoC and the system circuit protocol, the specific form of the first signal is not limited, complex coding or simple coding can be used, and the SoC and the system circuit can be identified by pre-protocol agreement. In addition, when the first signal is relatively complex, the system-on-chip is reliable and safe at this time, which can prevent false triggering.
在本申请的实施例中,当电子装置需要长距离运输或长时间存储时,将电子装置的片上系统100进入船运模式的方式有以下几种,以下分别进行描述。当然, 使电子装置的片上系统100进入船运模式的方式不限于以下几种,在本申请的其他实施例中,本领域的技术人员还可以设置其他常规的电路来实现电子装置的片上系统100进入船运模式。In the embodiment of the present application, when the electronic device needs to be transported or stored for a long time, there are several ways to enter the system-on-chip 100 of the electronic device into the shipping mode, which are described below. Of course, the manners for making the SoC 100 of the electronic device enter the shipping mode are not limited to the following. In other embodiments of the present application, those skilled in the art can also set other conventional circuits to realize the SoC 100 of the electronic device. Enter shipping mode.
第一实施例first embodiment
在本申请的第一实施例中,请结合参见图1和图3,片上系统100包括电源供电引脚VDD、电源接地引脚GND、过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、基准电压产生单元140、频率产生单元150、控制单元160、唤醒单元170、第一开关单元180。In the first embodiment of the present application, please refer to FIG. 1 and FIG. 3 in combination, the system-on-chip 100 includes a power supply pin VDD, a power supply ground pin GND, an overcharge voltage protection unit 110, an overdischarge voltage protection unit 190, a discharge voltage The overcurrent protection unit 130 , the reference voltage generation unit 140 , the frequency generation unit 150 , the control unit 160 , the wake-up unit 170 , and the first switch unit 180 .
在本申请的实施例中,第一开关单元180包括开关管和衬底控制电路,开关管为MOS管,开关管的控制端与控制单元160电连接,衬底控制电路与控制单元160电连接,衬底控制电路用于实现开关管的衬底的正确偏置。但本申请不限于此,在本申请的其他实施例中,第一开关单元180还可以包括充电开关和放电开关,其中,充电开关和放电开关均为MOS管,充电开关和放电开关分别与控制单元160电连接。另外,在本申请的其他实施例中,第一开关单元180还可以是其他实现形式,例如只包括一个开关管。在本实施例中,第一开关单元180用于控制电池300供电给系统电路200,具体为通过电池300、系统电路200、片上系统100的第一开关单元180形成回路以供电给片上系统100。具体而言,第一开关单元180的控制端与控制单元160电连接,第一开关单元180的输入端用于与电池300电连接,例如与片上系统100的电源接地引脚GND电连接,第一开关单元180的输出端用于与系统电路200电连接,从而电池300、系统电路200、第一开关单元180形成供电回路,片上系统100通过控制第一开关单元180,就可以控制电池300是否向系统电路200进行供电。In the embodiment of the present application, the first switch unit 180 includes a switch tube and a substrate control circuit, the switch tube is a MOS tube, the control end of the switch tube is electrically connected to the control unit 160 , and the substrate control circuit is electrically connected to the control unit 160 , the substrate control circuit is used to realize the correct bias of the substrate of the switch tube. However, the present application is not limited thereto. In other embodiments of the present application, the first switch unit 180 may further include a charge switch and a discharge switch, wherein the charge switch and the discharge switch are both MOS transistors, and the charge switch and the discharge switch are respectively connected to the control Unit 160 is electrically connected. In addition, in other embodiments of the present application, the first switch unit 180 may also be implemented in other forms, for example, including only one switch tube. In this embodiment, the first switch unit 180 is used to control the battery 300 to supply power to the system circuit 200 . Specifically, the control terminal of the first switch unit 180 is electrically connected to the control unit 160, and the input terminal of the first switch unit 180 is used to electrically connect to the battery 300, for example, to the power ground pin GND of the system-on-chip 100. The output end of a switch unit 180 is used for electrical connection with the system circuit 200 , so that the battery 300 , the system circuit 200 and the first switch unit 180 form a power supply loop, and the system-on-chip 100 can control whether the battery 300 is Power is supplied to the system circuit 200 .
在本申请的实施中,片上系统100还包括船运引脚CTL,船运引脚CTL为片上系统100新增的引脚,当船运引脚CTL接收到第一信号时片上系统100进入船运模式,在船运模式时第一开关单元180断开以使电池300停止向系统电路200供电,且片上系统100至少部分单元被停止供电。在本实施例中,第一信号的产生可以通过软件来实现,也可以通过硬件来实现,当通过硬件来实现时,此时可以通过电子装置的例如电源按键来实现,例如通过长按电源按键来实现产生第一信号。In the implementation of this application, the system on chip 100 further includes a shipping pin CTL. The shipping pin CTL is a newly added pin of the system on chip 100. When the shipping pin CTL receives the first signal, the system on chip 100 enters the ship In the shipping mode, the first switch unit 180 is turned off to stop the battery 300 from supplying power to the system circuit 200, and at least some units of the system-on-chip 100 are stopped from supplying power. In this embodiment, the generation of the first signal may be implemented by software or by hardware. When implemented by hardware, it may be implemented by, for example, the power button of the electronic device, for example, by long pressing the power button to generate the first signal.
在本申请的实施例中,在船运模式时唤醒单元170被电池300继续供电,唤醒单元170用于使片上系统100退出船运模式。本实施例中,由于唤醒单元170为充电检测电路,而充电检测电路是片上系统100原本就有的电路,这样设计可以节省成本。在本实施例中,当电子装置被充电时,此时充电检测电路检测到充电信号,片上系统100自动退出船运模式,由于电池300的电量可以长时间保持, 从而电子装置可以正常开机使用。另外,在本申请的其他实施例中,唤醒单元170还可以不是充电检测电路,还可以是其他的新增的专门用于使片上系统100退出船运模式的硬件电路,本领域的技术人员可以具体要求进行电路设计。In the embodiment of the present application, the wake-up unit 170 is continuously powered by the battery 300 in the shipping mode, and the wake-up unit 170 is used to make the system-on-chip 100 exit the shipping mode. In this embodiment, since the wake-up unit 170 is a charging detection circuit, and the charging detection circuit is an existing circuit of the system-on-chip 100 , this design can save costs. In this embodiment, when the electronic device is charged, the charging detection circuit detects the charging signal, and the system-on-chip 100 automatically exits the shipping mode. Since the power of the battery 300 can be maintained for a long time, the electronic device can be powered on normally. In addition, in other embodiments of the present application, the wake-up unit 170 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the system on chip 100 exit the shipping mode. Those skilled in the art may Specific requirements for circuit design.
在本申请的实施例中,当电子装置需要长距离运输或长时间存储时,此时电子装置的片上系统100就可以进入船运模式,在船运模式下,第一开关单元180断开,从而电池300不能向系统电路200供电,可以大量节省电池300的电量,而且,在船运模式下,片上系统100至少部分单元被停止供电,从而电池300只需要给片上系统100的唤醒单元170等少数电路单元继续供电,从而电池300的电量消耗进一步得到减少,可降低电子装置的电流消耗,电流消耗可以低到几nA/h,从而可以提升电池300的电量保持时间,即使是电池300本身容量比较小的情况,在船运模式下电池300的电量也可以保持半年到一年,当用户拿到电子装置后,用户只需要操作唤醒单元170使片上系统100退出船运模式,电子装置开机即可以正常使用,提升了用户的体验,防止用户误以为电子装置是有问题的。In the embodiment of the present application, when the electronic device needs to be transported or stored for a long time, the system-on-chip 100 of the electronic device can enter the shipping mode. In the shipping mode, the first switch unit 180 is turned off, Therefore, the battery 300 cannot supply power to the system circuit 200, which can greatly save the power of the battery 300. Moreover, in the shipping mode, at least some units of the SoC 100 are powered off, so that the battery 300 only needs to power the wake-up unit 170 of the SoC 100, etc. A few circuit units continue to supply power, so that the power consumption of the battery 300 is further reduced, which can reduce the current consumption of the electronic device. The current consumption can be as low as several nA/h, so that the power retention time of the battery 300 can be improved, even if the capacity of the battery 300 itself is In a relatively small case, the power of the battery 300 can also be maintained for half a year to a year in the shipping mode. When the user gets the electronic device, the user only needs to operate the wake-up unit 170 to make the system-on-chip 100 exit the shipping mode, and the electronic device is turned on immediately. It can be used normally, which improves the user experience and prevents the user from mistakenly thinking that the electronic device is faulty.
在本实施例中,在船运模式时片上系统100至少部分单元被停止供电。在本实施例中,片上系统100的过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、控制单元160、基准电压产生单元140和频率产生单元150至少其中之一被停止供电,例如,在船运模式时过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、控制单元160、基准电压产生单元140和频率产生单元150其中之一被停止供电,或者在船运模式时过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、控制单元160、基准电压产生单元140和频率产生单元150其中之二被停止供电,或者在船运模式时过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、控制单元160、基准电压产生单元140和频率产生单元150其中之三被停止供电,…,或者在船运模式时过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、控制单元160、基准电压产生单元140和频率产生单元150均被停止供电,此时可以进一步降低电池300电量的消耗。另外,在本申请的其他实施例中,片上系统100还包括温度保护单元410、充电过流保护单元120等,在船运模式时温度保护单元410、充电过流保护单元120可以不被供电,也可以被供电,也是本发明保护的范围。在本实施例中,当片上系统100进入船运模式时片上系统100除唤醒单元170之外的电路均被停止供电,也即片上系统100除了用于使片上系统100退出船运模式所需的唤醒单元170被供电外,片上系统100的其他电路单元均不被供电,这样可以进一步的节省电池300的电量,降低电池300电量的消耗,进一步提升了电池300的电量保持时间,尤其可以提升小容量的电池300的电量保持时间。In this embodiment, at least some units of the system on chip 100 are powered off during the shipping mode. In this embodiment, at least one of the overcharge voltage protection unit 110 , the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the control unit 160 , the reference voltage generation unit 140 and the frequency generation unit 150 of the system on chip 100 is Stop power supply, for example, one of the overcharge voltage protection unit 110, the overdischarge voltage protection unit 190, the discharge overcurrent protection unit 130, the control unit 160, the reference voltage generation unit 140 and the frequency generation unit 150 is stopped in the shipping mode power supply, or two of the overcharge voltage protection unit 110, the overdischarge voltage protection unit 190, the discharge overcurrent protection unit 130, the control unit 160, the reference voltage generation unit 140 and the frequency generation unit 150 are powered off during the shipping mode, Or in the shipping mode, three of the overcharge voltage protection unit 110, the overdischarge voltage protection unit 190, the discharge overcurrent protection unit 130, the control unit 160, the reference voltage generation unit 140 and the frequency generation unit 150 are powered off, . . . Or in the shipping mode, the overcharge voltage protection unit 110 , the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the control unit 160 , the reference voltage generation unit 140 and the frequency generation unit 150 are all powered off. Reduce battery consumption by 300. In addition, in other embodiments of the present application, the system-on-chip 100 further includes a temperature protection unit 410, a charging overcurrent protection unit 120, etc. In the shipping mode, the temperature protection unit 410 and the charging overcurrent protection unit 120 may not be powered, It can also be powered, which is also the scope of the protection of the present invention. In this embodiment, when the system on chip 100 enters the shipping mode, the circuits of the system on chip 100 except the wake-up unit 170 are all powered off, that is, the circuits of the system on chip 100 except for the circuits required for the system on chip 100 to exit the shipping mode are stopped. Except that the wake-up unit 170 is powered, other circuit units of the system-on-chip 100 are not powered, which can further save the power of the battery 300, reduce the power consumption of the battery 300, and further improve the power retention time of the battery 300. The capacity retention time of the battery 300 .
在本实施例中,当船运引脚CTL接收到第一信号时触发片上系统100产生船运控制信号以进入船运模式。但本申请不限于此,在本申请的其他实施例中,当船运引脚CTL接收到第一信号时片上系统100直接可以进入船运模式。In this embodiment, when the shipping pin CTL receives the first signal, the system-on-chip 100 is triggered to generate a shipping control signal to enter the shipping mode. However, the present application is not limited thereto. In other embodiments of the present application, the system on chip 100 can directly enter the shipping mode when the shipping pin CTL receives the first signal.
在本实施例中,船运引脚CTL接收第一信号时触发片上系统100产生船运控制信号的方式有三种,以下分别进行描述。当然,船运引脚CTL接收第一信号时触发片上系统100产生船运控制信号的方式不限于下面三种,在本申请的其他实施例中,本领域的技术人员还可以设置其他常规的电路来触发片上系统100产生船运控制信号。In this embodiment, when the shipping pin CTL receives the first signal, there are three ways to trigger the system-on-chip 100 to generate the shipping control signal, which will be described separately below. Certainly, when the shipping pin CTL receives the first signal, the manner of triggering the SoC 100 to generate the shipping control signal is not limited to the following three. In other embodiments of the present application, those skilled in the art can also set other conventional circuits. to trigger the system-on-chip 100 to generate a shipping control signal.
1、在本申请一实施例中,请参见图4、图5,第一信号包括脉冲信号,片上系统100还包括脉冲计数单元420、第三电阻R3。在此处,船运引脚CTL默认为低电平,在本实施例中为船运引脚CTL经由第三电阻R3接地实现低电平,脉冲计数单元420在一般状况下输出低电平信号,船运引脚CTL与脉冲计数单元420电连接。当船运引脚CTL接收到第一信号时,脉冲计数单元420对脉冲进行计数,脉冲计数单元420以上升沿触发计数,当脉冲计数单元420在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时脉冲计数单元420的输出信号由低电平转为高电平,此时的高电平即为船运控制信号,其中,第一预定时间段和第一预定数量是片上系统100预先设置好的,第一预定时间段例如为10秒、5秒、3秒、1秒等时间段,第一预定数量例如为3、4、5等,这样设计可以防止误触发。在本实施例中,脉冲计数单元420的输出端分别与过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、基准电压产生单元140、频率产生单元150、控制单元160等需要被停止供电的单元电连接,以用于停止片上系统100除唤醒单元170之外的单元的供电。另外,在本申请的其他实施例中,脉冲计数单元420的输出端在一般状况下输出高电平,此时低电平为船运控制信号。在本实施例中,脉冲计数单元420与控制单元160分离设置。另外,在本申请的其他实施例中,脉冲计数单元420还可以集成到控制单元160中。1. In an embodiment of the present application, please refer to FIG. 4 and FIG. 5 , the first signal includes a pulse signal, and the system-on-chip 100 further includes a pulse counting unit 420 and a third resistor R3. Here, the shipping pin CTL defaults to a low level. In this embodiment, the shipping pin CTL is grounded through the third resistor R3 to achieve a low level, and the pulse counting unit 420 outputs a low level signal under normal conditions. , the shipping pin CTL is electrically connected with the pulse counting unit 420 . When the shipping pin CTL receives the first signal, the pulse counting unit 420 counts the pulses, and the pulse counting unit 420 triggers counting with a rising edge. or equal to the first predetermined number, the output signal of the pulse counting unit 420 changes from a low level to a high level, and the high level at this time is the shipping control signal, wherein the first predetermined time period and the first predetermined number are The system on chip 100 is preset, the first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc., and the first predetermined number is, for example, 3, 4, 5, etc. This design can prevent false triggering. In this embodiment, the output terminals of the pulse counting unit 420 are respectively connected with the overcharge voltage protection unit 110 , the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the reference voltage generation unit 140 , the frequency generation unit 150 , and the control unit 160 . The units whose power supply needs to be stopped are electrically connected to stop the power supply of the units other than the wake-up unit 170 of the system on chip 100 . In addition, in other embodiments of the present application, the output terminal of the pulse counting unit 420 outputs a high level under normal conditions, and at this time, a low level is a shipping control signal. In this embodiment, the pulse counting unit 420 is provided separately from the control unit 160 . In addition, in other embodiments of the present application, the pulse counting unit 420 may also be integrated into the control unit 160 .
2、在本申请一实施例中,请参见图6、图7,第一信号包括持续的高电平或持续的低电平信号,片上系统100还包括第一计时单元430、第三电阻R3。在此处,船运引脚CTL默认为低电平,在本实施例中为船运引脚CTL经由第三电阻R3接地实现低电平,第一计时单元430在一般状况下输出低电平信号,船运引脚CTL与第一计时单元430电连接。当船运引脚CTL接收到第一信号为高电平信号时,也即由船运引脚CTL接收的信号由低电平转为高电平时,第一计时单元430触发计时,第一计时单元430以上升沿触发计时,当第一计时单元430接收到的高电平信号持续时间大于或等于第二预定时间段T1时第一计时单元430输出信号由低电平转为高电平,此时的高电平信号即为船运控制信号,其中,第二预定时间 段T1是片上系统100预先设置好的,第二预定时间段T1例如为10秒、5秒、3秒、1秒等时间段,这样设计可以防止误触发。在本实施例中,第一计时单元430的输出端分别与过充电压保护单元110、过放电压保护单元190、放电过流保护单元130、基准电压产生单元140、频率产生单元150、控制单元160等需要被停止供电的单元电连接,以用于停止片上系统100除唤醒单元170之外的单元的供电。另外,在本申请的其他实施例中,第一计时单元430的输出端在一般状况下输出高电平信号,此时低电平信号为船运控制信号。在本实施例中,第一计时单元430与控制单元160分离设置。另外,在本申请的其他实施例中,第一计时单元430还可以集成到控制单元160中。2. In an embodiment of the present application, please refer to FIG. 6 and FIG. 7 , the first signal includes a continuous high-level signal or a continuous low-level signal, and the system-on-chip 100 further includes a first timing unit 430 and a third resistor R3 . Here, the shipping pin CTL defaults to a low level. In this embodiment, the shipping pin CTL is grounded through the third resistor R3 to achieve a low level, and the first timing unit 430 outputs a low level under normal conditions. signal, the shipping pin CTL is electrically connected to the first timing unit 430 . When the first signal received by the shipping pin CTL is a high level signal, that is, when the signal received by the shipping pin CTL changes from a low level to a high level, the first timing unit 430 triggers the timing, and the first timing The unit 430 triggers timing with a rising edge. When the duration of the high-level signal received by the first timing unit 430 is greater than or equal to the second predetermined time period T1, the output signal of the first timing unit 430 changes from a low level to a high level, The high-level signal at this time is the shipping control signal, wherein the second predetermined time period T1 is preset by the SoC 100, and the second predetermined time period T1 is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second Waiting time period, this design can prevent false triggering. In this embodiment, the output end of the first timing unit 430 is respectively connected with the overcharge voltage protection unit 110 , the overdischarge voltage protection unit 190 , the discharge overcurrent protection unit 130 , the reference voltage generation unit 140 , the frequency generation unit 150 , and the control unit The units whose power supply needs to be stopped, such as 160 , are electrically connected to stop the power supply of units other than the wake-up unit 170 of the system on chip 100 . In addition, in other embodiments of the present application, the output end of the first timing unit 430 outputs a high-level signal under normal conditions, and at this time, the low-level signal is a shipping control signal. In this embodiment, the first timing unit 430 is provided separately from the control unit 160 . In addition, in other embodiments of the present application, the first timing unit 430 may also be integrated into the control unit 160 .
3、请参见图3,一般说来,常规的片上系统100或者电池300保护电路,当电池300深度放电时,此时常规的片上系统100或者电池300保护电路通过过放电压保护单元190检测到电池300深度放电,过放电压保护单元190发送信号给控制单元160,控制单元160被动控制第一开关单元180断开,并且被动控制除充电检测单元之外的片上系统100或者电池300保护电路被停止供电,用于保护电池300,防止电池300因为过度放电损坏,直到充电检测单元被检测到充电信号后片上系统100或者电池300保护电路恢复供电,第一开关单元180关闭以恢复对系统电路200的供电。在本申请一实施例中,充分利用现有技术的过放电压保护单元190原有的电路和功能,实现主动控制第一开关单元180断开,并且主动控制除充电检测单元之外的片上系统100被停止供电,可以降低成本。具体而言,请参见图8-图10,过放电压保护单元190包括比较器191和第二计时单元192,比较器191具有一个同向端和两个反向端,两个反向端分别为第一反向端、第二反向端,比较器191的输出端与第二计时器电连接,比较器191的同相端接一参考电压,比较器191的第一反向端电连接电池300的输出电压检测点用于检测电池300是否深度放电。第一信号包括持续的高电平信号,片上系统100还包括第二开关单元440和第一电阻R1,第二开关单元440的控制端与船运引脚CTL电连接,第二开关单元440的输入端接地,第二开关单元440的输出端与第一电阻R1的一端电连接,第一电阻R1的另一端接高电平,第二开关单元440的输出端还与过放电压保护单元190的比较器191的第二反向端电连接,其中,第一反向端和第二反向端低电平优先级较高,也即当第一反向端或者第二反向端其中之一为低电平时,此时比较器191的反向端为低电平。在本实施例中,当船运引脚CTL接到第一信号时第二开关单元440导通,此时比较器191的第二反向端接地,此时比较器191的反向端呈低电平,从而比较器191输出高电平,第二计时单元192计时接收到的高电平持续时间大于或等于第三预定时间段T2时触发产生船运控制信号,该船运控制信号即为高电平信号。进而通过利用现有的过放电压保 护单元190实现控制第一开关单元180断开,并且控制除充电检测单元之外的片上系统100被停止供电。其中,第三预定时间段T2是片上系统100预先设置好的,第三预定时间段T2例如为10秒、5秒、3秒等时间段,这样设计可以防止误触发。在本实施例中,第二开关单元440为NMOS管。但本申请不限于此,在本申请的其他实施例中,第二开关单元440还可以为PMOS管,此时第一信号包括持续的低电平信号。3. Please refer to FIG. 3. Generally speaking, when the battery 300 is deeply discharged, the conventional system-on-chip 100 or battery 300 protection circuit detects through the over-discharge voltage protection unit 190. The battery 300 is deeply discharged, the over-discharge voltage protection unit 190 sends a signal to the control unit 160, the control unit 160 passively controls the first switch unit 180 to disconnect, and passively controls the system-on-chip 100 or the battery 300 protection circuit except the charging detection unit to be disabled. Stop the power supply to protect the battery 300 and prevent the battery 300 from being damaged due to over-discharge, until the system-on-chip 100 or the battery 300 protection circuit resumes power supply after the charging detection unit detects the charging signal, and the first switch unit 180 is turned off to restore the system circuit 200. of power supply. In an embodiment of the present application, the original circuits and functions of the over-discharge voltage protection unit 190 in the prior art are fully utilized to actively control the disconnection of the first switch unit 180 and actively control the system-on-chip except the charging detection unit. 100 is powered off, which can reduce costs. Specifically, please refer to FIG. 8 to FIG. 10 , the over-discharge voltage protection unit 190 includes a comparator 191 and a second timing unit 192 . The comparator 191 has a same-direction terminal and two reverse terminals, and the two reverse terminals are respectively are the first reverse terminal and the second reverse terminal, the output terminal of the comparator 191 is electrically connected to the second timer, the non-inverting terminal of the comparator 191 is connected to a reference voltage, and the first reverse terminal of the comparator 191 is electrically connected to the battery The output voltage detection point of 300 is used to detect whether the battery 300 is deeply discharged. The first signal includes a continuous high-level signal. The system on chip 100 further includes a second switch unit 440 and a first resistor R1. The control end of the second switch unit 440 is electrically connected to the shipping pin CTL. The input end is grounded, the output end of the second switch unit 440 is electrically connected to one end of the first resistor R1, the other end of the first resistor R1 is connected to a high level, and the output end of the second switch unit 440 is also connected to the overdischarge voltage protection unit 190 The second reverse terminal of the comparator 191 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when either the first reverse terminal or the second reverse terminal is When one is at low level, the reverse terminal of comparator 191 is at low level at this time. In this embodiment, when the shipping pin CTL is connected to the first signal, the second switch unit 440 is turned on, at this time, the second reverse terminal of the comparator 191 is grounded, and at this time, the reverse terminal of the comparator 191 is low Therefore, the comparator 191 outputs a high level, and the second timing unit 192 triggers the generation of a shipping control signal when the received high level duration is greater than or equal to the third predetermined time period T2, and the shipping control signal is high level signal. Furthermore, by using the existing over-discharge voltage protection unit 190, the first switch unit 180 is controlled to be turned off, and the power supply of the system-on-chip 100 other than the charge detection unit is controlled to be stopped. The third predetermined time period T2 is preset by the system-on-chip 100, and the third predetermined time period T2 is, for example, 10 seconds, 5 seconds, 3 seconds, etc. This design can prevent false triggering. In this embodiment, the second switch unit 440 is an NMOS transistor. However, the present application is not limited thereto. In other embodiments of the present application, the second switch unit 440 may also be a PMOS transistor, and at this time, the first signal includes a continuous low-level signal.
在本实施例中,请结合参见图1和图3,片上系统100还包括系统接地引脚VM,系统接地引脚VM用于与系统电路200电连接,而且,系统接地引脚VM还用于充电。在本实施例中,系统接地引脚VM和电源接地引脚GND之间设置有第一开关单元180。In this embodiment, referring to FIG. 1 and FIG. 3 in combination, the system-on-chip 100 further includes a system ground pin VM, which is used for electrical connection with the system circuit 200 , and the system ground pin VM is also used for Charge. In this embodiment, a first switch unit 180 is disposed between the system ground pin VM and the power supply ground pin GND.
第二实施例Second Embodiment
第二实施例是在第一实施例的基础上,将片上系统100_2新增的船运引脚CTL_2与电源供电引脚VDD_2共用一个引脚,参见图11和图13,电源供电引脚VDD_2与系统电路200_2的船运输出端210_2电连接,从而电池300_2电量的输出从电源供电引脚VDD_2这里分为两个支路,一个支路经由电源供电引脚VDD_2进入片上系统100_2内部,一个支路经由船运输出端210_2进入系统电路200_2内部,当控制系统电路200_2内部以使船运输出端210_2的信号发生改变时,导致电源供电引脚VDD_2的电压信号随之改变,此时片上系统100_2进行船运模式,在船运模式时第一开关单元180_2断开以使电池300_2停止向系统电路200_2供电,且片上系统100_2至少部分单元被停止供电。在本实施例中,控制系统电路200_2内部以使船运输出端210_2的信号发生改变既可以通过软件来实现,也可以通过硬件来实现,当通过硬件来实现时,此时可以通过电子装置的例如电源按键或者声音按键来实现,例如通过长按电源按键来实现改变船运输出端210_2上的信号。The second embodiment is based on the first embodiment, and the newly added shipping pin CTL_2 of the system on chip 100_2 shares one pin with the power supply pin VDD_2. Referring to FIG. 11 and FIG. 13 , the power supply pin VDD_2 is the same as the power supply pin VDD_2. The shipping outlet 210_2 of the system circuit 200_2 is electrically connected, so that the output of the battery 300_2 is divided into two branches from the power supply pin VDD_2, one branch enters the system-on-chip 100_2 through the power supply pin VDD_2, and the other branch Entering the system circuit 200_2 through the shipping output terminal 210_2, when the control system circuit 200_2 is controlled so that the signal of the shipping output terminal 210_2 changes, the voltage signal of the power supply pin VDD_2 changes accordingly. At this time, the system on chip 100_2 performs In the shipping mode, in the shipping mode, the first switch unit 180_2 is turned off so that the battery 300_2 stops supplying power to the system circuit 200_2, and at least some units of the system-on-chip 100_2 are powered off. In this embodiment, controlling the inside of the system circuit 200_2 to change the signal of the shipping outlet 210_2 can be implemented by software or hardware. For example, it is realized by the power button or the sound button. For example, by long pressing the power button, the signal on the shipping outlet 210_2 can be changed.
在本申请的第二实施例中,请结合参见图11和图13,片上系统100_2包括电源供电引脚VDD_2、电源接地引脚GND_2、过充电压保护单元110_2、过放电压保护单元190_2、放电过流保护单元130_2、基准电压产生单元140_2、频率产生单元150_2、控制单元160_2、唤醒单元170_2、第一开关单元180_2。In the second embodiment of the present application, please refer to FIG. 11 and FIG. 13 in combination, the system-on-chip 100_2 includes a power supply pin VDD_2, a power supply ground pin GND_2, an overcharge voltage protection unit 110_2, an overdischarge voltage protection unit 190_2, a discharge voltage The overcurrent protection unit 130_2, the reference voltage generation unit 140_2, the frequency generation unit 150_2, the control unit 160_2, the wake-up unit 170_2, and the first switch unit 180_2.
在本实施例中,第一开关单元180_2的结构和工作原理同第一实施例,在此不再赘述。In this embodiment, the structure and working principle of the first switch unit 180_2 are the same as those in the first embodiment, and are not repeated here.
在本实施例中,在船运模式时唤醒单元170_2被电池300_2继续供电,唤醒单元170_2用于使片上系统100_2退出船运模式。在本实施例中,由于唤醒单元170_2为充电检测电路,而充电检测电路是片上系统100_2原本就有的电路,这样设计可以节省成本。在本实施例中,当电子装置被充电时,此时充电检测电路检 测到充电信号,片上系统100_2自动退出船运模式,由于电池300_2的电量可以长时间保持,从而电子装置可以正常开机使用。另外,在本申请的其他实施例中,唤醒单元170_2还可以不是充电检测电路,还可以是其他的新增的专门用于使片上系统100_2退出船运模式的硬件电路,本领域的技术人员可以根据具体要求进行电路设计。In this embodiment, the wake-up unit 170_2 is continuously powered by the battery 300_2 in the shipping mode, and the wake-up unit 170_2 is used to make the system-on-chip 100_2 exit the shipping mode. In the present embodiment, since the wake-up unit 170_2 is a charging detection circuit, and the charging detection circuit is an existing circuit of the system-on-chip 100_2, such a design can save costs. In this embodiment, when the electronic device is charged, the charging detection circuit detects the charging signal at this time, and the system-on-chip 100_2 automatically exits the shipping mode. Since the power of the battery 300_2 can be maintained for a long time, the electronic device can be normally turned on for use. In addition, in other embodiments of the present application, the wake-up unit 170_2 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the system-on-chip 100_2 exit the shipping mode. Those skilled in the art may Design the circuit according to specific requirements.
在本实施例中,当电子装置需要长距离运输或长时间存储时,此时电子装置的片上系统100_2可以进入船运模式,在船运模式下,第一开关单元180_2断开,从而电池300_2不能向系统电路200_2供电,可以大量节省电池300_2的电量,而且,在船运模式下,片上系统100_2至少部分单元被停止供电,从而电池300_2只需要给片上系统100_2的唤醒电路等少数电路单元继续供电,从而电池300_2的电量消耗进一步得到减少,可降低电子装置的电流消耗,电流消耗可以低到几nA/h,从而可以提升电池300_2的电量保持时间,即使是电池300_2本身容量比较小的情况,在船运模式下电池300_2的电量也可以保持半年到一年,当用户拿到电子装置后,用户只需要通过唤醒单元170_2就可以使片上系统100_2退出船运模式,电子装置开机即可以正常使用,提升了用户的体验,防止用户误以为电子装置本身质量问题。In this embodiment, when the electronic device needs to be transported or stored for a long time, the SoC 100_2 of the electronic device can enter the shipping mode. In the shipping mode, the first switch unit 180_2 is turned off, so that the battery 300_2 The system circuit 200_2 cannot be powered, which can greatly save the power of the battery 300_2. Moreover, in the shipping mode, at least some units of the system-on-chip 100_2 are powered off, so the battery 300_2 only needs to continue to supply a few circuit units such as the wake-up circuit of the system-on-chip 100_2. Power supply, so that the power consumption of the battery 300_2 is further reduced, which can reduce the current consumption of the electronic device, and the current consumption can be as low as several nA/h, so that the power retention time of the battery 300_2 can be improved, even if the capacity of the battery 300_2 itself is relatively small. , in the shipping mode, the power of the battery 300_2 can also be maintained for half a year to a year. After the user gets the electronic device, the user only needs to wake up the unit 170_2 to make the system-on-chip 100_2 exit the shipping mode, and the electronic device can be turned on normally. In use, the user's experience is improved, and the user is prevented from mistaking the quality of the electronic device itself.
在本实施例中,在船运模式时片上系统100_2至少部分单元被停止供电。在本实施例中,片上系统100_2的过充电压保护单元110_2、过放电压保护单元190_2、放电过流保护单元130_2、控制单元160_2、基准电压产生单元140_2和频率产生单元150_2至少其中之一被停止供电,例如,在船运模式时过充电压保护单元110_2、过放电压保护单元190_2、放电过流保护单元130_2、控制单元160_2、基准电压产生单元140_2和频率产生单元150_2其中之一被停止供电,或者在船运模式时过充电压保护单元110_2、过放电压保护单元190_2、放电过流保护单元130_2、控制单元160_2、基准电压产生单元140_2和频率产生单元150_2其中之二被停止供电,或者在船运模式时过充电压保护单元110_2、过放电压保护单元190_2、放电过流保护单元130_2、控制单元160_2、基准电压产生单元140_2和频率产生单元150_2其中之三被停止供电,…,或者在船运模式时过充电压保护单元110_2、过放电压保护单元190_2、放电过流保护单元130_2、控制单元160_2、基准电压产生单元140_2和频率产生单元150_2均被停止供电,此时可以进一步降低电池300_2电量的消耗。另外,在本申请的其他实施例中,片上系统100_2还包括温度保护单元410_2、充电过流保护单元120_2等,在船运模式时温度保护单元410_2、充电过流保护单元120_2可以不被供电,也可以被供电,也是本申请的保护范围。在本实施例中,当片上系统100_2进入船运模式时片上系统100_2除唤醒单元170_2之外的电路单元均被停止供电,也即片上 系统100_2除了用于使片上系统100_2退出船运模式所需的唤醒单元170_2被供电外,片上系统100_2的其他电路单元均不被供电,这样可以进一步的节省电池300_2的电量,降低电池300_2电量的消耗,进一步提升了电池300_2的电量保持时间,尤其可以提升小容量的电池300_2的电量保持时间。In this embodiment, at least some units of the system on chip 100_2 are powered off during the shipping mode. In this embodiment, at least one of the overcharge voltage protection unit 110_2 , the overdischarge voltage protection unit 190_2 , the discharge overcurrent protection unit 130_2 , the control unit 160_2 , the reference voltage generation unit 140_2 and the frequency generation unit 150_2 of the system on chip 100_2 is Stop power supply, for example, one of the overcharge voltage protection unit 110_2, the overdischarge voltage protection unit 190_2, the discharge overcurrent protection unit 130_2, the control unit 160_2, the reference voltage generation unit 140_2 and the frequency generation unit 150_2 is stopped in the shipping mode power supply, or two of the overcharge voltage protection unit 110_2, the overdischarge voltage protection unit 190_2, the discharge overcurrent protection unit 130_2, the control unit 160_2, the reference voltage generation unit 140_2 and the frequency generation unit 150_2 are powered off in the shipping mode, Or in the shipping mode, three of the overcharge voltage protection unit 110_2, the overdischarge voltage protection unit 190_2, the discharge overcurrent protection unit 130_2, the control unit 160_2, the reference voltage generation unit 140_2 and the frequency generation unit 150_2 are powered off, . . . Or in the shipping mode, the overcharge voltage protection unit 110_2 , the overdischarge voltage protection unit 190_2 , the discharge overcurrent protection unit 130_2 , the control unit 160_2 , the reference voltage generation unit 140_2 and the frequency generation unit 150_2 are all powered off. Reduce the power consumption of the battery 300_2. In addition, in other embodiments of the present application, the system-on-chip 100_2 further includes a temperature protection unit 410_2, a charging overcurrent protection unit 120_2, etc. In the shipping mode, the temperature protection unit 410_2 and the charging overcurrent protection unit 120_2 may not be powered, It can also be powered, which is also the scope of protection of this application. In this embodiment, when the system on chip 100_2 enters the shipping mode, the power supply of the circuit units of the system on chip 100_2 except the wake-up unit 170_2 is stopped, that is, the system on chip 100_2 is not required to exit the shipping mode except for the system on chip 100_2. Except that the wake-up unit 170_2 is powered, other circuit units of the system-on-chip 100_2 are not powered, so that the power of the battery 300_2 can be further saved, the power consumption of the battery 300_2 can be reduced, and the power retention time of the battery 300_2 can be further improved. The power retention time of the small-capacity battery 300_2.
在本实施例中,实现系统电路200_2的船运输出端210_2信号的改变而导致电源供电引脚VDD_2接收到的电压信号发生改变的方式有以下几种,以下分别进行描述。当然,实现系统电路200_2的船运输出端210_2信号的改变而导致电源供电引脚VDD_2接收到的电压信号发生改变的方式不限于以下几种,在本申请的其他实施例中,本领域的技术人员还可以设置其他常规的电路来实现系统电路200_2的船运输出端210_2信号的改变而导致电源供电引脚VDD_2接收到的电压信号发生改变。In this embodiment, there are the following ways to realize the change of the signal of the shipping output terminal 210_2 of the system circuit 200_2 to cause the voltage signal received by the power supply pin VDD_2 to change, which will be described below. Of course, the way to realize the change of the signal of the shipping output terminal 210_2 of the system circuit 200_2 to cause the change of the voltage signal received by the power supply pin VDD_2 is not limited to the following. Personnel can also set other conventional circuits to realize the change of the signal of the shipping output terminal 210_2 of the system circuit 200_2, resulting in the change of the voltage signal received by the power supply pin VDD_2.
1、在本申请一实施例中,请参见图11、图13和图14,当电源供电引脚VDD_2在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统100_2进入船运模式。具体而言,船运输出端210_2经由第二电阻R2_2与电源供电引脚VDD_2电连接,第二电阻R2_2与第一电阻R1_2阻值相同,一般状态下船运输出端210_2呈高阻态,也可以看做船运输出端210_2是经由开关控制为断开的,此时电源供电引脚VDD_2接收到的电压信号仅受电池300_2的影响,不受片上系统100_2的船运输出端210_2的影响。当船运输出端210_2被系统电路200_2控制输出为脉冲信号时,例如此时开关闭合,所述脉冲信号的高电平例如为电池电压,所述脉冲信号的低电平例如为0V,当船运输出端210_2为高电平时此时电源供电引脚VDD_2处的电压为电池电压,当船运输出端210_2为0V时第一电阻R1_2和第二电阻R2_2对电池电压进行分压,电源供电引脚VDD_2处的电压比电池电压要低,在本实施例中为一半的电池电压,从而电源供电引脚VDD_2处的电压也呈脉冲电压,电源供电引脚VDD_2的脉冲电压的高电平为电池电压,低电平为电池电压的一半。在本实施例中,片上系统100_2还包括脉冲计数单元420_2。脉冲计数单元420_2在一般状况下输出低电平信号,电源供电引脚VDD_2与脉冲计数单元420_2电连接。当电源供电引脚VDD_2由于船运输出端210_2输出脉冲信号而导致电源供电引脚VDD_2也输出脉冲信号时,脉冲计数单元420_2对脉冲进行计数,当脉冲计数单元420_2在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时脉冲计数单元420_2的输出信号由低电平转为高电平,其中,第一预定时间段和第一预定数量是片上系统100_2预先设置好的,第一预定时间段例如为10秒、5秒、3秒、1秒等时间段,第一预定数量例如为3、4、5等,这样设计可以防止误触发。在本实施例中,脉冲计数单元420_2 的输出端分别与过充电压保护单元110_2、过放电压保护单元190_2、放电过流保护单元130_2、基准电压产生单元140_2、频率产生单元150_2、控制单元160_2等需要被停止供电的单元电连接,当脉冲计数单元420_2输出高电平时可以控制停止对于片上系统100_2除唤醒单元170_2之外的单元的供电。另外,在本申请的其他实施例中,脉冲计数单元420_2的输出端在一般状况下输出高电平,此时脉冲计数单元420_2输出低电平用于控制停止对于片上系统100_2除唤醒单元170_2之外的单元的供电。在本实施例中,脉冲计数单元420_2与控制单元160_2分离设置。另外,在本申请的其他实施例中,脉冲计数单元420_2还可以集成到控制单元160_2中。另外,在本申请的其他实施例中,脉冲计数单元420_2可以用于控制停止对于片上系统100_2部分单元的供电。1. In an embodiment of the present application, please refer to FIG. 11 , FIG. 13 and FIG. 14 , when the number of pulses received by the power supply pin VDD_2 within a predetermined period of time is greater than or equal to the first predetermined number, the system-on-chip 100_2 Enter shipping mode. Specifically, the shipping outlet 210_2 is electrically connected to the power supply pin VDD_2 via a second resistor R2_2, and the second resistor R2_2 and the first resistor R1_2 have the same resistance value. Under normal conditions, the shipping outlet 210_2 is in a high resistance state. Considering that the shipping output terminal 210_2 is controlled to be disconnected by a switch, the voltage signal received by the power supply pin VDD_2 is only affected by the battery 300_2 and is not affected by the shipping output terminal 210_2 of the system-on-chip 100_2. When the ship transport outlet 210_2 is controlled by the system circuit 200_2 to output a pulse signal, for example, the switch is closed at this time, the high level of the pulse signal is, for example, the battery voltage, and the low level of the pulse signal is, for example, 0V. When the shipping output terminal 210_2 is at a high level, the voltage at the power supply pin VDD_2 is the battery voltage. When the shipping output terminal 210_2 is at 0V, the first resistor R1_2 and the second resistor R2_2 divide the battery voltage, and the power supply leads The voltage at the pin VDD_2 is lower than the battery voltage, which is half the battery voltage in this embodiment, so the voltage at the power supply pin VDD_2 is also a pulse voltage, and the high level of the pulse voltage at the power supply pin VDD_2 is the battery voltage voltage, the low level is half the battery voltage. In this embodiment, the system-on-chip 100_2 further includes a pulse counting unit 420_2. The pulse counting unit 420_2 outputs a low level signal under normal conditions, and the power supply pin VDD_2 is electrically connected to the pulse counting unit 420_2. When the power supply pin VDD_2 also outputs a pulse signal due to the output of the pulse signal from the shipping outlet 210_2, the pulse counting unit 420_2 counts the pulses, and when the pulse counting unit 420_2 receives the pulse signal within the first predetermined time period When the number of received pulses is greater than or equal to the first predetermined number, the output signal of the pulse counting unit 420_2 changes from low level to high level, wherein the first predetermined time period and the first predetermined number are preset by the system on chip 100_2, The first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc., and the first predetermined number is, for example, 3, 4, 5, etc., which can prevent false triggering. In this embodiment, the output end of the pulse counting unit 420_2 is respectively connected with the overcharge voltage protection unit 110_2, the overdischarge voltage protection unit 190_2, the discharge overcurrent protection unit 130_2, the reference voltage generation unit 140_2, the frequency generation unit 150_2, and the control unit 160_2 When the units whose power supply needs to be stopped are electrically connected, when the pulse counting unit 420_2 outputs a high level, the power supply to the units of the system on chip 100_2 other than the wake-up unit 170_2 can be controlled to be stopped. In addition, in other embodiments of the present application, the output terminal of the pulse counting unit 420_2 outputs a high level under normal conditions, and at this time, the pulse counting unit 420_2 outputs a low level for controlling to stop the system on chip 100_2 except the wake-up unit 170_2 power supply to external units. In this embodiment, the pulse counting unit 420_2 is provided separately from the control unit 160_2. In addition, in other embodiments of the present application, the pulse counting unit 420_2 may also be integrated into the control unit 160_2. In addition, in other embodiments of the present application, the pulse counting unit 420_2 may be used to control to stop the power supply to some units of the system-on-chip 100_2.
2、请参见图12,一般说来,常规的片上系统100_2或者电池保护电路,当电池300_2深度放电时,此时常规的片上系统100_2或者电池保护电路通过过放电压保护单元190_2检测到电池300_2深度放电,具体为通过检测电源供电引脚VDD_2处的电压是否低于预设阈值电压来确定是否深度放电,如果低于预设预设电压,则过放电压保护单元190_2确定电池300_2处于深度放电状态,过放电压保护单元190_2发送信号给控制单元160_2,控制单元160_2被动控制第一开关单元180_2断开,并且被动控制除充电检测单元之外的片上系统100_2或者电池保护电路被停止供电,用于保护电池300_2,防止电池300_2因为过度放电损坏,直到充电检测单元检测到充电信号后片上系统100_2或者电池保护电路恢复供电,第一开关单元180_2关闭以恢复对系统电路200_2的供电。在本申请一实施例中,充分利用现有技术的过放电压保护单元190_2原有的电路和功能,实现主动控制第一开关单元180_2断开,并且主动控制除充电检测单元之外的片上系统100_2被停止供电,在提升电池300_2的电量保持时间的同时可以降低成本。具体而言,请参见图15-图16,系统电路200_2的船运输出端210_2经由第二电阻R2_2与电源供电引脚VDD_2电连接,第二电阻R2_2与第一电阻R1_2阻值相同,一般状态下船运输出端210_2呈高阻态。具体而言,在本实施例中,系统电路200_2包括第二开关单元220_2,所述第二开关单元220_2的输入端接第一电平,在此处第一电平为0,也即接地,但第一电平也可以不为0,只要满足当第二开关单元220_2导通时电源供电引脚VDD_2处的电压低于预设阈值电压即可。所述第二开关的输出端与第二电阻R2_2的一端电连接,所述第二电阻R2_2的另一端与电源供电引脚VDD_2电连接,第二开关单元220_2的控制端受系统电路200_2的硬件或者软件控制,在一般状况下,第二开关单元220_2断开,此时船运输出端210_2呈高阻态,当片上系统500_2需要进入船运模式时,用户可以通 过软件或者硬件控制第二开关单元220_2关闭,此时电源供电引脚VDD_2、第二电阻R2_2、第二开关单元220_2构成的支路导通,由于第二电阻R2_2与第一电阻R1_2阻值相同,从而第二电阻R2_2与第一电阻R1_2对电池电压进行分压,从而电源供电引脚VDD_2处接收的电压信号降低,在本实施例中降低到一半的电池电压,一般一半的电池电压会低于深度放电设置的预设阈值电压,一般说来,电池300_2供电电压的范围为2.8V-4.2V,深度放电的阈值电压一般为2.8V,而一半的电池电压范围为1.4V-2.1V,低于深度放电的阈值电压。从而当第二开关单元220_2导通时,过放电压保护单元190_2检测到电源供电引脚VDD_2的电压低于阈值电压,此时过放电压保护单元190_2控制第一开关单元180_2断开,并且控制除充电检测单元之外的片上系统500_2的其他单元被停止供电。在本实施例中,第二开关单元220_2为NMOS管。但本申请不限于此,在本申请的其他实施例中,第二开关单元220_2还可以为PMOS管。一般说来,片上系统500_2对于深度放电具有两种保护模式:过放可恢复模式和过放不可恢复模式,用户或者厂家可以根据需要进行设置,当片上系统500_2处于过放可恢复模式时,过放电压保护单元190_2检测到电源供电引脚VDD_2的电压低于预设阈值电压时(例如误检测),第一开关单元180_2断开,并且除充电检测单元之外的片上系统500_2均被停止供电,当电源供电引脚VDD_2的电压增大到预设阈值电压以上时,片上系统500_2被停止供电的单元自动恢复供电,第一开关单元180_2导通;当片上系统500_2处于过放不可恢复模式时,过放电压保护单元190_2检测到电源供电引脚VDD_2的电压低于预设阈值电压时,第一开关单元180_2断开,并且除充电检测单元之外的片上系统500_2均被停止供电,在此模式下即使电源供电引脚VDD_2处的电压增大到预设阈值电压以上时,第一开关单元180_2还是保持断开,除充电检测单元之外的片上系统500_2继续被停止供电,在此情况下,只有充电检测模块检测到充电信号时,片上系统500_2被停止供电的单元才恢复供电,第一开关单元180_2导通。在本实施例中,片上系统500_2工作在过放不可恢复模式,此时,在船运模式时第二开关单元220_2由于没有被供电而断开,第一开关单元180_2还是保持断开,除充电检测单元之外的片上系统500_2继续被停止供电,从而有利于电池300_2电量的保持。2. Please refer to FIG. 12. Generally speaking, when the battery 300_2 is deeply discharged, the conventional SoC 100_2 or the battery protection circuit detects the battery 300_2 through the over-discharge voltage protection unit 190_2. Deep discharge, specifically, by detecting whether the voltage at the power supply pin VDD_2 is lower than a preset threshold voltage to determine whether it is deeply discharged, if it is lower than the preset preset voltage, the overdischarge voltage protection unit 190_2 determines that the battery 300_2 is in deep discharge state, the over-discharge voltage protection unit 190_2 sends a signal to the control unit 160_2, the control unit 160_2 passively controls the first switch unit 180_2 to be disconnected, and passively controls the system-on-chip 100_2 except the charging detection unit or the battery protection circuit is stopped from power supply, using In order to protect the battery 300_2 and prevent the battery 300_2 from being damaged due to over-discharge, until the system on chip 100_2 or the battery protection circuit restores power after the charging detection unit detects the charging signal, the first switch unit 180_2 is turned off to restore power to the system circuit 200_2. In an embodiment of the present application, the original circuit and functions of the over-discharge voltage protection unit 190_2 in the prior art are fully utilized to actively control the disconnection of the first switch unit 180_2 and actively control the system-on-chip except the charging detection unit The power supply of 100_2 is stopped, which can reduce the cost while increasing the power retention time of the battery 300_2. Specifically, please refer to FIG. 15 to FIG. 16 , the shipping output terminal 210_2 of the system circuit 200_2 is electrically connected to the power supply pin VDD_2 via the second resistor R2_2 , and the second resistor R2_2 and the first resistor R1_2 have the same resistance value, and the general state The disembarkation transportation outlet 210_2 is in a high resistance state. Specifically, in this embodiment, the system circuit 200_2 includes a second switch unit 220_2, and the input terminal of the second switch unit 220_2 is connected to a first level, where the first level is 0, that is, grounded, However, the first level may not be 0, as long as the voltage at the power supply pin VDD_2 is lower than the preset threshold voltage when the second switch unit 220_2 is turned on. The output end of the second switch is electrically connected to one end of the second resistor R2_2, the other end of the second resistor R2_2 is electrically connected to the power supply pin VDD_2, and the control end of the second switch unit 220_2 is controlled by the hardware of the system circuit 200_2 Or software control. Under normal conditions, the second switch unit 220_2 is disconnected, and the shipping outlet 210_2 is in a high-impedance state. When the SoC 500_2 needs to enter the shipping mode, the user can control the second switch through software or hardware. The unit 220_2 is turned off, and the branch formed by the power supply pin VDD_2, the second resistor R2_2, and the second switch unit 220_2 is turned on. Since the second resistor R2_2 and the first resistor R1_2 have the same resistance value, the second resistor R2_2 and the first resistor R1_2 have the same resistance value. A resistor R1_2 divides the battery voltage, so that the voltage signal received at the power supply pin VDD_2 decreases. In this embodiment, the voltage is reduced to half of the battery voltage. Generally, half of the battery voltage will be lower than the preset threshold set by deep discharge. Generally speaking, the power supply voltage of the battery 300_2 is in the range of 2.8V-4.2V, the threshold voltage of deep discharge is generally 2.8V, and half of the battery voltage range is 1.4V-2.1V, which is lower than the threshold voltage of deep discharge. Therefore, when the second switch unit 220_2 is turned on, the over-discharge voltage protection unit 190_2 detects that the voltage of the power supply pin VDD_2 is lower than the threshold voltage. At this time, the over-discharge voltage protection unit 190_2 controls the first switch unit 180_2 to turn off, and controls Other units of the system-on-chip 500_2 except the charge detection unit are powered off. In this embodiment, the second switch unit 220_2 is an NMOS transistor. However, the present application is not limited thereto, and in other embodiments of the present application, the second switch unit 220_2 may also be a PMOS transistor. Generally speaking, the SoC 500_2 has two protection modes for deep discharge: over-discharge recoverable mode and over-discharge non-recoverable mode, which can be set by the user or manufacturer as required. When the SoC 500_2 is in the over-discharge recoverable mode, the When the discharge voltage protection unit 190_2 detects that the voltage of the power supply pin VDD_2 is lower than the preset threshold voltage (eg, false detection), the first switch unit 180_2 is turned off, and the power supply of the SoC 500_2 except the charging detection unit is stopped. , when the voltage of the power supply pin VDD_2 increases above the preset threshold voltage, the system-on-chip 500_2 is automatically restored to power supply by the unit whose power supply is stopped, and the first switch unit 180_2 is turned on; when the system-on-chip 500_2 is in the over-discharge non-recoverable mode , when the over-discharge voltage protection unit 190_2 detects that the voltage of the power supply pin VDD_2 is lower than the preset threshold voltage, the first switch unit 180_2 is turned off, and the power supply of the SoC 500_2 except the charging detection unit is stopped. Here In this mode, even when the voltage at the power supply pin VDD_2 increases above the preset threshold voltage, the first switch unit 180_2 remains disconnected, and the SoC 500_2 other than the charging detection unit continues to be powered off. In this case , only when the charging detection module detects the charging signal, the power supply unit of the system-on-chip 500_2 whose power supply is stopped will resume power supply, and the first switch unit 180_2 will be turned on. In this embodiment, the system-on-chip 500_2 works in the over-discharge non-recoverable mode. At this time, in the shipping mode, the second switch unit 220_2 is disconnected because it is not powered, and the first switch unit 180_2 remains disconnected, except for charging The power supply of the system-on-chip 500_2 other than the detection unit continues to be stopped, which is conducive to maintaining the power of the battery 300_2.
3、在1方式的基础上,在本申请一实施例中,充分利用现有技术的过放电压保护单元190_2原有的电路和功能,实现主动控制第一开关单元180_2断开,并且主动控制除充电检测单元之外的片上系统100_2均被停止供电,可以降低成本。具体而言,请参见图11、图17和图18,过放电压保护单元190_2包括比较器191_2,比较器191_2具有一个同向端和两个反向端,两个反向端分别为第一 反向端、第二反向端,比较器191_2的同相端接一参考电压,比较器191_2的第一反向端电连接电池300_2的输出电压检测点用于检测电池300_2是否深度放电,在此处为电连接到电压供电引脚。在本实施例中,片上系统100_2还包括第三开关单元440_2和第三电阻R3_2,第三开关单元440_2的控制端与脉冲计数单元420_2的输出端电连接,第三开关单元440_2的输入端接地,第三开关单元440_2的输出端与第三电阻R3_2的一端电连接,第三电阻R3_2的另一端接高电平,第三开关单元440_2的输出端还与过放电压保护单元190_2的比较器191_2的第二反向端电连接,其中,第一反向端和第二反向端低电平优先级较高,也即当第一反向端或者第二反向端其中之一为低电平时,此时比较器191_2的反向端为低电平。在本实施例中,当脉冲计数单元420_2输出高电平时第三开关单元440_2导通,此时比较器191_2的第二反向端接地,此时比较器191_2的反向端呈低电平,从而比较器191_2输出由低电平转为高电平,进而实现控制第一开关单元180_2断开,并且控制除充电检测单元之外的片上系统100_2均被停止供电。在本实施例中,第三开关单元440_2为NMOS管。但本申请不限于此,在本申请的其他实施例中,第三开关单元440_2还可以为PMOS管,此时脉冲计数单元420_2输出低电平使第三开关单元440_2导通。在本实施例中,片上系统100_2工作在过放不可恢复模式。3. On the basis of method 1, in an embodiment of the present application, the original circuit and function of the over-discharge voltage protection unit 190_2 of the prior art are fully utilized to realize the active control of the first switch unit 180_2 to be disconnected, and the active control The power supply of the system on chip 100_2 except the charging detection unit is stopped, which can reduce the cost. Specifically, referring to FIG. 11 , FIG. 17 and FIG. 18 , the overdischarge voltage protection unit 190_2 includes a comparator 191_2 , and the comparator 191_2 has one non-inverting terminal and two inverting terminals, and the two inverting terminals are the first The reverse terminal and the second reverse terminal, the non-inverting terminal of the comparator 191_2 is connected to a reference voltage, and the first reverse terminal of the comparator 191_2 is electrically connected to the output voltage detection point of the battery 300_2 for detecting whether the battery 300_2 is deeply discharged. Here are electrically connected to the voltage supply pins. In this embodiment, the system-on-chip 100_2 further includes a third switch unit 440_2 and a third resistor R3_2, the control terminal of the third switch unit 440_2 is electrically connected to the output terminal of the pulse counting unit 420_2, and the input terminal of the third switch unit 440_2 is grounded , the output end of the third switch unit 440_2 is electrically connected to one end of the third resistor R3_2, the other end of the third resistor R3_2 is connected to a high level, and the output end of the third switch unit 440_2 is also connected to the comparator of the overdischarge voltage protection unit 190_2 The second reverse terminal of 191_2 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when one of the first reverse terminal or the second reverse terminal is low At this time, the inverting terminal of the comparator 191_2 is at a low level. In this embodiment, when the pulse counting unit 420_2 outputs a high level, the third switch unit 440_2 is turned on, at this time, the second reverse terminal of the comparator 191_2 is grounded, and at this time, the reverse terminal of the comparator 191_2 is at a low level, As a result, the output of the comparator 191_2 changes from a low level to a high level, thereby controlling the first switch unit 180_2 to be turned off, and controlling the power supply of the system on chip 100_2 except the charging detection unit to be stopped. In this embodiment, the third switch unit 440_2 is an NMOS transistor. However, the present application is not limited to this. In other embodiments of the present application, the third switch unit 440_2 may also be a PMOS transistor. At this time, the pulse counting unit 420_2 outputs a low level to turn on the third switch unit 440_2. In this embodiment, the system-on-chip 100_2 works in an over-discharge irrecoverable mode.
在本实施例中,请结合参见图11和图13,片上系统100_2还包括系统接地引脚VM_2,系统接地引脚VM_2用于与系统电路200_2电连接,而且,系统接地引脚VM_2还用于充电。在本实施例中,系统接地引脚VM_2和电源接地引脚GND_2之间设置有第一开关单元180_2。In this embodiment, please refer to FIG. 11 and FIG. 13 in combination, the system-on-chip 100_2 further includes a system ground pin VM_2, the system ground pin VM_2 is used for electrical connection with the system circuit 200_2, and the system ground pin VM_2 is also used for Charge. In this embodiment, a first switch unit 180_2 is disposed between the system ground pin VM_2 and the power supply ground pin GND_2.
第三实施例Third Embodiment
第三实施例是在第一实施例的基础上,电池保护电路100_3不包含唤醒单元。在本实施例中,请参见图19,电池保护电路100_3包括电源供电端VDD_3、电源接地端GND_3、过充电压保护单元110_3、过放电压保护单元190_3、放电过流保护单元130_3、基准电压产生单元140_3、频率产生单元150_3、控制单元160_3、充电检测单元、第一开关单元180_3。The third embodiment is based on the first embodiment, and the battery protection circuit 100_3 does not include a wake-up unit. In this embodiment, please refer to FIG. 19 , the battery protection circuit 100_3 includes a power supply terminal VDD_3 , a power ground terminal GND_3 , an overcharge voltage protection unit 110_3 , an overdischarge voltage protection unit 190_3 , a discharge overcurrent protection unit 130_3 , and a reference voltage generation The unit 140_3, the frequency generating unit 150_3, the control unit 160_3, the charging detection unit, and the first switching unit 180_3.
在本实施例中,充电检测单元用于检测电子装置是否通过充电器连接到电源以对电池300_3进行充电,当电子装置通过充电器连接到电源后,充电检测单元检测到充电信号,以对电池300_3进行充电;如果由于过放电压保护单元190_3对电池300_3进行了保护,此时充电检测单元检测到充电信号,则退出对电池300_3的过放电压保护,也即对系统电路200_3供电并对电池保护电路100_3进行正常供电。In this embodiment, the charging detection unit is used to detect whether the electronic device is connected to the power source through the charger to charge the battery 300_3. When the electronic device is connected to the power source through the charger, the charging detection unit detects the charging signal to charge the battery 300_3 is charged; if the battery 300_3 is protected by the over-discharge voltage protection unit 190_3, and the charging detection unit detects a charging signal at this time, the over-discharge voltage protection for the battery 300_3 is exited, that is, the system circuit 200_3 is powered and the battery The protection circuit 100_3 provides normal power supply.
在本实施例中,第一开关单元180_3的结构和工作原理同第一实施例,在此不再赘述。In this embodiment, the structure and working principle of the first switch unit 180_3 are the same as those in the first embodiment, and are not repeated here.
在本实施中,电池保护电路100_3还包括船运输入端CTL_3,船运输入端CTL_3为电池保护电路100_3新增的端子,当船运输入端CTL_3接收到第一信号时电池保护电路100_3进入船运模式,在船运模式时电池保护电路100_3至少部分单元被停止供电。从而电池的电量消耗得到减少,可降低电子装置的电流消耗,可以提升电池的电量保持时间,当用户拿到电子装置后,用户只需要操作唤醒单元使电池保护电路退出船运模式,电子装置开机即可以正常使用,提升了用户的体验。在本实施例中,第一信号的产生可以通过软件来实现,也可以通过硬件来实现,当通过硬件来实现时,此时可以通过电子装置的例如电源按键或者声音按键来实现,例如通过长按电源按键来实现产生第一信号。In this embodiment, the battery protection circuit 100_3 further includes a shipping input terminal CTL_3, and the shipping input terminal CTL_3 is a newly added terminal of the battery protection circuit 100_3. When the shipping input terminal CTL_3 receives the first signal, the battery protection circuit 100_3 enters the ship In the shipping mode, at least some units of the battery protection circuit 100_3 are powered off. Therefore, the power consumption of the battery is reduced, the current consumption of the electronic device can be reduced, and the power retention time of the battery can be increased. When the user gets the electronic device, the user only needs to operate the wake-up unit to make the battery protection circuit exit the shipping mode, and the electronic device is turned on. That is, it can be used normally, which improves the user experience. In this embodiment, the generation of the first signal may be implemented by software or by hardware. When implemented by hardware, it may be implemented by, for example, a power button or a sound button of an electronic device, for example, by using a long The first signal is generated by pressing the power button.
为了进一步降低电流消耗,在本实施例中,在船运模式时第一开关单元180_3断开以使电池300_3停止向系统电路200_3供电。在船运模式下,第一开关单元断开,从而电池不能向系统电路供电,可以大量节省电池的电量。In order to further reduce the current consumption, in the present embodiment, the first switch unit 180_3 is turned off to stop the battery 300_3 from supplying power to the system circuit 200_3 in the shipping mode. In the shipping mode, the first switch unit is turned off, so that the battery cannot supply power to the system circuit, which can greatly save the power of the battery.
在本实施例中,电池保护电路100_3还包括唤醒单元170_3,在船运模式时唤醒单元170_3被电池300_3继续供电,唤醒单元170_3用于使电池保护电路100_3退出船运模式。本实施例中,唤醒单元170_3为充电检测电路,而充电检测电路是电池保护电路100_3原本就有的电路,这样设计可以节省成本。在本实施例中,当电子装置被充电时,此时充电检测电路检测到充电信号,电池保护电路100_3自动退出船运模式,由于电池300_3的电量可以长时间保持,从而电子装置可以正常开机使用。另外,在本申请的其他实施例中,唤醒单元170_3还可以不是充电检测电路,还可以是其他的新增的专门用于使电池保护电路100_3退出船运模式的硬件电路,本领域的技术人员可以具体要求进行电路设计。另外,在本申请的其他实施例中,所述唤醒单元170_3还可以是控制单元160_3。In this embodiment, the battery protection circuit 100_3 further includes a wake-up unit 170_3, which is continuously powered by the battery 300_3 in the shipping mode, and is used to make the battery protection circuit 100_3 exit the shipping mode. In this embodiment, the wake-up unit 170_3 is a charging detection circuit, and the charging detection circuit is a circuit originally existing in the battery protection circuit 100_3, so the design can save costs. In this embodiment, when the electronic device is being charged, the charging detection circuit detects the charging signal, and the battery protection circuit 100_3 automatically exits the shipping mode. Since the power of the battery 300_3 can be maintained for a long time, the electronic device can be powered on normally. . In addition, in other embodiments of the present application, the wake-up unit 170_3 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the battery protection circuit 100_3 exit the shipping mode. Those skilled in the art Circuit design can be performed on specific requirements. In addition, in other embodiments of the present application, the wake-up unit 170_3 may also be a control unit 160_3.
在本实施例中,当电子装置需要长距离运输或长时间存储时,此时电子装置的电池保护电路100_3就可以进入船运模式,在船运模式下,第一开关单元180_3断开,从而电池300_3不能向系统电路200_3供电,可以大量节省电池300_3的电量,而且,在船运模式下,电池保护电路100_3至少部分单元被停止供电,从而电池300_3只需要给电池保护电路100_3的唤醒电路等少数电路单元继续供电,从而电池300_3的电量消耗进一步得到减少,可降低电子装置的电流消耗,电流消耗可以低到几nA/h,从而可以提升电池300_3的电量保持时间,即使是电池300_3本身容量比较小的情况,在船运模式下电池300_3的电量也可以保持半年到一年,当用户拿到电子装置后,用户只需要操作唤醒单元170_3使电池保护电路100_3退出船运模式,电子装置开机即可以正常使用,提升了用户的体验,防止用户误以为电子装置是有问题的。In this embodiment, when the electronic device needs to be transported or stored for a long time, the battery protection circuit 100_3 of the electronic device can enter the shipping mode. In the shipping mode, the first switch unit 180_3 is turned off, thereby The battery 300_3 cannot supply power to the system circuit 200_3, which can greatly save the power of the battery 300_3. Moreover, in the shipping mode, at least some units of the battery protection circuit 100_3 are powered off, so the battery 300_3 only needs to provide the wake-up circuit of the battery protection circuit 100_3, etc. A few circuit units continue to supply power, so that the power consumption of the battery 300_3 is further reduced, which can reduce the current consumption of the electronic device, and the current consumption can be as low as several nA/h, so that the battery 300_3 can be maintained. In a relatively small case, the battery 300_3 can maintain the power of the battery 300_3 for half a year to a year in the shipping mode. When the user gets the electronic device, the user only needs to operate the wake-up unit 170_3 to make the battery protection circuit 100_3 exit the shipping mode and turn on the electronic device. That is, it can be used normally, the user experience is improved, and the user is prevented from mistakenly thinking that the electronic device is faulty.
在本实施例中,在船运模式时电池保护电路100_3至少部分单元被停止供 电。在本实施例中,电池保护电路100_3的过充电压保护单元110_3、过放电压保护单元190_3、放电过流保护单元130_3、控制单元160_3、基准电压产生单元140_3和频率产生单元150_3至少其中之一被停止供电,例如,在船运模式时过充电压保护单元110_3、过放电压保护单元190_3、放电过流保护单元130_3、控制单元160_3、基准电压产生单元140_3和频率产生单元150_3其中之一被停止供电,或者在船运模式时过充电压保护单元110_3、过放电压保护单元190_3、放电过流保护单元130_3、控制单元160_3、基准电压产生单元140_3和频率产生单元150_3其中之二被停止供电,或者在船运模式时过充电压保护单元110_3、过放电压保护单元190_3、放电过流保护单元130_3、控制单元160_3、基准电压产生单元140_3和频率产生单元150_3其中之三被停止供电,…,或者在船运模式时过充电压保护单元110_3、过放电压保护单元190_3、放电过流保护单元130_3、控制单元160_3、基准电压产生单元140_3和频率产生单元150_3均被停止供电,此时可以进一步降低电池300_3电量的消耗。另外,在本申请的其他实施例中,电池保护电路100_3还包括温度保护单元410_3、充电过流保护单元120_3等,在船运模式时温度保护单元410_3、充电过流保护单元120_3可以不被供电,也可以被供电,也是本发明保护的范围。在本实施例中,当电池保护电路100_3进入船运模式时电池保护电路100_3除唤醒单元170_3之外的电路均被停止供电,也即电池保护电路100_3除了用于使电池保护电路100_3退出船运模式所需的唤醒单元170_3被供电外,电池保护电路100_3的其他电路单元均不被供电,这样可以进一步的节省电池300_3的电量,降低电池300_3电量的消耗,进一步提升了电池300_3的电量保持时间,尤其可以提升小容量的电池300_3的电量保持时间。In this embodiment, at least some units of the battery protection circuit 100_3 are powered off during the shipping mode. In this embodiment, at least one of the overcharge voltage protection unit 110_3 , the overdischarge voltage protection unit 190_3 , the discharge overcurrent protection unit 130_3 , the control unit 160_3 , the reference voltage generation unit 140_3 and the frequency generation unit 150_3 of the battery protection circuit 100_3 Power supply is stopped, for example, in the shipping mode, one of the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the control unit 160_3, the reference voltage generation unit 140_3 and the frequency generation unit 150_3 is Power supply is stopped, or two of the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the control unit 160_3, the reference voltage generation unit 140_3 and the frequency generation unit 150_3 are stopped to supply power in the shipping mode , or in the shipping mode, three of the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the control unit 160_3, the reference voltage generation unit 140_3 and the frequency generation unit 150_3 are powered off, ... , or in the shipping mode, the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the control unit 160_3, the reference voltage generation unit 140_3 and the frequency generation unit 150_3 are all powered off, at this time, you can The power consumption of the battery 300_3 is further reduced. In addition, in other embodiments of the present application, the battery protection circuit 100_3 further includes a temperature protection unit 410_3, a charging overcurrent protection unit 120_3, etc. In the shipping mode, the temperature protection unit 410_3 and the charging overcurrent protection unit 120_3 may not be powered , can also be powered, which is also the scope of the protection of the present invention. In this embodiment, when the battery protection circuit 100_3 enters the shipping mode, the power supply of the battery protection circuit 100_3 except the wake-up unit 170_3 is all stopped, that is, the battery protection circuit 100_3 is used to make the battery protection circuit 100_3 exit the shipping Except that the wake-up unit 170_3 required by the mode is powered, other circuit units of the battery protection circuit 100_3 are not powered, which can further save the power of the battery 300_3, reduce the power consumption of the battery 300_3, and further improve the power retention time of the battery 300_3 , especially the power retention time of the small-capacity battery 300_3 can be improved.
在本实施例中,当船运输入端CTL_3接收到第一信号时触发电池保护电路100_3产生船运控制信号以进入船运模式。但本申请不限于此,在本申请的其他实施例中,当船运输入端CTL_3接收到第一信号时电池保护电路100_3直接可以进入船运模式。In this embodiment, when the shipping input terminal CTL_3 receives the first signal, the battery protection circuit 100_3 is triggered to generate the shipping control signal to enter the shipping mode. However, the present application is not limited thereto. In other embodiments of the present application, when the shipping input terminal CTL_3 receives the first signal, the battery protection circuit 100_3 can directly enter the shipping mode.
在本实施例中,船运输入端CTL_3接收第一信号时触发电池保护电路100_3产生船运控制信号的方式有三种,以下分别进行描述。当然,船运输入端CTL_3接收第一信号时触发电池保护电路100_3产生船运控制信号的方式不限于下面三种,在本申请的其他实施例中,本领域的技术人员还可以设置其他常规的电路来触发电池保护电路100_3产生船运控制信号。In this embodiment, when the shipping input terminal CTL_3 receives the first signal, there are three ways to trigger the battery protection circuit 100_3 to generate the shipping control signal, which will be described below. Of course, when the shipping input terminal CTL_3 receives the first signal, the manner in which the battery protection circuit 100_3 is triggered to generate the shipping control signal is not limited to the following three. In other embodiments of the present application, those skilled in the art can also set other conventional circuit to trigger the battery protection circuit 100_3 to generate a shipping control signal.
1、在本申请一实施例中,请参见图19、图20,第一信号包括脉冲信号,电池保护电路100_3还包括脉冲计数单元420_3、第三电阻R3_3。在此处,船运输入端CTL_3默认为低电平,在本实施例中为船运输入端CTL_3经由第三电阻 R3_3接地实现低电平,脉冲计数单元420_3在一般状况下输出低电平信号,船运输入端CTL_3与脉冲计数单元420_3电连接。当船运输入端CTL_3接收到第一信号时,脉冲计数单元420_3对脉冲进行计数,脉冲计数单元420_3以上升沿触发计数,当脉冲计数单元420_3在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时脉冲计数单元420_3的输出信号由低电平转为高电平,此时的高电平即为船运控制信号,其中,第一预定时间段和第一预定数量是电池保护电路100_3预先设置好的,第一预定时间段例如为10秒、5秒、3秒、1秒等时间段,第一预定数量例如为3、4、5等,这样设计可以防止误触发。在本实施例中,脉冲计数单元420_3的输出端分别与过充电压保护单元110_3、过放电压保护单元190_3、放电过流保护单元130_3、基准电压产生单元140_3、频率产生单元150_3、控制单元160_3等需要被停止供电的单元电连接,以用于停止电池保护电路100_3除唤醒单元170_3之外的单元的供电。另外,在本申请的其他实施例中,脉冲计数单元420_3的输出端在一般状况下输出高电平,此时低电平为船运控制信号。在本实施例中,脉冲计数单元420_3与控制单元160_3分离设置。另外,在本申请的其他实施例中,脉冲计数单元420_3还可以集成到控制单元160_3中。1. In an embodiment of the present application, please refer to FIG. 19 and FIG. 20 , the first signal includes a pulse signal, and the battery protection circuit 100_3 further includes a pulse counting unit 420_3 and a third resistor R3_3 . Here, the shipping input terminal CTL_3 is at a low level by default. In this embodiment, the shipping input terminal CTL_3 is grounded through the third resistor R3_3 to achieve a low level, and the pulse counting unit 420_3 outputs a low level signal under normal conditions. , the shipping input terminal CTL_3 is electrically connected to the pulse counting unit 420_3. When the shipping input terminal CTL_3 receives the first signal, the pulse counting unit 420_3 counts the pulses, and the pulse counting unit 420_3 triggers counting with a rising edge. or equal to the first predetermined number, the output signal of the pulse counting unit 420_3 changes from low level to high level, and the high level at this time is the shipping control signal, wherein the first predetermined time period and the first predetermined number are The battery protection circuit 100_3 is pre-set, the first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc., and the first predetermined number is, for example, 3, 4, 5, etc., this design can prevent false triggering . In this embodiment, the output end of the pulse counting unit 420_3 is connected to the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the reference voltage generation unit 140_3, the frequency generation unit 150_3, and the control unit 160_3 respectively. The units whose power supply needs to be stopped are electrically connected to stop the power supply of the units other than the wake-up unit 170_3 of the battery protection circuit 100_3. In addition, in other embodiments of the present application, the output terminal of the pulse counting unit 420_3 outputs a high level under normal conditions, and at this time, a low level is a shipping control signal. In this embodiment, the pulse counting unit 420_3 is provided separately from the control unit 160_3. In addition, in other embodiments of the present application, the pulse counting unit 420_3 may also be integrated into the control unit 160_3.
2、在本申请另一实施例中,请参见图22、图23,第一信号包括持续的高电平或持续的低电平信号,电池保护电路500_3还包括第一计时单元430_3、第三电阻R3_3。在此处,船运输入端CTL_3默认为低电平,在本实施例中为船运输入端CTL_3经由第三电阻R3_3接地实现低电平,第一计时单元430_3在一般状况下输出低电平信号,船运输入端CTL_3与第一计时单元430_3电连接。当船运输入端CTL_3接收到第一信号为高电平信号时,也即由船运输入端CTL_3接收的信号由低电平转为高电平时,第一计时单元430_3触发计时,第一计时单元430_3以上升沿触发计时,当第一计时单元430_3接收到的高电平信号持续时间大于或等于第二预定时间段T1时第一计时单元430_3输出信号由低电平转为高电平,此时的高电平信号即为船运控制信号,其中,第二预定时间段T1是电池保护电路500_3预先设置好的,第二预定时间段T1例如为10秒、5秒、3秒、1秒等时间段,这样设计可以防止误触发。在本实施例中,第一计时单元430_3的输出端分别与过充电压保护单元110_3、过放电压保护单元190_3、放电过流保护单元130_3、基准电压产生单元140_3、频率产生单元150_3、控制单元160_3等需要被停止供电的单元电连接,以用于停止电池保护电路500_3除唤醒单元170_3之外的单元的供电。另外,在本申请的其他实施例中,第一计时单元430_3的输出端在一般状况下输出高电平信号,此时低电平信号为船运控制信号。在本实施例 中,第一计时单元430_3与控制单元160_3分离设置。另外,在本申请的其他实施例中,第一计时单元430_3还可以集成到控制单元160_3中。2. In another embodiment of the present application, please refer to FIG. 22 and FIG. 23, the first signal includes a continuous high level or a continuous low level signal, and the battery protection circuit 500_3 further includes a first timing unit 430_3, a third Resistor R3_3. Here, the shipping input terminal CTL_3 is at a low level by default. In this embodiment, the shipping input terminal CTL_3 is grounded through the third resistor R3_3 to achieve a low level. The first timing unit 430_3 outputs a low level under normal conditions. signal, the shipping input terminal CTL_3 is electrically connected to the first timing unit 430_3. When the first signal received by the shipping input terminal CTL_3 is a high level signal, that is, when the signal received by the shipping input terminal CTL_3 changes from a low level to a high level, the first timing unit 430_3 triggers the timing, and the first timing The unit 430_3 triggers timing with a rising edge. When the duration of the high-level signal received by the first timing unit 430_3 is greater than or equal to the second predetermined time period T1, the output signal of the first timing unit 430_3 changes from a low level to a high level, The high-level signal at this time is the shipping control signal, wherein the second predetermined time period T1 is preset by the battery protection circuit 500_3, and the second predetermined time period T1 is, for example, 10 seconds, 5 seconds, 3 seconds, 1 Seconds and other time periods, this design can prevent false triggering. In this embodiment, the output end of the first timing unit 430_3 is respectively connected with the overcharge voltage protection unit 110_3, the overdischarge voltage protection unit 190_3, the discharge overcurrent protection unit 130_3, the reference voltage generation unit 140_3, the frequency generation unit 150_3, and the control unit The units whose power supply needs to be stopped, such as 160_3, are electrically connected to stop the power supply of the units other than the wake-up unit 170_3 of the battery protection circuit 500_3. In addition, in other embodiments of the present application, the output end of the first timing unit 430_3 outputs a high-level signal under normal conditions, and at this time, the low-level signal is a shipping control signal. In this embodiment, the first timing unit 430_3 is provided separately from the control unit 160_3. In addition, in other embodiments of the present application, the first timing unit 430_3 may also be integrated into the control unit 160_3.
3、一般说来,常规的电池保护电路600_3,当电池300_3深度放电时,此时常规的电池保护电路600_3或者电池保护电路通过过放电压保护单元190_3检测到电池300_3深度放电,过放电压保护单元190_3发送信号给控制单元160_3,控制单元160_3被动控制第一开关单元180_3断开,并且被动控制除充电检测单元之外的电池保护电路600_3或者电池保护电路被停止供电,用于保护电池300_3,防止电池300_3因为过度放电损坏,直到充电检测单元被检测到充电信号后电池保护电路600_3恢复供电,第一开关单元180_3关闭以恢复对系统电路200_3的供电。在本申请又一实施例中,充分利用现有技术的过放电压保护单元190_3原有的电路和功能,实现主动控制第一开关单元180_3断开,并且主动控制除充电检测单元之外的电池保护电路600_3被停止供电,可以降低成本。具体而言,请参见图24-图26,过放电压保护单元190_3包括比较器191_3和第二计时单元192_3,比较器191_3具有一个同向端和两个反向端,两个反向端分别为第一反向端、第二反向端,比较器191_3的输出端与第二计时器电连接,比较器191_3的同相端接一参考电压,比较器191_3的第一反向端电连接电池300_3的输出电压检测点用于检测电池300_3是否深度放电。第一信号包括持续的高电平信号,电池保护电路600_3还包括第二开关单元440_3和第一电阻R1_3,第二开关单元440_3的控制端与船运输入端CTL_3电连接,第二开关单元440_3的输入端接地,第二开关单元440_3的输出端与第一电阻R1_3的一端电连接,第一电阻R1_3的另一端接高电平,第二开关单元440_3的输出端还与过放电压保护单元190_3的比较器191_3的第二反向端电连接,其中,第一反向端和第二反向端低电平优先级较高,也即当第一反向端或者第二反向端其中之一为低电平时,此时比较器191_3的反向端为低电平。在本实施例中,当船运输入端CTL_3接到第一信号时第二开关单元440_3导通,此时比较器191_3的第二反向端接地,此时比较器191_3的反向端呈低电平,从而比较器191_3输出高电平,第二计时单元192_3计时接收到的高电平持续时间大于或等于第三预定时间段T2时触发产生船运控制信号,该船运控制信号即为高电平信号。进而通过利用现有的过放电压保护单元190_3实现控制第一开关单元180_3断开,并且控制除充电检测单元之外的电池保护电路600_3被停止供电。其中,第三预定时间段T2是电池保护电路600_3预先设置好的,第三预定时间段T2例如为10秒、5秒、3秒等时间段,这样设计可以防止误触发。在本实施例中,第二开关单元440_3为NMOS管。但本申请不限于此,在本申请的其他实施例中,第二开关单元440_3还可以为PMOS管,此时第一信号包括持续的低电平信号。3. Generally speaking, the conventional battery protection circuit 600_3, when the battery 300_3 is deeply discharged, the conventional battery protection circuit 600_3 or the battery protection circuit detects the deep discharge of the battery 300_3 through the over-discharge voltage protection unit 190_3, and the over-discharge voltage protection The unit 190_3 sends a signal to the control unit 160_3, the control unit 160_3 passively controls the first switch unit 180_3 to be turned off, and passively controls the battery protection circuit 600_3 except the charging detection unit or the battery protection circuit is stopped to supply power for protecting the battery 300_3, To prevent the battery 300_3 from being damaged due to over-discharge, until the battery protection circuit 600_3 restores power supply after the charging detection unit detects the charging signal, the first switch unit 180_3 is turned off to restore the power supply to the system circuit 200_3 . In yet another embodiment of the present application, the original circuit and functions of the over-discharge voltage protection unit 190_3 in the prior art are fully utilized to actively control the first switch unit 180_3 to be disconnected, and actively control the batteries other than the charging detection unit. The power supply of the protection circuit 600_3 is stopped, which can reduce the cost. Specifically, please refer to FIG. 24 to FIG. 26 , the over-discharge voltage protection unit 190_3 includes a comparator 191_3 and a second timing unit 192_3. The comparator 191_3 has a same-direction terminal and two reverse terminals, and the two reverse terminals are respectively are the first reverse terminal and the second reverse terminal, the output terminal of the comparator 191_3 is electrically connected to the second timer, the non-inverting terminal of the comparator 191_3 is connected to a reference voltage, and the first reverse terminal of the comparator 191_3 is electrically connected to the battery The output voltage detection point of 300_3 is used to detect whether the battery 300_3 is deeply discharged. The first signal includes a continuous high level signal, the battery protection circuit 600_3 further includes a second switch unit 440_3 and a first resistor R1_3, the control terminal of the second switch unit 440_3 is electrically connected to the shipping input terminal CTL_3, and the second switch unit 440_3 The input end of the second switch unit 440_3 is electrically connected to one end of the first resistor R1_3, the other end of the first resistor R1_3 is connected to a high level, and the output end of the second switch unit 440_3 is also connected to the over-discharge voltage protection unit. The second reverse terminal of the comparator 191_3 of 190_3 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when the first reverse terminal or the second reverse terminal When one of them is a low level, the reverse terminal of the comparator 191_3 is a low level at this time. In this embodiment, when the shipping input terminal CTL_3 receives the first signal, the second switch unit 440_3 is turned on, at this time, the second reverse terminal of the comparator 191_3 is grounded, and at this time, the reverse terminal of the comparator 191_3 is low Therefore, the comparator 191_3 outputs a high level. When the duration of the high level received by the second timing unit 192_3 is greater than or equal to the third predetermined time period T2, a shipping control signal is triggered, and the shipping control signal is high level signal. Furthermore, by using the existing over-discharge voltage protection unit 190_3, the first switch unit 180_3 is controlled to be turned off, and the battery protection circuit 600_3 other than the charging detection unit is controlled to be stopped from supplying power. The third predetermined time period T2 is preset by the battery protection circuit 600_3, and the third predetermined time period T2 is, for example, 10 seconds, 5 seconds, 3 seconds, etc., which can prevent false triggering. In this embodiment, the second switch unit 440_3 is an NMOS transistor. However, the present application is not limited thereto. In other embodiments of the present application, the second switch unit 440_3 may also be a PMOS transistor, and at this time, the first signal includes a continuous low-level signal.
在本实施例中,请参见图19,电池保护电路100_3还包括系统接地端VM_3,系统接地端VM_3用于与系统电路200_3电连接,而且,系统接地端VM_3还用于充电。在本实施例中,系统接地VM_3和电源接地端GND_3之间设置有第一开关单元180_3。In this embodiment, please refer to FIG. 19 , the battery protection circuit 100_3 further includes a system ground terminal VM_3 , the system ground terminal VM_3 is used for electrical connection with the system circuit 200_3 , and the system ground terminal VM_3 is also used for charging. In this embodiment, a first switch unit 180_3 is disposed between the system ground VM_3 and the power ground terminal GND_3.
在本实施例中,电池保护电路100_3做在同一个芯片上,也即电池保护电路100_3整体做成片上系统,片上系统(System on Chip,SOC)是集成电路领域常用的一种技术,目的是将多个具有特定功能的集成电路组合在一个芯片上形成系统或产品,其中包含完成的硬件系统及其承载的嵌入式软件。片上系统在性能、成本、功耗、可靠性,以及生命周期与使用范围等各个方面都有明显的优势。另外,在本申请的其他实施例中,电池保护电路100_3除第一开关单元180_3之外的单元均做在同一个芯片上,也即电池保护电路100_3除第一开关单元180_3之外的单元整体做成片上系统。另外,在本申请的其他实施例中,图21中的第二电阻R2_3、电容C也可以做在片上系统中。In this embodiment, the battery protection circuit 100_3 is formed on the same chip, that is, the battery protection circuit 100_3 is formed as a whole system on a chip. The system on chip (SOC) is a technology commonly used in the field of integrated circuits. Combining multiple integrated circuits with specific functions on a chip to form a system or product, which includes the completed hardware system and the embedded software it carries. SoCs have obvious advantages in performance, cost, power consumption, reliability, as well as life cycle and usage range. In addition, in other embodiments of the present application, the units of the battery protection circuit 100_3 except the first switch unit 180_3 are all implemented on the same chip, that is, the entire unit of the battery protection circuit 100_3 except the first switch unit 180_3 Made into a system-on-chip. In addition, in other embodiments of the present application, the second resistor R2_3 and the capacitor C in FIG. 21 can also be implemented in a system-on-chip.
在本申请的另一个实施例中,提供了一种蓝牙耳机,包括:In another embodiment of the present application, a Bluetooth headset is provided, including:
上述的电池保护电路100_3,其中,电池保护电路可做在同一个芯片上,或者,电池保护电路除第一开关单元之外的单元均做在同一个芯片上;In the above-mentioned battery protection circuit 100_3, the battery protection circuit can be implemented on the same chip, or the units of the battery protection circuit except the first switch unit are implemented on the same chip;
系统电路200_3;system circuit 200_3;
电池,其容量为10mAH-80mAH;Battery, its capacity is 10mAH-80mAH;
电池保护电路100_3与系统电路200_3路电连接,当系统电路200_3向电池保护电路100_3输出第一信号时所述电池保护电路100_3进入船运模式,在船运模式时所述第一开关单元180_3断开以使电池300_3停止向系统电路200_3供电。具体地,电池保护电路100_3通过船运输入端CTL_3与系统电路200_3电连接,当船运输入端CTL_3接收到第一信号时电池保护电路100_3进入船运模式,在船运模式时通过控制单元160_3控制第一开关单元180_3断开以使电池300_3停止向系统电路200_3供电。在本实施例中,第一信号的产生可以通过软件来实现,也可以通过硬件来实现,当通过硬件来实现时,此时可以通过蓝牙耳机的例如电源按键、声音按键等来实现,例如通过长按电源按键来实现产生第一信号。另外,在本申请的其他实施例中,电池保护电路100_3还可以通过其他端子共用与系统电路200_3电连接,例如通过电源供电端VDD_3输入第一信号。另外,在本申请的其他实施例中,电池保护电路100_3还可以通过其他线路与系统电路200_3电连接,例如通过电源供电端VDD_3输入第一信号。The battery protection circuit 100_3 is electrically connected to the system circuit 200_3. When the system circuit 200_3 outputs a first signal to the battery protection circuit 100_3, the battery protection circuit 100_3 enters the shipping mode, and the first switch unit 180_3 is turned off in the shipping mode. On to stop the battery 300_3 supplying power to the system circuit 200_3. Specifically, the battery protection circuit 100_3 is electrically connected to the system circuit 200_3 through the shipping input terminal CTL_3. When the shipping input terminal CTL_3 receives the first signal, the battery protection circuit 100_3 enters the shipping mode, and in the shipping mode, the battery protection circuit 100_3 enters the shipping mode through the control unit 160_3. The first switch unit 180_3 is controlled to be turned off to stop the battery 300_3 from supplying power to the system circuit 200_3. In this embodiment, the generation of the first signal can be implemented by software or by hardware. When implemented by hardware, it can be implemented by, for example, the power button and the sound button of the Bluetooth headset. Long press the power button to generate the first signal. In addition, in other embodiments of the present application, the battery protection circuit 100_3 may also be electrically connected to the system circuit 200_3 by sharing other terminals, for example, inputting the first signal through the power supply terminal VDD_3. In addition, in other embodiments of the present application, the battery protection circuit 100_3 may also be electrically connected to the system circuit 200_3 through other lines, for example, the first signal is input through the power supply terminal VDD_3.
在船运模式下,电池保护电路100_3还至少部分单元被停止供电,从而电池300_3只需要给电池保护电路100_3的唤醒单元170_3等少数电路单元继续供电,从而电池300_3的电量消耗进一步得到减少,可降低蓝牙耳机的电流消耗,电流消耗可以低到几nA/h,从而可以提升电池300_3的电量保持时间,即使是蓝 牙耳机电池300_3本身容量比较小的情况,在船运模式下电池300_3的电量也可以保持半年到一年。In the shipping mode, at least some units of the battery protection circuit 100_3 are also powered off, so that the battery 300_3 only needs to continue to supply power to a few circuit units such as the wake-up unit 170_3 of the battery protection circuit 100_3, so that the power consumption of the battery 300_3 is further reduced. Reduce the current consumption of the Bluetooth headset, the current consumption can be as low as a few nA/h, which can improve the power retention time of the battery 300_3, even if the capacity of the Bluetooth headset battery 300_3 itself is relatively small, the power of the battery 300_3 in the shipping mode It can be kept for half a year to a year.
第四实施例Fourth Embodiment
第四实施例是在第一实施例的基础上,在片上系统100_4上新增控制引脚CTR_4,控制引脚CTR_4在片上系统100_4内部与控制单元160_4电连接,控制引脚CTR_4用于与第一开关单元180_4电连接,控制单元160_4通过控制引脚CTR_4控制第一开关单元180_4的通断。在本实施例中,控制引脚CTR_4的数目为一个。但本申请不限于此,在本申请的其他实施例中,控制引脚CTR_4的数目可以为多个。The fourth embodiment is based on the first embodiment, and a new control pin CTR_4 is added to the SoC 100_4, the control pin CTR_4 is electrically connected to the control unit 160_4 inside the SoC 100_4, and the control pin CTR_4 is used for connecting with the first embodiment. A switch unit 180_4 is electrically connected, and the control unit 160_4 controls the on-off of the first switch unit 180_4 through the control pin CTR_4. In this embodiment, the number of control pins CTR_4 is one. However, the present application is not limited thereto, and in other embodiments of the present application, the number of control pins CTR_4 may be multiple.
在本实施例中,第一开关单元180_4包括开关管和衬底控制电路,开关管为MOS管,开关管的控制端与片上系统100_4电连接,具体与后面提到的片上系统100_4的控制单元160_4电连接,衬底控制电路与片上系统100_4的控制单元160_4电连接,衬底控制电路用于实现开关管的衬底的正确偏置。但本申请不限于此,在本申请的其他实施例中,第一开关单元180_4还可以包括充电开关和放电开关,其中,充电开关和放电开关均为MOS管,充电开关和放电开关分别与控制单元160_4电连接。另外,在本申请的其他实施例中,第一开关单元180_4还可以是其他实现形式,例如只包括一个开关管。在本实施例中,第一开关单元180_4用于控制电池300_4供电给系统电路200_4,具体为通过电池300_4、系统电路200_4、第一开关单元180_4形成回路以供电给片上系统100_4。具体而言,第一开关单元180_4的控制端与控制单元160_4电连接,第一开关单元180_4的输入端用于与电池300_4电连接,例如与电池300_4的负极电连接,第一开关单元180_4的输出端用于与系统电路200_4电连接,从而电池300_4、系统电路200_4、第一开关单元180_4形成供电回路,片上系统100_4通过控制第一开关单元180_4,就可以控制电池300_4是否向系统电路200_4进行供电。在本实施例中,第一开关单元180_4做在片上系统100_4之外,但在本申请的其他实施例中,第一开关单元180_4还可以做在片上系统100_4上。In this embodiment, the first switch unit 180_4 includes a switch tube and a substrate control circuit, the switch tube is a MOS tube, and the control end of the switch tube is electrically connected to the system-on-chip 100_4, specifically the control unit of the system-on-chip 100_4 mentioned later 160_4 is electrically connected, and the substrate control circuit is electrically connected to the control unit 160_4 of the system-on-chip 100_4, and the substrate control circuit is used to realize the correct bias of the substrate of the switch tube. However, the present application is not limited thereto. In other embodiments of the present application, the first switch unit 180_4 may further include a charge switch and a discharge switch, wherein the charge switch and the discharge switch are both MOS transistors, and the charge switch and the discharge switch are respectively connected to the control The unit 160_4 is electrically connected. In addition, in other embodiments of the present application, the first switch unit 180_4 may also be implemented in other forms, for example, including only one switch tube. In this embodiment, the first switch unit 180_4 is used to control the battery 300_4 to supply power to the system circuit 200_4, specifically, the battery 300_4, the system circuit 200_4, and the first switch unit 180_4 form a loop to supply power to the system-on-chip 100_4. Specifically, the control terminal of the first switch unit 180_4 is electrically connected to the control unit 160_4, the input terminal of the first switch unit 180_4 is used for electrical connection with the battery 300_4, for example, the negative terminal of the battery 300_4 is electrically connected. The output terminal is used for electrical connection with the system circuit 200_4, so that the battery 300_4, the system circuit 200_4, and the first switch unit 180_4 form a power supply loop. powered by. In this embodiment, the first switch unit 180_4 is implemented outside the system-on-chip 100_4, but in other embodiments of the present application, the first switch unit 180_4 may also be implemented on the system-on-chip 100_4.
在本实施例中,请结合参见图27-图29,片上系统100_4包括电源供电引脚VDD_4、电源接地引脚GND_4、过充电压保护单元110_4、过放电压保护单元190_4、放电过流保护单元130_4、基准电压产生单元140_4、频率产生单元150_4、控制单元160_4、唤醒单元170_4、控制引脚CTR_4。In this embodiment, please refer to FIG. 27-FIG. 29 in combination, the system-on-chip 100_4 includes a power supply pin VDD_4, a power supply ground pin GND_4, an overcharge voltage protection unit 110_4, an overdischarge voltage protection unit 190_4, and a discharge and overcurrent protection unit 130_4, a reference voltage generating unit 140_4, a frequency generating unit 150_4, a control unit 160_4, a wake-up unit 170_4, and a control pin CTR_4.
在本实施中,当片上系统100_4上的船运引脚CTL_4接收到第一信号时片上系统100_4进入船运模式,在船运模式时所述片上系统100_4输出用于关断第一开关单元180_4的控制信号给控制引脚CTR_4以使电池300_4停止向系统电路 200_4供电,且片上系统100_4至少部分单元被停止供电。在本实施例中,第一信号的产生可以通过软件来实现,也可以通过硬件来实现,当通过硬件来实现时,此时可以通过电子装置的例如电源按键来实现,例如通过长按电源按键来实现产生第一信号。In this implementation, when the shipping pin CTL_4 on the SoC 100_4 receives the first signal, the SoC 100_4 enters the shipping mode, and in the shipping mode, the output of the SoC 100_4 is used to turn off the first switch unit 180_4 The control signal of 1 is supplied to the control pin CTR_4 to make the battery 300_4 stop supplying power to the system circuit 200_4, and at least some units of the system-on-chip 100_4 are stopped from supplying power. In this embodiment, the generation of the first signal may be implemented by software or by hardware. When implemented by hardware, it may be implemented by, for example, the power button of the electronic device, for example, by long pressing the power button to generate the first signal.
在本实施例中,在船运模式时唤醒单元170_4被电池300_4继续供电,唤醒单元170_4用于使片上系统100_4退出船运模式。本实施例中,由于唤醒单元170_4为充电检测电路,而充电检测电路是片上系统100_4原本就有的电路,这样设计可以节省成本。在本实施例中,当电子装置被充电时,此时充电检测电路检测到充电信号,片上系统100_4自动退出船运模式,由于电池300_4的电量可以长时间保持,从而电子装置可以正常开机使用。另外,在本申请的其他实施例中,唤醒单元170_4还可以不是充电检测电路,还可以是其他的新增的专门用于使片上系统100_4退出船运模式的硬件电路,本领域的技术人员可以具体要求进行电路设计。In this embodiment, the wake-up unit 170_4 is continuously powered by the battery 300_4 in the shipping mode, and the wake-up unit 170_4 is used to make the system on chip 100_4 exit the shipping mode. In this embodiment, since the wake-up unit 170_4 is a charging detection circuit, and the charging detection circuit is a circuit originally existing in the system-on-chip 100_4, such a design can save costs. In this embodiment, when the electronic device is charged, the charging detection circuit detects the charging signal, and the system-on-chip 100_4 automatically exits the shipping mode. Since the power of the battery 300_4 can be maintained for a long time, the electronic device can be powered on normally. In addition, in other embodiments of the present application, the wake-up unit 170_4 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the system-on-chip 100_4 exit the shipping mode. Those skilled in the art may Specific requirements for circuit design.
在本实施例中,当电子装置需要长距离运输或长时间存储时,此时电子装置的片上系统100_4就可以进入船运模式,在船运模式下,片上系统100_4的控制单元160_4通过控制引脚CTR_4控制第一开关单元180_4断开,从而电池300_4不能向系统电路200_4供电,可以大量节省电池300_4的电量,而且,在船运模式下,片上系统100_4至少部分单元被停止供电,从而电池300_4只需要给片上系统100_4的唤醒单元170_4等少数电路单元继续供电,从而电池300_4的电量消耗进一步得到减少,可降低电子装置的电流消耗,电流消耗可以低到几nA/h,从而可以提升电池300_4的电量保持时间,即使是电池300_4本身容量比较小的情况,在船运模式下电池300_4的电量也可以保持半年到一年,当用户拿到电子装置后,用户只需要操作唤醒单元170_4使片上系统100_4退出船运模式,电子装置开机即可以正常使用,提升了用户的体验,防止用户误以为电子装置是有问题的。In this embodiment, when the electronic device needs to be transported or stored for a long time, the SoC 100_4 of the electronic device can enter the shipping mode. In the shipping mode, the control unit 160_4 of the SoC 100_4 controls the The pin CTR_4 controls the first switch unit 180_4 to be disconnected, so that the battery 300_4 cannot supply power to the system circuit 200_4, which can greatly save the power of the battery 300_4. Moreover, in the shipping mode, at least some units of the system on chip 100_4 are powered off, so that the battery 300_4 Only a few circuit units such as the wake-up unit 170_4 of the system-on-chip 100_4 need to continue to supply power, so that the power consumption of the battery 300_4 is further reduced, and the current consumption of the electronic device can be reduced, and the current consumption can be as low as several nA/h, so that the battery 300_4 can be improved Even if the capacity of the battery 300_4 itself is relatively small, the power of the battery 300_4 can be maintained for half a year to a year in the shipping mode. When the user gets the electronic device, the user only needs to operate the wake-up unit 170_4 to make the on-chip When the system 100_4 exits the shipping mode, the electronic device can be used normally after it is turned on, which improves the user experience and prevents the user from mistakenly thinking that the electronic device is faulty.
在本实施例中,在船运模式时片上系统100_4至少部分单元被停止供电。在本实施例中,片上系统100_4的过充电压保护单元110_4、过放电压保护单元190_4、放电过流保护单元130_4、控制单元160_4、基准电压产生单元140_4和频率产生单元150_4至少其中之一被停止供电,例如,在船运模式时过充电压保护单元110_4、过放电压保护单元190_4、放电过流保护单元130_4、控制单元160_4、基准电压产生单元140_4和频率产生单元150_4其中之一被停止供电,或者在船运模式时过充电压保护单元110_4、过放电压保护单元190_4、放电过流保护单元130_4、控制单元160_4、基准电压产生单元140_4和频率产生单元150_4其中之二被停止供电,或者在船运模式时过充电压保护单元110_4、过放电压保护单元190_4、放电过流保护单元130_4、控制单元160_4、基准电压产生单 元140_4和频率产生单元150_4其中之三被停止供电,…,或者在船运模式时过充电压保护单元110_4、过放电压保护单元190_4、放电过流保护单元130_4、控制单元160_4、基准电压产生单元140_4和频率产生单元150_4均被停止供电,此时可以进一步降低电池300_4电量的消耗。另外,在本申请的其他实施例中,片上系统100_4还包括温度保护单元410_4、充电过流保护单元120_4等,在船运模式时温度保护单元410_4、充电过流保护单元120_4可以不被供电,也可以被供电,也是本发明保护的范围。在本实施例中,当片上系统100_4进入船运模式时片上系统100_4除唤醒单元170_4之外的电路均被停止供电,也即片上系统100_4除了用于使片上系统100_4退出船运模式所需的唤醒单元170_4被供电外,片上系统100_4的其他电路单元均不被供电,这样可以进一步的节省电池300_4的电量,降低电池300_4电量的消耗,进一步提升了电池300_4的电量保持时间,尤其可以提升小容量的电池300_4的电量保持时间。In this embodiment, at least some units of the system on chip 100_4 are powered off during the shipping mode. In this embodiment, at least one of the overcharge voltage protection unit 110_4 , the overdischarge voltage protection unit 190_4 , the discharge overcurrent protection unit 130_4 , the control unit 160_4 , the reference voltage generation unit 140_4 and the frequency generation unit 150_4 of the system on chip 100_4 is Stop power supply, for example, one of the overcharge voltage protection unit 110_4, the overdischarge voltage protection unit 190_4, the discharge overcurrent protection unit 130_4, the control unit 160_4, the reference voltage generation unit 140_4 and the frequency generation unit 150_4 is stopped in the shipping mode power supply, or two of the overcharge voltage protection unit 110_4, the overdischarge voltage protection unit 190_4, the discharge overcurrent protection unit 130_4, the control unit 160_4, the reference voltage generation unit 140_4 and the frequency generation unit 150_4 are powered off in the shipping mode, Or in the shipping mode, three of the overcharge voltage protection unit 110_4 , the overdischarge voltage protection unit 190_4 , the discharge overcurrent protection unit 130_4 , the control unit 160_4 , the reference voltage generation unit 140_4 and the frequency generation unit 150_4 are powered off, . . . Or in the shipping mode, the overcharge voltage protection unit 110_4 , the overdischarge voltage protection unit 190_4 , the discharge overcurrent protection unit 130_4 , the control unit 160_4 , the reference voltage generation unit 140_4 and the frequency generation unit 150_4 are all powered off. Reduce the power consumption of the battery 300_4. In addition, in other embodiments of the present application, the system-on-chip 100_4 further includes a temperature protection unit 410_4, a charging overcurrent protection unit 120_4, etc. In the shipping mode, the temperature protection unit 410_4 and the charging overcurrent protection unit 120_4 may not be powered, It can also be powered, which is also the scope of the protection of the present invention. In this embodiment, when the system on chip 100_4 enters the shipping mode, the circuits of the system on chip 100_4 except the wake-up unit 170_4 are all powered off, that is, the circuits of the system on chip 100_4 except for the circuits required for the system on chip 100_4 to exit the shipping mode Except that the wake-up unit 170_4 is powered, other circuit units of the system-on-chip 100_4 are not powered, which can further save the power of the battery 300_4, reduce the power consumption of the battery 300_4, and further improve the power retention time of the battery 300_4. The charge retention time of the battery 300_4 of the capacity.
在本实施例中,当船运引脚CTL_4接收到第一信号时触发片上系统100_4产生船运控制信号以进入船运模式。但本申请不限于此,在本申请的其他实施例中,当船运引脚CTL_4接收到第一信号时片上系统100_4直接可以进入船运模式。In this embodiment, when the shipping pin CTL_4 receives the first signal, the SoC 100_4 is triggered to generate a shipping control signal to enter the shipping mode. However, the present application is not limited thereto. In other embodiments of the present application, the system on chip 100_4 can directly enter the shipping mode when the shipping pin CTL_4 receives the first signal.
在本实施例中,船运引脚CTL_4接收第一信号时触发片上系统100_4产生船运控制信号的方式有三种,以下分别进行描述。当然,船运引脚CTL_4接收第一信号时触发片上系统100_4产生船运控制信号的方式不限于下面三种,在本申请的其他实施例中,本领域的技术人员还可以设置其他常规的电路来触发片上系统100_4产生船运控制信号。In this embodiment, when the shipping pin CTL_4 receives the first signal, there are three ways to trigger the system-on-chip 100_4 to generate the shipping control signal, which will be described below. Of course, when the shipping pin CTL_4 receives the first signal, the manner of triggering the SoC 100_4 to generate the shipping control signal is not limited to the following three. In other embodiments of the present application, those skilled in the art can also set other conventional circuits to trigger the system-on-chip 100_4 to generate a shipping control signal.
1、在本申请一实施例中,请参见图30、图31,第一信号包括脉冲信号,片上系统100_4还包括脉冲计数单元420_4、第三电阻R3_4。在此处,船运引脚CTL_4默认为低电平,在本实施例中为船运引脚CTL_4经由第三电阻R3_4接地实现低电平,脉冲计数单元420_4在一般状况下输出低电平信号,船运引脚CTL_4与脉冲计数单元420_4电连接。当船运引脚CTL_4接收到第一信号时,脉冲计数单元420_4对脉冲进行计数,脉冲计数单元420_4以上升沿触发计数,当脉冲计数单元420_4在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时脉冲计数单元420_4的输出信号由低电平转为高电平,此时的高电平即为船运控制信号,其中,第一预定时间段和第一预定数量是片上系统100_4预先设置好的,第一预定时间段例如为10秒、5秒、3秒、1秒等时间段,第一预定数量例如为3、4、5等,这样设计可以防止误触发。在本实施例中,脉冲计数单元420_4的输出端分别与过充电压保护单元110_4、过放电压保护单元190_4、放电过流保护单元130_4、基准电压产生单元140_4、频率产生单元150_4、控制单元 160_4等需要被停止供电的单元电连接,以用于停止片上系统100_4除唤醒单元170_4之外的单元的供电。另外,在本申请的其他实施例中,脉冲计数单元420_4的输出端在一般状况下输出高电平,此时低电平为船运控制信号。在本实施例中,脉冲计数单元420_4与控制单元160_4分离设置。另外,在本申请的其他实施例中,脉冲计数单元420_4还可以集成到控制单元160_4中。1. In an embodiment of the present application, please refer to FIG. 30 and FIG. 31 , the first signal includes a pulse signal, and the system-on-chip 100_4 further includes a pulse counting unit 420_4 and a third resistor R3_4 . Here, the shipping pin CTL_4 is at a low level by default. In this embodiment, the shipping pin CTL_4 is grounded to a low level through the third resistor R3_4, and the pulse counting unit 420_4 outputs a low level signal under normal conditions. , the shipping pin CTL_4 is electrically connected to the pulse counting unit 420_4. When the shipping pin CTL_4 receives the first signal, the pulse counting unit 420_4 counts the pulses, and the pulse counting unit 420_4 triggers counting with a rising edge. or equal to the first predetermined number, the output signal of the pulse counting unit 420_4 changes from low level to high level, and the high level at this time is the shipping control signal, wherein the first predetermined time period and the first predetermined number are The system-on-chip 100_4 is preset, the first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc., and the first predetermined number is, for example, 3, 4, 5, etc. This design can prevent false triggering. In this embodiment, the output end of the pulse counting unit 420_4 is connected to the overcharge voltage protection unit 110_4, the overdischarge voltage protection unit 190_4, the discharge overcurrent protection unit 130_4, the reference voltage generation unit 140_4, the frequency generation unit 150_4, and the control unit 160_4 respectively. The units whose power supply needs to be stopped are electrically connected to stop the power supply of the units of the system-on-chip 100_4 except the wake-up unit 170_4. In addition, in other embodiments of the present application, the output terminal of the pulse counting unit 420_4 outputs a high level under normal conditions, and at this time, a low level is a shipping control signal. In this embodiment, the pulse counting unit 420_4 is provided separately from the control unit 160_4. In addition, in other embodiments of the present application, the pulse counting unit 420_4 may also be integrated into the control unit 160_4.
2、在本申请一实施例中,请参见图32、图33,第一信号包括持续的高电平或持续的低电平信号,片上系统100_4还包括第一计时单元430_4、第三电阻R3_4。在此处,船运引脚CTL_4默认为低电平,在本实施例中为船运引脚CTL_4经由第三电阻R3_4接地实现低电平,第一计时单元430_4在一般状况下输出低电平信号,船运引脚CTL_4与第一计时单元430_4电连接。当船运引脚CTL_4接收到第一信号为高电平信号时,也即由船运引脚CTL_4接收的信号由低电平转为高电平时,第一计时单元430_4触发计时,第一计时单元430_4以上升沿触发计时,当第一计时单元430_4接收到的高电平信号持续时间大于或等于第二预定时间段T1时第一计时单元430_4输出信号由低电平转为高电平,此时的高电平信号即为船运控制信号,其中,第二预定时间段T1是片上系统100_4预先设置好的,第二预定时间段T1例如为10秒、5秒、3秒、1秒等时间段,这样设计可以防止误触发。在本实施例中,第一计时单元430_4的输出端分别与过充电压保护单元110_4、过放电压保护单元190_4、放电过流保护单元130_4、基准电压产生单元140_4、频率产生单元150_4、控制单元160_4等需要被停止供电的单元电连接,以用于停止片上系统100_4除唤醒单元170_4之外的单元的供电。另外,在本申请的其他实施例中,第一计时单元430_4的输出端在一般状况下输出高电平信号,此时低电平信号为船运控制信号。在本实施例中,第一计时单元430_4与控制单元160_4分离设置。另外,在本申请的其他实施例中,第一计时单元430_4还可以集成到控制单元160_4中。2. In an embodiment of the present application, please refer to FIG. 32 and FIG. 33 , the first signal includes a continuous high-level signal or a continuous low-level signal, and the system-on-chip 100_4 further includes a first timing unit 430_4 and a third resistor R3_4 . Here, the shipping pin CTL_4 is at a low level by default. In this embodiment, the shipping pin CTL_4 is grounded through the third resistor R3_4 to achieve a low level, and the first timing unit 430_4 outputs a low level under normal conditions. signal, the shipping pin CTL_4 is electrically connected to the first timing unit 430_4. When the first signal received by the shipping pin CTL_4 is a high level signal, that is, when the signal received by the shipping pin CTL_4 changes from a low level to a high level, the first timing unit 430_4 triggers the timing, and the first timing The unit 430_4 triggers timing with a rising edge. When the duration of the high-level signal received by the first timing unit 430_4 is greater than or equal to the second predetermined time period T1, the output signal of the first timing unit 430_4 changes from a low level to a high level, The high-level signal at this time is the shipping control signal, wherein the second predetermined time period T1 is preset by the SoC 100_4, and the second predetermined time period T1 is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second Waiting time period, this design can prevent false triggering. In this embodiment, the output end of the first timing unit 430_4 is respectively connected with the overcharge voltage protection unit 110_4 , the overdischarge voltage protection unit 190_4 , the discharge overcurrent protection unit 130_4 , the reference voltage generation unit 140_4 , the frequency generation unit 150_4 , and the control unit The units whose power supply needs to be stopped, such as 160_4, are electrically connected to stop the power supply of the units other than the wake-up unit 170_4 of the system on chip 100_4. In addition, in other embodiments of the present application, the output end of the first timing unit 430_4 outputs a high-level signal under normal conditions, and at this time, the low-level signal is a shipping control signal. In this embodiment, the first timing unit 430_4 is provided separately from the control unit 160_4. In addition, in other embodiments of the present application, the first timing unit 430_4 may also be integrated into the control unit 160_4.
3、请参见图29,一般说来,常规的片上系统100_4或者电池300_4保护电路,当电池300_4深度放电时,此时常规的片上系统100_4或者电池300_4保护电路通过过放电压保护单元190_4检测到电池300_4深度放电,过放电压保护单元190_4发送信号给控制单元160_4,控制单元160_4通过控制引脚CTR_4被动控制第一开关单元180_4断开,并且被动控制除充电检测单元之外的片上系统100_4或者电池300_4保护电路被停止供电,用于保护电池300_4,防止电池300_4因为过度放电损坏,直到充电检测单元被检测到充电信号后片上系统100_4或者电池300_4保护电路恢复供电,第一开关单元180_4关闭以恢复对系统电路200_4的供电。在本申请一实施例中,充分利用现有技术的过放电压保护单元 190_4原有的电路和功能,实现通过控制引脚CTR_4主动控制第一开关单元180_4断开,并且主动控制除充电检测单元之外的片上系统100_4被停止供电,可以降低成本。具体而言,请参见图34-图36,过放电压保护单元190_4包括比较器191_4和第二计时单元192_4,比较器191_4具有一个同向端和两个反向端,两个反向端分别为第一反向端、第二反向端,比较器191_4的输出端与第二计时器电连接,比较器191_4的同相端接一参考电压,比较器191_4的第一反向端电连接电池300_4的输出电压检测点用于检测电池300_4是否深度放电。第一信号包括持续的高电平信号,片上系统100_4还包括第二开关单元440_4和第一电阻R1_4,第二开关单元440_4的控制端与船运引脚CTL_4电连接,第二开关单元440_4的输入端接地,第二开关单元440_4的输出端与第一电阻R1_4的一端电连接,第一电阻R1_4的另一端接高电平,第二开关单元440_4的输出端还与过放电压保护单元190_4的比较器191_4的第二反向端电连接,其中,第一反向端和第二反向端低电平优先级较高,也即当第一反向端或者第二反向端其中之一为低电平时,此时比较器191_4的反向端为低电平。在本实施例中,当船运引脚CTL_4接到第一信号时第二开关单元440_4导通,此时比较器191_4的第二反向端接地,此时比较器191_4的反向端呈低电平,从而比较器191_4输出高电平,第二计时单元192_4计时接收到的高电平持续时间大于或等于第三预定时间段T2时触发产生船运控制信号,该船运控制信号即为高电平信号。进而通过利用现有的过放电压保护单元190_4实现通过控制引脚CTR_4控制第一开关单元180_4断开,并且控制除充电检测单元之外的片上系统100_4被停止供电。其中,第三预定时间段T2是片上系统100_4预先设置好的,第三预定时间段T2例如为10秒、5秒、3秒等时间段,这样设计可以防止误触发。在本实施例中,第二开关单元440_4为NMOS管。但本申请不限于此,在本申请的其他实施例中,第二开关单元440_4还可以为PMOS管,此时第一信号包括持续的低电平信号。3. Please refer to FIG. 29. Generally speaking, the conventional SoC 100_4 or battery 300_4 protection circuit, when the battery 300_4 is deeply discharged, the conventional SoC 100_4 or battery 300_4 protection circuit detects through the over-discharge voltage protection unit 190_4. When the battery 300_4 is deeply discharged, the over-discharge voltage protection unit 190_4 sends a signal to the control unit 160_4, and the control unit 160_4 passively controls the first switch unit 180_4 to disconnect through the control pin CTR_4, and passively controls the system-on-chip 100_4 except the charge detection unit or The battery 300_4 protection circuit is stopped to supply power to protect the battery 300_4 and prevent the battery 300_4 from being damaged due to over-discharge, until the system on chip 100_4 or the battery 300_4 protection circuit resumes power supply after the charging detection unit detects the charging signal, and the first switch unit 180_4 is turned off to Power is restored to the system circuit 200_4. In an embodiment of the present application, the original circuit and functions of the over-discharge voltage protection unit 190_4 in the prior art are fully utilized, and the control pin CTR_4 is used to actively control the first switch unit 180_4 to be disconnected, and to actively control the charge removal detection unit. The power supply of the other system-on-chip 100_4 is stopped, which can reduce the cost. Specifically, please refer to FIG. 34 to FIG. 36 , the over-discharge voltage protection unit 190_4 includes a comparator 191_4 and a second timing unit 192_4 . The comparator 191_4 has a same-direction terminal and two reverse terminals, and the two reverse terminals are respectively are the first reverse terminal and the second reverse terminal, the output terminal of the comparator 191_4 is electrically connected to the second timer, the non-inverting terminal of the comparator 191_4 is connected to a reference voltage, and the first reverse terminal of the comparator 191_4 is electrically connected to the battery The output voltage detection point of 300_4 is used to detect whether the battery 300_4 is deeply discharged. The first signal includes a continuous high level signal, the system on chip 100_4 further includes a second switch unit 440_4 and a first resistor R1_4, the control end of the second switch unit 440_4 is electrically connected to the shipping pin CTL_4, and the second switch unit 440_4 The input end is grounded, the output end of the second switch unit 440_4 is electrically connected to one end of the first resistor R1_4, the other end of the first resistor R1_4 is connected to a high level, and the output end of the second switch unit 440_4 is also connected to the overdischarge voltage protection unit 190_4 The second reverse terminal of the comparator 191_4 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when either the first reverse terminal or the second reverse terminal When the first is a low level, the reverse terminal of the comparator 191_4 is a low level at this time. In this embodiment, when the shipping pin CTL_4 receives the first signal, the second switch unit 440_4 is turned on, the second reverse terminal of the comparator 191_4 is grounded, and the reverse terminal of the comparator 191_4 is low. Therefore, the comparator 191_4 outputs a high level. When the duration of the high level received by the second timing unit 192_4 is greater than or equal to the third predetermined time period T2, a shipping control signal is triggered, and the shipping control signal is high level signal. Furthermore, by using the existing over-discharge voltage protection unit 190_4, the first switch unit 180_4 is controlled to be turned off through the control pin CTR_4, and the power supply of the system-on-chip 100_4 other than the charging detection unit is controlled to be stopped. The third predetermined time period T2 is preset by the SoC 100_4, and the third predetermined time period T2 is, for example, 10 seconds, 5 seconds, 3 seconds, etc., which can prevent false triggering. In this embodiment, the second switch unit 440_4 is an NMOS transistor. However, the present application is not limited thereto. In other embodiments of the present application, the second switch unit 440_4 may also be a PMOS transistor, and at this time, the first signal includes a continuous low-level signal.
在本实施例中,请结合参见图27和图29,片上系统100_4还包括系统接地引脚VM_4,系统接地引脚VM_4用于与系统电路200_4电连接,而且,系统接地引脚VM_4还用于充电。In this embodiment, please refer to FIG. 27 and FIG. 29 in combination, the system-on-chip 100_4 further includes a system ground pin VM_4, the system ground pin VM_4 is used for electrical connection with the system circuit 200_4, and the system ground pin VM_4 is also used for Charge.
第五实施例Fifth Embodiment
第五实施例是在第二实施例的基础上,在片上系统100_5上新增控制引脚CTR_5,参见图37与图38控制引脚CTR_5在片上系统100_5内部与控制单元160_5电连接,控制引脚CTR_5用于与第一开关单元180_5电连接,控制单元160_5通过控制引脚CTR_5控制第一开关单元180_5的通断。在本实施例中,控 制引脚CTR_5的数目为一个。但本申请不限于此,在本申请的其他实施例中,控制引脚CTR_5的数目可以为多个。The fifth embodiment is based on the second embodiment, and a new control pin CTR_5 is added to the SoC 100_5. Referring to FIG. 37 and FIG. 38, the control pin CTR_5 is electrically connected to the control unit 160_5 inside the SoC 100_5, and the control pin CTR_5 is electrically connected to the control unit 160_5. The pin CTR_5 is used for electrical connection with the first switch unit 180_5, and the control unit 160_5 controls the on-off of the first switch unit 180_5 through the control pin CTR_5. In this embodiment, the number of control pins CTR_5 is one. However, the present application is not limited thereto, and in other embodiments of the present application, the number of control pins CTR_5 may be multiple.
在本实施例中,第一开关单元180_5包括开关管和衬底控制电路,开关管为MOS管,开关管的控制端与片上系统100_5电连接,具体与后面提到的片上系统100_5的控制单元160_5电连接,衬底控制电路与片上系统100_5的控制单元160_5电连接,衬底控制电路用于实现开关管的衬底的正确偏置。但本申请不限于此,在本申请的其他实施例中,第一开关单元180_5还可以包括充电开关和放电开关,其中,充电开关和放电开关均为MOS管,充电开关和放电开关分别与控制单元160_5电连接。另外,在本申请的其他实施例中,第一开关单元180_5还可以是其他实现形式,例如只包括一个开关管。在本实施例中,第一开关单元180_5用于控制电池300_5供电给系统电路200_5,具体为通过电池300_5、系统电路200_5、第一开关单元180_5形成回路以供电给片上系统100_5。具体而言,第一开关单元180_5的控制端与控制单元160_5电连接,第一开关单元180_5的输入端用于与电池300_5电连接,例如与电池300_5的负极电连接,第一开关单元180_5的输出端用于与系统电路200_5电连接,从而电池300_5、系统电路200_5、第一开关单元180_5形成供电回路,片上系统100_5通过控制第一开关单元180_5,就可以控制电池300_5是否向系统电路200_5进行供电。在本实施例中,第一开关单元180_5做在片上系统100_5之外,但在本申请的其他实施例中,第一开关单元180_5还可以做在片上系统100_5上。In this embodiment, the first switch unit 180_5 includes a switch tube and a substrate control circuit, the switch tube is a MOS tube, and the control end of the switch tube is electrically connected to the system-on-chip 100_5, specifically the control unit of the system-on-chip 100_5 mentioned later 160_5 is electrically connected, and the substrate control circuit is electrically connected to the control unit 160_5 of the system-on-chip 100_5, and the substrate control circuit is used to realize the correct bias of the substrate of the switch tube. However, the present application is not limited thereto. In other embodiments of the present application, the first switch unit 180_5 may further include a charge switch and a discharge switch, wherein the charge switch and the discharge switch are both MOS transistors, and the charge switch and the discharge switch are respectively connected to the control The unit 160_5 is electrically connected. In addition, in other embodiments of the present application, the first switch unit 180_5 may also be implemented in other forms, for example, including only one switch tube. In this embodiment, the first switch unit 180_5 is used to control the battery 300_5 to supply power to the system circuit 200_5 , specifically, the battery 300_5 , the system circuit 200_5 , and the first switch unit 180_5 form a loop to supply power to the system-on-chip 100_5 . Specifically, the control terminal of the first switch unit 180_5 is electrically connected to the control unit 160_5, the input terminal of the first switch unit 180_5 is used for electrical connection with the battery 300_5, for example, the negative terminal of the battery 300_5 is electrically connected, and the input terminal of the first switch unit 180_5 is electrically connected to The output terminal is used for electrical connection with the system circuit 200_5, so that the battery 300_5, the system circuit 200_5, and the first switch unit 180_5 form a power supply loop. powered by. In this embodiment, the first switch unit 180_5 is implemented outside the system-on-chip 100_5, but in other embodiments of the present application, the first switch unit 180_5 may also be implemented on the system-on-chip 100_5.
在本实施例中,请结合参见图37和图39,片上系统100_5包括电源供电引脚VDD_5、电源接地引脚GND_5、过充电压保护单元110_5、过放电压保护单元190_5、放电过流保护单元130_5、基准电压产生单元140_5、频率产生单元150_5、控制单元160_5、唤醒单元170_5、控制引脚CTR_5。In this embodiment, please refer to FIG. 37 and FIG. 39 in combination, the system-on-chip 100_5 includes a power supply pin VDD_5, a power supply ground pin GND_5, an overcharge voltage protection unit 110_5, an overdischarge voltage protection unit 190_5, and a discharge and overcurrent protection unit 130_5, a reference voltage generating unit 140_5, a frequency generating unit 150_5, a control unit 160_5, a wake-up unit 170_5, and a control pin CTR_5.
在本实施中,请继续参见图37和图39,电源供电引脚VDD_5还与系统电路200_5的船运输出端210_5电连接,从而电池300_5电量的输出从电源供电引脚VDD_5这里分为两个支路,一个支路经由电源供电引脚VDD_5进入片上系统100_5内部,一个支路经由船运输出端210_5进入系统电路200_5内部,当控制系统电路200_5内部以使船运输出端210_5的信号发生改变时,导致电源供电引脚VDD_5的电压信号随之改变,此时片上系统100_5进行船运模式,在船运模式时所述片上系统100_5输出用于关断第一开关单元180_5的控制信号给控制引脚CTR_5以使电池300_5停止向系统电路200_5供电,且片上系统100_5至少部分单元被停止供电。在本实施例中,控制系统电路200_5内部以使船运输出端210_5的信号发生改变既可以通过软件来实现,也可以通过硬件来实现,当通过硬 件来实现时,此时可以通过电子装置的例如电源按键或者声音按键来实现,例如通过长按电源按键来实现改变船运输出端210_5上的信号。In this implementation, please continue to refer to FIG. 37 and FIG. 39 , the power supply pin VDD_5 is also electrically connected to the shipping output terminal 210_5 of the system circuit 200_5 , so that the output of the battery 300_5 power is divided into two from the power supply pin VDD_5 Branch, one branch enters the system-on-chip 100_5 through the power supply pin VDD_5, and one branch enters the system circuit 200_5 through the shipping outlet 210_5. When the control system circuit 200_5 is controlled inside the system circuit 200_5, the signal of the shipping outlet 210_5 changes. At this time, the voltage signal of the power supply pin VDD_5 changes accordingly. At this time, the system-on-chip 100_5 is in the shipping mode. In the shipping mode, the system-on-chip 100_5 outputs a control signal for turning off the first switch unit 180_5 to control the The pin CTR_5 is used to stop the battery 300_5 from supplying power to the system circuit 200_5, and at least some units of the system on chip 100_5 are stopped from supplying power. In this embodiment, controlling the inside of the system circuit 200_5 to change the signal of the shipping outlet 210_5 can be implemented either by software or by hardware. For example, it is realized by the power button or the sound button. For example, the signal on the shipping outlet 210_5 can be changed by long pressing the power button.
在本实施例中,在船运模式时唤醒单元170_5被电池300_5继续供电,唤醒单元170_5用于使片上系统100_5退出船运模式。在本实施例中,由于唤醒单元170_5为充电检测电路,而充电检测电路是片上系统100_5原本就有的电路,这样设计可以节省成本。在本实施例中,当电子装置被充电时,此时充电检测电路检测到充电信号,片上系统100_5自动退出船运模式,由于电池300_5的电量可以长时间保持,从而电子装置可以正常开机使用。另外,在本申请的其他实施例中,唤醒单元170_5还可以不是充电检测电路,还可以是其他的新增的专门用于使片上系统100_5退出船运模式的硬件电路,本领域的技术人员可以根据具体要求进行电路设计。In this embodiment, the wake-up unit 170_5 is continuously powered by the battery 300_5 in the shipping mode, and the wake-up unit 170_5 is used to make the system-on-chip 100_5 exit the shipping mode. In the present embodiment, since the wake-up unit 170_5 is a charging detection circuit, and the charging detection circuit is an existing circuit of the system-on-chip 100_5, such a design can save costs. In this embodiment, when the electronic device is charged, the charging detection circuit detects the charging signal, and the system-on-chip 100_5 automatically exits the shipping mode. Since the power of the battery 300_5 can be maintained for a long time, the electronic device can be normally turned on for use. In addition, in other embodiments of the present application, the wake-up unit 170_5 may not be a charging detection circuit, but may also be other newly added hardware circuits specially used to make the system-on-chip 100_5 exit the shipping mode. Those skilled in the art may Design the circuit according to specific requirements.
在本实施例中,当电子装置需要长距离运输或长时间存储时,此时电子装置的片上系统100_5可以进入船运模式,在船运模式下,片上系统100_5的控制单元160_5通过控制引脚CTR_5控制第一开关单元180_5断开,可以大量节省电池300_5的电量,而且,在船运模式下,片上系统100_5至少部分单元被停止供电,从而电池300_5只需要给片上系统100_5的唤醒电路等少数电路单元继续供电,从而电池300_5的电量消耗进一步得到减少,可降低电子装置的电流消耗,电流消耗可以低到几nA/h,从而可以提升电池300_5的电量保持时间,即使是电池300_5本身容量比较小的情况,在船运模式下电池300_5的电量也可以保持半年到一年,当用户拿到电子装置后,用户只需要通过唤醒单元170_5就可以使片上系统100_5退出船运模式,电子装置开机即可以正常使用,提升了用户的体验,防止用户误以为电子装置本身质量问题。In this embodiment, when the electronic device needs to be transported or stored for a long time, the SoC 100_5 of the electronic device can enter the shipping mode. In the shipping mode, the control unit 160_5 of the SoC 100_5 controls the pin CTR_5 controls the first switch unit 180_5 to be turned off, which can greatly save the power of the battery 300_5. Moreover, in the shipping mode, at least some units of the system on chip 100_5 are powered off, so that the battery 300_5 only needs to provide a few wake-up circuits for the system on chip 100_5. The circuit unit continues to supply power, so that the power consumption of the battery 300_5 is further reduced, which can reduce the current consumption of the electronic device. The current consumption can be as low as several nA/h, so that the power retention time of the battery 300_5 can be improved, even if the capacity of the battery 300_5 itself is compared In small cases, the power of the battery 300_5 can also be maintained for half a year to a year in the shipping mode. After the user gets the electronic device, the user only needs to wake up the unit 170_5 to make the SoC 100_5 exit the shipping mode and turn on the electronic device. That is, it can be used normally, which improves the user's experience and prevents the user from mistakenly thinking that the quality of the electronic device itself is a problem.
在本实施例中,在船运模式时片上系统100_5至少部分单元被停止供电。在本实施例中,片上系统100_5的过充电压保护单元110_5、过放电压保护单元190_5、放电过流保护单元130_5、控制单元160_5、基准电压产生单元140_5和频率产生单元150_5至少其中之一被停止供电,例如,在船运模式时过充电压保护单元110_5、过放电压保护单元190_5、放电过流保护单元130_5、控制单元160_5、基准电压产生单元140_5和频率产生单元150_5其中之一被停止供电,或者在船运模式时过充电压保护单元110_5、过放电压保护单元190_5、放电过流保护单元130_5、控制单元160_5、基准电压产生单元140_5和频率产生单元150_5其中之二被停止供电,或者在船运模式时过充电压保护单元110_5、过放电压保护单元190_5、放电过流保护单元130_5、控制单元160_5、基准电压产生单元140_5和频率产生单元150_5其中之三被停止供电,…,或者在船运模式时过充电压保护单元110_5、过放电压保护单元190_5、放电过流保护单元130_5、控 制单元160_5、基准电压产生单元140_5和频率产生单元150_5均被停止供电,此时可以进一步降低电池300_5电量的消耗。另外,在本申请的其他实施例中,片上系统100_5还包括温度保护单元410_5、充电过流保护单元120_5等,在船运模式时温度保护单元410_5、充电过流保护单元120_5可以不被供电,也可以被供电,也是本申请的保护范围。在本实施例中,当片上系统100_5进入船运模式时片上系统100_5除唤醒单元170_5之外的电路单元均被停止供电,也即片上系统100_5除了用于使片上系统100_5退出船运模式所需的唤醒单元170_5被供电外,片上系统100_5的其他电路单元均不被供电,这样可以进一步的节省电池300_5的电量,降低电池300_5电量的消耗,进一步提升了电池300_5的电量保持时间,尤其可以提升小容量的电池300_5的电量保持时间。In this embodiment, at least some units of the system on chip 100_5 are powered off during the shipping mode. In this embodiment, at least one of the overcharge voltage protection unit 110_5 , the overdischarge voltage protection unit 190_5 , the discharge overcurrent protection unit 130_5 , the control unit 160_5 , the reference voltage generation unit 140_5 and the frequency generation unit 150_5 of the system on chip 100_5 is Stop power supply, for example, one of the overcharge voltage protection unit 110_5, the overdischarge voltage protection unit 190_5, the discharge overcurrent protection unit 130_5, the control unit 160_5, the reference voltage generation unit 140_5 and the frequency generation unit 150_5 is stopped in the shipping mode power supply, or two of the overcharge voltage protection unit 110_5, the overdischarge voltage protection unit 190_5, the discharge overcurrent protection unit 130_5, the control unit 160_5, the reference voltage generation unit 140_5 and the frequency generation unit 150_5 are powered off in the shipping mode, Or in the shipping mode, three of the overcharge voltage protection unit 110_5, the overdischarge voltage protection unit 190_5, the discharge overcurrent protection unit 130_5, the control unit 160_5, the reference voltage generation unit 140_5 and the frequency generation unit 150_5 are powered off, ..., Or in the shipping mode, the overcharge voltage protection unit 110_5 , the overdischarge voltage protection unit 190_5 , the discharge overcurrent protection unit 130_5 , the control unit 160_5 , the reference voltage generation unit 140_5 and the frequency generation unit 150_5 are all powered off. Reduce the consumption of battery 300_5 power. In addition, in other embodiments of the present application, the system-on-chip 100_5 further includes a temperature protection unit 410_5, a charging overcurrent protection unit 120_5, etc. In the shipping mode, the temperature protection unit 410_5 and the charging overcurrent protection unit 120_5 may not be powered, It can also be powered, which is also the scope of protection of this application. In this embodiment, when the system on chip 100_5 enters the shipping mode, the power supply of the circuit units of the system on chip 100_5 except the wake-up unit 170_5 is all stopped, that is, the system on chip 100_5 is not required to exit the shipping mode except for the system on chip 100_5 Except that the wake-up unit 170_5 is powered, other circuit units of the system-on-chip 100_5 are not powered, which can further save the power of the battery 300_5, reduce the power consumption of the battery 300_5, and further improve the power retention time of the battery 300_5. The power retention time of the small-capacity battery 300_5.
在本实施例中,实现系统电路200_5的船运输出端210_5信号的改变而导致电源供电引脚VDD_5接收到的电压信号发生改变的方式有以下几种,以下分别进行描述。当然,实现系统电路200_5的船运输出端210_5信号的改变而导致电源供电引脚VDD_5接收到的电压信号发生改变的方式不限于以下几种,在本申请的其他实施例中,本领域的技术人员还可以设置其他常规的电路来实现系统电路200_5的船运输出端210_5信号的改变而导致电源供电引脚VDD_5接收到的电压信号发生改变。In this embodiment, there are the following ways to realize the change of the signal of the shipping output terminal 210_5 of the system circuit 200_5 to cause the voltage signal received by the power supply pin VDD_5 to change, which will be described separately below. Of course, the way to realize the change of the signal of the shipping output terminal 210_5 of the system circuit 200_5 to cause the change of the voltage signal received by the power supply pin VDD_5 is not limited to the following. Personnel can also set other conventional circuits to realize the change of the signal of the shipping output terminal 210_5 of the system circuit 200_5 to cause the voltage signal received by the power supply pin VDD_5 to change.
1、在本申请一实施例中,请参见图37、图39和图40,当电源供电引脚VDD_5在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统100_5进入船运模式。具体而言,船运输出端210_5经由第二电阻R2_5与电源供电引脚VDD_5电连接,第二电阻R2_5与第一电阻R1_5阻值相同,一般状态下船运输出端210_5呈高阻态,也可以看做船运输出端210_5是经由开关控制为断开的,此时电源供电引脚VDD_5接收到的电压信号仅受电池300_5的影响,不受片上系统100_5的船运输出端210_5的影响。当船运输出端210_5被系统电路200_5控制输出为脉冲信号时,例如此时开关闭合,所述脉冲信号的高电平例如为电池电压,所述脉冲信号的低电平例如为0V,当船运输出端210_5为高电平时此时电源供电引脚VDD_5处的电压为电池电压,当船运输出端210_5为0V时第一电阻R1_5和第二电阻R2_5对电池电压进行分压,电源供电引脚VDD_5处的电压比电池电压要低,在本实施例中为一半的电池电压,从而电源供电引脚VDD_5处的电压也呈脉冲电压,电源供电引脚VDD_5的脉冲电压的高电平为电池电压,低电平为电池电压的一半。在本实施例中,片上系统100_5还包括脉冲计数单元420_5。脉冲计数单元420_5在一般状况下输出低电平信号,电源供电引脚VDD_5与脉冲计数单元420_5电连接。当电源供电引脚VDD_5由于船运输出端 210_5输出脉冲信号而导致电源供电引脚VDD_5也输出脉冲信号时,脉冲计数单元420_5对脉冲进行计数,当脉冲计数单元420_5在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时脉冲计数单元420_5的输出信号由低电平转为高电平,其中,第一预定时间段和第一预定数量是片上系统100_5预先设置好的,第一预定时间段例如为10秒、5秒、3秒、1秒等时间段,第一预定数量例如为3、4、5等,这样设计可以防止误触发。在本实施例中,脉冲计数单元420_5的输出端分别与过充电压保护单元110_5、过放电压保护单元190_5、放电过流保护单元130_5、基准电压产生单元140_5、频率产生单元150_5、控制单元160_5等需要被停止供电的单元电连接,当脉冲计数单元420_5输出高电平时可以控制停止对于片上系统100_5除唤醒单元170_5之外的单元的供电。另外,在本申请的其他实施例中,脉冲计数单元420_5的输出端在一般状况下输出高电平,此时脉冲计数单元420_5输出低电平用于控制停止对于片上系统100_5除唤醒单元170_5之外的单元的供电。在本实施例中,脉冲计数单元420_5与控制单元160_5分离设置。另外,在本申请的其他实施例中,脉冲计数单元420_5还可以集成到控制单元160_5中。另外,在本申请的其他实施例中,脉冲计数单元420_5可以用于控制停止对于片上系统100_5部分单元的供电。1. In an embodiment of the present application, please refer to FIG. 37 , FIG. 39 and FIG. 40 , when the number of pulses received by the power supply pin VDD_5 within a predetermined period of time is greater than or equal to the first predetermined number, the system-on-chip 100_5 Enter shipping mode. Specifically, the shipping outlet 210_5 is electrically connected to the power supply pin VDD_5 via a second resistor R2_5. The second resistor R2_5 and the first resistor R1_5 have the same resistance value. Under normal conditions, the shipping outlet 210_5 is in a high resistance state. It is considered that the shipping output terminal 210_5 is controlled to be disconnected by a switch, and the voltage signal received by the power supply pin VDD_5 is only affected by the battery 300_5, and is not affected by the shipping output terminal 210_5 of the SoC 100_5. When the ship transportation outlet 210_5 is controlled by the system circuit 200_5 to output a pulse signal, for example, the switch is closed at this time, the high level of the pulse signal is, for example, the battery voltage, and the low level of the pulse signal is, for example, 0V. When the shipping output terminal 210_5 is at a high level, the voltage at the power supply pin VDD_5 is the battery voltage. When the shipping output terminal 210_5 is at 0V, the first resistor R1_5 and the second resistor R2_5 divide the battery voltage, and the power supply leads The voltage at the pin VDD_5 is lower than the battery voltage, which is half the battery voltage in this embodiment, so the voltage at the power supply pin VDD_5 is also a pulse voltage, and the high level of the pulse voltage at the power supply pin VDD_5 is the battery voltage voltage, the low level is half the battery voltage. In this embodiment, the system-on-chip 100_5 further includes a pulse counting unit 420_5. The pulse counting unit 420_5 outputs a low level signal under normal conditions, and the power supply pin VDD_5 is electrically connected to the pulse counting unit 420_5. When the power supply pin VDD_5 also outputs a pulse signal due to the output of the pulse signal from the shipping outlet 210_5, the pulse counting unit 420_5 counts the pulses. When the pulse counting unit 420_5 receives the pulse signal within the first predetermined period When the number of received pulses is greater than or equal to the first predetermined number, the output signal of the pulse counting unit 420_5 changes from low level to high level, wherein the first predetermined time period and the first predetermined number are preset by the system on chip 100_5, The first predetermined time period is, for example, 10 seconds, 5 seconds, 3 seconds, 1 second, etc., and the first predetermined number is, for example, 3, 4, 5, etc., such a design can prevent false triggering. In this embodiment, the output end of the pulse counting unit 420_5 is connected to the overcharge voltage protection unit 110_5 , the overdischarge voltage protection unit 190_5 , the discharge overcurrent protection unit 130_5 , the reference voltage generation unit 140_5 , the frequency generation unit 150_5 , and the control unit 160_5 respectively. When the units whose power supply needs to be stopped are electrically connected, when the pulse counting unit 420_5 outputs a high level, the power supply to the units of the system on chip 100_5 other than the wake-up unit 170_5 can be controlled to be stopped. In addition, in other embodiments of the present application, the output terminal of the pulse counting unit 420_5 outputs a high level under normal conditions, and at this time, the pulse counting unit 420_5 outputs a low level for controlling to stop the system on chip 100_5 except the wake-up unit 170_5. power supply to external units. In this embodiment, the pulse counting unit 420_5 is provided separately from the control unit 160_5. In addition, in other embodiments of the present application, the pulse counting unit 420_5 may also be integrated into the control unit 160_5. In addition, in other embodiments of the present application, the pulse counting unit 420_5 may be used to control to stop the power supply to some units of the system-on-chip 100_5.
2、请参见图38,一般说来,常规的片上系统100_5或者电池保护电路,当电池300_5深度放电时,此时常规的片上系统100_5或者电池保护电路通过过放电压保护单元190_5检测到电池300_5深度放电,具体为通过检测电源供电引脚VDD_5处的电压是否低于预设阈值电压来确定是否深度放电,如果低于预设预设电压,则过放电压保护单元190_5确定电池300_5处于深度放电状态,过放电压保护单元190_5发送信号给控制单元160_5,控制单元160_5通过控制引脚CTR_5被动控制第一开关单元180_5断开,并且被动控制除充电检测单元之外的片上系统100_5或者电池保护电路被停止供电,用于保护电池300_5,防止电池300_5因为过度放电损坏,直到充电检测单元检测到充电信号后片上系统100_5或者电池保护电路恢复供电,第一开关单元180_5关闭以恢复对系统电路200_5的供电。在本申请一实施例中,充分利用现有技术的过放电压保护单元190_5原有的电路和功能,实现通过控制引脚CTR_5主动控制第一开关单元180_5断开,并且主动控制除充电检测单元之外的片上系统100_5被停止供电,在提升电池300_5的电量保持时间的同时可以降低成本。具体而言,请参见图41-图42,系统电路200_5的船运输出端210_5经由第二电阻R2_5与电源供电引脚VDD_5电连接,第二电阻R2_5与第一电阻R1_5阻值相同,一般状态下船运输出端210_5呈高阻态。具体而言,在本实施例中,系统电路200_5包括第二开关单元220_5, 所述第二开关单元220_5的输入端接第一电平,在此处第一电平为0,也即接地,但第一电平也可以不为0,只要满足当第二开关单元220_5导通时电源供电引脚VDD_5处的电压低于预设阈值电压即可。所述第二开关的输出端与第二电阻R2_5的一端电连接,所述第二电阻R2_5的另一端与电源供电引脚VDD_5电连接,第二开关单元220_5的控制端受系统电路200_5的硬件或者软件控制,在一般状况下,第二开关单元220_5断开,此时船运输出端210_5呈高阻态,当片上系统500_5需要进入船运模式时,用户可以通过软件或者硬件控制第二开关单元220_5关闭,此时电源供电引脚VDD_5、第二电阻R2_5、第二开关单元220_5构成的支路导通,由于第二电阻R2_5与第一电阻R1_5阻值相同,从而第二电阻R2_5与第一电阻R1_5对电池电压进行分压,从而电源供电引脚VDD_5处接收的电压信号降低,在本实施例中降低到一半的电池电压,一般一半的电池电压会低于深度放电设置的预设阈值电压,一般说来,电池300_5供电电压的范围为2.8V-4.2V,深度放电的阈值电压一般为2.8V,而一半的电池电压范围为1.4V-2.1V,低于深度放电的阈值电压。从而当第二开关单元220_5导通时,过放电压保护单元190_5检测到电源供电引脚VDD_5的电压低于阈值电压,此时过放电压保护单元190_5通过控制引脚CTR_5控制第一开关单元180_5断开,并且控制除充电检测单元之外的片上系统500_5的其他单元被停止供电。在本实施例中,第二开关单元220_5为NMOS管。但本申请不限于此,在本申请的其他实施例中,第二开关单元220_5还可以为PMOS管。一般说来,片上系统500_5对于深度放电具有两种保护模式:过放可恢复模式和过放不可恢复模式,用户或者厂家可以根据需要进行设置,当片上系统500_5处于过放可恢复模式时,过放电压保护单元190_5检测到电源供电引脚VDD_5的电压低于预设阈值电压时(例如误检测),通过控制引脚CTR_5控制第一开关单元180_5断开,并且除充电检测单元之外的片上系统500_5均被停止供电,当电源供电引脚VDD_5的电压增大到预设阈值电压以上时,片上系统500_5被停止供电的单元自动恢复供电,第一开关单元180_5导通;当片上系统500_5处于过放不可恢复模式时,过放电压保护单元190_5检测到电源供电引脚VDD_5的电压低于预设阈值电压时,通过控制引脚CTR_5控制第一开关单元180_5断开,并且除充电检测单元之外的片上系统500_5均被停止供电,在此模式下即使电源供电引脚VDD_5处的电压增大到预设阈值电压以上时,第一开关单元180_5还是保持断开,除充电检测单元之外的片上系统500_5继续被停止供电,在此情况下,只有充电检测模块检测到充电信号时,片上系统500_5被停止供电的单元才恢复供电,第一开关单元180_5导通。在本实施例中,片上系统500_5工作在过放不可恢复模式,此时,在船运模式时第二开关单元220_5由于没有被供电而断开,第一开关单元180_5还是保持断开,除充电检 测单元之外的片上系统500_5继续被停止供电,从而有利于电池300_5电量的保持。2. Please refer to FIG. 38. Generally speaking, when the battery 300_5 is deeply discharged, the conventional SoC 100_5 or the battery protection circuit detects the battery 300_5 through the over-discharge voltage protection unit 190_5. Deep discharge, specifically, by detecting whether the voltage at the power supply pin VDD_5 is lower than a preset threshold voltage to determine whether it is deeply discharged, if it is lower than the preset preset voltage, the over-discharge voltage protection unit 190_5 determines that the battery 300_5 is in deep discharge state, the over-discharge voltage protection unit 190_5 sends a signal to the control unit 160_5, the control unit 160_5 passively controls the first switch unit 180_5 to turn off through the control pin CTR_5, and passively controls the system-on-chip 100_5 or the battery protection circuit except the charge detection unit The power supply is stopped to protect the battery 300_5 and prevent the battery 300_5 from being damaged due to over-discharge. After the charging detection unit detects the charging signal, the on-chip system 100_5 or the battery protection circuit restores power supply, and the first switch unit 180_5 is turned off to restore the power supply to the system circuit 200_5. powered by. In an embodiment of the present application, the original circuit and functions of the over-discharge voltage protection unit 190_5 in the prior art are fully utilized to actively control the first switch unit 180_5 to be disconnected through the control pin CTR_5, and actively control the charge removal detection unit The power supply of the other system-on-chip 100_5 is stopped, which can reduce the cost while improving the power retention time of the battery 300_5. Specifically, please refer to FIG. 41-FIG. 42. The shipping output terminal 210_5 of the system circuit 200_5 is electrically connected to the power supply pin VDD_5 via the second resistor R2_5. The second resistor R2_5 and the first resistor R1_5 have the same resistance value. The disembarkation transportation outlet 210_5 is in a high resistance state. Specifically, in this embodiment, the system circuit 200_5 includes a second switch unit 220_5, and the input terminal of the second switch unit 220_5 is connected to a first level, where the first level is 0, that is, grounded, However, the first level may not be 0, as long as the voltage at the power supply pin VDD_5 is lower than the preset threshold voltage when the second switch unit 220_5 is turned on. The output end of the second switch is electrically connected to one end of the second resistor R2_5, the other end of the second resistor R2_5 is electrically connected to the power supply pin VDD_5, and the control end of the second switch unit 220_5 is controlled by the hardware of the system circuit 200_5 Or software control, under normal conditions, the second switch unit 220_5 is disconnected, and the shipping outlet 210_5 is in a high-impedance state. When the SoC 500_5 needs to enter the shipping mode, the user can control the second switch through software or hardware. The unit 220_5 is turned off. At this time, the branch formed by the power supply pin VDD_5, the second resistor R2_5, and the second switch unit 220_5 is turned on. Since the second resistor R2_5 and the first resistor R1_5 have the same resistance value, the second resistor R2_5 and the first resistor R2_5 have the same resistance value. A resistor R1_5 divides the battery voltage, so that the voltage signal received at the power supply pin VDD_5 is reduced. In this embodiment, it is reduced to half the battery voltage. Generally, half the battery voltage will be lower than the preset threshold set by deep discharge. Generally speaking, the power supply voltage of the battery 300_5 is in the range of 2.8V-4.2V, the threshold voltage of deep discharge is generally 2.8V, and half of the battery voltage range is 1.4V-2.1V, which is lower than the threshold voltage of deep discharge. Therefore, when the second switch unit 220_5 is turned on, the over-discharge voltage protection unit 190_5 detects that the voltage of the power supply pin VDD_5 is lower than the threshold voltage. At this time, the over-discharge voltage protection unit 190_5 controls the first switch unit 180_5 through the control pin CTR_5 Disconnected, and control the other units of the system-on-chip 500_5 except the charge detection unit to stop power supply. In this embodiment, the second switch unit 220_5 is an NMOS transistor. However, the present application is not limited thereto, and in other embodiments of the present application, the second switch unit 220_5 may also be a PMOS transistor. Generally speaking, the SoC 500_5 has two protection modes for deep discharge: over-discharge recoverable mode and over-discharge non-recoverable mode, which can be set by users or manufacturers as needed. When the SoC 500_5 is in the over-discharge recoverable mode, the When the discharge voltage protection unit 190_5 detects that the voltage of the power supply pin VDD_5 is lower than the preset threshold voltage (eg, false detection), it controls the first switch unit 180_5 to be disconnected through the control pin CTR_5, and the on-chip other than the charge detection unit The power supply of the system 500_5 is stopped. When the voltage of the power supply pin VDD_5 increases to above the preset threshold voltage, the power supply of the system on chip 500_5 is automatically restored by the unit whose power supply is stopped, and the first switch unit 180_5 is turned on; when the system on chip 500_5 is in In the over-discharge non-recoverable mode, when the over-discharge voltage protection unit 190_5 detects that the voltage of the power supply pin VDD_5 is lower than the preset threshold voltage, it controls the first switch unit 180_5 to turn off through the control pin CTR_5, and other than the charging detection unit All other SoCs 500_5 are powered off. In this mode, even if the voltage at the power supply pin VDD_5 increases to above the preset threshold voltage, the first switch unit 180_5 remains disconnected, except for the charge detection unit. The power supply of the system on chip 500_5 continues to be stopped. In this case, only when the charging detection module detects the charging signal, the power supply of the unit of the system on chip 500_5 whose power supply is stopped is restored, and the first switch unit 180_5 is turned on. In this embodiment, the system-on-chip 500_5 works in the over-discharge non-recoverable mode. At this time, in the shipping mode, the second switch unit 220_5 is disconnected because it is not powered, and the first switch unit 180_5 remains disconnected, except for charging The system-on-chip 500_5 other than the detection unit continues to be powered off, which is beneficial for maintaining the power of the battery 300_5.
3、在1方式的基础上,在本申请一实施例中,充分利用现有技术的过放电压保护单元190_5原有的电路和功能,实现通过控制引脚CTR_5主动控制第一开关单元180_5断开,并且主动控制除充电检测单元之外的片上系统100_5均被停止供电,可以降低成本。具体而言,请参见图37、图43和图44,过放电压保护单元190_5包括比较器191_5,比较器191_5具有一个同向端和两个反向端,两个反向端分别为第一反向端、第二反向端,比较器191_5的同相端接一参考电压,比较器191_5的第一反向端电连接电池300_5的输出电压检测点用于检测电池300_5是否深度放电,在此处为电连接到电压供电引脚。在本实施例中,片上系统100_5还包括第三开关单元440_5和第三电阻R3_5,第三开关单元440_5的控制端与脉冲计数单元420_5的输出端电连接,第三开关单元440_5的输入端接地,第三开关单元440_5的输出端与第三电阻R3_5的一端电连接,第三电阻R3_5的另一端接高电平,第三开关单元440_5的输出端还与过放电压保护单元190_5的比较器191_5的第二反向端电连接,其中,第一反向端和第二反向端低电平优先级较高,也即当第一反向端或者第二反向端其中之一为低电平时,此时比较器191_5的反向端为低电平。在本实施例中,当脉冲计数单元420_5输出高电平时第三开关单元440_5导通,此时比较器191_5的第二反向端接地,此时比较器191_5的反向端呈低电平,从而比较器191_5输出由低电平转为高电平,进而实现通过控制引脚CTR_5控制第一开关单元180_5断开,并且控制除充电检测单元之外的片上系统100_5均被停止供电。在本实施例中,第三开关单元440_5为NMOS管。但本申请不限于此,在本申请的其他实施例中,第三开关单元440_5还可以为PMOS管,此时脉冲计数单元420_5输出低电平使第三开关单元440_5导通。在本实施例中,片上系统100_5工作在过放不可恢复模式。3. On the basis of method 1, in an embodiment of the present application, the original circuit and functions of the over-discharge voltage protection unit 190_5 of the prior art are fully utilized to realize the active control of the first switch unit 180_5 through the control pin CTR_5. It is turned on, and the power supply of the system-on-chip 100_5 except the charging detection unit is actively controlled to be stopped, which can reduce the cost. Specifically, referring to FIG. 37 , FIG. 43 and FIG. 44 , the over-discharge voltage protection unit 190_5 includes a comparator 191_5 , and the comparator 191_5 has a same-direction terminal and two reverse terminals, and the two reverse terminals are the first The reverse terminal and the second reverse terminal, the non-inverting terminal of the comparator 191_5 is connected to a reference voltage, and the first reverse terminal of the comparator 191_5 is electrically connected to the output voltage detection point of the battery 300_5 for detecting whether the battery 300_5 is deeply discharged. are electrically connected to the voltage supply pins. In this embodiment, the system-on-chip 100_5 further includes a third switch unit 440_5 and a third resistor R3_5, the control terminal of the third switch unit 440_5 is electrically connected to the output terminal of the pulse counting unit 420_5, and the input terminal of the third switch unit 440_5 is grounded , the output end of the third switch unit 440_5 is electrically connected to one end of the third resistor R3_5, the other end of the third resistor R3_5 is connected to a high level, and the output end of the third switch unit 440_5 is also connected to the comparator of the overdischarge voltage protection unit 190_5 The second reverse terminal of 191_5 is electrically connected, wherein the low level priority of the first reverse terminal and the second reverse terminal is higher, that is, when one of the first reverse terminal or the second reverse terminal is low When the level is low, the reverse terminal of the comparator 191_5 is at a low level. In this embodiment, when the pulse counting unit 420_5 outputs a high level, the third switch unit 440_5 is turned on, at this time, the second reverse terminal of the comparator 191_5 is grounded, and at this time, the reverse terminal of the comparator 191_5 is at a low level, Therefore, the output of the comparator 191_5 changes from low level to high level, thereby controlling the first switch unit 180_5 to be disconnected through the control pin CTR_5, and controlling the power supply of the system on chip 100_5 except the charging detection unit to be stopped. In this embodiment, the third switch unit 440_5 is an NMOS transistor. However, the present application is not limited thereto. In other embodiments of the present application, the third switch unit 440_5 may also be a PMOS transistor. At this time, the pulse counting unit 420_5 outputs a low level to turn on the third switch unit 440_5. In this embodiment, the system-on-chip 100_5 works in an over-discharge irrecoverable mode.
在本实施例中,请结合参见图37和图39,片上系统100_5还包括系统接地引脚VM_5,系统接地引脚VM_5用于与系统电路200_5电连接,而且,系统接地引脚VM_5还用于充电。In this embodiment, please refer to FIG. 37 and FIG. 39 in combination, the system-on-chip 100_5 further includes a system ground pin VM_5, the system ground pin VM_5 is used for electrical connection with the system circuit 200_5, and the system ground pin VM_5 is also used for Charge.
第六实施例Sixth Embodiment
第六实施例是在第二实施例的基础上,在电池保护电路100_6上新增第一测试焊点和第二测试焊点,请参见图45和图46,电源供电端VDD_6通过第二电阻R2_6与第一测试焊接点A电连接,从而当第一测试焊点A和第二测试焊点B短路时,电池300_6电量的输出从电源供电端VDD_6这里分为两个支路,一个支路经 由电源供电端VDD_6进入电池保护电路100_6内部,一个支路经由电源供电端VDD_6、第二电阻R2_6,导致电源供电端VDD_6的电压信号随之改变。当导致电源供电端VDD_6的电压小于过放保护电压,且时间超过过放延时时间后,此时电池保护电路100_6进行休眠模式,在休眠模式时第一开关单元180_6断开以使电池300_6停止向系统电路200_6供电,且电池保护电路100_6至少部分单元被停止供电。In the sixth embodiment, on the basis of the second embodiment, a first test pad and a second test pad are added to the battery protection circuit 100_6. Please refer to FIG. 45 and FIG. 46. The power supply terminal VDD_6 passes through the second resistor. R2_6 is electrically connected to the first test pad A, so that when the first test pad A and the second test pad B are short-circuited, the output of the battery 300_6 is divided into two branches from the power supply terminal VDD_6, one branch Entering the battery protection circuit 100_6 through the power supply terminal VDD_6, a branch passes through the power supply terminal VDD_6 and the second resistor R2_6, causing the voltage signal of the power supply terminal VDD_6 to change accordingly. When the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage and the time exceeds the over-discharge delay time, the battery protection circuit 100_6 enters the sleep mode, and the first switch unit 180_6 is turned off to stop the battery 300_6 in the sleep mode. Power is supplied to the system circuit 200_6, and at least some cells of the battery protection circuit 100_6 are powered off.
在本实施例中,请结合参见图45和图46,电池保护电路100_6包括电源供电端VDD_6、电源接地端GND_6、过充电压保护单元110_6、过放电压保护单元190_6、放电过流保护单元130_6、基准电压产生单元140_6、频率产生单元150_6、控制单元160_6、唤醒单元170_6、第一开关单元180_6。In this embodiment, please refer to FIG. 45 and FIG. 46 in combination, the battery protection circuit 100_6 includes a power supply terminal VDD_6, a power ground terminal GND_6, an overcharge voltage protection unit 110_6, an overdischarge voltage protection unit 190_6, and a discharge overcurrent protection unit 130_6 , a reference voltage generation unit 140_6, a frequency generation unit 150_6, a control unit 160_6, a wake-up unit 170_6, and a first switch unit 180_6.
在本实施例中,第一开关单元180_6包括开关管和衬底控制电路,开关管为MOS管,开关管的控制端与控制单元160_6电连接,衬底控制电路与控制单元160_6电连接,衬底控制电路用于实现开关管的衬底的正确偏置。但本申请不限于此,在本申请的其他实施例中,第一开关单元180_6还可以是包括充电开关和放电开关,其中,充电开关和放电开关均为MOS管,充电开关和放电开关分别与控制单元160_6电连接。另外,在本申请的其他实施例中,第一开关单元180_6还可以是其他实现形式,例如只包括一个开关管。在本实施例中,第一开关单元180_6用于控制电池300_6供电给系统电路200_6,具体为通过电池300_6、系统电路200_6、电池保护电路100_6的第一开关单元180_6形成回路以供电给电池保护电路100_6。具体而言,第一开关单元180_6的控制端与控制单元160_6电连接,第一开关单元180_6的输入端用于与电池300_6电连接,例如与电池保护电路100_6的电源接地端GND_6电连接,第一开关单元180_6的输出端用于与系统电路200_6电连接,从而电池300_6、电池保护电路100_6、第一开关单元180_6形成供电回路,电池保护电路100_6通过控制第一开关单元180_6的通断,就可以控制电池300_6是否向系统电路200_6进行供电。In this embodiment, the first switch unit 180_6 includes a switch tube and a substrate control circuit, the switch tube is a MOS tube, the control end of the switch tube is electrically connected to the control unit 160_6, the substrate control circuit is electrically connected to the control unit 160_6, and the substrate is electrically connected to the control unit 160_6. The bottom control circuit is used to realize the correct bias of the substrate of the switch tube. However, the present application is not limited thereto. In other embodiments of the present application, the first switch unit 180_6 may also include a charge switch and a discharge switch, wherein the charge switch and the discharge switch are both MOS transistors, and the charge switch and the discharge switch are respectively connected to The control unit 160_6 is electrically connected. In addition, in other embodiments of the present application, the first switch unit 180_6 may also be implemented in other forms, for example, including only one switch tube. In this embodiment, the first switch unit 180_6 is used to control the battery 300_6 to supply power to the system circuit 200_6, specifically, a loop is formed by the battery 300_6, the system circuit 200_6, and the first switch unit 180_6 of the battery protection circuit 100_6 to supply power to the battery protection circuit 100_6. Specifically, the control terminal of the first switch unit 180_6 is electrically connected to the control unit 160_6, and the input terminal of the first switch unit 180_6 is used to electrically connect to the battery 300_6, for example, to the power ground terminal GND_6 of the battery protection circuit 100_6. The output end of a switch unit 180_6 is used for electrical connection with the system circuit 200_6, so that the battery 300_6, the battery protection circuit 100_6, and the first switch unit 180_6 form a power supply loop. Whether the battery 300_6 supplies power to the system circuit 200_6 can be controlled.
在本实施例中,在休眠模式时唤醒单元170_6被电池300_6继续供电,唤醒单元170_6用于使电池保护电路100_6退出休眠模式。在本实施例中,由于唤醒单元170_6为充电检测电路,而充电检测电路是电池保护电路100_6原本就有的电路,这样设计可以节省成本。在本实施例中,当电子装置被充电时,此时充电检测电路检测到充电信号,电池保护电路100_6自动退出休眠模式,由于电池300_6的电量可以长时间保持,从而电子装置可以正常开机使用。另外,在本申请的其他实施例中,唤醒单元170_6还可以不是充电检测电路,还可以是其他的新增的专门用于使电池保护电路100_6退出休眠模式的硬件电路,本领域的技术人员可以根据具体要求进行电路设计。In this embodiment, the wake-up unit 170_6 is continuously powered by the battery 300_6 in the sleep mode, and the wake-up unit 170_6 is used to make the battery protection circuit 100_6 exit the sleep mode. In the present embodiment, since the wake-up unit 170_6 is a charging detection circuit, and the charging detection circuit is an original circuit of the battery protection circuit 100_6, this design can save costs. In this embodiment, when the electronic device is being charged, the charging detection circuit detects the charging signal, and the battery protection circuit 100_6 automatically exits the sleep mode. Since the battery 300_6 can be maintained for a long time, the electronic device can be powered on normally. In addition, in other embodiments of the present application, the wake-up unit 170_6 may not be a charging detection circuit, but may also be another newly added hardware circuit specially used to make the battery protection circuit 100_6 exit the sleep mode. Those skilled in the art may Design the circuit according to specific requirements.
在本实施例中,当电子装置需要长距离运输或长时间存储时,此时电子装置的电池保护电路100_6可以进入休眠模式,在休眠模式下,第一开关单元180_6断开,从而电池300_6不能向系统电路200_6供电,可以大量节省电池300_6的电量,而且,在休眠模式下,电池保护电路100_6至少部分单元被停止供电,从而电池300_6只需要给电池保护电路100_6的唤醒电路等少数电路单元继续供电,从而电池300_6的电量消耗进一步得到减少,可降低电子装置的电流消耗,电流消耗可以低到几nA/h,从而可以提升电池300_6的电量保持时间,即使是电池300_6本身容量比较小的情况,在休眠模式下电池300_6的电量也可以保持半年到一年,当用户拿到电子装置后,用户只需要通过唤醒单元170_6就可以使电池保护电路100_6退出休眠模式,电子装置开机即可以正常使用,提升了用户的体验,防止用户误以为电子装置本身质量问题。In this embodiment, when the electronic device needs to be transported or stored for a long time, the battery protection circuit 100_6 of the electronic device can enter the sleep mode. In the sleep mode, the first switch unit 180_6 is turned off, so that the battery 300_6 cannot Supplying power to the system circuit 200_6 can save a lot of power of the battery 300_6. Moreover, in the sleep mode, at least some units of the battery protection circuit 100_6 are powered off, so that the battery 300_6 only needs to continue to supply a few circuit units such as the wake-up circuit of the battery protection circuit 100_6. power supply, so that the power consumption of the battery 300_6 is further reduced, which can reduce the current consumption of the electronic device, and the current consumption can be as low as several nA/h, so that the power retention time of the battery 300_6 can be improved, even if the capacity of the battery 300_6 itself is relatively small. , the power of the battery 300_6 can also be maintained for half a year to a year in the sleep mode. After the user gets the electronic device, the user only needs to wake up the unit 170_6 to make the battery protection circuit 100_6 exit the sleep mode, and the electronic device can be used normally after powering on. , which improves the user experience and prevents users from mistaking the quality of the electronic device itself.
在本实施例中,在休眠模式时电池保护电路100_6至少部分单元被停止供电。在本实施例中,电池保护电路100_6的过充电压保护单元110_6、过放电压保护单元190_6、放电过流保护单元130_6、控制单元160_6、基准电压产生单元140_6和频率产生单元150_6至少其中之一被停止供电,例如,在休眠模式时过充电压保护单元110_6、过放电压保护单元190_6、放电过流保护单元130_6、控制单元160_6、基准电压产生单元140_6和频率产生单元150_6其中之一被停止供电,或者在休眠模式时过充电压保护单元110_6、过放电压保护单元190_6、放电过流保护单元130_6、控制单元160_6、基准电压产生单元140_6和频率产生单元150_6其中之二被停止供电,或者在休眠模式时过充电压保护单元110_6、过放电压保护单元190_6、放电过流保护单元130_6、控制单元160_6、基准电压产生单元140_6和频率产生单元150_6其中之三被停止供电,…,或者在休眠模式时过充电压保护单元110_6、过放电压保护单元190_6、放电过流保护单元130_6、控制单元160_6、基准电压产生单元140_6和频率产生单元150_6均被停止供电,此时可以进一步降低电池300_6电量的消耗。另外,在本申请的其他实施例中,电池保护电路100_6还包括温度保护单元410_6、充电过流保护单元120_6等,在休眠模式时温度保护单元410_6、充电过流保护单元120_6可以不被供电,也可以被供电,也是本申请的保护范围。在本实施例中,当电池保护电路100_6进入休眠模式时电池保护电路100_6除唤醒单元170_6之外的电路单元均被停止供电,也即电池保护电路100_6除了用于使电池保护电路100_6退出休眠模式所需的唤醒单元170_6被供电外,电池保护电路100_6的其他电路单元均不被供电,这样可以进一步的节省电池300_6的电量,降低电池300_6电量的消耗,进一步提升了电池300_6的电量保持时间,尤其可以提升小容量的电池300_6的电量保持时间。In this embodiment, in the sleep mode, at least some units of the battery protection circuit 100_6 are powered off. In this embodiment, at least one of the overcharge voltage protection unit 110_6 , the overdischarge voltage protection unit 190_6 , the discharge overcurrent protection unit 130_6 , the control unit 160_6 , the reference voltage generation unit 140_6 and the frequency generation unit 150_6 of the battery protection circuit 100_6 Power supply is stopped, for example, one of the overcharge voltage protection unit 110_6, the overdischarge voltage protection unit 190_6, the discharge overcurrent protection unit 130_6, the control unit 160_6, the reference voltage generation unit 140_6 and the frequency generation unit 150_6 is stopped in the sleep mode power supply, or two of the overcharge voltage protection unit 110_6, the overdischarge voltage protection unit 190_6, the discharge overcurrent protection unit 130_6, the control unit 160_6, the reference voltage generation unit 140_6 and the frequency generation unit 150_6 are powered off during the sleep mode, or In the sleep mode, three of the overcharge voltage protection unit 110_6, the overdischarge voltage protection unit 190_6, the discharge overcurrent protection unit 130_6, the control unit 160_6, the reference voltage generation unit 140_6 and the frequency generation unit 150_6 are powered off, . . . , or at In the sleep mode, the overcharge voltage protection unit 110_6 , the overdischarge voltage protection unit 190_6 , the discharge overcurrent protection unit 130_6 , the control unit 160_6 , the reference voltage generation unit 140_6 and the frequency generation unit 150_6 are all powered off, and the battery 300_6 can be further reduced at this time. power consumption. In addition, in other embodiments of the present application, the battery protection circuit 100_6 further includes a temperature protection unit 410_6, a charging overcurrent protection unit 120_6, etc. In the sleep mode, the temperature protection unit 410_6 and the charging overcurrent protection unit 120_6 may not be powered, It can also be powered, which is also the scope of protection of this application. In this embodiment, when the battery protection circuit 100_6 enters the sleep mode, the circuit units of the battery protection circuit 100_6 except the wake-up unit 170_6 are all stopped from supplying power, that is, the battery protection circuit 100_6 is used to make the battery protection circuit 100_6 exit the sleep mode. Except that the required wake-up unit 170_6 is powered, other circuit units of the battery protection circuit 100_6 are not powered, so that the power of the battery 300_6 can be further saved, the power consumption of the battery 300_6 can be reduced, and the power retention time of the battery 300_6 can be further improved. In particular, the power retention time of the small-capacity battery 300_6 can be improved.
在本实施例中,实现电源供电端VDD_6的电压小于过放保护电压的方式有一下几种,以下分别进行描述。当然,通过增加测试焊接点来改变电源供电端VDD_6的电压的方式不限于以下几种,领域的技术人员还可以设置其他常规的电路来实现通过对测试焊接点的操作而导致电源供电端VDD_6接收到的电压信号发生改变。In this embodiment, there are several ways to realize that the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage, which will be described below. Of course, the methods of changing the voltage of the power supply terminal VDD_6 by adding test solder joints are not limited to the following methods. Those skilled in the art can also set other conventional circuits to realize the operation of the test solder joints to cause the power supply terminal VDD_6 to receive The received voltage signal changes.
1请参见图45和图46,一般说来,常规的电池保护电路100_6,当电池300_6深度放电时,此时常规的电池保护电路100_6通过过放电压保护单元190_6检测到电池300_6深度放电,具体为通过检测电源供电端VDD_6处的电压是否低于预设阈值电压来确定是否深度放电,如果低于预设预设电压,则过放电压保护单元190_6确定电池300_6处于深度放电状态,过放电压保护单元190_6发送信号给控制单元160_6,控制单元160_6被动控制第一开关单元180_6断开,并且被动控制除充电检测单元之外的电池保护电路100_6被停止供电,用于保护电池300_6,防止电池300_6因为过度放电损坏,直到充电检测单元检测到充电信号后电池保护电路100_6恢复供电,第一开关单元180_6关闭以恢复对系统电路200_6的供电。1. Please refer to FIG. 45 and FIG. 46. Generally speaking, in the conventional battery protection circuit 100_6, when the battery 300_6 is deeply discharged, the conventional battery protection circuit 100_6 detects the deep discharge of the battery 300_6 through the over-discharge voltage protection unit 190_6. Specifically, In order to determine whether the deep discharge is carried out by detecting whether the voltage at the power supply terminal VDD_6 is lower than the preset threshold voltage, if it is lower than the preset preset voltage, the overdischarge voltage protection unit 190_6 determines that the battery 300_6 is in a deep discharge state, and the overdischarge voltage The protection unit 190_6 sends a signal to the control unit 160_6, the control unit 160_6 passively controls the first switch unit 180_6 to be disconnected, and passively controls the battery protection circuit 100_6 except the charging detection unit to stop power supply, for protecting the battery 300_6 and preventing the battery 300_6 Due to over-discharge damage, until the battery protection circuit 100_6 restores power after the charging detection unit detects the charging signal, the first switch unit 180_6 is turned off to restore power to the system circuit 200_6.
在本申请一实施例中,充分利用现有技术的过放电压保护单元190_6原有的电路和功能,实现主动控制第一开关单元180_6断开,并且主动控制除充电检测单元之外的电池保护电路100_6被停止供电,在提升电池300_6的电量保持时间的同时可以降低成本。请参见图45,在电池保护电路上增加第一测试焊接点A和第二测试焊接点B。第一测试焊点A与电源供电端之间设置第二电阻从而实现间接电连接,第二测试焊点B电接地,第一测试焊点A和第二测试焊点B用于与测试单元电连接。在本实施例中,测试单元为测试单元为导线。第一测试焊点A和第二测试焊点B直接导线连接时,第一测试焊点A和所述第二测试焊点B导通而导致电源供电端接收到的电压信号低于预设阈值电压,以使所述电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开以使电池停止向系统电路供电且,且电池保护电路至少部分电路被停止供电。具体而言,图45中,电池300_6电量的输出从电源供电端VDD_6这里分为两个支路,一个支路经由电源供电端VDD_6进入电池保护电路100_6内部,一个支路经由电源供电端VDD_6、第二电阻R2_6。当第一测试焊点A和第二测试焊点B短路时,此时电源供电端VDD_6、第二电阻R2_6、构成的支路导通,由于第二电阻R2_6与第一电阻R1_6阻值相同,从而第二电阻R2_6与第一电阻R1_6对电池电压进行分压,从而电源供电端VDD_6处接收的电压信号降低,当导致电源供电端VDD_6的电压小于过放保护电压,且时间超过过放延时时间后,此时电池保护电路100_6进行休眠模式,在休眠模式时第一开关单元180_6断开以使电池300_6停止向系统电路200_6供电, 且电池保护电路100_6至少部分单元被停止供电。在本实施例中降低到一半的电池电压,一般一半的电池电压会低于深度放电设置的预设阈值电压,一般说来,电池300_6供电电压的范围为2.8V-4.2V,深度放电的阈值电压一般为2.8V,而一半的电池电压范围为1.4V-2.1V,低于深度放电的阈值电压。从而当第一测试焊点A和第二测试焊点B导通时第二,过放电压保护单元190_6检测到电源供电端VDD_6的电压低于阈值电压,此时过放电压保护单元190_6控制第一开关单元180_6断开,并且控制除充电检测单元之外的电路保护系统100_6的其他单元被停止供电。一般说来,电路保护系统100_6对于深度放电具有两种保护模式:过放可恢复模式和过放不可恢复模式,用户或者厂家可以根据需要进行设置,当电路保护系统100_6处于过放可恢复模式时,过放电压保护单元190_6检测到电源供电端VDD_6的电压低于预设阈值电压时(例如误检测),第一开关单元180_6断开,并且除充电检测单元之外的电路保护系统100_6均被停止供电,当电源供电端VDD_6的电压增大到预设阈值电压以上时,电路保护系统100_6被停止供电的单元自动恢复供电,第一开关单元180_6导通;当电路保护系统100_6处于过放不可恢复模式时,过放电压保护单元190_6检测到电源供电端VDD_6的电压低于预设阈值电压时,第一开关单元180_6断开,并且除充电检测单元之外的电路保护系统100_6均被停止供电,在此模式下即使电源供电端VDD_6处的电压增大到预设阈值电压以上时,第一开关单元180_6还是保持断开,除充电检测单元之外的电路保护系统100_6继续被停止供电,在此情况下,只有充电检测模块检测到充电信号时,电路保护系统100_6被停止供电的单元才恢复供电,第一开关单元180_6导通。在本实施例中,电路保护系统100_6工作在过放不可恢复模式,此时,除充电检测单元之外的电路保护系统100_6继续被停止供电,从而有利于电池300_6电量的保持。In an embodiment of the present application, the original circuit and functions of the over-discharge voltage protection unit 190_6 in the prior art are fully utilized to actively control the disconnection of the first switch unit 180_6 and actively control the battery protection except the charging detection unit. The power supply of the circuit 100_6 is stopped, which can reduce the cost while increasing the power retention time of the battery 300_6. Referring to Figure 45, a first test soldering point A and a second testing soldering point B are added to the battery protection circuit. A second resistance is set between the first test pad A and the power supply terminal to realize indirect electrical connection, the second test pad B is electrically grounded, and the first test pad A and the second test pad B are used to electrically connect to the test unit. connect. In this embodiment, the test unit is the test unit is the wire. When the first test pad A and the second test pad B are directly connected with wires, the first test pad A and the second test pad B are conductive, so that the voltage signal received by the power supply terminal is lower than the preset threshold voltage, so that the battery protection circuit enters a sleep mode, in which the first switch unit is turned off to stop the battery supplying power to the system circuit and at least part of the battery protection circuit is stopped from supplying power. Specifically, in FIG. 45 , the power output of the battery 300_6 is divided into two branches from the power supply terminal VDD_6, one branch enters the battery protection circuit 100_6 through the power supply terminal VDD_6, and the other branch passes through the power supply terminal VDD_6, The second resistor R2_6. When the first test pad A and the second test pad B are short-circuited, the branch formed by the power supply terminal VDD_6, the second resistor R2_6 and the circuit is turned on. Since the second resistor R2_6 and the first resistor R1_6 have the same resistance value, Therefore, the second resistor R2_6 and the first resistor R1_6 divide the voltage of the battery, so that the voltage signal received at the power supply terminal VDD_6 decreases, when the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage, and the time exceeds the over-discharge delay time After time, the battery protection circuit 100_6 is in a sleep mode, and the first switch unit 180_6 is turned off in the sleep mode to stop the battery 300_6 from supplying power to the system circuit 200_6, and at least some units of the battery protection circuit 100_6 are stopped from supplying power. In this embodiment, the battery voltage is reduced to half. Generally, half of the battery voltage will be lower than the preset threshold voltage set by the deep discharge. Generally speaking, the power supply voltage of the battery 300_6 is in the range of 2.8V-4.2V, and the deep discharge threshold The voltage is generally 2.8V, while half the battery voltage range is 1.4V-2.1V, which is below the threshold voltage for deep discharge. Therefore, when the first test pad A and the second test pad B are turned on, secondly, the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the threshold voltage. At this time, the over-discharge voltage protection unit 190_6 controls the A switch unit 180_6 is turned off, and controls other units of the circuit protection system 100_6 except the charge detection unit to stop supplying power. Generally speaking, the circuit protection system 100_6 has two protection modes for deep discharge: an overdischarge recoverable mode and an overdischarge non-recoverable mode, which can be set by the user or the manufacturer as required. When the circuit protection system 100_6 is in the overdischarge recoverable mode , when the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the preset threshold voltage (eg, false detection), the first switch unit 180_6 is turned off, and the circuit protection system 100_6 except the charging detection unit is blocked Stop the power supply, when the voltage of the power supply terminal VDD_6 increases to above the preset threshold voltage, the circuit protection system 100_6 is automatically restored to power supply by the unit whose power supply is stopped, and the first switch unit 180_6 is turned on; when the circuit protection system 100_6 is in the over-discharge cannot In the recovery mode, when the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the preset threshold voltage, the first switch unit 180_6 is turned off, and the power supply of the circuit protection system 100_6 except the charging detection unit is stopped. , in this mode, even when the voltage at the power supply terminal VDD_6 increases above the preset threshold voltage, the first switch unit 180_6 remains disconnected, and the circuit protection system 100_6 except the charging detection unit continues to be powered off. In this case, only when the charging detection module detects the charging signal, the unit whose power supply of the circuit protection system 100_6 is stopped will resume power supply, and the first switch unit 180_6 will be turned on. In this embodiment, the circuit protection system 100_6 works in the over-discharge non-recoverable mode. At this time, the circuit protection system 100_6 other than the charging detection unit continues to be stopped from supplying power, which is conducive to maintaining the power of the battery 300_6 .
2、在1的方式的基础上,在本申请另一实施例中,充分利用现有技术的过放电压保护单元190_6原有的电路和功能,实现主动控制第一开关单元180_6断开,并且主动控制除充电检测单元之外的电池保护电路100_6被停止供电,在提升电池300_6的电量保持时间的同时可以降低成本,请参见图47。在电池保护电路上增加第一测试焊接点A和第二测试焊接点B。第一测试焊点A与电源供电端之间直接电连接,在第二测试焊点与接地之间设置第二电阻,第一测试焊点A和第二测试焊点B用于与测试单元电连接。在本实施例中,测试单元为测试单元为导线。第一测试焊点A和第二测试焊点B直接导线连接时,第一测试焊点A和所述第二测试焊点B导通而导致电源供电端接收到的电压信号低于预设阈值电压,以使所述电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开以使电池停止向系统电路供电且,且电池保护电路至少部分电路被停止供电。具体而言, 图45中,电池300_6电量的输出从电源供电端VDD_6这里分为两个支路,一个支路经由电源供电端VDD_6进入电池保护电路100_6内部,一个支路经由电源供电端VDD_6、第二电阻R2_6。当第一测试焊点A和第二测试焊点B短路时,此时电源供电端VDD_6、第二电阻R2_6、构成的支路导通,由于第二电阻R2_6与第一电阻R1_6阻值相同,从而第二电阻R2_6与第一电阻R1_6对电池电压进行分压,从而电源供电端VDD_6处接收的电压信号降低,当导致电源供电端VDD_6的电压小于过放保护电压,且时间超过过放延时时间后,此时电池保护电路100_6进行休眠模式,在休眠模式时第一开关单元180_6断开以使电池300_6停止向系统电路200_6供电,且电池保护电路100_6至少部分单元被停止供电。在本实施例中降低到一半的电池电压,一般一半的电池电压会低于深度放电设置的预设阈值电压,一般说来,电池300_6供电电压的范围为2.8V-4.2V,深度放电的阈值电压一般为2.8V,而一半的电池电压范围为1.4V-2.1V,低于深度放电的阈值电压。从而当第一测试焊点A和第二测试焊点B导通时第二,过放电压保护单元190_6检测到电源供电端VDD_6的电压低于阈值电压,此时过放电压保护单元190_6控制第一开关单元180_6断开,并且控制除充电检测单元之外的电路保护系统100_6的其他单元被停止供电。2. On the basis of the method of 1, in another embodiment of the present application, the original circuit and function of the over-discharge voltage protection unit 190_6 of the prior art are fully utilized to realize the active control of the first switch unit 180_6 to disconnect, and Actively controlling the battery protection circuit 100_6 other than the charging detection unit to stop supplying power can reduce the cost while improving the battery 300_6 power retention time. Please refer to FIG. 47 . Add the first test welding point A and the second test welding point B on the battery protection circuit. The first test pad A and the power supply terminal of the power supply are directly electrically connected, a second resistance is set between the second test pad and the ground, and the first test pad A and the second test pad B are used to electrically connect to the test unit. connect. In this embodiment, the test unit is the test unit is the wire. When the first test pad A and the second test pad B are directly connected with wires, the first test pad A and the second test pad B are turned on, so that the voltage signal received by the power supply terminal is lower than the preset threshold voltage to make the battery protection circuit enter a sleep mode, in which the first switch unit is turned off to stop the battery supplying power to the system circuit and at least part of the battery protection circuit is stopped from supplying power. Specifically, in FIG. 45 , the power output of the battery 300_6 is divided into two branches from the power supply terminal VDD_6, one branch enters the battery protection circuit 100_6 through the power supply terminal VDD_6, and the other branch passes through the power supply terminal VDD_6, The second resistor R2_6. When the first test pad A and the second test pad B are short-circuited, the branch formed by the power supply terminal VDD_6, the second resistor R2_6 and the circuit is turned on. Since the second resistor R2_6 and the first resistor R1_6 have the same resistance value, Therefore, the second resistor R2_6 and the first resistor R1_6 divide the voltage of the battery, so that the voltage signal received at the power supply terminal VDD_6 decreases. When the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage, and the time exceeds the over-discharge delay time After time, the battery protection circuit 100_6 is in a sleep mode, and the first switch unit 180_6 is turned off in the sleep mode to stop the battery 300_6 from supplying power to the system circuit 200_6, and at least some units of the battery protection circuit 100_6 are stopped from supplying power. In this embodiment, the battery voltage is reduced to half. Generally, half of the battery voltage will be lower than the preset threshold voltage set by the deep discharge. Generally speaking, the power supply voltage of the battery 300_6 is in the range of 2.8V-4.2V, and the deep discharge threshold The voltage is generally 2.8V, while half the battery voltage range is 1.4V-2.1V, which is below the threshold voltage for deep discharge. Therefore, when the first test pad A and the second test pad B are turned on, secondly, the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the threshold voltage, and at this time, the over-discharge voltage protection unit 190_6 controls the A switch unit 180_6 is turned off, and controls other units of the circuit protection system 100_6 except the charge detection unit to stop supplying power.
3、在1的方式的基础上,在本申请又一实施例中,充分利用现有技术的过放电压保护单元190_6原有的电路和功能,实现主动控制第一开关单元180_6断开,并且主动控制除充电检测单元之外的电池保护电路100_6被停止供电,在提升电池300_6的电量保持时间的同时可以降低成本,请参见图48。在电池保护电路上增加第一测试焊接点A和第二测试焊接点B。第一测试焊点A与电源供电端之间直接电连接,第二测试焊点B电接地,第一测试焊点A和第二测试焊点B用于与测试单元电连接。在本实施例中,测试单元为测试单元为导线和第二电阻,在第一测试焊A点与第二测试B点之间设置第二电阻。第一测试焊点A和第二测试焊点B通过第二电阻电连接时,第一测试焊点A和所述第二测试焊点B以及第二电阻导通而导致电源供电端接收到的电压信号低于预设阈值电压,以使所述电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开以使电池停止向系统电路供电且,且电池保护电路至少部分电路被停止供电。具体而言,图45中,电池300_6电量的输出从电源供电端VDD_6这里分为两个支路,一个支路经由电源供电端VDD_6进入电池保护电路100_6内部,一个支路经由电源供电端VDD_6、第二电阻R2_6。当第一测试焊点A和第二测试焊点B短路时,此时电源供电端VDD_6、第二电阻R2_6、构成的支路导通,由于第二电阻R2_6与第一电阻R1_6阻值相同,从而第二电阻R2_6与第一电阻R1_6对电池电压进行分压,从而电源供电端VDD_6处接收的电压信号降低,当导致电源供电端VDD_6的电压 小于过放保护电压,且时间超过过放延时时间后,此时电池保护电路100_6进行休眠模式,在休眠模式时第一开关单元180_6断开以使电池300_6停止向系统电路200_6供电,且电池保护电路100_6至少部分单元被停止供电。在本实施例中降低到一半的电池电压,一般一半的电池电压会低于深度放电设置的预设阈值电压,一般说来,电池300_6供电电压的范围为2.8V-4.2V,深度放电的阈值电压一般为2.8V,而一半的电池电压范围为1.4V-2.1V,低于深度放电的阈值电压。从而当第一测试焊点A和第二测试焊点B导通时第二,过放电压保护单元190_6检测到电源供电端VDD_6的电压低于阈值电压,此时过放电压保护单元190_6控制第一开关单元180_6断开,并且控制除充电检测单元之外的电路保护系统100_6的其他单元被停止供电。3. On the basis of the method of 1, in another embodiment of the present application, the original circuit and function of the over-discharge voltage protection unit 190_6 of the prior art are fully utilized to realize the active control of the first switch unit 180_6 to be disconnected, and Actively controlling the battery protection circuit 100_6 other than the charging detection unit to stop supplying power can reduce the cost while increasing the power retention time of the battery 300_6. Please refer to FIG. 48 . Add the first test welding point A and the second test welding point B on the battery protection circuit. The first test pad A and the power supply terminal are directly electrically connected, the second test pad B is electrically grounded, and the first test pad A and the second test pad B are used for electrical connection with the test unit. In this embodiment, the test unit is a wire and a second resistor, and a second resistor is set between the first test solder point A and the second test point B. When the first test pad A and the second test pad B are electrically connected through the second resistor, the first test pad A, the second test pad B and the second resistor are turned on, causing the power supply end to receive the signal. The voltage signal is lower than a preset threshold voltage, so that the battery protection circuit enters a sleep mode, the first switch unit is turned off in the sleep mode to stop the battery supplying power to the system circuit, and at least part of the battery protection circuit is blocked. Power off. Specifically, in FIG. 45 , the power output of the battery 300_6 is divided into two branches from the power supply terminal VDD_6, one branch enters the battery protection circuit 100_6 through the power supply terminal VDD_6, and the other branch passes through the power supply terminal VDD_6, The second resistor R2_6. When the first test pad A and the second test pad B are short-circuited, the branch formed by the power supply terminal VDD_6, the second resistor R2_6 and the circuit is turned on. Since the second resistor R2_6 and the first resistor R1_6 have the same resistance value, Therefore, the second resistor R2_6 and the first resistor R1_6 divide the voltage of the battery, so that the voltage signal received at the power supply terminal VDD_6 decreases. When the voltage of the power supply terminal VDD_6 is lower than the over-discharge protection voltage, and the time exceeds the over-discharge delay time After time, the battery protection circuit 100_6 is in a sleep mode, and the first switch unit 180_6 is turned off in the sleep mode to stop the battery 300_6 from supplying power to the system circuit 200_6, and at least some units of the battery protection circuit 100_6 are stopped from supplying power. In this embodiment, the battery voltage is reduced to half. Generally, half of the battery voltage will be lower than the preset threshold voltage set by the deep discharge. Generally speaking, the power supply voltage of the battery 300_6 is in the range of 2.8V-4.2V, and the deep discharge threshold The voltage is generally 2.8V, while half the battery voltage range is 1.4V-2.1V, which is below the threshold voltage for deep discharge. Therefore, when the first test pad A and the second test pad B are turned on, secondly, the over-discharge voltage protection unit 190_6 detects that the voltage of the power supply terminal VDD_6 is lower than the threshold voltage, and at this time, the over-discharge voltage protection unit 190_6 controls the A switch unit 180_6 is turned off, and controls other units of the circuit protection system 100_6 except the charge detection unit to stop supplying power.
在本实施例中,请结合参见图45和图46,电路保护系统100_6还包括系统接地端VM_6,系统接地端VM_6用于与系统电路200_6电连接,而且,系统接地端VM_6还用于充电。在本实施例中,系统接地端VM_6和电源接地端GND_6之间设置有第一开关单元180_6。In this embodiment, referring to FIG. 45 and FIG. 46 in combination, the circuit protection system 100_6 further includes a system ground terminal VM_6, which is used for electrical connection with the system circuit 200_6, and is also used for charging. In this embodiment, a first switch unit 180_6 is disposed between the system ground terminal VM_6 and the power ground terminal GND_6.
在本实施例中,电池保护电路100_6做在同一个芯片上,也即电池保护电路100_6整体做成片上系统,片上系统(System on Chip,SOC)是集成电路领域常用的一种技术,目的是将多个具有特定功能的集成电路组合在一个芯片上形成系统或产品,其中包含完成的硬件系统及其承载的嵌入式软件。片上系统在性能、成本、功耗、可靠性,以及生命周期与使用范围等各个方面都有明显的优势。另外,在本申请的其他实施例中,电池保护电路100_6除第一开关单元180_6之外的单元均做在同一个芯片上,也即电池保护电路100_6除第一开关单元180_6之外的单元整体做成片上系统。另外,在本申请的其他实施例中,图46中的第二电阻R2_6、电容C也可以做在片上系统中。In this embodiment, the battery protection circuit 100_6 is implemented on the same chip, that is, the battery protection circuit 100_6 is formed as a whole system on a chip. The system on chip (SOC) is a technology commonly used in the field of integrated circuits. The purpose is to Combining multiple integrated circuits with specific functions on a chip to form a system or product, which includes the completed hardware system and the embedded software it carries. SoCs have obvious advantages in performance, cost, power consumption, reliability, as well as life cycle and usage range. In addition, in other embodiments of the present application, the units of the battery protection circuit 100_6 except the first switch unit 180_6 are all implemented on the same chip, that is, the entire unit of the battery protection circuit 100_6 except the first switch unit 180_6 Made into a system-on-chip. In addition, in other embodiments of the present application, the second resistor R2_6 and the capacitor C in FIG. 46 can also be implemented in a system-on-chip.
在本申请另一实施例中,提供了一种测试子系统,包括:In another embodiment of the present application, a testing subsystem is provided, including:
如上所述的电池保护电路;The battery protection circuit as described above;
测试单元,其两端用于与所述第一测试焊点、第二测试焊点电连接,当所述测试单元两端与所述第一测试焊点、第二测试焊点电连接时所述第一测试焊点和所述第二测试焊点导通而导致所述电池保护电路的电源供电端接收到的电压信号低于预设阈值电压,以使所述电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开以使电池停止向系统电路供电,且电池保护电路至少部分电路被停止供电。A test unit, both ends of which are used for electrical connection with the first test pad and the second test pad, when the two ends of the test unit are electrically connected with the first test pad and the second test pad The first test pad and the second test pad are turned on, so that the voltage signal received by the power supply end of the battery protection circuit is lower than a preset threshold voltage, so that the battery protection circuit enters a sleep mode, In the sleep mode, the first switch unit is turned off to stop the battery from supplying power to the system circuit, and at least part of the battery protection circuit is stopped from supplying power.
在本申请一实施例中,测试单元为导线,在第一测试焊点与电源供电端之间设置第二电阻。In an embodiment of the present application, the test unit is a wire, and a second resistor is provided between the first test pad and the power supply terminal.
在本申请一实施例中,测试单元为导线,在第二测试焊点与接地之间设置第二电阻。In an embodiment of the present application, the test unit is a wire, and a second resistance is provided between the second test pad and the ground.
在本申请一实施例中,测试单元为导线和第二电阻,在第一测试焊点与第二测试点之间设置第二电阻。In an embodiment of the present application, the test unit is a wire and a second resistor, and the second resistor is set between the first test pad and the second test point.
在本申请另一实施例中,提供了一种测试系统,包括:In another embodiment of the present application, a testing system is provided, comprising:
电池,Battery,
如上所述的测试子系统,其中,所述测试子系统中的电池保护电路的电源供电端、电源接地端分别与电池电连接。In the above test subsystem, wherein the power supply terminal and the power ground terminal of the battery protection circuit in the test subsystem are respectively electrically connected to the battery.
上述电池的容量可以为10mAH-80mAH,例如为10mAH、20mAH、30mAH、40mAH、50mAH、60mAH、70mAH、80mAH。The capacity of the above-mentioned battery can be 10mAH-80mAH, such as 10mAH, 20mAH, 30mAH, 40mAH, 50mAH, 60mAH, 70mAH, 80mAH.
第七实施例Seventh Embodiment
在上述的实施例中,还提供了一种电子设备的船运模式设置方法,包括:In the above-mentioned embodiment, a method for setting a shipping mode of an electronic device is also provided, including:
接收上位机发送的进入船运模式的船运指令;Receive the shipping instruction sent by the host computer to enter the shipping mode;
向上位机发送船运模式反馈指令;Send the shipping mode feedback command to the upper computer;
其中,船运模式反馈指令为进入船运模式成功的有效应答指令或者进入船运模式失败的失效应答指令。The shipping mode feedback command is a valid response command for successfully entering the shipping mode or an invalid response command for failing to enter the shipping mode.
请参照图49,图49是本发明电子设备的船运模式设置方法第一实施例的流程示意图。本实施例的电子设备的船运模式设置方法包括以下步骤:Please refer to FIG. 49 . FIG. 49 is a schematic flowchart of the first embodiment of the method for setting the shipping mode of the electronic device of the present invention. The shipping mode setting method of the electronic device of this embodiment includes the following steps:
S11:接收上位机发送的进入船运模式的船运指令。S11: Receive the shipping instruction sent by the host computer to enter the shipping mode.
其中,电子设备可以是蓝牙耳机、手机、平板电脑等。在本实施例中,优选电子设备与上位机通过串口连接,船运指令通过串口发送,船运指令的形式可以是编码、脉冲或者电平形式,本申请对此不做限定,在其他实施例中,也可以是其他形式的私有协议。The electronic device may be a Bluetooth headset, a mobile phone, a tablet computer, or the like. In this embodiment, it is preferred that the electronic device and the host computer are connected through a serial port, and the shipping instruction is sent through the serial port. The shipping instruction can be in the form of code, pulse or level, which is not limited in this application, and in other embodiments It can also be other forms of private protocols.
S12:向上位机发送船运模式反馈指令,其中,船运模式反馈指令为进入船运模式成功的有效应答指令或者进入船运模式失败的失效应答指令。S12: Send a shipping mode feedback command to the upper computer, wherein the shipping mode feedback command is a valid response command for successfully entering the shipping mode or an invalid response command for failing to enter the shipping mode.
其中,不管电子设备是否成功进入船运模式,电子设备均会主动向上位机发出明确的指示,从而可以避免电子设备在未进入船运模式的状态下被出厂销售。Among them, regardless of whether the electronic device successfully enters the shipping mode, the electronic device will actively issue a clear instruction to the upper computer, so as to prevent the electronic device from being sold from the factory without entering the shipping mode.
请参照图50,图50是本发明电子设备的船运模式设置方法第二实施例的流程示意图。本实施例的电子设备的船运模式设置方法包括以下步骤:Please refer to FIG. 50 . FIG. 50 is a schematic flowchart of a second embodiment of a method for setting a shipping mode of an electronic device according to the present invention. The shipping mode setting method of the electronic device of this embodiment includes the following steps:
S21:主控模块接收上位机发送的进入船运模式的船运指令。S21: The main control module receives the shipping instruction sent by the upper computer to enter the shipping mode.
其中,电子设备包括主控模块和与主控模块电连接的电池保护模块,主控模块包含处理器及其外围电路,电池保护模块用于控制电池的供电,当电池不对主控模块等系统电路模块进行供电时,则是进入到了船运模式,在一些实施例中,船运模式也可以更加彻底,如对电池保护模块非必要耗电单元(如过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元)也不供电,仅仅保留用于退出船运模式的唤醒单元部分进行供电。The electronic equipment includes a main control module and a battery protection module electrically connected to the main control module. The main control module includes a processor and its peripheral circuits. The battery protection module is used to control the power supply of the battery. When the battery is not connected to the main control module and other system circuits When the module is supplying power, it enters the shipping mode. In some embodiments, the shipping mode can also be more thorough, such as protecting the battery protection module for unnecessary power-consuming units (such as overcharge voltage protection units, overdischarge voltage protection units). , discharge overcurrent protection unit, control unit, reference voltage generating unit and frequency generating unit) also do not supply power, and only reserve the part of the wake-up unit for exiting the shipping mode to supply power.
S22:电池保护模块接收主控模块发送的船运指令。S22: The battery protection module receives the shipping instruction sent by the main control module.
其中,船运指令可以是编码、脉冲或者电平形式。Wherein, the shipping instruction can be in the form of code, pulse or level.
S23:在预设时间内是否收到电池保护模块发送的船运确认信号。S23: Whether the shipping confirmation signal sent by the battery protection module is received within the preset time.
其中,若主控模块收到,则执行步骤S24,若未收到,则执行步骤S25。在本实施例中,预设时间可以设置为0.5-1s。Wherein, if the main control module receives it, then step S24 is performed, and if it is not received, then step S25 is performed. In this embodiment, the preset time may be set to 0.5-1s.
S24:主控模块发送有效应答指令至上位机。S24: The main control module sends a valid response command to the upper computer.
其中,主控模块发送有效应答指令后,即电子设备进入船运模式。Among them, after the main control module sends a valid response command, the electronic device enters the shipping mode.
S25:主控模块发送失效应答指令至上位机。S25: The main control module sends a failure response command to the upper computer.
其中,工厂端可通过上位机进行下一次船运指令的发送,直至电子设备进入船运模式。Among them, the factory side can send the next shipping instruction through the host computer until the electronic device enters the shipping mode.
请参照图51,图51是本发明电子设备的船运模式设置方法第三实施例的流程示意图。本实施例与上一实施例整体流程相同,不同点在于本申请的电子设备为tws(True Wireless Stereo)耳机,电子设备为tws耳机,tws耳机包括耳机本体和用于容纳耳机本体的耳机仓,主控模块和电池保护模块设于耳机本体内。tws耳机相比一般的电子设备结构复杂,信号传输链更长,若在船运模式设置时,存在未进入船运模式的情况时,不容易发现问题出在哪。Please refer to FIG. 51 . FIG. 51 is a schematic flowchart of a third embodiment of a method for setting a shipping mode of an electronic device according to the present invention. The overall process of this embodiment is the same as that of the previous embodiment, the difference is that the electronic device of the present application is a tws (True Wireless Stereo) earphone, the electronic device is a tws earphone, and the tws earphone includes an earphone body and an earphone compartment for accommodating the earphone body, The main control module and the battery protection module are arranged in the earphone body. Compared with the general electronic equipment, the tws headset has a more complex structure and a longer signal transmission chain. If the shipping mode is not set in the shipping mode, it is not easy to find the problem.
本实施例的电子设备的船运模式设置方法包括以下步骤:The shipping mode setting method of the electronic device of this embodiment includes the following steps:
S31:耳机仓接收上位机发送的进入船运模式的船运指令。S31: The earphone compartment receives the shipping instruction sent by the host computer to enter the shipping mode.
其中,耳机仓可通过串口与上位机连接,从而传输船运指令。Among them, the earphone compartment can be connected with the upper computer through the serial port, so as to transmit the shipping instructions.
S32:主控模块接收耳机仓发送的船运指令。S32: The main control module receives the shipping instruction sent by the headset compartment.
其中,主控模块优选为与耳机仓采用蓝牙方式连接。Wherein, the main control module is preferably connected with the earphone compartment by means of Bluetooth.
S33:电池保护模块接收主控模块发送的船运指令。S33: The battery protection module receives the shipping instruction sent by the main control module.
S34:在预设时间内是否收到电池保护模块发送的船运确认信号。S34: Whether the shipping confirmation signal sent by the battery protection module is received within the preset time.
其中,若主控模块收到,则执行步骤S35-S37,若未收到,则执行步骤S38-S39。Wherein, if the main control module receives it, execute steps S35-S37; if not, execute steps S38-S39.
S35:主控模块发送有效应答指令至耳机仓。S35: The main control module sends a valid response command to the earphone compartment.
S36:耳机仓发送有效应答指令至上位机。S36: The headset compartment sends a valid response command to the upper computer.
S37:进入船运模式。S37: Enter the shipping mode.
S38:主控模块发送失效应答指令至耳机仓。S38: The main control module sends a failure response command to the earphone compartment.
S39:耳机仓发送失效应答指令至上位机。S39: The earphone compartment sends an invalid response command to the upper computer.
本实施例的船运模式设置方式具有以下有益效果:The shipping mode setting method of this embodiment has the following beneficial effects:
1、形成上位机与tws耳机之间的主动应答机制,相比中国专利CN111400080A采用的计时器模式,本实施例仅仅在上位机与tws耳机之间进行信号交互,准确及时,而CN111400080A是上位机、tws耳机以及计时器之间的三者交互,延时大,成本高。且CN111400080A会产生不准确的结果,如耳机坏了,也会被认为进入船运模式。1. Form an active response mechanism between the host computer and the tws headset. Compared with the timer mode adopted by the Chinese patent CN111400080A, this embodiment only performs signal interaction between the host computer and the tws headset, which is accurate and timely, while CN111400080A is the host computer. The interaction between the , tws headset and the timer has a large delay and a high cost. And CN111400080A will produce inaccurate results, if the headset is broken, it will also be considered to enter shipping mode.
2、构成上位机-耳机仓-主控模块-电池保护模块的多级级联闭环信号环路,能够达到主动回传,被动监控的效果,快速定位出错的具体位置,从而解决问题。2. It forms a multi-level cascaded closed-loop signal loop of the host computer-earphone compartment-main control module-battery protection module, which can achieve the effect of active return and passive monitoring, and quickly locate the specific location of the error, thereby solving the problem.
请参阅图52,图52是本发明电子设备一实施例的框架示意图。电子设备50包括相互耦接的存储器51和处理器52,处理器52用于执行存储器51中存储的程序指令,以实现上述任一船运模式设置方法实施例的步骤。在一个具体的实施场景中,终端设备50可以是蓝牙耳机、手机、平板电脑等。Please refer to FIG. 52. FIG. 52 is a schematic diagram of a frame of an embodiment of an electronic device of the present invention. The electronic device 50 includes a memory 51 and a processor 52 coupled to each other, and the processor 52 is configured to execute program instructions stored in the memory 51, so as to implement the steps of any of the foregoing shipping mode setting method embodiments. In a specific implementation scenario, the terminal device 50 may be a Bluetooth headset, a mobile phone, a tablet computer, or the like.
具体而言,处理器52用于控制其自身以及存储器51以实现上述任一船运模式设置方法实施例的步骤。处理器52还可以称为CPU(Central Processing Unit,中央处理单元)。处理器52可能是一种集成电路芯片,具有信号的处理能力。处理器52还可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。另外,处理器52可以由集成电路芯片共同实现。Specifically, the processor 52 is used to control itself and the memory 51 to implement the steps of any of the above-mentioned shipping mode setting method embodiments. The processor 52 may also be referred to as a CPU (Central Processing Unit, central processing unit). The processor 52 may be an integrated circuit chip with signal processing capability. The processor 52 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 52 may be jointly implemented by an integrated circuit chip.
请参阅图53,图53是本发明计算机可读存储介质一实施例的框架示意图。计算机可读存储介质60存储有能够被处理器运行的程序指令601,程序指令601用于实现上述任一船运模式设置方法实施例的步骤。Please refer to FIG. 53 , which is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present invention. The computer-readable storage medium 60 stores program instructions 601 that can be executed by the processor, and the program instructions 601 are used to implement the steps of any one of the foregoing shipping mode setting method embodiments.
在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the apparatuses provided in the embodiments of the present disclosure may be used to execute the methods described in the above method embodiments. For specific implementation, reference may be made to the descriptions of the above method embodiments. For brevity, here No longer.
上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考,为了简洁,本文不再赘述。The above descriptions of the various embodiments tend to emphasize the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, details are not repeated herein.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性、机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the device implementations described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other divisions. For example, units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
请参阅图54,图54是本发明电子设备一实施例的电路图。在本实施例中,电子设备可以是蓝牙耳机、手机、平板电脑等。此处以tws耳机为例并仅显示出主控模块和电池保护模块部分,省略耳机仓。电子设备包括主控模块10和电池保护模 块20,电子设备包括主控模块10和与主控模块10电连接的电池保护模块20,主控模块10包含处理器及其外围电路,电池保护模块20用于控制电池30的供电,当电池不对主控模块10等系统电路模块进行供电时,则是进入到了船运模式,在一些实施例中,船运模式也可以更加彻底,如对电池保护模块20非必要耗电单元(如过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元)也不供电,仅仅保留用于退出船运模式的唤醒单元部分进行供电。Please refer to FIG. 54 . FIG. 54 is a circuit diagram of an electronic device according to an embodiment of the present invention. In this embodiment, the electronic device may be a Bluetooth headset, a mobile phone, a tablet computer, or the like. Here, the tws earphone is taken as an example, and only the main control module and battery protection module are shown, and the earphone compartment is omitted. The electronic device includes a main control module 10 and a battery protection module 20, the electronic device includes a main control module 10 and a battery protection module 20 electrically connected to the main control module 10, the main control module 10 includes a processor and its peripheral circuits, and the battery protection module 20 It is used to control the power supply of the battery 30. When the battery does not supply power to the system circuit modules such as the main control module 10, it enters the shipping mode. In some embodiments, the shipping mode can also be more thorough, such as for the battery protection module. 20 Non-essential power-consuming units (such as overcharge voltage protection unit, overdischarge voltage protection unit, discharge overcurrent protection unit, control unit, reference voltage generation unit and frequency generation unit) do not supply power, and are only reserved for exiting shipping mode The wake-up unit part is powered.
主控模块10设置有输入输出引脚GPIO,电池保护模块20设置有电源供电引脚VDD_7、电源接地引脚GND_7以及船运引脚CTL_7,电源供电引脚VDD_7、电源接地引脚GND_7分别与电池30的正负极电连接,船运引脚CTL_7与输入输出引脚GPIO电连接,当主控模块10接收到来自上位机的进入船运模式的船运指令时,船运指令由输入输出引脚传输至船运引脚,主控模块10根据是否接收到来自船运引脚反馈的船运确认信号,向上位机发送船运模式反馈指令;其中,船运模式反馈指令为进入船运模式成功的有效应答指令或者进入船运模式失败的失效应答指令。进入船运模式的具体电路为现有技术,在此不作赘述。本实施例的电子设备能够主动向上位机反馈是否进入船运模式,避免电子设备未真正进入船运模式而被遗漏出厂,提高用户体验。The main control module 10 is provided with an input and output pin GPIO, the battery protection module 20 is provided with a power supply pin VDD_7, a power ground pin GND_7 and a shipping pin CTL_7, the power supply pin VDD_7 and the power supply ground pin GND_7 are respectively connected with the battery. The positive and negative poles of 30 are electrically connected, and the shipping pin CTL_7 is electrically connected to the input and output pins GPIO. When the main control module 10 receives the shipping command from the host computer to enter the shipping mode, the shipping command is guided by the input and output. The pin is transmitted to the shipping pin, and the main control module 10 sends the shipping mode feedback command to the upper computer according to whether it receives the shipping confirmation signal fed back from the shipping pin; wherein, the shipping mode feedback command is to enter the shipping mode A successful valid acknowledgment command or a failed acknowledgment command that fails to enter shipping mode. The specific circuit for entering the shipping mode is in the prior art and will not be repeated here. The electronic device in this embodiment can actively feed back to the upper computer whether to enter the shipping mode, so as to avoid the electronic device from being left out of the factory without actually entering the shipping mode, thereby improving user experience.
请参阅图55,图55是本发明电子设备另一实施例的电路图。本实施例与上一实施例的区别在于,不共用引脚,发送船运指令和接收船运确认信号分别通过不同引脚。具体而言,主控模块10_2的输入输出引脚包括第一输入输出引脚GPIO-1和第二输入输出引脚GPIO-2,电池保护模块20_2还设置有反馈引脚ANS,船运指令由第一输入输出引脚GPIO-1传输至船运引脚CTL_7,反馈指令由反馈引脚ANS发送至第二输入输出引脚GPIO-2。Please refer to FIG. 55. FIG. 55 is a circuit diagram of another embodiment of the electronic device of the present invention. The difference between this embodiment and the previous embodiment is that the pins are not shared, and the sending of shipping instructions and the receiving of shipping confirmation signals pass through different pins respectively. Specifically, the input and output pins of the main control module 10_2 include a first input and output pin GPIO-1 and a second input and output pin GPIO-2, the battery protection module 20_2 is also provided with a feedback pin ANS, and the shipping instruction is set by The first input and output pin GPIO-1 is transmitted to the shipping pin CTL_7, and the feedback command is sent to the second input and output pin GPIO-2 by the feedback pin ANS.
应当理解的是,在本文中提及的“多个”是指两个或两个以上。本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。It should be understood that references herein to "a plurality" means two or more. Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses or adaptations of this application that follow the general principles of this application and include common knowledge or conventional techniques in the technical field not disclosed in this application . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the application being indicated by the following claims.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that, each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts of each embodiment, refer to each other. Can. As for the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above disclosures are only the preferred embodiments of the present application, and of course, the scope of the rights of the present application cannot be limited by this. Therefore, equivalent changes made according to the claims of the present application are still within the scope of the present application.

Claims (122)

  1. 一种片上系统,其特征在于,包括:电源供电引脚、电源接地引脚、过充电压保护单元、过放电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元、控制单元、唤醒单元、第一开关单元,其中,所述电源供电引脚和电源接地引脚分别用于与电池电连接,所述第一开关单元用于控制电池供电给系统电路;A system-on-chip is characterized by comprising: a power supply pin, a power ground pin, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, a frequency generation unit, and a control unit , a wake-up unit, and a first switch unit, wherein the power supply pin and the power ground pin are respectively used for electrical connection with the battery, and the first switch unit is used to control the battery to supply power to the system circuit;
    其中,所述片上系统还包括船运引脚,当船运引脚接收到第一信号时所述片上系统进入船运模式,在船运模式时所述第一开关单元断开以使电池停止向系统电路供电且所述片上系统至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述片上系统退出船运模式。Wherein, the system-on-chip further includes a shipping pin, when the shipping pin receives a first signal, the system-on-chip enters a shipping mode, and in the shipping mode, the first switch unit is turned off to stop the battery Power is supplied to the system circuit and at least some units of the system-on-chip are powered off, and the wake-up unit is powered when in the shipping mode, and the wake-up unit is used to exit the system-on-chip from the shipping mode.
  2. 如权利要求1所述的片上系统,其特征在于,当船运引脚接收到第一信号时触发所述片上系统产生船运控制信号以进入船运模式。The system-on-chip of claim 1, wherein when the shipping pin receives the first signal, the system-on-chip is triggered to generate a shipping control signal to enter the shipping mode.
  3. 如权利要求2所述的片上系统,其特征在于,所述第一信号为片上系统与系统电路进行协议的编码信号。The system-on-chip according to claim 2, wherein the first signal is an encoded signal that the system-on-chip and the system circuit perform a protocol on.
  4. 如权利要求3所述的片上系统,其特征在于,所述第一信号包括脉冲信号,所述片上系统还包括脉冲计数单元,所述脉冲计数单元与所述船运引脚电连接,当脉冲计数单元在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时触发产生船运控制信号。The system-on-chip of claim 3, wherein the first signal comprises a pulse signal, the system-on-chip further comprises a pulse counting unit, the pulse counting unit is electrically connected to the shipping pin, and when the pulse The counting unit triggers to generate a shipping control signal when the number of pulses received within the first predetermined time period is greater than or equal to the first predetermined number.
  5. 如权利要求3所述的片上系统,其特征在于,所述第一信号包括持续的高电平信号或持续的低电平信号,所述片上系统还包括第一计时单元,所述第一计时单元与所述船运引脚电连接,当第一计时单元接收到的高电平信号或低电平信号持续时间大于或等于第二预定时间段时触发产生船运控制信号。The system on chip according to claim 3, wherein the first signal comprises a continuous high level signal or a continuous low level signal, the system on chip further comprises a first timing unit, the first timing The unit is electrically connected to the shipping pin, and when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, the shipping control signal is triggered to be generated.
  6. 如权利要求3所述的片上系统,其特征在于,所述过放电压保护单元包括比较器和第二计时单元,所述比较器的输出端与第二计时器电连接,所述第一信号为持续的高电平信号或持续的低电平信号,所述片上系统还包括第二开关单元和第一电阻,所述第二开关单元的控制端与所述船运引脚电连接,所述第二开关单元的输入端接地,所述第二开关单元的输出端与第一电阻的一端电连接,所述第一电阻的另一端接高电平,所述第二开关单元的输出端还与所述过放电压保护单元的比较器的反向端电连接,所述比较器的输出端与第二计时单元电连接,当所述船运引脚接到第一信号时所述第二开关单元导通,所述第二计时单元接收到的高电平持续时间大于或等于第三预定时间段时触发产生船运控制信号。The system-on-chip of claim 3, wherein the over-discharge voltage protection unit comprises a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal For a continuous high-level signal or a continuous low-level signal, the system-on-chip further includes a second switch unit and a first resistor, and the control end of the second switch unit is electrically connected to the shipping pin, so The input end of the second switch unit is grounded, the output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit It is also electrically connected to the reverse end of the comparator of the over-discharge voltage protection unit, and the output end of the comparator is electrically connected to the second timing unit. When the shipping pin is connected to the first signal, the first The two switch units are turned on, and when the duration of the high level received by the second timing unit is greater than or equal to the third predetermined time period, the shipping control signal is triggered to be generated.
  7. 如权利要求1-6任意一项所述的片上系统,其特征在于,所述唤醒单元为充电检测单元。The system-on-chip according to any one of claims 1-6, wherein the wake-up unit is a charge detection unit.
  8. 如权利要求7所述的片上系统,其特征在于,当充电检测单元检测到充电信号时,所述片上系统退出船运模式。The system-on-chip of claim 7, wherein when the charging detection unit detects a charging signal, the system-on-chip exits the shipping mode.
  9. 如权利要求1-6任意一项所述的片上系统,其特征在于,所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。The system-on-chip according to any one of claims 1-6, wherein the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit At least one of them is powered off.
  10. 如权利要求9所述的片上系统,其特征在于,当所述片上系统进入船运模式时所述片上系统除唤醒单元之外的电路均被停止供电。The system-on-a-chip of claim 9, wherein when the system-on-chip enters the shipping mode, all circuits of the system-on-chip except the wake-up unit are powered off.
  11. 如权利要求1-6任意一项所述的片上系统,其特征在于,所述第一开关单元包括MOS管。The system-on-chip according to any one of claims 1-6, wherein the first switch unit comprises a MOS transistor.
  12. 一种电池组件,其特征在于,包括:A battery assembly, characterized in that, comprising:
    电池;Battery;
    如权利要求1-11任意一项所述的片上系统,其中,所述片上系统的电源供电引脚、电源接地引脚分别与电池电连接。The system-on-chip according to any one of claims 1-11, wherein a power supply pin and a power ground pin of the system-on-chip are respectively electrically connected to the battery.
  13. 如权利要求12所述的电池组件,其特征在于,所述电池的容量为10mAH-80mAH。The battery assembly of claim 12, wherein the capacity of the battery is 10mAH-80mAH.
  14. 一种电子装置,其特征在于,包括:An electronic device, comprising:
    如权利要求12或13所述的电池组件;The battery pack of claim 12 or 13;
    系统电路,其中,所述电池经由所述片上系统控制向所述系统电路供电。a system circuit, wherein the battery supplies power to the system circuit via the system-on-chip control.
  15. 如权利要求14所述的电子装置,其特征在于,所述电子装置为蓝牙耳机。The electronic device of claim 14, wherein the electronic device is a Bluetooth headset.
  16. 一种片上系统,其特征在于,包括:电源供电引脚、电源接地引脚、过放电压保护单元、控制单元、唤醒单元、第一开关单元,其中,所述电源供电引脚和电源接地引脚分别用于与电池电连接,所述第一开关单元用于控制电池供电给系统电路;A system-on-chip is characterized by comprising: a power supply pin, a power ground pin, an overdischarge voltage protection unit, a control unit, a wake-up unit, and a first switch unit, wherein the power supply pin and the power ground lead The feet are respectively used for electrical connection with the battery, and the first switch unit is used for controlling the battery to supply power to the system circuit;
    其中,所述电源供电引脚还用于与系统电路的船运输出端电连接,当电源供电引脚由于船运输出端信号的改变而导致其接收到的电压信号发生改变时所述片上系统进入船运模式,在船运模式时所述第一开关单元断开以使电池停止向系统电路供电且所述片上系统至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述片上系统退出船运模式。Wherein, the power supply pin is also used for electrical connection with the shipping outlet of the system circuit. When the voltage signal received by the power supply pin changes due to the change of the shipping output signal, the system-on-chip Entering a shipping mode, in which the first switch unit is turned off to stop the battery from supplying power to the system circuit and at least part of the system-on-chip units are powered off, and in the shipping mode the wake-up unit is powered , the wake-up unit is used to make the system-on-chip exit the shipping mode.
  17. 如权利要求16所述的片上系统,其特征在于,当电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统进入船运模式。17. The system-on-chip of claim 16, wherein the system-on-chip enters the shipping mode when the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to the first predetermined number.
  18. 如权利要求17所述的片上系统,其特征在于,所述片上系统还包括脉冲计数单元,所述脉冲计数单元与所述电源供电引脚电连接,当所述脉冲计数单元确认电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统进入船运模式。The system-on-chip of claim 17, wherein the system-on-chip further comprises a pulse counting unit, the pulse counting unit is electrically connected to the power supply pin, and when the pulse counting unit confirms the power supply pin The system-on-chip enters the shipping mode when the number of pulses received within a predetermined time period is greater than or equal to a first predetermined number.
  19. 如权利要求18所述的片上系统,其特征在于,所述过放电压保护单元包括比较器,所述片上系统还包括第三开关单元和第三电阻,所述第三开关单元的控制端与所述脉冲计数单元的输出端电连接,所述第三开关单元的输入端接地,所述第三开关单元的输出端与第三电阻的一端电连接,所述第三电阻的另一端接高电平,所述第三开关单元的输出端还与所述比较器的反向端电连接,当所述脉冲计数单元确认电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时输出控制信号以使所述第三开关单元导通,所述比较器的输出信号发生改变以控制片上系统进入船运模式,且在船运模式时所述片上系统除唤醒单元之外的单元均被停止供电。The system-on-chip according to claim 18, wherein the over-discharge voltage protection unit comprises a comparator, the system-on-chip further comprises a third switch unit and a third resistor, and the control terminal of the third switch unit is connected to The output end of the pulse counting unit is electrically connected, the input end of the third switch unit is grounded, the output end of the third switch unit is electrically connected to one end of the third resistor, and the other end of the third resistor is connected to high The output terminal of the third switch unit is also electrically connected to the reverse terminal of the comparator. When the pulse counting unit confirms that the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to the first A control signal is output to turn on the third switch unit when a predetermined number is reached, the output signal of the comparator is changed to control the SoC to enter the shipping mode, and in the shipping mode, the system on chip is excluded from the wake-up unit. All other units are powered off.
  20. 如权利要求16所述的片上系统,其特征在于,当电源供电引脚由于船运输出端所在支路的分压而导致其接收到的电压信号低于预设阈值电压时所述片上系统进入船运模式。The system-on-chip according to claim 16, characterized in that, when the voltage signal received by the power supply pin is lower than the preset threshold voltage due to the voltage division of the branch where the ship's outgoing end is located, the system-on-chip enters the Shipping mode.
  21. 如权利要求20所述的片上系统,其特征在于,所述过放电压保护单元与所述电源供电引脚电连接,当电源供电引脚的电压信号低于阈值电压时所述放电保护单元控制片上系统进入船运模式,在船运模式时所述第一开关单元断开且所述片上系统除唤醒单元之外的单元均被停止供电。The system-on-chip of claim 20, wherein the over-discharge voltage protection unit is electrically connected to the power supply pin, and when the voltage signal of the power supply pin is lower than a threshold voltage, the discharge protection unit controls The system-on-chip enters the shipping mode, in which the first switch unit is turned off and the power supply of all units of the system-on-chip except the wake-up unit is stopped.
  22. 如权利要求16-21任意一项所述的片上系统,其特征在于,所述唤醒单元为充电检测单元。The system-on-chip according to any one of claims 16-21, wherein the wake-up unit is a charge detection unit.
  23. 如权利要求22所述的片上系统,其特征在于,当充电检测单元检测到充电信号时,所述片上系统退出船运模式。The system-on-chip of claim 22, wherein when the charging detection unit detects a charging signal, the system-on-chip exits the shipping mode.
  24. 如权利要求16-18、20任意一项所述的片上系统,其特征在于,所述片上系统还包括过充电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元,在船运模式时所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。The system-on-chip according to any one of claims 16-18 and 20, wherein the system-on-chip further comprises an overcharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, and a frequency generation unit. In the operation mode, at least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
  25. 如权利要求24所述的片上系统,其特征在于,在船运模式时所述片上系统除唤醒单元之外的单元均被停止供电。The system-on-chip of claim 24, wherein in the shipping mode, all units of the system-on-chip except the wake-up unit are powered off.
  26. 如权利要求16-21任意一项所述的片上系统,其特征在于,所述第一开关单元包括MOS管。The system-on-chip according to any one of claims 16-21, wherein the first switch unit comprises a MOS transistor.
  27. 一种电池组件,其特征在于,包括:A battery assembly, characterized in that, comprising:
    电池;Battery;
    如权利要求16-26任意一项所述的片上系统,其中,所述片上系统的电源供电引脚、电源接地引脚分别与电池电连接。The system-on-chip according to any one of claims 16-26, wherein a power supply pin and a power ground pin of the system-on-chip are respectively electrically connected to the battery.
  28. 如权利要27所述的电池组件,其特征在于,所述电池的容量为10mAH-80mAH。The battery assembly of claim 27, wherein the battery has a capacity of 10mAH-80mAH.
  29. 一种电子装置,其特征在于,包括:An electronic device, comprising:
    如权利要求27或28所述的电池组件;The battery pack of claim 27 or 28;
    系统电路,其中,所述电池经由所述片上系统控制向所述系统电路供电。a system circuit, wherein the battery supplies power to the system circuit via the system-on-chip control.
  30. 如权利要求29所述的电子装置,其特征在于,所述电子装置为蓝牙耳机。The electronic device of claim 29, wherein the electronic device is a Bluetooth headset.
  31. 如权利要求29或30所述的电子装置,其特征在于,所述系统电路的船运输出端经由第二电阻与所述片上系统的电源供电引脚电连接,所述船运输出端在输出使所述片上系统进入船运模式的信号之外的时间呈高阻态。The electronic device according to claim 29 or 30, wherein the shipping outlet of the system circuit is electrically connected to a power supply pin of the system-on-chip via a second resistor, and the shipping outlet is at the output The time other than the signal that puts the system-on-chip into shipping mode is high impedance.
  32. 一种电池保护电路,其特征在于,包括:电源供电端、电源接地端、过充电压保护单元、过放电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元、控制单元、第一开关单元,其中,所述电源供电端和电源接地端分别用于与电池电连接,所述第一开关单元用于控制电池供电给系统电路;A battery protection circuit is characterized by comprising: a power supply terminal, a power ground terminal, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, a frequency generation unit, a control unit, a first switch unit, wherein the power supply terminal and the power ground terminal are respectively used for electrical connection with the battery, and the first switch unit is used to control the battery to supply power to the system circuit;
    其中,所述电池保护电路还包括船运输入端,当船运输入端接收到第一信号时所述电池保护电路进入船运模式,在船运模式时所述电池保护电路至少部分单元被停止供电。Wherein, the battery protection circuit further includes a shipping input terminal, when the shipping input terminal receives the first signal, the battery protection circuit enters the shipping mode, and at least some units of the battery protection circuit are stopped in the shipping mode powered by.
  33. 如权利要求32所述的电池保护电路,其特征在于,在船运模式时所述第一开关单元断开以使电池停止向系统电路供电。33. The battery protection circuit of claim 32, wherein the first switch unit is turned off in the shipping mode to stop the battery from supplying power to the system circuit.
  34. 如权利要求32所述的电池保护电路,其特征在于,所述电池保护电路还包括唤醒单元,在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述电池保护电路退出船运模式。The battery protection circuit according to claim 32, wherein the battery protection circuit further comprises a wake-up unit, the wake-up unit is powered in the shipping mode, and the wake-up unit is configured to exit the battery protection circuit Shipping mode.
  35. 如权利要求32-34任意一项所述的电池保护电路,其特征在于,当船运输入端接收到第一信号时触发所述电池保护电路产生船运控制信号以进入船运模式。The battery protection circuit according to any one of claims 32-34, wherein when the shipping input terminal receives the first signal, the battery protection circuit is triggered to generate a shipping control signal to enter the shipping mode.
  36. 如权利要求35所述的电池保护电路,其特征在于,所述第一信号为电池保护电路与系统电路进行协议的编码信号。The battery protection circuit of claim 35, wherein the first signal is an encoded signal that the battery protection circuit and the system circuit perform an agreement on.
  37. 如权利要求36所述的电池保护电路,其特征在于,所述第一信号包括脉冲信号,所述电池保护电路还包括脉冲计数单元,所述脉冲计数单元与所述船运输入端电连接,当脉冲计数单元在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时触发产生船运控制信号。The battery protection circuit of claim 36, wherein the first signal comprises a pulse signal, the battery protection circuit further comprises a pulse counting unit, the pulse counting unit is electrically connected to the shipping input, When the number of pulses received by the pulse counting unit within the first predetermined time period is greater than or equal to the first predetermined number, it is triggered to generate the shipping control signal.
  38. 如权利要求36所述的电池保护电路,其特征在于,所述第一信号包括持续的高电平信号或持续的低电平信号,所述电池保护电路还包括第一计时单元,所述第一计时单元与所述船运输入端电连接,当第一计时单元接收到的高电平信号或低电平信号持续时间大于或等于第二预定时间段时触发产生船运控制信号。The battery protection circuit of claim 36, wherein the first signal comprises a continuous high-level signal or a continuous low-level signal, the battery protection circuit further comprises a first timing unit, the first A timing unit is electrically connected to the shipping input end, and when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to a second predetermined time period, a shipping control signal is triggered to be generated.
  39. 如权利要求36所述的电池保护电路,其特征在于,所述过放电压保护单元包括比较器和第二计时单元,所述比较器的输出端与第二计时器电连接,所述第一信号为持续的高电平信号或持续的低电平信号,所述电池保护电路还包括第二开关单元和第一电阻,所述第二开关单元的控制端与所述船运引脚电连接,所述第二开关单元的输入端接地,所述第二开关单元的输出端与第一电阻的一端电连接,所述第一电阻的另一端接高电平,所述第二开关单元的输出端还与所述过放电压保护单元的比较器的反向端电连接,所述比较器的输出端与第二计时单元电连接,当所述船运引脚接到第一信号时所述第二开关单元导通,所述第二计时单元接收到的高电平持续时间大于或等于第三预定时间段时触发产生船运控制信号。The battery protection circuit of claim 36, wherein the over-discharge voltage protection unit comprises a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first The signal is a continuous high-level signal or a continuous low-level signal, the battery protection circuit further includes a second switch unit and a first resistor, and the control end of the second switch unit is electrically connected to the shipping pin , the input end of the second switch unit is grounded, the output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit is electrically connected to one end of the first resistor. The output terminal is also electrically connected to the reverse terminal of the comparator of the over-discharge voltage protection unit, and the output terminal of the comparator is electrically connected to the second timing unit. When the shipping pin is connected to the first signal, the The second switch unit is turned on, and when the duration of the high level received by the second timing unit is greater than or equal to a third predetermined time period, the shipping control signal is triggered to be generated.
  40. 如权利要求32-34任意一项所述的电池保护电路,其特征在于,所述唤醒单元为充电检测单元。The battery protection circuit according to any one of claims 32-34, wherein the wake-up unit is a charge detection unit.
  41. 如权利要求40所述的电池保护电路,其特征在于,当充电检测单元检测到充电信号时,所述电池保护电路退出船运模式。The battery protection circuit of claim 40, wherein when the charging detection unit detects a charging signal, the battery protection circuit exits the shipping mode.
  42. 如权利要求32-34任意一项所述的电池保护电路,其特征在于,所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。The battery protection circuit according to any one of claims 32 to 34, wherein the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit At least one of the units is powered off.
  43. 如权利要求42所述的电池保护电路,其特征在于,当所述电池保护电路进入船运模式时所述电池保护电路除唤醒单元之外的电路均被停止供电。The battery protection circuit of claim 42, wherein when the battery protection circuit enters the shipping mode, all circuits of the battery protection circuit except the wake-up unit are stopped to supply power.
  44. 如权利要求32-34任意一项所述的电池保护电路,其特征在于,所述第一开关单元包括MOS管。The battery protection circuit according to any one of claims 32-34, wherein the first switch unit comprises a MOS transistor.
  45. 如权利要求32-34任意一项所述的电池保护电路,其特征在于,所述电池保护电路做在同一个芯片上,或者,所述电池保护电路除第一开关单元之外的单元均做在同一个芯片上。The battery protection circuit according to any one of claims 32 to 34, wherein the battery protection circuit is implemented on the same chip, or the battery protection circuit is implemented in all units except the first switch unit. on the same chip.
  46. 一种电池组件,其特征在于,包括:A battery assembly, characterized in that, comprising:
    电池;Battery;
    如权利要求32-45任意一项所述的电池保护电路,其中,所述电池保护电路的电源供电端、电源接地端分别与电池电连接。The battery protection circuit according to any one of claims 32-45, wherein a power supply terminal and a power ground terminal of the battery protection circuit are respectively electrically connected to the battery.
  47. 如权利要求46所述的电池组件,其特征在于,所述电池的容量为10mAH-80mAH。The battery assembly of claim 46, wherein the battery has a capacity of 10mAH-80mAH.
  48. 一种电子装置,其特征在于,包括:An electronic device, comprising:
    如权利要求46或47所述的电池组件;The battery pack of claim 46 or 47;
    系统电路,其中,所述电池经由所述电池保护电路控制向所述系统电路供电。A system circuit, wherein the battery is controlled to supply power to the system circuit via the battery protection circuit.
  49. 一种片上系统,其特征在于,包括:电源供电引脚、电源接地引脚、过充电压保护单元、过放电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元、控制单元、唤醒单元、控制引脚,其中,所述电源供电引脚和电源接地引脚分别用于与电池电连接,所述控制引脚用于对第一开关单元进行控制,第一开关单元用于控制电池供电给系统电路;A system-on-chip is characterized by comprising: a power supply pin, a power ground pin, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, a frequency generation unit, and a control unit , a wake-up unit, and a control pin, wherein the power supply pin and the power ground pin are respectively used for electrical connection with the battery, the control pin is used to control the first switch unit, and the first switch unit is used for Control the battery to supply power to the system circuit;
    其中,所述片上系统还包括船运引脚,当船运引脚接收到第一信号时所述片上系统进入船运模式,在船运模式时所述片上系统输出用于关断第一开关单元的控制信号给控制引脚以使电池停止向系统电路供电且所述片上系统至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述片上系统退出船运模式。Wherein, the system-on-chip further includes a shipping pin, when the shipping pin receives the first signal, the system-on-chip enters the shipping mode, and the system-on-chip output is used to turn off the first switch in the shipping mode The control signal of the unit is given to the control pin to make the battery stop supplying power to the system circuit and at least part of the system-on-chip units are stopped, and the wake-up unit is powered in the shipping mode, and the wake-up unit is used to make the The SoC exits shipping mode.
  50. 如权利要求49所述的片上系统,其特征在于,当船运引脚接收到第一信号时触发所述片上系统产生船运控制信号以进入船运模式。The system-on-chip of claim 49, wherein when the shipping pin receives the first signal, the system-on-chip is triggered to generate a shipping control signal to enter the shipping mode.
  51. 如权利要求50所述的片上系统,其特征在于,所述第一信号为片上系统与系统电路进行协议的编码信号。The system-on-a-chip of claim 50, wherein the first signal is an encoded signal that the system-on-chip and the system circuit perform a protocol on.
  52. 如权利要求51所述的片上系统,其特征在于,所述第一信号包括脉冲信号,所述片上系统还包括脉冲计数单元,所述脉冲计数单元与所述船运引脚电连接,当脉冲计数单元在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时触发产生船运控制信号。The system-on-chip of claim 51, wherein the first signal comprises a pulse signal, the system-on-chip further comprises a pulse counting unit, the pulse counting unit is electrically connected to the shipping pin, and when the pulse The counting unit triggers to generate a shipping control signal when the number of pulses received within the first predetermined time period is greater than or equal to the first predetermined number.
  53. 如权利要求51所述的片上系统,其特征在于,所述第一信号包括持续的高电平信号或持续的低电平信号,所述片上系统还包括第一计时单元,所述第一计时单元与所述船运引脚电连接,当第一计时单元接收到的高电平信号或低电平信号持续时间大于或等于第二预定时间段时触发产生船运控制信号。The system on chip of claim 51, wherein the first signal comprises a continuous high level signal or a continuous low level signal, the system on chip further comprises a first timing unit, the first timing The unit is electrically connected to the shipping pin, and when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, the shipping control signal is triggered to be generated.
  54. 如权利要求51所述的片上系统,其特征在于,所述过放电压保护单元包括比较器和第二计时单元,所述比较器的输出端与第二计时器电连接,所述第一信号为持续的高电平信号或持续的低电平信号,所述片上系统还包括第二开关单元和 第一电阻,所述第二开关单元的控制端与所述船运引脚电连接,所述第二开关单元的输入端接地,所述第二开关单元的输出端与第一电阻的一端电连接,所述第一电阻的另一端接高电平,所述第二开关单元的输出端还与所述过放电压保护单元的比较器的反向端电连接,所述比较器的输出端与第二计时单元电连接,当所述船运引脚接到第一信号时所述第二开关单元导通,所述第二计时单元接收到的高电平持续时间大于或等于第三预定时间段时触发产生船运控制信号。The system-on-a-chip of claim 51, wherein the over-discharge voltage protection unit comprises a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal For a continuous high-level signal or a continuous low-level signal, the system-on-chip further includes a second switch unit and a first resistor, and the control end of the second switch unit is electrically connected to the shipping pin, so The input end of the second switch unit is grounded, the output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output end of the second switch unit It is also electrically connected to the reverse end of the comparator of the over-discharge voltage protection unit, and the output end of the comparator is electrically connected to the second timing unit. When the shipping pin is connected to the first signal, the first The two switch units are turned on, and when the duration of the high level received by the second timing unit is greater than or equal to the third predetermined time period, the shipping control signal is triggered to be generated.
  55. 如权利要求49-54任意一项所述的片上系统,其特征在于,所述唤醒单元为充电检测单元。The system-on-chip according to any one of claims 49-54, wherein the wake-up unit is a charge detection unit.
  56. 如权利要求55所述的片上系统,其特征在于,当充电检测单元检测到充电信号时,所述片上系统退出船运模式。The system on chip of claim 55, wherein when the charging detection unit detects a charging signal, the system on chip exits the shipping mode.
  57. 如权利要求49-54任意一项所述的片上系统,其特征在于,所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。The system-on-chip according to any one of claims 49-54, wherein the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit At least one of them is powered off.
  58. 如权利要求57所述的片上系统,其特征在于,当所述片上系统进入船运模式时所述片上系统除唤醒单元之外的电路均被停止供电。The system-on-a-chip of claim 57, wherein when the system-on-chip enters the shipping mode, all circuits of the system-on-chip except the wake-up unit are powered off.
  59. 如权利要求49-54任意一项所述的片上系统,其特征在于,所述第一开关单元包括MOS管。The system-on-chip according to any one of claims 49-54, wherein the first switch unit comprises a MOS transistor.
  60. 一种电池组件,其特征在于,包括:A battery assembly, characterized in that, comprising:
    电池;Battery;
    如权利要求49-59任意一项所述的片上系统,其中,所述片上系统的电源供电引脚、电源接地引脚分别与电池电连接;The system-on-chip according to any one of claims 49-59, wherein a power supply pin and a power ground pin of the system-on-chip are respectively electrically connected to the battery;
    第一开关单元,其与所述片上系统的控制引脚电连接,所述第一开关单元的输入端与电池电连接,所述第一开关单元的输出端用于与系统电路电连接。The first switch unit is electrically connected to the control pin of the system-on-chip, the input end of the first switch unit is electrically connected to the battery, and the output end of the first switch unit is used for electrical connection with the system circuit.
  61. 如权利要求60所述的电池组件,其特征在于,所述电池的容量为10mAH-80mAH。The battery assembly of claim 60, wherein the battery has a capacity of 10mAH-80mAH.
  62. 一种电子装置,其特征在于,包括:An electronic device, comprising:
    如权利要求60或61所述的电池组件;The battery pack of claim 60 or 61;
    系统电路,其中,所述电池经由所述片上系统控制向所述系统电路供电。a system circuit, wherein the battery supplies power to the system circuit via the system-on-chip control.
  63. 如权利要求62所述的电子装置,其特征在于,所述电子装置为蓝牙耳机。The electronic device of claim 62, wherein the electronic device is a Bluetooth headset.
  64. 一种片上系统,其特征在于,包括:电源供电引脚、电源接地引脚、过放电压保护单元、控制单元、唤醒单元、控制引脚,其中,所述电源供电引脚和电源接地引脚分别用于与电池电连接,所述控制引脚用于对第一开关单元进行控制,第一开关单元用于控制电池供电给系统电路;A system-on-chip, characterized in that it includes: a power supply pin, a power ground pin, an overdischarge voltage protection unit, a control unit, a wake-up unit, and a control pin, wherein the power supply pin and the power supply ground pin They are respectively used for electrical connection with the battery, the control pins are used to control the first switch unit, and the first switch unit is used to control the battery to supply power to the system circuit;
    其中,所述电源供电引脚还用于与系统电路的船运输出端电连接,当电源供电引脚由于船运输出端信号的改变而导致其接收到的电压信号发生改变时所述片上系统进入船运模式,在船运模式时所述片上系统输出用于关断第一开关单元的控制信号给控制引脚以使电池停止向系统电路供电且所述片上系统至少部分单元被停止供 电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述片上系统退出船运模式。Wherein, the power supply pin is also used for electrical connection with the shipping outlet of the system circuit. When the voltage signal received by the power supply pin changes due to the change of the shipping output signal, the system-on-chip Entering the shipping mode, in the shipping mode, the system-on-chip outputs a control signal for turning off the first switch unit to the control pin, so that the battery stops supplying power to the system circuit and at least some units of the system-on-chip are powered off, And in the shipping mode, the wake-up unit is powered, and the wake-up unit is used to make the system on chip exit the shipping mode.
  65. 如权利要求64所述的片上系统,其特征在于,当电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统进入船运模式。64. The system-on-chip of claim 64, wherein the system-on-chip enters the shipping mode when the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to the first predetermined number.
  66. 如权利要求65所述的片上系统,其特征在于,所述片上系统还包括脉冲计数单元,所述脉冲计数单元与所述电源供电引脚电连接,当所述脉冲计数单元确认电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时所述片上系统进入船运模式。The system-on-chip of claim 65, wherein the system-on-chip further comprises a pulse counting unit, the pulse counting unit is electrically connected to the power supply pin, and when the pulse counting unit confirms the power supply pin The system-on-chip enters the shipping mode when the number of pulses received within a predetermined time period is greater than or equal to a first predetermined number.
  67. 如权利要求66所述的片上系统,其特征在于,所述过放电压保护单元包括比较器,所述片上系统还包括第三开关单元和第三电阻,所述第三开关单元的控制端与所述脉冲计数单元的输出端电连接,所述第三开关单元的输入端接地,所述第三开关单元的输出端与第三电阻的一端电连接,所述第三电阻的另一端接高电平,所述第三开关单元的输出端还与所述比较器的反向端电连接,当所述脉冲计数单元确认电源供电引脚在预定时间段内接收到的脉冲数大于或等于第一预定数量时输出控制信号以使所述第三开关单元导通,所述比较器的输出信号发生改变以控制片上系统进入船运模式,且在船运模式时所述片上系统除唤醒单元之外的单元均被停止供电。The system-on-chip of claim 66, wherein the over-discharge voltage protection unit comprises a comparator, the system-on-chip further comprises a third switch unit and a third resistor, and the control terminal of the third switch unit is connected to The output end of the pulse counting unit is electrically connected, the input end of the third switch unit is grounded, the output end of the third switch unit is electrically connected to one end of the third resistor, and the other end of the third resistor is connected to high The output terminal of the third switch unit is also electrically connected to the reverse terminal of the comparator. When the pulse counting unit confirms that the number of pulses received by the power supply pin within a predetermined period of time is greater than or equal to the first A control signal is output to turn on the third switch unit when a predetermined number is reached, the output signal of the comparator is changed to control the SoC to enter the shipping mode, and in the shipping mode, the system on chip is excluded from the wake-up unit. All other units are powered off.
  68. 如权利要求64所述的片上系统,其特征在于,当电源供电引脚由于船运输出端所在支路的分压而导致其接收到的电压信号低于预设阈值电压时所述片上系统进入船运模式。The system-on-chip according to claim 64, characterized in that, when the voltage signal received by the power supply pin is lower than the preset threshold voltage due to the voltage division of the branch where the shipping outlet is located, the system-on-chip enters the Shipping mode.
  69. 如权利要求68所述的片上系统,其特征在于,所述过放电压保护单元与所述电源供电引脚电连接,当电源供电引脚的电压信号低于阈值电压时所述放电保护单元控制片上系统进入船运模式,在船运模式时所述第一开关单元断开且所述片上系统除唤醒单元之外的单元均被停止供电。The system-on-a-chip of claim 68, wherein the over-discharge voltage protection unit is electrically connected to the power supply pin, and when the voltage signal of the power supply pin is lower than a threshold voltage, the discharge protection unit controls the The system-on-chip enters the shipping mode, in which the first switch unit is turned off and the power supply of all units of the system-on-chip except the wake-up unit is stopped.
  70. 如权利要求64-69任意一项所述的片上系统,其特征在于,所述唤醒单元为充电检测单元。The system-on-chip according to any one of claims 64-69, wherein the wake-up unit is a charge detection unit.
  71. 如权利要求70所述的片上系统,其特征在于,当充电检测单元检测到充电信号时,所述片上系统退出船运模式。The system on chip of claim 70, wherein when the charging detection unit detects a charging signal, the system on chip exits the shipping mode.
  72. 如权利要求64-66、68任意一项所述的片上系统,其特征在于,所述片上系统还包括过充电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元,在船运模式时所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。The system-on-chip according to any one of claims 64-66 and 68, wherein the system-on-chip further comprises an overcharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, and a frequency generation unit. In the operation mode, at least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
  73. 如权利要求72所述的片上系统,其特征在于,在船运模式时所述片上系统除唤醒单元之外的单元均被停止供电。The system-on-a-chip of claim 72, wherein in the shipping mode, all units of the system-on-chip except the wake-up unit are powered off.
  74. 如权利要求64-69任意一项所述的片上系统,其特征在于,所述第一开关单元包括MOS管。The system-on-chip according to any one of claims 64-69, wherein the first switch unit comprises a MOS transistor.
  75. 一种电池组件,其特征在于,包括:A battery assembly, characterized in that, comprising:
    电池;Battery;
    如权利要求64-74任意一项所述的片上系统,其中,所述片上系统的电源供电引脚、电源接地引脚分别与电池电连接;The system-on-chip according to any one of claims 64-74, wherein a power supply pin and a power ground pin of the system-on-chip are respectively electrically connected to the battery;
    第一开关单元,其与所述片上系统的控制引脚电连接,所述第一开关单元的输入端与电池电连接,所述第一开关单元的输出端用于与系统电路电连接。The first switch unit is electrically connected to the control pin of the system-on-chip, the input end of the first switch unit is electrically connected to the battery, and the output end of the first switch unit is used for electrical connection with the system circuit.
  76. 如权利要75所述的电池组件,其特征在于,所述电池的容量为10mAH-80mAH。The battery assembly of claim 75, wherein the battery has a capacity of 10mAH-80mAH.
  77. 一种电子装置,其特征在于,包括:An electronic device, comprising:
    如权利要求75或76所述的电池组件;The battery pack of claim 75 or 76;
    系统电路,其中,所述电池经由所述片上系统控制向所述系统电路供电。a system circuit, wherein the battery supplies power to the system circuit via the system-on-chip control.
  78. 如权利要求77所述的电子装置,其特征在于,所述电子装置为蓝牙耳机。The electronic device of claim 77, wherein the electronic device is a Bluetooth headset.
  79. 如权利要求77或78所述的电子装置,其特征在于,所述系统电路的船运输出端经由第二电阻与所述片上系统的电源供电引脚电连接,所述船运输出端在输出使所述片上系统进入船运模式的信号之外的时间呈高阻态。The electronic device according to claim 77 or 78, characterized in that the shipping outlet of the system circuit is electrically connected to a power supply pin of the system-on-chip via a second resistor, and the shipping outlet is at the output The time other than the signal that puts the system-on-chip into shipping mode is high impedance.
  80. 一种电池保护电路,其特征在于,包括:电源供电端、电源接地端、过放电压保护单元、控制单元、第一电阻、第一开关单元、第一测试焊点和第二测试焊点,其中,所述电源供电端和电源接地端分别用于与电池电连接,所述过放电压保护单元与控制单元电连接,所述第一电阻的输入端与电池电连接,所述第一电阻的输出端与电源供电端电连接,所述第一开关单元用于控制电池供电给系统电路;A battery protection circuit is characterized by comprising: a power supply terminal, a power supply ground terminal, an overdischarge voltage protection unit, a control unit, a first resistor, a first switch unit, a first test pad and a second test pad, The power supply terminal and the power ground terminal are respectively used for electrical connection with the battery, the over-discharge voltage protection unit is electrically connected with the control unit, the input terminal of the first resistor is electrically connected with the battery, and the first resistor is electrically connected to the battery. The output end of the power supply is electrically connected to the power supply end, and the first switch unit is used to control the battery to supply power to the system circuit;
    其中,所述第一测试焊点与电源供电端电连接,所述第二测试焊点电接地,所述第一测试焊点和第二测试焊点用于与测试单元电连接,当第一测试焊点和第二测试焊点用于与测试单元电连接时所述第一测试焊点和所述第二测试焊点导通而导致电源供电端接收到的电压信号低于预设阈值电压,以使所述电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开以使电池停止向系统电路供电,且电池保护电路至少部分电路被停止供电。Wherein, the first test pad is electrically connected to the power supply terminal, the second test pad is electrically grounded, and the first test pad and the second test pad are used for electrical connection with the test unit. When the test pad and the second test pad are used for electrical connection with the test unit, the first test pad and the second test pad are turned on, so that the voltage signal received by the power supply terminal is lower than the preset threshold voltage , so that the battery protection circuit enters a sleep mode, in which the first switch unit is turned off to stop the battery supplying power to the system circuit, and at least part of the battery protection circuit is stopped from supplying power.
  81. 如权利要求80所述的电池保护电路,其特征在于,所述电池保护电路还包括唤醒单元,在休眠模式时所述唤醒单元被供电,所述唤醒单元用于使所述电池保护电路退出休眠模式。The battery protection circuit according to claim 80, wherein the battery protection circuit further comprises a wake-up unit, the wake-up unit is powered in the sleep mode, and the wake-up unit is used to make the battery protection circuit exit the sleep mode model.
  82. 如权利要求80所述的电池保护电路,其特征在于,所述第一测试焊点与电源供电端直接电连接;或者第一测试焊点与电源供电端之间设置第二电阻间接电连接。The battery protection circuit of claim 80, wherein the first test pad is directly electrically connected to the power supply terminal; or a second resistor is provided between the first test pad and the power supply terminal to be indirectly electrically connected.
  83. 如权利要求80所述的电池保护电路,其特征在于,所述第二测试焊点直接接地;或者第二测试焊点与接地之间设置第二电阻间接电连接。The battery protection circuit of claim 80, wherein the second test pad is directly grounded; or a second resistor is indirectly electrically connected between the second test pad and the ground.
  84. 如权利要求80所述的电池保护电路,其特征在于,所述过放电压保护单元与所述电源供电端电连接,当电源供电端的电压信号低于阈值电压时所述放电保护单元控制电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开,且所述且电池保护电路至少部分电路被停止供电。The battery protection circuit of claim 80, wherein the overdischarge voltage protection unit is electrically connected to the power supply terminal, and the discharge protection unit controls battery protection when the voltage signal of the power supply terminal is lower than a threshold voltage The circuit enters a sleep mode, in which the first switch unit is turned off, and at least part of the battery protection circuit is stopped from supplying power.
  85. 如权利要求81所述的电池保护电路,其特征在于,所述唤醒单元为充电检测单元。当充电检测单元检测到充电信号时,所述电池保护电路退出休眠模式。The battery protection circuit of claim 81, wherein the wake-up unit is a charge detection unit. When the charging detection unit detects the charging signal, the battery protection circuit exits the sleep mode.
  86. 如权利要求80所述的电池保护电路,其特征在于,所述电池保护电路还包括过充电压保护单元、放电过流保护单元、基准电压产生单元和频率产生单元,其中,在休眠模式时所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。The battery protection circuit of claim 80, wherein the battery protection circuit further comprises an overcharge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit and a frequency generation unit, wherein in the sleep mode, the At least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is powered off.
  87. 如权利要求81所述的电池保护电路,其特征在于,当所述电池保护电路进入休眠模式时所述电池保护电路除唤醒单元之外的电路均被停止供电。The battery protection circuit according to claim 81, wherein when the battery protection circuit enters the sleep mode, all circuits of the battery protection circuit except the wake-up unit are stopped to supply power.
  88. 如权利要求80或81所述的电池保护电路,其特征在于,所述第一开关单元包括MOS管。The battery protection circuit according to claim 80 or 81, wherein the first switch unit comprises a MOS transistor.
  89. 如权利要求80或81所述的电池保护电路,其特征在于,所述电池保护电路做在同一个芯片上,或者,所述电池保护电路除第一开关单元之外的单元均做在同一个芯片上。The battery protection circuit according to claim 80 or 81, characterized in that, the battery protection circuit is implemented on the same chip, or, the units of the battery protection circuit except the first switch unit are implemented on the same chip on the chip.
  90. 一种电池组件,其特征在于,包括:A battery assembly, characterized in that, comprising:
    电池;Battery;
    如权利要求80-89任意一项所述的电池保护电路,其中,所述电池保护电路的电源供电端、电源接地端分别与电池电连接。The battery protection circuit according to any one of claims 80 to 89, wherein a power supply terminal and a power ground terminal of the battery protection circuit are respectively electrically connected to the battery.
  91. 如权利要求90所述的电池组件,其特征在于,所述电池的容量为10mAH-80mAH。The battery assembly of claim 90, wherein the battery has a capacity of 10mAH-80mAH.
  92. 一种测试子系统,其特征在于,包括:A test subsystem, characterized in that it includes:
    如权利要求80-89任意一项所述的电池保护电路;The battery protection circuit according to any one of claims 80-89;
    测试单元,其两端用于与所述第一测试焊点、第二测试焊点电连接,当所述测试单元两端与所述第一测试焊点、第二测试焊点电连接时所述第一测试焊点和所述第二测试焊点导通而导致所述电池保护电路的电源供电端接收到的电压信号低于预设阈值电压,以使所述电池保护电路进入休眠模式,在休眠模式时所述第一开关单元断开以使电池停止向系统电路供电,且电池保护电路至少部分电路被停止供电。The two ends of the test unit are used for electrical connection with the first test pad and the second test pad, when the two ends of the test unit are electrically connected with the first test pad and the second test pad. The first test pad and the second test pad are turned on, so that the voltage signal received by the power supply end of the battery protection circuit is lower than a preset threshold voltage, so that the battery protection circuit enters a sleep mode, In the sleep mode, the first switch unit is turned off to stop the battery from supplying power to the system circuit, and at least part of the battery protection circuit is stopped from supplying power.
  93. 如权利要求92所述的测试子系统,其特征在于,所述测试单元为导线,在第一测试焊点与电源供电端之间设置第二电阻。The test subsystem of claim 92, wherein the test unit is a wire, and a second resistance is provided between the first test pad and the power supply terminal.
  94. 如权利要求92所述的测试子系统,其特征在于,所述测试单元为导线,在第二测试焊点与接地之间设置第二电阻。The test subsystem of claim 92, wherein the test unit is a wire, and a second resistance is provided between the second test pad and the ground.
  95. 如权利要求92所述的测试子系统,其特征在于,所述测试单元为导线和第二电阻,在第一测试焊点与第二测试点之间设置第二电阻。The test subsystem of claim 92, wherein the test unit is a wire and a second resistor, and the second resistor is provided between the first test pad and the second test point.
  96. 一种测试系统,其特征在于,包括:A test system, characterized in that it includes:
    电池,Battery,
    如权利要求92-95任意一项所述的测试子系统,其中,所述测试子系统中的电池保护电路的电源供电端、电源接地端分别与电池电连接。The test subsystem according to any one of claims 92-95, wherein the power supply terminal and the power ground terminal of the battery protection circuit in the test subsystem are electrically connected to the battery, respectively.
  97. 如权利要求96所述的测试系统,其特征在于,所述电池的容量为10mAH-80mAH。The test system of claim 96, wherein the battery has a capacity of 10mAH-80mAH.
  98. 一种电子装置,其特征在于,包括:An electronic device, comprising:
    如权利要求90或91所述的电池组件;The battery pack of claim 90 or 91;
    系统电路,其中,所述电池经由所述电池保护电路控制向所述系统电路供电。A system circuit, wherein the battery is controlled to supply power to the system circuit via the battery protection circuit.
  99. 一种蓝牙耳机,其特征在于,包括:A Bluetooth headset, comprising:
    系统电路;system circuit;
    电池,其容量为10mAH-80mAH;Battery, its capacity is 10mAH-80mAH;
    电池保护电路,其包括:电源供电端、电源接地端、过充电压保护单元、过放电压保护单元、放电过流保护单元、基准电压产生单元、频率产生单元、控制单元、第一开关单元,其中,所述电源供电端和电源接地端分别与电池电连接,所述第一开关单元用于控制电池供电给系统电路;A battery protection circuit, comprising: a power supply terminal, a power ground terminal, an overcharge voltage protection unit, an overdischarge voltage protection unit, a discharge overcurrent protection unit, a reference voltage generation unit, a frequency generation unit, a control unit, and a first switch unit, Wherein, the power supply terminal and the power ground terminal are respectively electrically connected to the battery, and the first switch unit is used to control the battery to supply power to the system circuit;
    其中,所述系统电路与所述电池保护电路电连接,当系统电路向电池保护电路输出第一信号时所述电池保护电路进入船运模式,在船运模式时所述第一开关单元断开以使电池停止向系统电路供电。The system circuit is electrically connected to the battery protection circuit, the battery protection circuit enters a shipping mode when the system circuit outputs a first signal to the battery protection circuit, and the first switch unit is disconnected in the shipping mode to stop the battery supplying power to the system circuits.
  100. 如权利要求99所述的蓝牙耳机,其特征在于,所述电池保护电路包括船运输入端,所述船运输入端与所述系统电路电连接,所述系统电路通过船运输入端输出第一信号。The bluetooth headset of claim 99, wherein the battery protection circuit comprises a shipping input, the shipping input is electrically connected to the system circuit, and the system circuit outputs the first output through the shipping input. a signal.
  101. 如权利要求99所述的蓝牙耳机,其特征在于,所述电池保护电路还包括唤醒单元,在船运模式时所述电池保护电路至少部分单元被停止供电,且在船运模式时所述唤醒单元被供电,所述唤醒单元用于使所述电池保护电路退出船运模式。The bluetooth headset according to claim 99, wherein the battery protection circuit further comprises a wake-up unit, at least part of the battery protection circuit is powered off in the shipping mode, and the wake-up is in the shipping mode The unit is powered and the wake-up unit is used to bring the battery protection circuit out of shipping mode.
  102. 如权利要求101所述的蓝牙耳机,其特征在于,所述唤醒单元为充电检测单元。The Bluetooth headset of claim 101, wherein the wake-up unit is a charging detection unit.
  103. 如权利要求102所述的蓝牙耳机,其特征在于,当充电检测单元检测到充电信号时,所述电池保护电路退出船运模式。The Bluetooth headset of claim 102, wherein when the charging detection unit detects a charging signal, the battery protection circuit exits the shipping mode.
  104. 如权利要求101所述的蓝牙耳机,其特征在于,所述过充电压保护单元、过放电压保护单元、放电过流保护单元、控制单元、基准电压产生单元和频率产生单元至少其中之一被停止供电。The Bluetooth headset according to claim 101, wherein at least one of the overcharge voltage protection unit, the overdischarge voltage protection unit, the discharge overcurrent protection unit, the control unit, the reference voltage generation unit and the frequency generation unit is Power off.
  105. 如权利要求104所述的蓝牙耳机,其特征在于,当所述电池保护电路进入船运模式时所述电池保护电路除唤醒单元之外的电路均被停止供电。The Bluetooth headset of claim 104, wherein when the battery protection circuit enters the shipping mode, all circuits of the battery protection circuit except the wake-up unit are stopped to supply power.
  106. 如权利要求99-105任意一项所述的蓝牙耳机,其特征在于,当电池保护电路接收到第一信号时触发所述电池保护电路产生船运控制信号以进入船运模式。The Bluetooth headset according to any one of claims 99-105, wherein when the battery protection circuit receives the first signal, the battery protection circuit is triggered to generate a shipping control signal to enter the shipping mode.
  107. 如权利要求106所述的蓝牙耳机,其特征在于,所述第一信号为电池保护电路与系统电路进行协议的编码信号。The bluetooth headset of claim 106, wherein the first signal is an encoded signal that is negotiated between the battery protection circuit and the system circuit.
  108. 如权利要求107所述的蓝牙耳机,其特征在于,所述第一信号包括脉冲信号,所述电池保护电路还包括脉冲计数单元,所述脉冲计数单元与所述船运输入端电连接,当脉冲计数单元在第一预定时间段内接收到的脉冲数大于或等于第一预定数量时触发产生船运控制信号。The Bluetooth headset of claim 107, wherein the first signal comprises a pulse signal, the battery protection circuit further comprises a pulse counting unit, the pulse counting unit is electrically connected to the shipping input, when The pulse counting unit triggers to generate a shipping control signal when the number of pulses received within the first predetermined time period is greater than or equal to the first predetermined number.
  109. 如权利要求107所述的蓝牙耳机,其特征在于,所述第一信号包括持续的高电平信号或持续的低电平信号,所述电池保护电路还包括第一计时单元,所述 第一计时单元与所述船运输入端电连接,当第一计时单元接收到的高电平信号或低电平信号持续时间大于或等于第二预定时间段时触发产生船运控制信号。The Bluetooth headset of claim 107, wherein the first signal comprises a continuous high level signal or a continuous low level signal, the battery protection circuit further comprises a first timing unit, the first The timing unit is electrically connected to the shipping input end, and when the duration of the high-level signal or the low-level signal received by the first timing unit is greater than or equal to the second predetermined time period, the shipping control signal is triggered to be generated.
  110. 如权利要求107所述的蓝牙耳机,其特征在于,所述过放电压保护单元包括比较器和第二计时单元,所述比较器的输出端与第二计时器电连接,所述第一信号为持续的高电平信号或持续的低电平信号,所述电池保护电路还包括第二开关单元和第一电阻,所述第二开关单元的控制端与所述船运引脚电连接,所述第二开关单元的输入端接地,所述第二开关单元的输出端与第一电阻的一端电连接,所述第一电阻的另一端接高电平,所述第二开关单元的输出端还与所述过放电压保护单元的比较器的反向端电连接,所述比较器的输出端与第二计时单元电连接,当所述船运引脚接到第一信号时所述第二开关单元导通,所述第二计时单元接收到的高电平持续时间大于或等于第三预定时间段时触发产生船运控制信号。The Bluetooth headset of claim 107, wherein the over-discharge voltage protection unit comprises a comparator and a second timing unit, an output end of the comparator is electrically connected to the second timer, and the first signal is a continuous high-level signal or a continuous low-level signal, the battery protection circuit further includes a second switch unit and a first resistor, and the control end of the second switch unit is electrically connected to the shipping pin, The input end of the second switch unit is grounded, the output end of the second switch unit is electrically connected to one end of the first resistor, the other end of the first resistor is connected to a high level, and the output of the second switch unit The terminal is also electrically connected to the reverse terminal of the comparator of the over-discharge voltage protection unit, and the output terminal of the comparator is electrically connected to the second timing unit. When the shipping pin is connected to the first signal, the The second switch unit is turned on, and when the duration of the high level received by the second timing unit is greater than or equal to the third predetermined time period, the shipping control signal is triggered to be generated.
  111. 如权利要求99-105任意一项所述的蓝牙耳机,其特征在于,所述第一开关单元包括MOS管。The Bluetooth headset according to any one of claims 99-105, wherein the first switch unit comprises a MOS transistor.
  112. 如权利要求99-105任意一项所述的蓝牙耳机,其特征在于,所述电池保护电路做在同一个芯片上,或者,所述电池保护电路除第一开关单元之外的单元均做在同一个芯片上。The bluetooth headset according to any one of claims 99 to 105, wherein the battery protection circuit is implemented on the same chip, or the battery protection circuit except the first switch unit is implemented on the same chip. on the same chip.
  113. 一种电子设备的船运模式设置方法,其特征在于,所述方法包括:A method for setting a shipping mode of an electronic device, wherein the method comprises:
    接收上位机发送的进入船运模式的船运指令;Receive the shipping instruction sent by the host computer to enter the shipping mode;
    向所述上位机发送船运模式反馈指令;Send a shipping mode feedback command to the host computer;
    其中,所述船运模式反馈指令为进入船运模式成功的有效应答指令或者进入船运模式失败的失效应答指令。Wherein, the shipping mode feedback command is a valid response command for successfully entering the shipping mode or an invalid response command for failing to enter the shipping mode.
  114. 根据权利要求113所述的船运模式设置方法,其特征在于,所述电子设备包括主控模块和与所述主控模块电连接的电池保护模块,The method for setting a shipping mode according to claim 113, wherein the electronic device comprises a main control module and a battery protection module electrically connected to the main control module,
    所述接收上位机发送的进入船运模式的船运指令的步骤具体包括:The step of receiving the shipping instruction to enter the shipping mode sent by the host computer specifically includes:
    所述主控模块接收上位机发送的进入船运模式的船运指令;The main control module receives the shipping instruction to enter the shipping mode sent by the host computer;
    所述电池保护模块接收所述主控模块发送的所述船运指令;The battery protection module receives the shipping instruction sent by the main control module;
    所述向所述上位机发送船运模式反馈指令的步骤具体包括:The step of sending the shipping mode feedback command to the host computer specifically includes:
    若预设时间内收到所述电池保护模块发送的船运确认信号,所述主控模块发送所述有效应答指令至所述上位机;If the shipping confirmation signal sent by the battery protection module is received within a preset time, the main control module sends the valid response command to the upper computer;
    若预设时间内未收到所述电池保护模块发送的船运确认信号,所述主控模块发送所述失效应答指令至所述上位机。If the shipping confirmation signal sent by the battery protection module is not received within a preset time, the main control module sends the failure response command to the upper computer.
  115. 根据权利要求114所述的船运模式设置方法,其特征在于,所述电子设备为tws耳机,所述tws耳机包括耳机本体和用于容纳所述耳机本体的耳机仓,所述主控模块和所述电池保护模块设于所述耳机本体内;The method for setting a shipping mode according to claim 114, wherein the electronic device is a tws earphone, the tws earphone comprises an earphone body and an earphone compartment for accommodating the earphone body, the main control module and the the battery protection module is arranged in the earphone body;
    所述主控模块接收上位机发送的进入船运模式的船运指令的步骤具体包括:The step of the main control module receiving the shipping instruction to enter the shipping mode sent by the host computer specifically includes:
    所述耳机仓接收上位机发送的进入船运模式的船运指令;The earphone compartment receives the shipping instruction to enter the shipping mode sent by the host computer;
    所述主控模块接收所述耳机仓发送的所述船运指令;The main control module receives the shipping instruction sent by the headset compartment;
    所述主控模块发送所述有效应答指令至所述上位机的步骤具体包括:The step of the main control module sending the effective response command to the host computer specifically includes:
    所述主控模块发送所述有效应答指令至所述耳机仓;The main control module sends the effective response command to the headset compartment;
    所述耳机仓发送所述有效应答指令至所述上位机;The headset compartment sends the effective response command to the host computer;
    所述主控模块发送所述失效应答指令至所述上位机的步骤具体包括:The step of the main control module sending the failure response command to the host computer specifically includes:
    所述主控模块发送所述失效应答指令至所述耳机仓;The main control module sends the failure response command to the earphone compartment;
    所述耳机仓发送所述失效应答指令至所述上位机。The earphone compartment sends the failure response command to the upper computer.
  116. 根据权利要求115所述的船运模式设置方法,其特征在于,所述耳机仓发送所述有效应答指令至所述上位机的步骤之后还包括:The method for setting a shipping mode according to claim 115, wherein the step of sending the effective response command to the host computer by the headset compartment further comprises:
    进入船运模式。Enter shipping mode.
  117. 根据权利要求115所述的船运模式设置方法,其特征在于,所述船运指令、所述船运模式反馈指令和所述船运确认信号分别为编码、脉冲或者电平形式。The shipping mode setting method according to claim 115, wherein the shipping command, the shipping mode feedback command and the shipping confirmation signal are respectively in the form of code, pulse or level.
  118. 一种电子设备,其特征在于,所述电子设备包括相互耦接的处理器和存储器,所述处理器用于执行所述存储器中存储的程序指令,以实现权利要求113-117任一项所述的船运模式设置方法。An electronic device, characterized in that, the electronic device comprises a processor and a memory coupled to each other, the processor is configured to execute program instructions stored in the memory, so as to implement any one of claims 113-117 method of setting the shipping mode.
  119. 一种计算机可读存储介质,其上存储有程序指令,其特征在于,所述程序指令被处理器执行时实现权利要求113-117任一项所述的船运模式设置方法。A computer-readable storage medium having program instructions stored thereon, characterized in that, when the program instructions are executed by a processor, the method for setting a shipping mode described in any one of claims 113-117 is implemented.
  120. 一种电子设备,其特征在于,所述电子设备包括主控模块和电池保护模块,所述主控模块设置有输入输出引脚,所述电池保护模块设置有船运引脚,当所述主控模块接收到来自上位机的进入船运模式的船运指令时,所述船运指令由所述输入输出引脚传输至所述船运引脚,所述主控模块根据是否接收到来自所述船运引脚反馈的船运确认信号,向所述上位机发送船运模式反馈指令;其中,所述船运模式反馈指令为进入船运模式成功的有效应答指令或者进入船运模式失败的失效应答指令。An electronic device, characterized in that the electronic device includes a main control module and a battery protection module, the main control module is provided with input and output pins, the battery protection module is provided with shipping pins, and when the main control module is provided with input and output pins, the battery protection module is provided with shipping pins. When the control module receives the shipping instruction from the host computer to enter the shipping mode, the shipping instruction is transmitted from the input and output pins to the shipping pins, and the main control module receives The shipping confirmation signal fed back by the shipping pin sends a shipping mode feedback instruction to the host computer; wherein, the shipping mode feedback instruction is an effective response instruction that successfully enters the shipping mode or fails to enter the shipping mode. Failback command.
  121. 根据权利要求120所述的电子设备,其特征在于,所述输入输出引脚包括第一输入输出引脚和第二输入输出引脚,所述电池保护模块还设置有反馈引脚,所述船运指令由所述第一输入输出引脚传输至所述船运引脚,所述反馈指令由所述反馈引脚发送至所述第二输入输出引脚。The electronic device according to claim 120, wherein the input and output pins include a first input and output pin and a second input and output pin, the battery protection module is further provided with a feedback pin, and the ship The shipping command is transmitted from the first I/O pin to the shipping pin, and the feedback instruction is sent from the feedback pin to the second I/O pin.
  122. 根据权利要求120或121所述的电子设备,其特征在于,所述电子设备为tws耳机。The electronic device according to claim 120 or 121, wherein the electronic device is a tws earphone.
PCT/CN2021/115169 2020-08-27 2021-08-27 System-on-chip, battery assembly, electronic device, battery protection circuit, test subsystem, test system, bluetooth earphone, shipping mode setting method, and computer readable storage medium WO2022042708A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/110,174 US20230196269A1 (en) 2021-03-01 2023-02-15 Method for setting shipping mode, electronic device, and computer-readable storage medium
US18/110,149 US20230275441A1 (en) 2020-08-27 2023-02-15 Battery protection circuit, battery pack and electronic device

Applications Claiming Priority (16)

Application Number Priority Date Filing Date Title
CN202010880054.7 2020-08-27
CN202010881217.3 2020-08-27
CN202010880054.7A CN111987771B (en) 2020-08-27 2020-08-27 On-chip system, battery pack and electronic device
CN202010880048.1A CN112039152B (en) 2020-08-27 2020-08-27 Bluetooth earphone
CN202010881223.9 2020-08-27
CN202010880053.2A CN112039153B (en) 2020-08-27 2020-08-27 On-chip system, battery pack and electronic device
CN202010881223.9A CN112039154B (en) 2020-08-27 2020-08-27 Battery protection circuit, battery pack and electronic device
CN202010881217.3A CN111987772B (en) 2020-08-27 2020-08-27 On-chip system, battery pack and electronic device
CN202010881221.X 2020-08-27
CN202010880053.2 2020-08-27
CN202010880048.1 2020-08-27
CN202010881221.XA CN111987773B (en) 2020-08-27 2020-08-27 On-chip system, battery pack and electronic device
CN202011105770.4 2020-10-15
CN202011105770.4A CN112271772B (en) 2020-10-15 2020-10-15 Battery protection circuit, battery pack, test system and electronic device
CN202110224611.4A CN112986738B (en) 2021-03-01 2021-03-01 Shipping mode setting method, electronic device, and computer-readable storage medium
CN202110224611.4 2021-03-01

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US18/110,174 Continuation-In-Part US20230196269A1 (en) 2021-03-01 2023-02-15 Method for setting shipping mode, electronic device, and computer-readable storage medium
US18/110,149 Continuation-In-Part US20230275441A1 (en) 2020-08-27 2023-02-15 Battery protection circuit, battery pack and electronic device

Publications (1)

Publication Number Publication Date
WO2022042708A1 true WO2022042708A1 (en) 2022-03-03

Family

ID=80354665

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/115169 WO2022042708A1 (en) 2020-08-27 2021-08-27 System-on-chip, battery assembly, electronic device, battery protection circuit, test subsystem, test system, bluetooth earphone, shipping mode setting method, and computer readable storage medium

Country Status (1)

Country Link
WO (1) WO2022042708A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114859799A (en) * 2022-07-08 2022-08-05 国汽智控(北京)科技有限公司 Domain controller debugging device and method
CN116528105A (en) * 2023-07-03 2023-08-01 紫光同芯微电子有限公司 Self-starting discharging circuit and charging method for earphone charging bin
CN117435390A (en) * 2023-03-03 2024-01-23 无锡市稳先微电子有限公司 Reset restarting circuit triggered by charging and electronic device

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023912A (en) * 2009-09-11 2011-04-20 鸿富锦精密工业(深圳)有限公司 Dormancy wake-up testing system and method
US20130229145A1 (en) * 2012-03-02 2013-09-05 Stmicroelectronics S.R.I. Battery charger
CN105375549A (en) * 2014-08-14 2016-03-02 联发科技股份有限公司 Method and system for controlling a state of a battery, and battery
CN207010317U (en) * 2017-08-10 2018-02-13 常州市派腾电子技术服务有限公司 Battery protection chip, electric supply installation and electronic cigarette
CN109390992A (en) * 2017-08-10 2019-02-26 常州市派腾电子技术服务有限公司 Battery protection chip, power supply unit and electronic cigarette
CN111400080A (en) * 2020-03-19 2020-07-10 歌尔股份有限公司 Method and device for setting shipping mode of electronic product and electronic equipment
CN211266506U (en) * 2019-10-31 2020-08-14 江西联创宏声万安电子有限公司 Control circuit
CN111987771A (en) * 2020-08-27 2020-11-24 西安稳先半导体科技有限责任公司 On-chip system, battery pack and electronic device
CN111987773A (en) * 2020-08-27 2020-11-24 西安稳先半导体科技有限责任公司 On-chip system, battery pack and electronic device
CN111987772A (en) * 2020-08-27 2020-11-24 西安稳先半导体科技有限责任公司 On-chip system, battery pack and electronic device
CN112039153A (en) * 2020-08-27 2020-12-04 西安稳先半导体科技有限责任公司 On-chip system, battery pack and electronic device
CN112039152A (en) * 2020-08-27 2020-12-04 西安稳先半导体科技有限责任公司 Bluetooth earphone
CN112039154A (en) * 2020-08-27 2020-12-04 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack and electronic device
CN112117800A (en) * 2020-09-15 2020-12-22 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack and electronic device
CN112117799A (en) * 2020-09-15 2020-12-22 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack and electronic device
CN112271772A (en) * 2020-10-15 2021-01-26 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack, test system and electronic device
CN112986738A (en) * 2021-03-01 2021-06-18 西安稳先半导体科技有限责任公司 Shipping mode setting method, electronic device, and computer-readable storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023912A (en) * 2009-09-11 2011-04-20 鸿富锦精密工业(深圳)有限公司 Dormancy wake-up testing system and method
US20130229145A1 (en) * 2012-03-02 2013-09-05 Stmicroelectronics S.R.I. Battery charger
CN105375549A (en) * 2014-08-14 2016-03-02 联发科技股份有限公司 Method and system for controlling a state of a battery, and battery
CN207010317U (en) * 2017-08-10 2018-02-13 常州市派腾电子技术服务有限公司 Battery protection chip, electric supply installation and electronic cigarette
CN109390992A (en) * 2017-08-10 2019-02-26 常州市派腾电子技术服务有限公司 Battery protection chip, power supply unit and electronic cigarette
CN211266506U (en) * 2019-10-31 2020-08-14 江西联创宏声万安电子有限公司 Control circuit
CN111400080A (en) * 2020-03-19 2020-07-10 歌尔股份有限公司 Method and device for setting shipping mode of electronic product and electronic equipment
CN111987773A (en) * 2020-08-27 2020-11-24 西安稳先半导体科技有限责任公司 On-chip system, battery pack and electronic device
CN111987771A (en) * 2020-08-27 2020-11-24 西安稳先半导体科技有限责任公司 On-chip system, battery pack and electronic device
CN111987772A (en) * 2020-08-27 2020-11-24 西安稳先半导体科技有限责任公司 On-chip system, battery pack and electronic device
CN112039153A (en) * 2020-08-27 2020-12-04 西安稳先半导体科技有限责任公司 On-chip system, battery pack and electronic device
CN112039152A (en) * 2020-08-27 2020-12-04 西安稳先半导体科技有限责任公司 Bluetooth earphone
CN112039154A (en) * 2020-08-27 2020-12-04 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack and electronic device
CN112117800A (en) * 2020-09-15 2020-12-22 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack and electronic device
CN112117799A (en) * 2020-09-15 2020-12-22 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack and electronic device
CN112271772A (en) * 2020-10-15 2021-01-26 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack, test system and electronic device
CN112986738A (en) * 2021-03-01 2021-06-18 西安稳先半导体科技有限责任公司 Shipping mode setting method, electronic device, and computer-readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114859799A (en) * 2022-07-08 2022-08-05 国汽智控(北京)科技有限公司 Domain controller debugging device and method
CN114859799B (en) * 2022-07-08 2022-09-20 国汽智控(北京)科技有限公司 Domain controller debugging device and method
CN117435390A (en) * 2023-03-03 2024-01-23 无锡市稳先微电子有限公司 Reset restarting circuit triggered by charging and electronic device
CN116528105A (en) * 2023-07-03 2023-08-01 紫光同芯微电子有限公司 Self-starting discharging circuit and charging method for earphone charging bin
CN116528105B (en) * 2023-07-03 2023-10-13 紫光同芯微电子有限公司 Self-starting discharging circuit and charging method for earphone charging bin

Similar Documents

Publication Publication Date Title
WO2022042708A1 (en) System-on-chip, battery assembly, electronic device, battery protection circuit, test subsystem, test system, bluetooth earphone, shipping mode setting method, and computer readable storage medium
CN112039153B (en) On-chip system, battery pack and electronic device
CN111987772B (en) On-chip system, battery pack and electronic device
CN112039152B (en) Bluetooth earphone
US9673643B2 (en) Battery presence detecting method, apparatus and charging system
US7795842B2 (en) Adjustable cut-off voltage for mobile device battery
TWI427892B (en) Power supply system for power saving and method thereof
US7595609B2 (en) Battery system power path configuration and methods for implementing same
CN111987773B (en) On-chip system, battery pack and electronic device
US20230275441A1 (en) Battery protection circuit, battery pack and electronic device
KR101621407B1 (en) Apparatus and method for managing battery pack
TW200950255A (en) Charge control circuit
WO2020249099A1 (en) Battery pack
TW201513531A (en) Dynamic charging of a rechargeable battery
CN112117800A (en) Battery protection circuit, battery pack and electronic device
WO2021018272A1 (en) Charging/discharging protection circuit, terminal device, and battery discharging control method
CN209860582U (en) Power protection circuit, electron cigarette, power protection device
CN112271772B (en) Battery protection circuit, battery pack, test system and electronic device
CN112117799B (en) Battery protection circuit, battery pack and electronic device
CN111987771B (en) On-chip system, battery pack and electronic device
CN202394174U (en) System and abnormal power failure protection device thereof
WO2022222439A1 (en) Communication device and system, and communication method
CN104115361A (en) Method and circuitry for battery protection
CN204205573U (en) Charge protector of battery
WO2022057596A1 (en) Battery protection circuit, battery assembly and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21860540

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21860540

Country of ref document: EP

Kind code of ref document: A1