Control circuit of analog front end and electronic equipment

The microcontroller generates control signals and uses the digital output module to control the switch module to restart the hardware power supply, which solves the problem of abnormal analog front-end communication in new energy vehicles, ensures stable monitoring of battery voltage and temperature, and achieves rapid recovery of abnormal communication. .

CN221884143UActive Publication Date: 2024-10-22SHANGHAI RUIPU ENERGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323148403.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2024-10-22
Estimated Expiration
2033-11-21

Smart Images

  • Figure CN221884143U_ABST
    Figure CN221884143U_ABST
Patent Text Reader

Abstract

The utility model discloses an analog front end control circuit and an electronic device, the control circuit comprises a microcontroller connected with N analog front ends and used for generating control signals according to power supply parameters corresponding to the N analog front ends, N being a positive integer; the N analog front ends are connected with the digital output module and are used for transmitting the control signals to the digital output module; and the digital output module is used for receiving the control signals transmitted by the N analog front ends to carry out power supply restart on the N analog front ends. The problems that in the related technology, after communication abnormity exists between a plurality of analog front ends and a micro-control unit, the analog front ends with the communication abnormity can not be restarted, and then stable monitoring of the voltage and the temperature of a battery cannot be guaranteed are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of battery management systems, in particular to a control circuit and electronic equipment of an analog front end. Background Art

[0002] In the current field of battery management system technology, AFE (analog front end) is often used to collect the voltage and temperature of a certain number of batteries. However, with the increasing number of series and parallel batteries in new energy vehicles, the topology corresponding to the daisy chain communication mode between multiple AFEs and MCU (Microcontroller Unit) is very susceptible to electromagnetic interference such as motors, thus affecting normal communication.

[0003] In the existing technical solutions, when abnormal communication occurs, a restart command is usually sent through the corresponding software to achieve the process of software restarting AFE. However, there is a situation where the restart fails. When the software fails to restart AFE, the entire battery management system will continue to report faults during the driving of the new energy vehicle, thereby affecting the user's driving experience and losing effective monitoring of the battery voltage and temperature during driving.

[0004] Regarding the related art, when communication anomalies occur between multiple analog front ends and microcontroller units, the analog front ends with communication anomalies may not be restarted, and thus stable monitoring of the battery voltage and temperature cannot be guaranteed. No effective solution has yet been proposed. Utility Model Content

[0005] The embodiments of the utility model provide a control circuit and electronic device for an analog front end, so as to at least solve the problems in the related art that, after a communication anomaly occurs between multiple analog front ends and a microcontroller unit, the analog front end with the communication anomaly may not be able to be restarted, thereby failing to ensure stable monitoring of the battery voltage and temperature.

[0006] According to one embodiment of the utility model, a control circuit of an analog front end is provided, including: a microcontroller connected to N analog front ends, and used to generate a control signal according to power supply parameters corresponding to the N analog front ends, wherein N is a positive integer; the N analog front ends are connected to a digital output module, and used to transmit the acquired control signal to the digital output module; the digital output module is used to receive the control signal transmitted by the N analog front ends to restart the power supply to the N analog front ends.

[0007] In an exemplary embodiment, the control circuit further includes: a switch module, which is connected to the digital output module and is used to execute the control instruction output by the digital output module according to the control signal.

[0008] In an exemplary embodiment, the power supply output end of the power supply module is connected to the input end of the switch module, and the output end of the switch module is connected to the power consumption input end of the N analog front ends. The power supply module is composed of M batteries connected in series, and the positive and negative electrodes of each of the M batteries are connected to the N analog front ends through the switch module, and M is a positive integer.

[0009] In an exemplary embodiment, there is a direct control relationship between P digital output modules corresponding to P analog front ends among the N analog front ends; and / or there is a serial control relationship between Q digital output modules corresponding to Q analog front ends among the N analog front ends, where P+Q≤N, and P and Q are positive integers.

[0010] In an exemplary embodiment, the microcontroller further includes: a processor, configured to parse the power supply parameters corresponding to each analog front end and determine a working state of each analog front end.

