CN112650090B - MCU chip start mode selection circuit - Google Patents

MCU chip start mode selection circuit Download PDF

Info

Publication number
CN112650090B
CN112650090B CN202011020474.4A CN202011020474A CN112650090B CN 112650090 B CN112650090 B CN 112650090B CN 202011020474 A CN202011020474 A CN 202011020474A CN 112650090 B CN112650090 B CN 112650090B
Authority
CN
China
Prior art keywords
pin
circuit
mode selection
started
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011020474.4A
Other languages
Chinese (zh)
Other versions
CN112650090A (en
Inventor
任军
盛荣华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hengshuo Semiconductor Hefei Co ltd
Original Assignee
Hengshuo Semiconductor Hefei Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hengshuo Semiconductor Hefei Co ltd filed Critical Hengshuo Semiconductor Hefei Co ltd
Priority to CN202011020474.4A priority Critical patent/CN112650090B/en
Publication of CN112650090A publication Critical patent/CN112650090A/en
Application granted granted Critical
Publication of CN112650090B publication Critical patent/CN112650090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24032Power on reset, powering up
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses an MCU chip starting mode selection circuit, which comprises a mainboard, wherein a starting mode selection micro control unit, a working power supply module and an MCU chip group to be started are arranged on the mainboard, the starting mode selection micro control unit is respectively connected with the working power supply module and the MCU chip group to be started, the starting mode selection micro control unit comprises a mode selection MCU chip group, a selection power supply module and a charging circuit, a working circuit state acquisition unit and a working circuit are arranged outside the mainboard, the working circuit is connected with the MCU chip group to be started and the working circuit state acquisition unit, and the working circuit state acquisition unit is connected with the mode selection MCU chip group; the low level or the high level is output through the micro control circuit, the chip to be started is controlled to enter a corresponding starting mode, the mode selection MCU chip set acquires the running state of the working circuit through the working circuit state acquisition unit, and the starting mode selection action is forbidden or delayed when the working circuit runs, so that the safety of the working circuit is protected.

Description

MCU chip start mode selection circuit
Technical Field
The invention relates to the technical field of MCU chip starting modes, in particular to an MCU chip starting mode selection circuit.
Background
A Micro Control Unit (MCU), also called a Single Chip Microcomputer (Single Chip Microcomputer) or a Single Chip Microcomputer (MCU), is a Chip-level computer formed by appropriately reducing the frequency and specification of a Central Processing Unit (CPU) and integrating peripheral interfaces such as a memory, a counter (Timer), a USB, an a/D converter, a UART, a PLC, a DMA, etc., and even an LCD driving circuit on a Single Chip, and performing different combination control for different applications. Such as mobile phones, PC peripherals, remote controllers, automotive electronics, industrial stepper motors, robot arm control, etc., can see the figure of the MCU; the MCU chip has different working modes, which are user flash memory modes respectively: flash built in the chip and a normal working mode; the SRAM mode is a built-in RAM area of a chip, namely a memory. Can be used for debugging; the system memory, a specific area inside the chip, a Bootloader is preset in the area when the chip leaves factory, namely the ISP program, the content of the area can not be modified or erased after the chip leaves factory, namely the chip is a ROM area, and the starting program function is set by the factory.
Disclosure of Invention
The present invention is directed to a start mode selection circuit of an MCU chip, so as to solve the problems mentioned in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
a starting mode selection circuit of an MCU chip comprises a mainboard, wherein a starting mode selection micro control unit, a working power supply module and an MCU chip group to be started are installed on the mainboard, the starting mode selection micro control unit is respectively connected with the working power supply module and the MCU chip group to be started, and the working power supply module is connected with the MCU chip group to be started; the starting mode selection micro control unit comprises a mode selection MCU chip set, a selection power supply module and a charging circuit; a working circuit state acquisition unit and a working circuit are installed outside the main board, the working circuit is connected with the MCU chip group to be started and the working circuit state acquisition unit, and the working circuit state acquisition unit is connected with the mode selection MCU chip group; the mode selection MCU chipset consists of a plurality of chips with different functions, and the chipset comprises a main control chip U1; the MCU chipset to be started consists of a plurality of chips with different functions, and the MCU chipset comprises a chip U2 to be started;
the MCU chip set comprises a local data backup unit and a local data backup unit, wherein the local data backup unit is used for localizing data backup of the MCU chip set;
the cloud data backup unit is used for backing up cloud data of the MCU chip set in a cloud manner;
the system also comprises a data backup management unit, wherein the data backup management unit comprises an MCU chip set starting detection module for starting detection of the MCU chip set; the MCU chipset starting risk prediction module is used for evaluating and predicting the starting risk of the MCU chipset according to the starting detection result of the MCU chipset; the data backup management module is used for selecting a local data backup unit and/or a cloud data backup unit according to the start evaluation and prediction results of the MCU chipset;
the cloud data backup unit comprises a cloud data backup module and a communication module, and the cloud data backup module is connected with the cloud server through the communication module in a network mode.
In the invention, a micro control circuit is additionally arranged on a mainboard and used for controlling a chip to be started to select a normal mode or a burning mode, namely, a low level or a high level is output through the micro control circuit to control the chip to be started to enter a corresponding starting mode, the micro control circuit is provided with a selection power supply and is connected with a working power supply through a charging circuit, a mode selection MCU (microprogrammed control unit) chip set acquires the running state of the working circuit through a working circuit state acquisition unit, and the starting mode selection is forbidden or delayed when the working circuit runs, so that the safety of the working circuit is protected.
As a further scheme of the invention: the working power supply module comprises a main power supply P4, the main power supply P4 is connected with the MCU chipset to be started through a voltage stabilizing circuit, the voltage stabilizing circuit comprises a voltage stabilizing chip VR1 and sequentially numbered capacitors C1 to C4, one end of the capacitor C1 is connected with one end of the capacitor C2 and a Vin pin of VR1, and the pin 2 of the main power supply P4 is connected in parallel; one end of the capacitor C3 is connected with one end of the capacitor C4 and the Vout pin of the VR 1; the other ends of the capacitor C1, the capacitor C2, the capacitor C3 and the capacitor C4 are connected with a GND pin of the VR1 and a pin 1 of the main power supply P4 and are grounded, wherein the model of the VR1 is LM 1117-3.3.
As a further scheme of the invention: the selective power supply module comprises a selective power supply P1, the selective power supply P1 is connected with the working power supply module through a charging circuit, the charging circuit comprises a resistor R1, a resistor R2, a capacitor C5, a triode Q1, a diode D1, a diode D2, an inductor L1 and an inductor L2, and one end of the resistor R1 is connected with the negative electrode of a diode D1 and the pin 2 of the P1; the other end of the resistor R1 is connected with the cathode of the diode D2 and one end of the capacitor C5; the anode of the diode D2 is connected with one end of the resistor R2 and the pin 1 of the inductor L2; the other end of the resistor R2 is connected with a pin 3 of the inductor L2; the 2 pin of the inductor L2 is connected with the base of a triode Q1; the collector of the triode Q1 is connected with one end of the inductor L1; the anode of the diode D1 is connected with the pin 1 of the P1, the pin 1 of the P4, the other end of the capacitor C5 and the emitter of the triode Q1 and is grounded; the other end of the inductor L1 is connected with a pin 2 of a main power supply P4; the triode Q1 and the inductor L1 form an oscillating circuit, generate high-frequency oscillating current, generate high-frequency pulses on the inductor L2, and then are rectified by the diode D2, filtered by the capacitor C5, limited by the resistor R1, stable in current, stabilized by the diode D1, and output by the negative electrodes of the resistor R1 and the diode D1 to charge the selective power supply module.
As a further scheme of the invention: the mode selection MCU chip set is connected with the MCU chip set to be started through a mode selection circuit, the mode selection circuit comprises a main control chip U1, a chip U2 to be started, a sequentially numbered resistor R4 to a resistor R7, an operational amplifier P2 and an operational amplifier P3, and one end of the resistor R4 is connected with a PE3 pin of U1; the other end of the resistor R4 is connected with one end of the resistor R5 and the same-direction end of the operational amplifier P2; the reverse end of the operational amplifier P2 is grounded; the other end of the resistor R5 is connected with the output end of the operational amplifier P2 and is connected with a BOOT0 pin of the U2 in parallel; one end of the resistor R6 is connected with the PE4 pin of the U1; the other end of the resistor R6 is connected with one end of the resistor R7 and the same-direction end of the operational amplifier P3; the reverse end of the operational amplifier P3 is grounded; the other end of the resistor R7 is connected with the output end of the operational amplifier P3 and is connected with a PB2 pin of the U2, wherein the models of the main control chip U1 and the chip U2 to be started are STM32F103ZET6, and the models of the operational amplifier P2 and the operational amplifier P3 are LM 324; the method comprises the steps that electrical signals are sent by a PE3 pin and a PE4 pin of U1, the electrical signals are amplified by an operational amplifier P2 and an operational amplifier P3 and then input to a BOOT0 pin and a PB2 pin of U2 to control a starting mode of U2, the PB2 pin of U2 is a BOOT1 pin, the electrical signals are started from a user flash memory when the BOOT0 pin of U2 is low level, the electrical signals are in a normal working mode, the electrical signals are started from a system memory when the BOOT0 pin of U2 is high level and the BOOT1 pin is low level, the program function started in the mode is set by a manufacturer, and the electrical signals are started from a built-in SRAM when the BOOT0 pin of U2 is high level and the BOOT1 pin is high level, and the mode can be used for debugging.
As a further scheme of the invention: the working circuit state acquisition unit comprises a working state acquisition circuit, the working state acquisition circuit comprises a main control chip U1, a chip U2 to be started, a photosensitive diode D3, a resistor R3 and a triode Q2, one end of the resistor R3 is connected with a PE6 pin of the main control chip U1, and the other end of the resistor R3 is connected with a base electrode of the triode Q2; the collector of the triode Q2 is connected with the cathode of the photodiode D3; the positive electrode of the photosensitive diode D3 is connected with a power supply, the emitter of the triode Q2 is grounded, and the PA9 pin of the chip U2 to be started is connected with the PA10 pin of the main control chip U1; the PA10 pin of the chip U2 to be started is connected with the PA9 pin of the main control chip U1.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention provides a MCU chip start mode selection circuit, the structure is set up ingeniously and arranged rationally, in the invention, set up the miniature control circuit additionally on the mother board, is used for controlling the chip to be started and choosing the normal mode or recording the mode, namely output the low level or high level through the miniature control circuit, control the chip to be started and enter the corresponding start mode, the miniature control circuit is self-carrying and chooses the power, and connect with working power by the charging circuit, the mode chooses the MCU chip set to gather the running state of the working circuit through the state acquisition unit of the working circuit, while the working circuit runs, forbid or delay the start mode to choose, play a role in protecting the safety of the working circuit;
2. the invention further designs a micro control circuit, the chip to be started is controlled by the micro control circuit to select a normal mode or a burning mode, namely, a low level or a high level is output by the micro control circuit, and a signal is amplified by a signal amplifying circuit and then output to the chip to be started, so that the chip to be started enters a corresponding starting mode;
3. the invention further designs a power supply selection module, the micro control circuit is provided with a power supply selection function and is used for independently supplying power to the start mode selection micro control unit, and the charging circuit is further designed and is connected with the power supply selection module and the working power supply module and charges the power supply selection module through the charging circuit and the working power supply module;
4. the invention further designs a working circuit state acquisition unit, the mode selection MCU chip set acquires the running state of the working circuit through the working circuit state acquisition unit, when the working circuit runs, the chip to be started continuously sends data to the main control chip set, and at the moment, the main control chip forbids or delays the starting mode selection action, thereby playing the role of protecting the safety of the working circuit.
Drawings
Fig. 1 is a block diagram of a start mode selection circuit of an MCU chip.
FIG. 2 is a block diagram of a data backup management unit in an MCU chip start mode selection circuit;
fig. 3 is a block diagram of a cloud data backup unit in an MCU chip start mode selection circuit;
FIG. 4 is a main circuit diagram of a MCU chip start mode selection circuit;
fig. 5 is a circuit diagram of a working power supply module and a selection power supply module in the MCU chip start mode selection circuit.
In the figure: 100. a main board; 200. starting a mode selection micro control unit; 300. selecting a power supply module; 400. a mode selection MCU chipset; 500. a charging circuit; 600. a working power supply module; 700. the MCU chip set is to be started; 800. a working circuit state acquisition unit; 900. and an operating circuit.
Detailed Description
The technical solution of the present patent will be described in further detail with reference to the following embodiments.
Referring to fig. 1-5, a MCU chip start mode selection circuit includes a motherboard 100, the motherboard 100 is mounted with a start mode selection micro control unit 200, a working power module 600 and a to-be-started MCU chipset 700, the start mode selection micro control unit 200 is connected to the working power module 600 and the to-be-started MCU chipset 700 respectively, and the working power module 600 is connected to the to-be-started MCU chipset 700; the mode selection MCU chip set 400 is composed of a plurality of chips with different functions, and the chip set comprises a main control chip U1; the MCU chip set 700 to be started is composed of a plurality of chips with different functions, and the chip set comprises a chip U2 to be started; the start mode selection micro control unit 200 includes a mode selection MCU chipset 400, a selection power module 300, and a charging circuit 500; a working circuit state acquisition unit 800 and a working circuit 900 are installed outside the main board 100, the working circuit 900 is connected with the MCU chip set 700 to be started and the working circuit state acquisition unit 800, and the working circuit state acquisition unit 800 is connected with the mode selection MCU chip set 400; in the invention, a micro control circuit is additionally arranged on the main board 100 and used for controlling a chip to be started to select a normal mode or a burning mode, namely, a low level or a high level is output through the micro control circuit to control the chip to be started to enter a corresponding starting mode, the micro control circuit is provided with a selection power supply and is connected with a working power supply through a charging circuit 500, a mode selection MCU (microprogrammed control unit) 400 acquires the running state of the working circuit 900 through a working circuit state acquisition unit 800, and when the working circuit 900 runs, the starting mode selection is forbidden or delayed, so that the safety of the working circuit 900 is protected;
the system also comprises a local data backup unit 702 for localizing the data backup of the MCU chip set;
the cloud data backup unit 703 is used for cloud backup of the cloud data of the MCU chipset;
the system further comprises a data backup management unit 701, wherein the data backup management unit 701 comprises an MCU chip set starting detection module 7011 for starting detection of the MCU chip set; the MCU chipset start risk prediction module 7012 is configured to evaluate and predict a start risk of the MCU chipset according to a start detection result of the MCU chipset; the data backup management module 7013 is configured to select the local data backup unit 702 or the cloud data backup unit 703 according to the start-up evaluation and prediction result of the MCU chipset;
the cloud data backup unit 703 includes a cloud data backup module 7031 and a communication module 7032, and the cloud data backup module 7031 is connected to the cloud server through the communication module 7032.
The working power supply module 600 comprises a main power supply P4, the main power supply P4 is connected with the MCU chip set 700 to be started through a voltage stabilizing circuit, the voltage stabilizing circuit comprises a voltage stabilizing chip VR1 and capacitors C1 to C4 which are sequentially numbered, one end of the capacitor C1 is connected with one end of the capacitor C2, and a Vin pin of VR1 is connected with a pin 2 of the main power supply P4 in parallel; one end of the capacitor C3 is connected with one end of the capacitor C4 and the Vout pin of the VR 1; the other ends of the capacitor C1, the capacitor C2, the capacitor C3 and the capacitor C4 are connected with a GND pin of the VR1 and a pin 1 of a main power supply P4 in parallel and are grounded, wherein the model of the VR1 is LM 1117-3.3; the selective power supply module 300 comprises a selective power supply P1, the selective power supply P1 is connected with the working power supply module 600 through a charging circuit 500, the charging circuit 500 comprises a resistor R1, a resistor R2, a capacitor C5, a triode Q1, a diode D1, a diode D2, an inductor L1 and an inductor L2, and one end of the resistor R1 is connected with the negative electrode of a diode D1 and the pin 2 of the P1; the other end of the resistor R1 is connected with the cathode of the diode D2 and one end of the capacitor C5; the anode of the diode D2 is connected with one end of the resistor R2 and the pin 1 of the inductor L2; the other end of the resistor R2 is connected with a pin 3 of the inductor L2; the 2 pin of the inductor L2 is connected with the base of a triode Q1; the collector of the triode Q1 is connected with one end of the inductor L1; the anode of the diode D1 is connected with the pin 1 of the P1, the pin 1 of the P4, the other end of the capacitor C5 and the emitter of the triode Q1 and is grounded; the other end of the inductor L1 is connected with a pin 2 of a main power supply P4; the triode Q1 and the inductor L1 form an oscillating circuit to generate high-frequency oscillating current, high-frequency pulses are generated on the inductor L2, and are rectified by the diode D2, filtered by the capacitor C5, limited by the resistor R1, stable in current, stabilized by the diode D1, output by the resistor R1 and the cathode of the diode D1, and charged for the selective power supply module 300;
the mode selection MCU chip set 400 is connected with the MCU chip set 700 to be started through a mode selection circuit, the mode selection circuit comprises a main control chip U1, a chip U2 to be started, a sequentially numbered resistor R4 to a resistor R7, an operational amplifier P2 and an operational amplifier P3, and one end of the resistor R4 is connected with a PE3 pin of U1; the other end of the resistor R4 is connected with one end of the resistor R5 and the same-direction end of the operational amplifier P2; the reverse end of the operational amplifier P2 is grounded; the other end of the resistor R5 is connected with the output end of the operational amplifier P2 and is connected with a BOOT0 pin of the U2 in parallel; one end of the resistor R6 is connected with the PE4 pin of the U1; the other end of the resistor R6 is connected with one end of the resistor R7 and the same-direction end of the operational amplifier P3; the reverse end of the operational amplifier P3 is grounded; the other end of the resistor R7 is connected with the output end of the operational amplifier P3 and is connected with a PB2 pin of the U2, wherein the models of the main control chip U1 and the chip U2 to be started are STM32F103ZET6, and the models of the operational amplifier P2 and the operational amplifier P3 are LM 324; the method comprises the steps that electrical signals are sent by a PE3 pin and a PE4 pin of U1, the electrical signals are amplified by an operational amplifier P2 and an operational amplifier P3 and then input to a BOOT0 pin and a PB2 pin of U2 to control a starting mode of U2, a PB2 pin of U2 is a BOOT1 pin, when the BOOT0 pin of U2 is at a low level, the operation mode is started from a user flash memory, when the BOOT0 pin of U2 is at a high level and the BOOT1 pin is at a low level, the operation mode is started from a system memory, the program function of the mode starting is set by a manufacturer, when the BOOT0 pin of U2 is at a high level and the BOOT1 pin is at a high level, the operation mode is started from an internal SRAM, and the mode can be used for debugging;
the working circuit state acquisition unit 800 comprises a working state acquisition circuit, the working state acquisition circuit comprises a main control chip U1, a chip U2 to be started, a photodiode D3, a resistor R3 and a triode Q2, one end of the resistor R3 is connected with a PE6 pin of the main control chip U1, and the other end of the resistor R3 is connected with a base electrode of the triode Q2; the collector of the triode Q2 is connected with the negative electrode of the photosensitive diode D3; the positive electrode of the photosensitive diode D3 is connected with a power supply, the emitter of the triode Q2 is grounded, and the PA9 pin of the chip U2 to be started is connected with the PA10 pin of the main control chip U1; the PA10 pin of the chip U2 to be started is connected with the PA9 pin of the main control chip U1.
The working principle of the invention is as follows: the invention additionally arranges a micro control circuit on the mainboard for controlling the chip to be started to select a normal mode or a burning mode, namely, the micro control circuit outputs a low level or a high level to control the chip to be started to enter a corresponding starting mode, the micro control circuit is provided with a selective power supply and is used for independently supplying power to the micro control unit for selecting the starting mode, the micro control circuit is connected with a working power supply by a charging circuit, the charging circuit is connected with a selective power supply module and a working power supply module, the selective power supply module is charged by the charging circuit, a mode selection MCU chip set acquires the running state of the working circuit by a working circuit state acquisition unit, and when the working circuit runs, the starting mode selection is forbidden or delayed, thereby playing the role of protecting the safety of the working circuit.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.
Although the preferred embodiments of the present patent have been described in detail, the present patent is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present patent within the knowledge of those skilled in the art.

Claims (5)

1. A starting mode selection circuit of an MCU chip comprises a mainboard (100), and is characterized in that a starting mode selection micro control unit (200), a working power supply module (600) and an MCU chip set (700) to be started are installed on the mainboard (100), the starting mode selection micro control unit (200) is respectively connected with the working power supply module (600) and the MCU chip set (700) to be started, and the working power supply module (600) is connected with the MCU chip set (700) to be started; the starting mode selection micro control unit (200) comprises a mode selection MCU chip set (400), a selection power supply module (300) and a charging circuit (500); the mode selection MCU chipset (400) consists of a plurality of chips with different functions, and the chipset comprises a main control chip U1; the MCU chip set (700) to be started consists of a plurality of chips with different functions, and the chip set comprises a chip U2 to be started; the selective power supply module (300) comprises a selective power supply P1, and the selective power supply P1 is connected with the working power supply module (600) through a charging circuit (500); the charging circuit (500) comprises a resistor R1, a resistor R2, a capacitor C5, a triode Q1, a diode D1, a diode D2, an inductor L1 and an inductor L2, wherein one end of the resistor R1 is connected with the cathode of the diode D1 and the pin 2 of the P1; the other end of the resistor R1 is connected with the cathode of the diode D2 and one end of the capacitor C5; the anode of the diode D2 is connected with one end of the resistor R2 and the pin 1 of the inductor L2; the other end of the resistor R2 is connected with a pin 3 of the inductor L2; the 2 pin of the inductor L2 is connected with the base of a triode Q1; the collector of the triode Q1 is connected with one end of the inductor L1; the anode of the diode D1 is connected with the pin 1 of the P1, the pin 1 of the P4, the other end of the capacitor C5 and the emitter of the triode Q1 and is grounded; the other end of the inductor L1 is connected with a pin 2 of a main power supply P4; the mode selection MCU chip set (400) is connected with the MCU chip set (700) to be started through a mode selection circuit, the mode selection circuit comprises a main control chip U1, a chip U2 to be started, sequentially numbered resistors R4 to R7, an operational amplifier P2 and an operational amplifier P3, and one end of the resistor R4 is connected with a PE3 pin of U1; the other end of the resistor R4 is connected with one end of the resistor R5 and the same-direction end of the operational amplifier P2; the reverse end of the operational amplifier P2 is grounded; the other end of the resistor R5 is connected with the output end of the operational amplifier P2 and is connected with a BOOT0 pin of the U2 in parallel; one end of the resistor R6 is connected with the PE4 pin of the U1; the other end of the resistor R6 is connected with one end of the resistor R7 and the same-direction end of the operational amplifier P3; the reverse end of the operational amplifier P3 is grounded; the other end of the resistor R7 is connected with the output end of the operational amplifier P3 and is connected with a PB2 pin of the U2, wherein the models of the main control chip U1 and the chip U2 to be started are STM32F103ZET6, and the models of the operational amplifier P2 and the operational amplifier P3 are LM 324.
2. The MCU chip start-up mode selection circuit of claim 1, wherein the working power supply module (600) comprises a main power supply P4, the main power supply P4 is connected with the MCU chip set (700) to be started up through a voltage regulation circuit, the voltage regulation circuit comprises a voltage regulation chip VR1 and sequentially numbered capacitors C1 to C4, one end of the capacitor C1 is connected with one end of the capacitor C2, and a Vin pin of VR1 is connected with a 2 pin of the main power supply P4 in parallel; one end of the capacitor C3 is connected with one end of the capacitor C4 and the Vout pin of the VR 1; the other ends of the capacitor C1, the capacitor C2, the capacitor C3 and the capacitor C4 are connected with a GND pin of the VR1 and a pin 1 of the main power supply P4 and are grounded, wherein the model of the VR1 is LM 1117-3.3.
3. The MCU chip start mode selection circuit according to claim 1, wherein a working circuit state acquisition unit (800) and a working circuit (900) are installed outside the main board (100), the working circuit (900) is connected with the MCU chip set (700) to be started and the working circuit state acquisition unit (800), and the working circuit state acquisition unit (800) is connected with the mode selection MCU chip set (400).
4. The MCU chip start-up mode selection circuit of claim 3, wherein the working circuit state acquisition unit (800) comprises a working state acquisition circuit, and the master control chip U1 is connected with the chip U2 to be started up through the working state acquisition circuit.
5. The MCU chip start-up mode selection circuit of claim 4, wherein the working state acquisition circuit comprises a main control chip U1, a chip U2 to be started up, a photodiode D3, a resistor R3 and a triode Q2, one end of the resistor R3 is connected with a PE6 pin of the main control chip U1, and the other end is connected with a base electrode of the triode Q2; the collector of the triode Q2 is connected with the cathode of the photodiode D3; the positive electrode of the photosensitive diode D3 is connected with a power supply, the emitter of the triode Q2 is grounded, and the PA9 pin of the chip U2 to be started is connected with the PA10 pin of the main control chip U1; the PA10 pin of the chip U2 to be started is connected with the PA9 pin of the main control chip U1.
CN202011020474.4A 2020-09-25 2020-09-25 MCU chip start mode selection circuit Active CN112650090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011020474.4A CN112650090B (en) 2020-09-25 2020-09-25 MCU chip start mode selection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011020474.4A CN112650090B (en) 2020-09-25 2020-09-25 MCU chip start mode selection circuit

Publications (2)

Publication Number Publication Date
CN112650090A CN112650090A (en) 2021-04-13
CN112650090B true CN112650090B (en) 2022-08-09

Family

ID=75346414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011020474.4A Active CN112650090B (en) 2020-09-25 2020-09-25 MCU chip start mode selection circuit

Country Status (1)

Country Link
CN (1) CN112650090B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116149758B (en) * 2023-04-18 2023-07-28 深圳魔视智能科技有限公司 Chip starting configuration system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2687736Y (en) * 2004-04-09 2005-03-23 清华大学 Monolithic processor resetting configuration device
CN104461664A (en) * 2014-12-30 2015-03-25 深圳市辰卓科技有限公司 Mcu starting mode selecting circuit
CN106528237A (en) * 2013-10-18 2017-03-22 歌尔科技有限公司 Micro control unit (MCU) start mode selection circuit and MCU code upgrading method based on same
CN109324995A (en) * 2018-08-24 2019-02-12 江西洪都航空工业集团有限责任公司 A method of configuration DSP initialization
CN110488726A (en) * 2019-09-25 2019-11-22 潍柴动力股份有限公司 A kind of starting control system and starting method
CN110908833A (en) * 2019-11-07 2020-03-24 苏州浪潮智能科技有限公司 Data backup method, device and equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2687736Y (en) * 2004-04-09 2005-03-23 清华大学 Monolithic processor resetting configuration device
CN106528237A (en) * 2013-10-18 2017-03-22 歌尔科技有限公司 Micro control unit (MCU) start mode selection circuit and MCU code upgrading method based on same
CN104461664A (en) * 2014-12-30 2015-03-25 深圳市辰卓科技有限公司 Mcu starting mode selecting circuit
CN109324995A (en) * 2018-08-24 2019-02-12 江西洪都航空工业集团有限责任公司 A method of configuration DSP initialization
CN110488726A (en) * 2019-09-25 2019-11-22 潍柴动力股份有限公司 A kind of starting control system and starting method
CN110908833A (en) * 2019-11-07 2020-03-24 苏州浪潮智能科技有限公司 Data backup method, device and equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112650090A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN103117567B (en) Chip with charge-discharge function and electric quantity detecting function
CN101988968A (en) Wireless network-based earthquake monitoring system and implementation method thereof
CN112650090B (en) MCU chip start mode selection circuit
CN102708077A (en) State recognition method and state recognition apparatus
CN103472377A (en) Partial discharging point locating device for GIS type test based on vibration detection
CN105487639A (en) Method and device for optimizing power consumption of application program and electronic equipment
Miah et al. Internet of Things (IoT) based automatic electrical energy meter billing system
Reinfurt et al. Internet of things patterns for devices: Powering, operating, and sensing
CA2541889A1 (en) Device and method for powering a peripheral device
CN101893925B (en) Start circuit
CN112732062B (en) Energy management method and system for lightweight operating system of terminal of Internet of things
CN203069733U (en) A vibration-detection-based partial discharging point positioning device used for GIS tests
CN101995586A (en) Large building safety monitoring system based on wireless network and realization method
CN216485106U (en) Power-saving acoustic Doppler current profiler
CN112649649A (en) MCU chip power supply voltage detection circuit
CN110492585B (en) High-load-capacity miniaturized environmental energy collection and storage energy system and method
CN103675496A (en) Environment testing system of electronic equipment
CN206848998U (en) A kind of reset cycle adjustable watchdog device and watchdog system
CN115412132B (en) Hardware safety type Zigbee terminal based on environment energy supply
Zhang et al. Design and development of smart socket based on STM32
JP2003079136A (en) Method of controlling power supply and power supply circuit
JP2020150644A (en) Power supply device, power supply method, and program
CN216391049U (en) Intelligent household appliance IOT controller
CN218273371U (en) Singlechip cycle awakening circuit and electronic equipment
CN216649316U (en) System power failure detection and protection circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 230000 building 11, alumni enterprise innovation park, Luyang University of science and technology, northwest of the intersection of Tianshui road and Taihe Road, Luyang District, Hefei City, Anhui Province

Applicant after: Hengshuo semiconductor (Hefei) Co.,Ltd.

Address before: 230000 building 11, alumni enterprise innovation park, Luyang University of science and technology, northwest of the intersection of Tianshui road and Taihe Road, Luyang District, Hefei City, Anhui Province

Applicant before: ZBIT SEMICONDUCTOR Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant