A detachable multi-party communication battery motor management method and system

Through the splitting of multi-party communication technology and data processing, the deficiencies in resource utilization and flexible configuration of the brushless DC motor control system are solved, achieving efficient control and cost reduction in different application scenarios.

CN114301137BActive Publication Date: 2024-10-11SOUTH CHINA UNIV OF TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111665034.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2024-10-11
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

The existing brushless DC motor control system lacks integration and resource utilization, making it difficult to flexibly configure peripheral devices in different application scenarios, and occupies a large amount of system resources, affecting efficiency.

Method used

Using multi-party communication technology, through online communication between the host computer and the BMS mainboard and SOC expansion board, data processing can be split and remotely controlled and monitored, reducing the burden on the BMS mainboard, and the host computer modules can be selectively split according to needs to reduce system costs. .

Benefits of technology

It enables flexible configuration of peripheral devices in different application scenarios, saves system resources, reduces the performance burden of the BMS motherboard, and improves system efficiency and reduces system costs through remote control monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114301137B_ABST
    Figure CN114301137B_ABST
Patent Text Reader

Abstract

The present invention discloses a detachable multi-party communication battery motor management method and system, the system comprising a BMS mainboard, a host computer, a SOC expansion board, a battery pack, a large brushless motor, and a small brushless motor; taking the BMS mainboard as the control core, the method of flexibly splitting and combining additional control modules (host computer, SOC expansion board) is used, and the battery pack and the large brushless motor and the small brushless motor are matched to form a control system, which has the characteristics of real-time performance, reliability, stability and high efficiency. In different application scenarios, the battery motor management system has excellent adaptability by flexibly splitting and combining different modules, and the integrated management performance of the battery motor management system is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of mechatronics, and in particular relates to a detachable multi-party communication battery motor management method and system. Background Art

[0002] The development of computer technology and semiconductor technology has made brushless DC motor control more and more mature, control accuracy higher and higher, control algorithms more and more mature, and more and more brushless motors are applied to production and life. The use of brushless motors often requires the use of motor control boards and controllable power supplies. Therefore, it is very necessary to study the integrated control board, controllable power supply, and brushless DC motor integration technology.

[0003] This system uses the BMS mainboard as the control core, and is equipped with necessary controlled battery packs and controlled motors. On this basis, through multi-party communication technology, detachable additional peripherals are designed, so that in different application scenarios, supporting peripherals can be flexibly selected to maximize benefits.

[0004] Because it is an integrated design of electromechanical integration, generally speaking, chip resources should be saved as much as possible. The host computer of this system is connected to the BMS main board / SOC expansion board through a USB to TTL chip on the PC side. The com pin is integrated with the functions of sending and receiving two pins through time-sharing multiplexing to save system resources. Summary of the invention

[0005] The main purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and to provide a detachable multi-party communication battery motor management method and system.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] One aspect of the present invention provides a detachable multi-party communication battery motor management method, comprising the following steps:

[0008] The upper computer identifies the lower computer, sends a command frame to wake up the lower computer in a dormant state, and performs online communication; the lower computer includes a BMS main board and a SOC expansion board;

[0009] The upper computer controls the lower computer through read and write commands, reads and changes the status and working mode of the lower computer, and makes the lower computer run according to the mode set by the upper computer;

[0010] The lower computer receives commands from the upper computer, feeds back the status parameters of the battery pack and the large brushless motor and the small brushless motor to the upper computer, and generates corresponding control commands to control the charging and discharging of the battery pack and the operation of the large brushless motor and the small brushless motor;

[0011] It is split and used according to the application scenario, specifically: part of the data processing is transferred to the host computer for processing to reduce the load on the BMS mainboard, and the host computer is used for remote control and monitoring; or the host computer is split and the SOC module is used as the control to reduce the system cost.

[0012] As a preferred technical solution, the upper computer identifies the lower computer, sends a command frame to wake up the lower computer in a dormant state, and performs online communication, specifically:

[0013] The host computer converts the serial port signal into a TTL level signal through the CH340 chip in the adapter board and sends it to the signal pin of the slave computer;

[0014] After the host computer is turned on and running, the serial port number of the slave computer is searched and identified, and the serial port baud rate, serial port number, and parity check bit configured by the host computer are adapted to the slave computer;

[0015] The upper computer sends several instructions to wake up the lower computer in a dormant state, and reads back the software version number and serial number of the lower computer in advance to complete the identification and connection of the lower computer.

[0016] As a preferred technical solution, the communication method adopts serial communication, custom communication protocol and time-division multiplexing multi-party communication;

[0017] The custom communication protocol is specifically as follows: setting the data frame format, setting a read-write memory location in the frame format for the power-off storage quantity, and not setting a memory location for some real-time variables of program running, and defining a correction data frame at the same time, and uniformly adopting a sum check at the end of the data frame;

[0018] The time-division multiplexing multi-party communication is specifically as follows: the communication pins of the BMS mainboard are time-division multiplexed, and are connected to the host computer and the SOC expansion board at the same time. When the BMS mainboard communicates with the host computer, it cannot communicate with the SOC expansion board at the same time.

[0019] As a preferred technical solution, the upper computer controls the lower computer through read and write commands, reads and changes the state and working mode of the lower computer, and makes the lower computer operate according to the mode set by the upper computer, specifically:

[0020] The upper computer sends a read request to the lower computer, and the lower computer returns the system state variables to the upper computer for processing and display; the system state variables include battery voltage, motor current, and motor state;

[0021] The upper computer enters the test mode and automatically reads the battery pack temperature, battery pack voltage, motor current, charging current, and charging voltage information of the lower computer in sequence, and compares them with the standard values ​​set by the user.

[0022] As a preferred technical solution, the lower computer receives commands from the upper computer, feeds back the state parameters of the battery pack and the large brushless motor and the small brushless motor to the upper computer, and generates corresponding control commands to control the charging and discharging of the battery pack and the operation of the large brushless motor and the small brushless motor, specifically:

[0023] The upper computer sends a write request to the lower computer. The lower computer receives the data written by the upper computer and changes the operating state, outputs signals for controlling the operation of the large brushless motor and the small brushless motor connected to the BMS mainboard, and signals for controlling the charging and discharging of the battery pack connected to the BMS mainboard;

[0024] The upper computer modifies the configuration parameters of the lower computer and sets the lower computer to a protection mode; the configuration parameters of the lower computer include a charging cut-off voltage, a charging cut-off current, and a motor current;

[0025] The host computer enters the calibration mode, and the external measuring device compares the battery voltage, motor current, and motor status read from the slave computer with the measured values ​​of the measuring device, and then writes the correction values ​​into the system of the slave computer.

[0026] Another aspect of the present invention provides a detachable multi-party communication battery motor management system, including a host computer, a BMS main board, a SOC expansion board, a battery pack, a brushless large motor, and a brushless small motor;

[0027] The BMS mainboard is connected to the battery pack, the large brushless motor, and the small brushless motor; the BMS mainboard is connected to one or more of the host computer and the SOC expansion board, and the BMS mainboard is used to receive the control or status signal of the connection module and return the corresponding control or status signal;

[0028] The host computer is connected to the BMS main board and the SOC expansion board at the same time, and is used to output control and read signals to the BMS main board and the SOC board, and receive and process the returned signals;

[0029] The SOC expansion board is used to receive control signals from the BMS main board and the host computer and return status signals, and display the status information of the motor battery to the user and provide control input buttons.

[0030] The battery pack is connected to the BMS mainboard, the SOC expansion board, the brushless large motor, and the brushless small motor, and is used to supply power to the BMS mainboard, the SOC expansion board, the brushless large motor, and the brushless small motor;

[0031] The large brushless motor and the small brushless motor are used to complete the execution action of the motor according to the control signal from the BMS mainboard and the power supply of the battery pack.

[0032] As a preferred technical solution, the BMS mainboard is used to receive the control or status signal of the connection module and return the corresponding control or status signal, specifically:

[0033] The BMS mainboard is connected to the host computer, and is used to receive read and write commands from the host computer, make corresponding read and write responses, return status signals to the host computer, and process or forward signals from the host computer;

[0034] The BMS main board is connected to the SOC expansion board, and is used to receive a feedback signal or a control signal from the SOC expansion board, and send a battery motor status signal to the SOC expansion board;

[0035] The communication pins of the BMS mainboard are connected to the host computer and the SOC expansion board at the same time;

[0036] The BMS mainboard is directly connected to the battery pack and is used to monitor and control the battery pack in real time;

[0037] The BMS mainboard is directly connected to the large brushless motor and the small brushless motor, and is used for real-time monitoring and control of the large brushless motor and the small brushless motor.

[0038] As a preferred technical solution, the host computer includes a real-time parameter monitoring module, a BMS parameter configuration module, a battery pack performance detection module, a battery pack parameter calibration module, and a data storage and import module;

[0039] The real-time parameter monitoring module is used to receive feedback signals from the BMS mainboard and display the state of the battery motor system on the host computer; the state of the battery motor system includes battery voltage, motor current, charging voltage, charging current, battery operating status and motor operating status;

[0040] The BMS parameter configuration module is used to read and write the setting values ​​of the BMS mainboard, and the setting values ​​of the BMS mainboard include large motor overcurrent, small motor overcurrent, charging cutoff temperature, charging cutoff voltage, and discharge cutoff voltage;

[0041] The battery pack performance detection module is used to perform batch detection on batteries, testing the temperature, voltage and current information of the battery pack under normal conditions, charging conditions and discharging conditions, so as to determine the quality of the battery pack;

[0042] The battery pack parameter calibration module is used to compare the value of the battery pack read by the measuring device with the value read by the BMS mainboard when the battery pack is connected to an external measuring device, and to correct the corresponding parameters in the BMS mainboard;

[0043] The data saving and importing module is used to save the parameters on the host computer to the local batch processing analysis, or to import the local file data into the host computer for comparative analysis with the parameters read by the host computer from the BMS mainboard.

[0044] As a preferred technical solution, the SOC expansion board is equipped with an air pressure sensor, a button device, an indicator light and an LED display screen output device; the air pressure sensor is used to receive the air pressure calibration signal of the host computer and feed back the air pressure status to the host computer; the button device is used to provide an input interface for the user; the indicator light and LED display screen output device are used to display the status of the battery motor to the user.

[0045] As a preferred technical solution, the battery pack receives the control read and write signals from the BMS mainboard, returns information such as the voltage and power of the battery pack, and supplies power to the BMS mainboard, SOC expansion board, brushless large motor, and brushless small motor;

[0046] As a preferred technical solution, the brushless large motor and the brushless small motor complete the motor execution action specifically as follows: receiving a PWM control signal from the BMS mainboard and energy from the battery pack, running at a specific speed, and returning a motor current signal.

[0047] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0048] (1) This system uses multi-party communication based on serial port communication, which is suitable for master-slave communication between the master controller and the slave controller. It is used in situations with small data volume and short transmission distance. There can only be one host at any time, which not only reduces the system's requirements for communication resources, but also can coordinate multi-party communication in time-sharing.

[0049] (2) This system uses multi-party communication technology as a means, designs a set of hardware and software compatible protocols, takes the BMS mainboard as the control core, and can flexibly split and combine additional control modules to match the control system composed of controlled batteries and motors. The system can selectively match the host computer module or SOC module according to the actual working scene requirements. When the amount of data to be processed is large, some data processing can be transferred to the host computer for processing, which can greatly reduce the performance burden of the BMS mainboard. On the other hand, the host computer can also be used for remote control and monitoring. When the amount of data to be processed is low, the host computer module can be split and the SOC module can be added for control to reduce system costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a schematic diagram of the system structure of the present invention;

[0051] Figure 2 It is a schematic diagram of the host computer module of the present invention;