[0011] In an exemplary embodiment, the microcontroller further includes: a communication unit, wherein the communication unit is configured to establish a daisy chain topology communication structure with the N analog front ends.

[0012] In an exemplary embodiment, the microcontroller further includes: a recording unit, which is used to record the node position of the target analog front end that has communication abnormality with the microcontroller in the daisy chain topology communication structure when it is determined that a structural abnormality occurs in establishing a daisy chain topology communication structure with the N analog front ends.

[0013] In an exemplary embodiment, the microcontroller further includes: a restart unit, configured to instruct the application software corresponding to the control circuit of the analog front end to execute a software restart on the target analog front end corresponding to the node position in the daisy chain topology communication structure.

[0014] In an exemplary embodiment, the control circuit of the analog front end is arranged in a circuit board corresponding to the battery management system, and the control circuit of the analog front end and the battery managed by the battery management system are connected via a wiring harness and / or a connector.

[0015] According to another embodiment of the utility model, an electronic device is also provided, including: a microcontroller connected to N analog front ends, for generating a control signal according to power supply parameters corresponding to the N analog front ends, wherein N is a positive integer; the N analog front ends are connected to a digital output module, for transmitting the acquired control signal to the digital output module; the digital output module is used to receive the control signal transmitted by the N analog front ends to restart the power supply to the N analog front ends.

[0016] In an embodiment of the utility model, power supply parameters corresponding to N analog front ends are obtained by a microcontroller to determine the power supply conditions corresponding to the N analog front ends. When the current microcontroller cannot obtain the power supply condition of the target analog front end in time, the power supply parameters corresponding to the target analog front end will not exist in the microcontroller. At this time, the microcontroller generates a control signal for restarting the power supply corresponding to the target analog front end, and transmits a control signal to a digital output module corresponding to the target analog front end through other analog front ends except the target analog front end, so that the digital output module can control the switch module corresponding to the power supply module through the control signal, and the switch module performs disconnection and closing operations to realize hardware power-off and restart of the power supply module and the target analog front end. The above technical solution solves the problem that after communication abnormality exists between multiple analog front ends and the microcontroller in the related art, the analog front end with communication abnormality may not be restarted, and thus the stable monitoring of the battery voltage and temperature cannot be guaranteed. By using the microcontroller to monitor the power supply parameters of different analog front ends and when the communication is abnormal, by transmitting a control signal to the digital output module corresponding to the target analog front end with communication abnormality, the switch module existing in the target analog front end and the power supply module is restarted in hardware, ensuring that the target analog front end can ensure the rapid recovery of abnormal communication through hardware restart when the software restart fails. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation on the present invention. In the drawings:

[0018] Figure 1 It is a structural block diagram of the control circuit of the analog front end of an embodiment of the utility model;

[0019] Figure 2 It is a schematic diagram of daisy chain topology communication between N analog front ends and a microcontroller according to an embodiment of the utility model;

[0020] Figure 3 is a circuit diagram of a control circuit of an analog front end of an embodiment of the utility model;

[0021] Figure 4 This is a schematic diagram of directly controlling multiple submodules in a digital output module according to an embodiment of the utility model;

[0022] Figure 5 This is a schematic diagram of performing serial control on multiple submodules in a digital output module according to an embodiment of the utility model;

[0023] Figure 6 It is a schematic diagram of mixed-level control of multiple submodules in a digital output module according to an embodiment of the utility model. DETAILED DESCRIPTION

[0024] In order to facilitate the understanding of the present invention, the present invention will be described more comprehensively with reference to the relevant drawings. The drawings provide preferred embodiments of the present invention. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thoroughly and comprehensively understood.

[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the utility model described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] The embodiment of the utility model provides a control circuit of an analog front end. Figure 1 This is a structural block diagram of the control circuit of the analog front end of the embodiment of the utility model. The control circuit includes: a microcontroller 12, N analog front ends 14, and a digital output module 16;