[0052] Figure 3 is a flow chart of the battery pack performance test of the present invention;

[0053] Figure 4 It is a block diagram of the BMS mainboard module of the present invention;

[0054] Figure 5 It is a block diagram of the SOC expansion board module of the present invention;

[0055] Figure 6 It is a circuit structure diagram of the BMS mainboard module of the present invention;

[0056] Figure 7 It is a structural diagram of the external wake-up circuit of the BMS mainboard module of the present invention;

[0057] Figure 8 It is a structural diagram of the LDO circuit of the BMS mainboard module of the present invention;

[0058] Fig. 9 It is a structural diagram of the motor control circuit of the BMS mainboard module of the present invention;

[0059] Fig.10 It is a structural diagram of the charging control circuit of the BMS mainboard module of the present invention;

[0060] Fig.11 It is a structural diagram of the secondary protection circuit of the BMS mainboard module of the present invention;

[0061] Fig.12 It is a structural diagram of the voltage sampling circuit of the BMS mainboard module of the present invention;

[0062] Fig.13 It is a circuit structure diagram of the SOC expansion board of the present invention. DETAILED DESCRIPTION

[0063] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0064] Example

[0065] like Figure 1 As shown, this embodiment provides a detachable multi-party communication battery motor management method, comprising the following steps:

[0066] T1, BMS board directly connects the controlled motor and the controlled battery to form a minimum control system;

[0067] T2, the upper computer identifies the lower computer, automatically sends several command frames to wake up the lower computer in sleep state, and conducts online communication; the lower computer includes BMS mainboard, SOC expansion board

[0068] T3. The upper computer controls the lower computer through read and write commands, reads and changes the status and working mode of the lower computer, and makes the lower computer run according to the mode set by the upper computer;

[0069] T4. The lower computer receives commands from the upper computer, feeds back the status parameters of the battery pack and the large brushless motor and the small brushless motor to the upper computer, and generates corresponding control commands to control the charging and discharging of the battery pack and the operation of the large brushless motor and the small brushless motor.

[0070] In particular, when the amount of data to be processed is large, some data processing can be transferred to the host computer for processing, which can greatly reduce the performance burden of the BMS motherboard. On the other hand, the host computer can also be used for remote control and monitoring. When the amount of data to be processed is low, the host computer module can be split and the SOC module can be added for control to reduce system costs.

[0071] In this embodiment, the communication method adopts serial communication, custom communication protocol and time-division multiplexing multi-party communication;

[0072] The custom communication protocol is specifically: referring to the conventional communication protocol and combining the communication protocol defined in combination with actual needs, setting a variety of data frame formats, setting a read-write memory location in the frame format for some power-off storage quantities, and not setting a memory location for some real-time variables that are only available when the program is running, and defining a variety of correction data frames based on the needs, and uniformly adopting a sum check at the end of the data frame;

[0073] The time-division multiplexing multi-party communication is specifically as follows: the communication pins of the BMS mainboard are time-division multiplexed, and are connected to the host computer and the SOC expansion board at the same time. When the BMS mainboard communicates with the host computer, it cannot communicate with the SOC expansion board at the same time.

[0074] Furthermore, step T1 is specifically as follows:

[0075] T101, the BMS mainboard converts analog signals such as voltage and temperature in the battery pack into digital signals through the ADC module;

[0076] T102, the BMS mainboard controls the operation of the brushless large motor and the brushless small motor by outputting PWM signals to the brushless large motor and the brushless small motor;

[0077] T103, the battery pack supplies power to the BMS mainboard, the large brushless motor and the small brushless motor;

[0078] Furthermore, step T2 is specifically as follows:

[0079] T201, the host computer converts the serial port signal into a TTL level signal and sends it to the signal pin of the slave computer through the CH340 chip in the adapter board;

[0080] T202. After the upper computer is turned on and running, it automatically searches and identifies the serial port number of the lower computer. The serial port baud rate, serial port number, and parity bit configured by the upper computer are adapted to the lower computer.