[0028] Specific:

[0029] A microcontroller 12 connected to N analog front ends 14, and configured to generate a control signal according to power supply parameters corresponding to the N analog front ends, wherein N is a positive integer;

[0030] Optionally, the microcontroller and N analog front ends can complete the establishment of communication connections to form a daisy chain topology communication structure. Through the above daisy chain topology communication structure, optionally, Figure 2 It is a schematic diagram of daisy chain topology communication between N analog front ends and a microcontroller in an embodiment of the utility model. The upper analog front end among the above N analog front ends can restart the lower analog front end of the daisy chain topology communication structure.

[0031] For example, when N is 4, there are 4 analog front ends connected to the microcontroller in the current control circuit, wherein, assuming that the first analog front end is the first analog front end connected to the microcontroller, the remaining second analog front end, third analog front end, and fourth analog front end are connected one by one to form a daisy chain topology communication structure of microcontroller--first analog front end--second analog front end--third analog front end--fourth analog front end. Therefore, when an abnormality occurs in the communication between the first analog front end and the microcontroller, the power supply parameters corresponding to the first analog front end, the second analog front end, the third analog front end, and the fourth analog front end received by the microcontroller are empty. At this time, the microcontroller will generate a control signal for controlling the first analog front end and other analog front ends connected to the first analog front end to restart the hardware power supply.

[0032] Optionally, when an abnormality occurs in the communication between the third analog front end and the microcontroller, the power supply parameters corresponding to the first analog front end and the second analog front end received by the microcontroller are not empty, and it is determined that the current first analog front end and the second analog front end maintain normal communication, and the power supply parameters corresponding to the third analog front end and the fourth analog front end are empty, indicating that the third analog front end and the fourth analog front end cannot maintain normal communication with the microcontroller at this time. At this time, the microcontroller will generate a control signal for controlling the third analog front end and other analog front ends connected to the third analog front end to restart the hardware power supply.

[0033] The N analog front ends 14 are connected to the digital output module 16 and are used to transmit the control signal to the digital output module;

[0034] It should be noted that, due to the topological communication structure established between the N analog front ends and the microcontroller in the control circuit, in the case of abnormal communication between a certain analog front end and the microcontroller, the microcontroller can transmit a control signal for hardware power restart to a certain analog front end through the analog front end of the previous stage of the certain analog front end, thereby completing the hardware power restart of a certain analog front end and all analog front ends connected to the next stage of the certain analog front end. That is, the control signal is transmitted from the analog front end of the previous stage that communicates normally with the microcontroller to the digital output module corresponding to the analog front end of the next stage that communicates abnormally with the microcontroller, so as to instruct the digital output module to perform hardware power restart on the analog front end of the next stage that communicates abnormally with the microcontroller.

[0035] As an optional implementation, the microcontroller can also determine whether to send a full restart signal directly to the digital output module connected to the N analog front ends by comparing the number of analog front ends with empty power supply parameters among the N analog front ends, and restart the N analog front ends in the control circuit at the same time, thereby saving the corresponding determination time when issuing control instructions when there are many abnormal analog front ends, wherein the above-mentioned preset number is the number set by the target object for the control circuit according to actual needs for rapid restart of the analog front end. In this regard, the utility model does not make too many restrictions.

[0036] The digital output module 16 is used to receive the control signal transmitted by the N analog front ends to power on and restart the N analog front ends.

[0037] Optionally, the output end of the digital output module is connected to a switch module existing between the N analog front ends and the power supply module, and is used to control the on and off of the switch in the switch module in the circuit according to the power supply signal of different analog front ends corresponding to the control signal, thereby disconnecting the switch so that the power supply module is temporarily unable to supply power to the N analog front ends for normal operation. However, it should be noted that the above-mentioned digital output module has a preset time length for the disconnection control of the switch in the switch module in the circuit. When the time length is exceeded, the disconnected state of the switch in the switch module in the circuit will be restored to a closed state, that is, the power supply module can continue to supply power to the N analog front ends, thereby realizing the restart of the power supply to the N analog front ends.