[0081] T203, the upper computer automatically sends several instructions to wake up the lower computer in the dormant state, and reads back the software version number and serial number of the lower computer in advance to complete the identification and connection of the lower computer.

[0082] Further, such as Figure 2 As shown, step T3 is specifically as follows:

[0083] T301, the upper computer sends a read request to the lower computer, and the lower computer returns the system state variables to the upper computer for processing and display; the system state variables include battery voltage, motor current, and motor state;

[0084] T302, the host computer enters the test mode, such as Figure 3 As shown, the battery pack temperature, battery pack voltage, motor current, charging current, and charging voltage information of the lower computer are automatically read in sequence and compared with the standard values ​​set by the user.

[0085] Furthermore, step T4 is specifically as follows:

[0086] T401, the upper computer sends a write request to the lower computer, the lower computer receives the data written by the upper computer and changes the operating state, outputs the signal for controlling the operation of the large brushless motor and the small brushless motor connected to the BMS mainboard, and the signal for controlling the charging and discharging of the battery pack connected to the BMS mainboard;

[0087] T402, the upper computer modifies the configuration parameters of the lower computer and sets the lower computer to a protection mode to prevent damage; the configuration parameters of the lower computer include a charging cut-off voltage, a charging cut-off current, and a motor current;

[0088] T403, the upper computer enters the calibration mode, and the external measuring device (a multimeter is used in this embodiment) compares the state variables (such as battery voltage, motor current, motor state) read from the lower computer with the measured values ​​of the measuring device, and then writes the correction values ​​into the system of the lower computer.

[0089] like Figure 1As shown, in another embodiment of the present application, a detachable multi-party communication battery motor management system is provided, which can be applied to a detachable multi-party communication battery motor management method of the above embodiment, including a BMS (Battery Manager System) mainboard, a host computer, a SOC expansion board, a battery pack, a brushless large motor, and a brushless small motor; wherein the basic system consists of a BMS mainboard, a battery pack, a brushless large motor, and a brushless small motor, and the selectively detachable combination module is a host computer and a SOC expansion board;

[0090] The BMS mainboard is connected to the battery pack, the large brushless motor, and the small brushless motor; the BMS mainboard is connected to one or more of the host computer and the SOC expansion board, and the BMS mainboard is used to receive the control or status signal of the connection module and return the corresponding control or status signal;

[0091] The host computer is connected to the BMS main board and the SOC expansion board at the same time, and is used to output control and read signals to the BMS main board and the SOC board, and receive and process the returned signals;

[0092] The SOC expansion board is used to receive control signals from the BMS main board and the host computer and return status signals, and display the status information of the motor battery to the user and provide control input buttons.

[0093] The battery pack is connected to the BMS mainboard, the SOC expansion board, the brushless large motor, and the brushless small motor, and is used to supply power to the BMS mainboard, the SOC expansion board, the brushless large motor, and the brushless small motor;

[0094] The large brushless motor and the small brushless motor are used to complete the execution action of the motor according to the control signal from the BMS mainboard and the power supply of the battery pack.

[0095] like Figure 4 As shown, in this embodiment, the control signal of the BMS mainboard comes from the host computer, and is connected to the battery pack and the SOC board, acting as the core control processor of the lower computer system; further, the BMS mainboard is used to receive the control or status signal of the connection module and return the corresponding control or status signal, specifically:

[0096] The BMS mainboard is connected to the host computer, and is used to receive read and write commands from the host computer, make corresponding read and write responses, return status signals to the host computer, and process or forward signals from the host computer;

[0097] The BMS main board is connected to the SOC expansion board, and is used to receive a feedback signal or a control signal from the SOC expansion board, and send a battery motor status signal to the SOC expansion board;

[0098] The communication pins of the BMS mainboard are connected to the host computer and the SOC expansion board at the same time;

[0099] The BMS mainboard is directly connected to the battery pack and is used to monitor and control the battery pack in real time;

[0100] The BMS mainboard is directly connected to the large brushless motor and the small brushless motor, and is used for real-time monitoring and control of the large brushless motor and the small brushless motor.

[0101] Furthermore, the host computer includes a real-time parameter monitoring module, a BMS parameter configuration module, a battery pack performance detection module, a battery pack parameter calibration module, and a data storage and import module.

[0102] The real-time parameter monitoring module is used to receive feedback signals from the BMS mainboard and display the important state quantities of the battery motor system on the host computer in real time; the important state quantities of the battery motor system include battery voltage, motor current, charging voltage, charging current, battery operating status, motor operating status, etc.;

[0103] The BMS parameter configuration module is used to read and write the setting values ​​of the BMS mainboard, and the setting values ​​of the BMS mainboard include large motor overcurrent, small motor overcurrent, charging cut-off temperature, charging cut-off voltage, discharging cut-off voltage, etc.

[0104] The battery pack performance detection module is used to perform batch detection on batteries, such as Figure 3 As shown, the temperature, voltage and current information of the battery pack are tested in normal state, charging state and discharging state (with the motor turned on) to determine the quality of the battery pack.

[0105] The battery pack parameter calibration module is used to compare the value of the battery pack read by the multimeter with the value read by the system of the BMS mainboard when the battery pack is connected to an external measuring device (a multimeter is used in this embodiment), and to correct the corresponding parameters in the BMS mainboard.

[0106] The data saving and importing module is used to save the parameters on the host computer to the local batch processing analysis, or to import the local file data into the host computer for comparison and analysis with the parameters read back from the BMS mainboard system by the host computer.

[0107] In this embodiment, the SOC expansion board is directly connected to the host computer and the BMS main board, and provides interaction to the user (button input, display output); further, the SOC expansion board is equipped with an air pressure sensor, a button device, an indicator light and an LED display screen output device; the air pressure sensor is used to receive the air pressure calibration signal of the host computer and feed back the air pressure status to the host computer; the button device is used to provide an input interface for the user; the indicator light and the LED display screen output device are used to display the status of the battery motor to the user.

[0108] like Figure 5 As shown, further, the battery pack receives control read and write signals from the BMS mainboard, returns information such as the voltage and power of the battery pack, and supplies power to the BMS mainboard, SOC expansion board, brushless large motor, and brushless small motor; the brushless large motor and brushless small motor complete the execution action of the motor specifically by receiving the PWM control signal from the BMS mainboard and the energy supply from the battery pack, running at a specific speed, and returning the motor current signal.

[0109] like Figure 6 The figure shows the minimum system of the BMS motherboard, which consists of a control chip and its peripheral circuits. The chip control pins can directly control charging, voltage sampling, and motor operation, and are the core of this system.

[0110] like Figure 7 The figure shows the external wake-up circuit. Three wake-up modes are set in the circuit. The system can be woken up through the serial port, key switch and charging wake-up. When these three methods are not working, the system will enter sleep within a certain period of time. This design makes the system more energy-saving and efficient.

[0111] like Figure 8 The figure shows the voltage-stabilizing power supply circuit of the BMS mainboard, which steps down the voltage output by the battery to 5V to power the BMS mainboard.

[0112] like Fig. 9 The figure shows the motor control circuit, which outputs PWM signals to the FETH and FETS of the large and small motors respectively, controls the motor to run at the set speed, and at the same time, the copper foil of the board is used as the current sampling resistor in the circuit.

[0113] like Fig.10 The figure shows the charging control circuit, where Pre_charge is the pre-charging pin. When the battery pack voltage is too low, the pin can be used to switch to a low-voltage charging mode to prevent excessive charging current from damaging the battery pack.

[0114] like Fig.11 The secondary protection circuit shown here can shut off the charging pin when the battery voltage is too high to prevent the battery pack from overcharging.

[0115] like Fig.12 The figure shows the battery pack voltage sampling circuit. In order to save chip resources, one ADC sampling channel is used for every two voltages. The chip controls the external boost circuit to control the CTLA and CTLB outputs to switch the transistors to switch the voltage sampling channels.