[0038] Optionally, the switch may be in the form of a triode, a switch tube or other forms, and the present invention does not impose any further limitations on this.

[0039] Optionally, the digital output module can realize the function of controlling the switch module, or the digital output module and the analog front end are connected together to realize the control function of the switch module, which needs to be determined in combination with the actual restart requirements.

[0040] Optionally, the digital output module may be composed of one or more channels, that is, the digital output module can simultaneously control the on and off of the power supply circuits corresponding to N analog front ends, avoiding the configuration of corresponding control components for each analog front end, thereby improving the redundancy and reliability of the control circuit hardware design.

[0041] Through the control circuit of the analog front end, the power supply parameters corresponding to N analog front ends are obtained by the microcontroller to determine the power supply conditions corresponding to the N analog front ends. When the current microcontroller cannot obtain the power supply condition of the target analog front end in time, the power supply parameters corresponding to the target analog front end will not exist in the microcontroller. At this time, the microcontroller generates a control signal for restarting the power supply corresponding to the target analog front end, and transmits the control signal to the digital output module corresponding to the target analog front end through other analog front ends except the target analog front end, so that the digital output module can control the switch module corresponding to the power supply module through the control signal, and the switch module performs the disconnection and closing operations to realize the hardware power-off restart of the power supply module and the target analog front end. The above technical solution solves the problem that after there is a communication abnormality between multiple analog front ends and the microcontroller in the related art, the analog front end with the communication abnormality may not be restarted, and thus the stable monitoring of the battery voltage and temperature cannot be guaranteed. By using the microcontroller to monitor the power supply parameters of different analog front ends and when the communication is abnormal, by transmitting the control signal to the digital output module corresponding to the target analog front end with the communication abnormality, the switch module existing in the target analog front end and the power supply module is restarted in hardware, ensuring that the target analog front end can ensure the rapid recovery of abnormal communication through hardware restart when the software restart fails.

[0042] As an optional implementation, a description is now given of a situation where there is only one analog front end in the control circuit, but this does not limit the present invention.

[0043] A digital output module, the output end of the digital output module is connected to the input end of the switch module, and is used to send a control signal to each switch in the switch module; a switch module, one end of the switch module is connected to the analog front end, and the other end of the switch module is connected to the power supply module, and is used to control the power supply module to the analog front end according to the control signal; one end of the analog front end is connected to the input end of the digital output module, and the other end of the analog front end is connected to the output end of the microcontroller, and is used to forward the control signal sent by the microcontroller to the digital output module; the microcontroller is used to generate a control signal for restarting the analog front end according to the collected power supply parameters. Wherein, the power supply parameters are used to indicate the voltage and temperature of the battery to be monitored uploaded by the analog front end to the microcontroller under normal working conditions.

[0044] In an exemplary embodiment, the control circuit further includes: a switch module, which is connected to the digital output module and is used to execute the control instruction output by the digital output module according to the control signal.

[0045] It should be noted that after the switch module is connected to the digital output module, it exists between the power supply module corresponding to the control circuit of the analog front end and the N analog front ends. Figure 3 As shown, Figure 3 is a circuit diagram of a control circuit of an analog front end of an embodiment of the utility model, Figure 3 There are multiple batteries in the power supply module for powering the analog front end. The positive and negative poles of each battery are connected to the analog front end through a circuit with a switch. Then, when the digital output module has a corresponding control signal, a control instruction is sent to each switch in the switch module. The switch module will complete the opening and closing operations according to the control instructions, and dynamically adjust the power supply size of the power supply module to N analog front ends, so that when a communication abnormality occurs in the analog front end, the analog front end can be powered off and restarted by hardware through the power supply size.

[0046] In an exemplary embodiment, the power supply output end of the power supply module is connected to the input end of the switch module, and the output end of the switch module is connected to the power consumption input end of the N analog front ends. The power supply module is composed of M batteries connected in series, and the positive and negative electrodes of each of the M batteries are connected to the N analog front ends through the switch module, and M is a positive integer.