[0116] like Fig.13The circuit of the SOC expansion board is shown, in which the user can adjust the system gear through the touch module, the air pressure module can send the external air pressure value to the host computer, the diode light array and the display system power information, etc.

[0117] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0118] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A detachable multi-party communication battery motor management method, characterized in that: The following steps are involved: The upper computer identifies the lower computer, sends a command frame to wake up the lower computer in a dormant state, and performs online communication; the lower computer includes a BMS main board and a SOC expansion board; The upper computer controls the lower computer through read and write commands, reads and changes the status and working mode of the lower computer, and makes the lower computer run according to the mode set by the upper computer, specifically: The upper computer sends a read request to the lower computer, and the lower computer returns the system state variables to the upper computer for processing and display; the system state variables include battery voltage, motor current, and motor state; The upper computer enters the test mode and automatically reads the battery pack temperature, battery pack voltage, motor current, charging current, and charging voltage information of the lower computer in sequence, and compares them with the standard values ​​set by the user; The lower computer receives commands from the upper computer, feeds back the status parameters of the battery pack and the large brushless motor and the small brushless motor to the upper computer, and generates corresponding control commands to control the charging and discharging of the battery pack and the operation of the large brushless motor and the small brushless motor; It is split and used according to the application scenario, specifically: part of the data processing is transferred to the host computer for processing to reduce the load on the BMS mainboard, and the host computer is used for remote control and monitoring; or the host computer is split and the SOC module is used as the control to reduce the system cost.

2. A detachable multi-party communication battery motor management method according to claim 1, characterized in that: The upper computer identifies the lower computer, sends a command frame to wake up the lower computer in a dormant state, and performs online communication, specifically: The host computer converts the serial port signal into a TTL level signal through the CH340 chip in the adapter board and sends it to the signal pin of the slave computer; After the host computer is turned on and running, the serial port number of the slave computer is searched and identified, and the serial port baud rate, serial port number, and parity check bit configured by the host computer are adapted to the slave computer; The upper computer sends several instructions to wake up the lower computer in a dormant state, and reads back the software version number and serial number of the lower computer in advance to complete the identification and connection of the lower computer.

3. A detachable multi-party communication battery motor management method according to claim 1, characterized in that: The communication method adopts serial communication, custom communication protocol and time-division multiplexing multi-party communication; The custom communication protocol is specifically as follows: setting the data frame format, setting a read-write memory location in the frame format for the power-off storage quantity, and not setting a memory location for some real-time variables of program running, and defining a correction data frame at the same time, and uniformly adopting a sum check at the end of the data frame; The time-division multiplexing multi-party communication is specifically as follows: the communication pins of the BMS mainboard are time-division multiplexed, and are connected to the host computer and the SOC expansion board at the same time. When the BMS mainboard communicates with the host computer, it cannot communicate with the SOC expansion board at the same time.

4. A detachable multi-party communication battery motor management method according to claim 1, characterized in that: The lower computer receives commands from the upper computer, feeds back the status parameters of the battery pack and the large brushless motor and the small brushless motor to the upper computer, and generates corresponding control commands to control the charging and discharging of the battery pack and the operation of the large brushless motor and the small brushless motor, specifically: The upper computer sends a write request to the lower computer. The lower computer receives the data written by the upper computer and changes the operating state, outputs signals for controlling the operation of the large brushless motor and the small brushless motor connected to the BMS mainboard, and signals for controlling the charging and discharging of the battery pack connected to the BMS mainboard; The upper computer modifies the configuration parameters of the lower computer and sets the lower computer to a protection mode; the configuration parameters of the lower computer include a charging cut-off voltage, a charging cut-off current, and a motor current; The host computer enters the calibration mode, and the external measuring device compares the battery voltage, motor current, and motor status read from the slave computer with the measured values ​​of the measuring device, and then writes the correction values ​​into the system of the slave computer.