[0047] In an exemplary embodiment, there is a direct control relationship between P digital output modules corresponding to P analog front ends among the N analog front ends; and / or there is a serial control relationship between Q digital output modules corresponding to Q analog front ends among the N analog front ends, wherein P+Q≤N, and P and Q are positive integers.

[0048] It should be noted that the above direct control relationship and the serial control relationship are arbitrarily set in the N analog front ends, and the specific need depends on the number of analog front ends that need to be controlled simultaneously;

[0049] For example, N analog front ends can be divided into K combinations, where K is a positive integer, and each combination can simultaneously adopt one or more control relationships. Assuming that there are at least 3 analog front ends in each of the K combinations, the following control relationships may exist.

[0050] For example, the Kth combination uses a direct control relationship, the K-1th combination uses a direct control relationship, or at least two analog front ends in the K-2th combination adopt a direct control relationship, while the other analog front ends in the K-2th combination except the at least two analog front ends adopt a cascade control relationship.

[0051] The above-mentioned serial control relationship can be understood as a sequential control relationship, that is, the next-level analog front end can only be controlled when the previous-level analog front end is normal or has completed restart, that is, the next-level analog front end is affected by the control of the previous-level analog front end. The above-mentioned direct control relationship can control multiple analog front ends simultaneously as needed, or control multiple analog front ends simultaneously in parts according to actual needs.

[0052] As an optional implementation, Figure 4 This is a schematic diagram of directly controlling multiple submodules in a digital output module according to an embodiment of the utility model. The above schematic diagram of directly controlling multiple submodules in a digital output module can implement a method for restarting an analog front end, which specifically includes the following steps:

[0053] Step 1: At the initial stage of power-on, enable the digital output module to ensure that the power supply of the analog front end is normal, so that the analog front end enters the normal working mode of communication with the microcontroller;

[0054] Step 2: In the normal working mode, when the analog front end and the microcontroller cannot maintain normal communication after being disturbed, or when the software restart is ineffective, the node corresponding to the analog front end where the communication fails is recorded;

[0055] Step 3: The microcontroller MCU controls all analog front ends to power off and restart the hardware or restart the analog front ends after the node;

[0056] Step 4: After the hardware restart is successful, restart to initialize all analog front ends or initialize the target node, thereby realizing the restart process of all analog front ends.

[0057] Through the above implementation, based on the signal transmission capability from the controller, by controlling the switch signal on the power supply circuit of the AFE, one or more AFEs can be simultaneously restarted by hardware without software restart (restart is invalid), thereby achieving the purpose of successful AFE hardware restart.

[0058] As an optional implementation, Figure 5 It is a schematic diagram of cascading control of multiple submodules in a digital output module according to an embodiment of the utility model.

[0059] That is, through the above-mentioned chain control, the general input / output port GPIO of the analog front end AFE of the upper level controls the power switch of the analog front end AFE of the lower level, that is, the analog front end AFE of the upper level and the microcontroller MCU normally perform data exchange through the communication channel 101, and upload the voltage and temperature information of the battery collected by the analog front end of the upper level to the microcontroller, so as to ensure the normal operation of some functions of the system. At this time, the analog front end AFE of the lower level and the microcontroller MCU cannot normally perform data exchange through the communication channel 101 and the communication channel 102. At this time, the microcontroller will not be able to receive the voltage and temperature information of the battery collected by the analog front end AFE of the lower level, but by If the analog front end of the previous level operates normally, the microcontroller can send a control signal for restarting to the next level when it is determined that there is abnormal communication with the next level, and when the analog front end of the previous level and the analog front end of the next level are controlled in series, the control signal is transmitted to the digital output module of the analog front end of the next level through the GPIO corresponding to the analog front end of the previous level, thereby controlling the restart of the power supply module corresponding to the analog front end of the next level, and after the analog front end of the next level resumes normal communication with the microcontroller, restart the other analog front ends corresponding to the nodes under the analog front end of the next level in turn, thereby realizing the restart of N analog front ends by transmitting control signals one level at a time under the series control.

[0060] As an optional implementation, Figure 6 It is a schematic diagram of mixed-level control of multiple submodules in a digital output module according to an embodiment of the utility model.

[0061] That is, in an application, according to actual needs, different control methods can be used to control the restart of a certain number of analog front ends respectively, thereby achieving a quick restart of the analog front end and reducing the impact on the system.

[0062] Optional, in Figure 6 There is a direct control relationship between the first submodule of the digital output module corresponding to the Nth analog front end among the N analog front ends and the second submodule of the digital output module corresponding to the N-1th analog front end; there is a serial control relationship between the third submodule of the digital output module corresponding to the N-2th analog front end among the N analog front ends and the fourth submodule of the digital output module corresponding to the N-3th analog front end.

[0063] In addition, Figure 6 It can be seen that the Nth analog front end communicates with the N-1th analog front end through the communication channel 104, and the Nth analog front end communicates with the microcontroller through the communication channel 103.

[0064] It should be noted that the above description is only based on N=4 as an example. In practical applications, any two analog front ends can be directly controlled or cascaded. However, in fact, it is not limited to N=4, nor is it limited to direct control or cascade control between any two.

[0065] It should be noted that the above hybrid level control is to establish multiple control connection modes between N analog front ends and microcontrollers, and control the power supply of all microcontrollers in the control circuit through the microcontroller to control the digital output module, thereby realizing the function of hardware restart; and because it is a hybrid level control, Figure 6 When the analog front-end in the system is restarted, it can be a chain restart or divided into multiple groups, and the multiple groups are restarted synchronously; thus, the time for restarting a large number of analog front-ends is greatly saved.

[0066] In an exemplary embodiment, the microcontroller further includes: a processor, configured to parse the power supply parameters corresponding to each analog front end and determine a working state of each analog front end.

[0067] That is, after each analog front end establishes a connection with the microcontroller, the processor in the microcontroller can parse the power supply parameters corresponding to the battery to be monitored reported by each analog front end. Optionally, the above power supply parameters at least include: the voltage corresponding to the battery, and the temperature corresponding to the battery; therefore, when the microcontroller receives the power supply parameters sent by the corresponding analog front end, it indicates that the corresponding analog front end is in normal working condition.

[0068] In an exemplary embodiment, the microcontroller further includes: a communication unit, wherein the communication unit is configured to establish a daisy chain topology communication structure with the N analog front ends.

[0069] In an exemplary embodiment, the microcontroller further includes: a recording unit, which is used to record the node position of the target analog front end that has communication abnormality with the microcontroller in the daisy chain topology communication structure when it is determined that a structural abnormality occurs in establishing a daisy chain topology communication structure with the N analog front ends.

[0070] In an exemplary embodiment, the microcontroller further includes: a restart unit, configured to instruct the application software corresponding to the control circuit of the analog front end to execute a software restart on the target analog front end corresponding to the node position in the daisy chain topology communication structure.

[0071] It is understandable that when the microcontroller cannot receive the power supply parameters sent by the corresponding analog front end, it means that the corresponding analog front end is in an abnormal working state and may need to be restarted. For example, when the microcontroller finds that the corresponding analog front end is in an abnormal working state within the target cycle, it can first send a restart command to the analog front end through the target control software. When the analog front end cannot complete the restart operation through the restart command, the analog front end that cannot be restarted is recorded, and the microcontroller sends control information to the digital output modules connected to these analog front ends that cannot be restarted, and controls the power supply unit corresponding to the analog front end to disconnect from the analog front end for a period of time and then power on the analog front end, thereby realizing the power supply restart of the analog front end from the hardware power-off.

[0072] In an exemplary embodiment, the control circuit of the analog front end is arranged in a circuit board corresponding to the battery management system, and the control circuit of the analog front end and the battery managed by the battery management system are connected via a wiring harness and / or a connector.