5. A detachable multi-party communication battery motor management system, characterized in that: Including host computer, BMS mainboard, SOC expansion board, battery pack, brushless large motor, brushless small motor; The BMS mainboard is connected to the battery pack, the large brushless motor, and the small brushless motor; the BMS mainboard is connected to one or more of the host computer and the SOC expansion board, and the BMS mainboard is used to receive the control or status signal of the connection module and return the corresponding control or status signal; The host computer is connected to the BMS main board and the SOC expansion board at the same time, and is used to output control and read signals to the BMS main board and the SOC board, and receive and process the returned signals; The SOC expansion board is used to receive control signals from the BMS main board and the host computer and return status signals, and display the status information of the motor battery to the user and provide control input buttons; The battery pack is connected to the BMS mainboard, the SOC expansion board, the brushless large motor, and the brushless small motor, and is used to supply power to the BMS mainboard, the SOC expansion board, the brushless large motor, and the brushless small motor; The large brushless motor and the small brushless motor are used to complete the execution action of the motor according to the control signal from the BMS mainboard and the power supply of the battery pack.

6. A detachable multi-party communication battery motor management system according to claim 5, characterized in that: The BMS mainboard is used to receive control or status signals from connected modules and return corresponding control or status signals, specifically: The BMS mainboard is connected to the host computer, and is used to receive read and write commands from the host computer, make corresponding read and write responses, return status signals to the host computer, and process or forward signals from the host computer; The BMS main board is connected to the SOC expansion board, and is used to receive a feedback signal or a control signal from the SOC expansion board, and send a battery motor status signal to the SOC expansion board; The communication pins of the BMS mainboard are connected to the host computer and the SOC expansion board at the same time; The BMS mainboard is directly connected to the battery pack and is used to monitor and control the battery pack in real time; The BMS mainboard is directly connected to the large brushless motor and the small brushless motor, and is used for real-time monitoring and control of the large brushless motor and the small brushless motor.

7. The detachable multi-party communication battery motor management system according to claim 5, characterized in that: The host computer includes a real-time parameter monitoring module, a BMS parameter configuration module, a battery pack performance detection module, a battery pack parameter calibration module, and a data storage and import module; The real-time parameter monitoring module is used to receive feedback signals from the BMS mainboard and display the state of the battery motor system on the host computer; the state of the battery motor system includes battery voltage, motor current, charging voltage, charging current, battery operating status and motor operating status; The BMS parameter configuration module is used to read and write the setting values ​​of the BMS mainboard, and the setting values ​​of the BMS mainboard include large motor overcurrent, small motor overcurrent, charging cutoff temperature, charging cutoff voltage, and discharging cutoff voltage; The battery pack performance detection module is used to perform batch detection on batteries, testing the temperature, voltage and current information of the battery pack under normal conditions, charging conditions and discharging conditions, so as to determine the quality of the battery pack; The battery pack parameter calibration module is used to compare the value of the battery pack read by the measuring device with the value read by the BMS mainboard when the battery pack is connected to an external measuring device, and to correct the corresponding parameters in the BMS mainboard; The data saving and importing module is used to save the parameters on the host computer to the local batch processing analysis, or to import the local file data into the host computer for comparative analysis with the parameters read by the host computer from the BMS mainboard.

8. The detachable multi-party communication battery motor management system according to claim 5, characterized in that: The SOC expansion board is equipped with an air pressure sensor, a button device, an indicator light and an LED display screen output device; the air pressure sensor is used to receive the air pressure calibration signal of the host computer and feed back the air pressure status to the host computer; the button device is used to provide an input interface for the user; the indicator light and LED display screen output device are used to display the status of the battery motor to the user.

9. The detachable multi-party communication battery motor management system according to claim 5, characterized in that: The battery pack receives control read and write signals from the BMS mainboard, returns the voltage and power information of the battery pack, and supplies power to the BMS mainboard, SOC expansion board, large brushless motor, and small brushless motor; the large brushless motor and small brushless motor complete the execution action of the motor by receiving the PWM control signal from the BMS mainboard and the energy supply from the battery pack, running at a specific speed, and returning the motor current signal.