[0073] As an optional implementation, the utility model also provides an electronic device, wherein the electronic device is composed of the control circuit of the above-mentioned analog front end and the corresponding battery to be monitored, and the operating state of the battery to be monitored is controlled by the analysis result output by the control circuit of the analog front end, thereby ultimately achieving early warning of abnormal conditions of the battery in the electronic device.

[0074] Optionally, the battery to be monitored in the present invention may be a plurality of batteries, or may be a plurality of batteries. The present invention does not impose too many restrictions on this.

[0075] Optionally, the electronic device further comprises: a load unit, wherein the load unit is used to consume the energy in the battery to be monitored. It should be noted that the load unit includes but is not limited to power-consuming devices such as motors and LEDs.

[0076] It should be noted that the above-mentioned switches, microcontrollers, analog front ends, switch modules, digital output modules, and power supply modules are similar components of any model that can be used to achieve the functional requirements of the utility model. The models of the above-mentioned microcontrollers, analog front ends, switch modules, digital output modules, and power supply modules are selected according to actual production needs and can be flexibly adjusted according to the actual application of the control circuit of the analog front end. The utility model does not impose too many restrictions on this.

[0077] In the description of the present invention, it should be understood that the directions or positional relationships indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", etc. are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or component referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0078] In the description of the present utility model, it should be noted that, unless otherwise clearly stipulated and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two components. When a component is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other component or there can also be a central component. When a component is considered to be "connected" to another element, it can be directly connected to the other element or there can be a central element at the same time. For those of ordinary skill in the art, the specific meanings of the above terms in the present utility model can be understood according to specific circumstances.

[0079] In the embodiments of the present invention, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an overall module or unit that includes the function of the module or unit.

[0080] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0081] Obviously, those skilled in the art should understand that the above modules or steps of the utility model can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the utility model is not limited to any specific combination of hardware and software.

[0082] The above description is only a preferred embodiment of the utility model and is not intended to limit the utility model. For those skilled in the art, the utility model may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the utility model shall be included in the protection scope of the utility model.

Claims

1. A control circuit of an analog front end, characterized in that: include: A microcontroller connected to the N analog front ends, and configured to generate a control signal according to power supply parameters corresponding to the N analog front ends, wherein N is a positive integer; The N analog front ends are connected to the digital output module and are used to transmit the control signal to the digital output module; The digital output module is used to receive the control signal transmitted by the N analog front ends to power on and restart the N analog front ends; The microcontroller also includes: a communication unit, which is used to establish a daisy chain topology communication structure with the N analog front ends, wherein there is a direct control relationship between P digital output modules corresponding to P analog front ends among the N analog front ends; and / or there is a serial control relationship between Q digital output modules corresponding to Q analog front ends among the N analog front ends; wherein P+Q≤N, P and Q are positive integers.

2. The control circuit of the analog front end according to claim 1, characterized in that: The control circuit further includes: a switch module, The switch module is connected to the digital output module and is used to execute the control instruction output by the digital output module according to the control signal.

3. The control circuit of the analog front end according to claim 2, characterized in that: The control circuit further includes: a power supply module, The power supply output end of the power supply module is connected to the input end of the switch module, and the output end of the switch module is connected to the power consumption input end of the N analog front ends. The power supply module is composed of M batteries connected in series, and the positive and negative electrodes of each of the M batteries are connected to the N analog front ends through the switch module, and M is a positive integer.

4. The control circuit of the analog front end according to claim 1, characterized in that: The microcontroller also includes: a processor, which is used to parse the power supply parameters corresponding to each analog front end and determine the working status of each analog front end.

5. The control circuit of the analog front end according to any one of claims 1 to 4, characterized in that: The control circuit of the analog front end is arranged in a circuit board corresponding to the battery management system, and the control circuit of the analog front end and the battery managed by the battery management system are connected via a wiring harness and / or a connector.

6. An electronic device, characterized in that: A control circuit comprising the analog front end as claimed in any one of claims 1 to 4.