Patent Description:
Heat generation in a microcontroller (MCU) of a Battery Management System (BMS) may be caused by a short circuit due to damage to other devices connected to the microcontroller, or an increase in the amount of computation in the microcontroller's own calculation process.

The temperature of the MCU rises, the computational processing power may decrease, such that when updating the software of the BMS, the amount of computation increases and the temperature further increases, or when the update is performed in a high temperature state, the normal update may not proceed.

Therefore, when the software update is in progress (boot mode), the temperature of the MCU must be measured, and whether to proceed with the software update must be determined according to the temperature value.

In order to measure the temperature of the MCU in the boot mode, a temperature sensing device of another device for BMS is conventionally used. When measuring the temperature with a temperature sensing device for BMS, there was a problem that the heat generated by the MCU could not be accurately measured by measuring the radiated temperature. To solve this problem, a sensing device such as a temperature sensor was separately allocated for temperature measurement of the MCU to detect the temperature.

However, in this case, since the channel that acquires data from the temperature sensing device assigned to the MCU is assigned only for temperature sensing when updating the BMS software, if it is not a software updater, that is, if operating a general application device, the channel is not used and is wasted, so that there is a problem that the limited number of channels of the MCU cannot be used effectively.

Examples and embodiments are presented in the document <CIT>, which discloses a BMS facilitating the control of battery charging. Plural temperature sensors are located at different positions: e.g. one at a battery cell and one at a charging control module. Based on the type of charging (e.g. wired or wireless) temperature sensors are selected and connected via a multiplexer to a single input channel of a control module.

The number of temperature channels of the microcontroller is limited, and it is necessary to measure the temperature of the battery and other power conversion devices and a plurality of application devices, so that many channels of the microcontroller are required. Accordingly, using one temperature channel only for the boot mode (SW update mode) deteriorates channel utilization.

A battery management device according to the claimed invention includes: a microcontroller configured to control a boot mode and an application mode of a BMS, and including a plurality of input/output channels; a first temperature measurement unit configured to measure one or more application temperatures of the BMS; a first switch having one end connected to the first temperature measurement unit and the other end connected to a predetermined designated channel of the microcontroller; a second temperature measurement unit configured to measure a temperature of the microcontroller; and a second switch having one end connected to the second temperature measurement unit and the other end connected to the designated channel of the microcontroller, wherein each of the first switch and the second switch has an on/off state set differently according to a control of the microcontroller.

According to the claimed invention, if there is a software update instruction, the microcontroller turns on the second switch, controls the first switch off, and receives temperature data measured by the second temperature measurement unit through the designated channel, and the battery management device further includes a connection unit to which the other ends of the first switch and the second switch are simultaneously connected to the one end and the other end of the connection unit is connected to the designated channel of the microcontroller.

More specifically, the microcontroller is configured to include a control terminal for outputting an on/off control command to the first and second switches, and.

The control terminal outputs a control signal for turning on the first switch and turning off the second switch in a regular mode or an application operation mode.

The control terminal outputs a power input on/off control signal to a power input path of the first temperature measurement unit and the second temperature measurement unit to control power on/off of the first temperature measurement unit and the second temperature measurement unit.

In a control method of a battery management device according to the claimed invention, the method includes: a software update command input step of receiving a software update command from a BMS; a micro controller temperature measurement step of measuring a temperature of the microcontroller according to the software update command input; a boot mode switching determination step of determining whether to proceed in a boot mode according to a measured temperature condition of the microcontroller; a boot mode starting step of starting a boot mode for updating software when the temperature of the microcontroller satisfies a predetermined condition in the boot mode switching determination step; and a boot mode ending step of ending the boot mode when software update is finished.

Specifically, in the boot mode switching determination step, when the temperature of the microcontroller satisfies a predetermined condition, it is determined whether the measured temperature of the microcontroller is less than or equal to a predetermined reference temperature, and the microcontroller temperature measurement step blocks and controls a path with a first temperature measurement unit that provides an application temperature measurement value through a predetermined designated channel of the microcontroller, and connects and controls a path with a second temperature measurement unit that provides the measured temperature of the microcontroller through the designated channel to receive the measured temperature value of the microcontroller through the designated channel connected to receive the application measurement temperature value.

In more detail, if the temperature of the microcontroller does not satisfy a predetermined condition in the boot mode switching determination step, a standby mode is entered, and, in the standby mode, the temperature of the microcontroller is measured for a predetermined time, and whether the measured temperature of the microcontroller satisfies a predetermined condition is compared repeatedly.

In order to solve the above problems, in the present invention, the boot mode (software update mode) and the application mode (or constant mode) are simultaneously performed through one channel of the microcontroller, so that an invention for accurately measuring the temperature of a microcontroller to ensure stability while not wasting a temperature channel is provided.

Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those of ordinary skill in the art may easily implement the present invention. However, the present invention may be implemented in various forms and is not limited to the embodiments described herein. In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention, and like reference numerals refer to like elements throughout the specification.

In order to update the software of the microcontroller <NUM> configured to control the BMS, changing the mode of the control board and the application on which the microcontroller <NUM> is mounted is called a boot mode.

The heat generated by the microcontroller <NUM> may lengthen the calculation time in the internal calculation processing process or may prevent accurate calculation processing. Accordingly, the heat of the microcontroller <NUM> is measured before the boot mode operation.

Accordingly, the first temperature measurement unit <NUM> is used as an application temperature sensor mounted on the BMS to detect the heat of the microcontroller <NUM>, and the first temperature measurement unit <NUM> measures radiation temperature, and there is a problem in that heat generated by the microcontroller <NUM> cannot be accurately detected. In order to improve this, the second temperature measurement unit <NUM> which is a temperature sensing device for the microcontroller for measuring the temperature of the microcontroller <NUM> is used. <FIG> shows this.

As shown in <FIG>, the temperature information sensed by each temperature measurement unit is transmitted to the microcontroller through each channel of the microcontroller <NUM>. Accordingly, as in <FIG>, the first temperature measurement unit <NUM> (a device used for measuring application temperature) and the second temperature measurement unit <NUM> (a device used for measuring the microcontroller temperature) transmit temperature information to the microcontroller <NUM> through respective channels. That is, the first temperature measurement unit <NUM> and the second temperature measurement unit <NUM> occupy channels of the microcontroller <NUM>, respectively.

The number of applications connected to a limited number of channels of the microcontroller <NUM> is increasing due to the improvement of the safety and function of the BMS. Accordingly, since the second temperature measurement unit <NUM> utilizes the channel only during software update (when operating in boot mode), it is left unused in the application mode, thereby reducing channel utilization.

Accordingly, the present invention provides a circuit and method for using one temperature channel in both the boot mode and the application mode to increase the limited channel utilization. <FIG> is a conventional BMS circuit diagram, in which only one application is connected to each channel of the microcontroller.

<FIG> is a BMS circuit diagram of the present invention. It is an invention to increase channel utilization by mounting two switches <NUM> and <NUM> that operate complementary to one channel of the microcontroller <NUM> and controlling the operation according to each mode. A battery management device BMS according to the present invention includes a microcontroller to be described later; first and second temperature measurement units, and first and second switches for connecting the outputs of the first and second temperature measurement units to the microcontroller, respectively, and according to the on/off operation of the first and second switches, the measurement data of the first and second temperature measurement units are input to the microcontroller. At this time, the measurement data of the first and second temperature measurement units are all input to the microcontroller through one designated channel <NUM>, but the first and second switches are controlled to be complementary on/off, that is, when one is on, the other is turned off, and accordingly, the first and second switches are controlled so that the measurement data of the first and second temperature measurement units are not simultaneously input to the designated channel <NUM>.

A micro controller unit <NUM> is an ultra-small arithmetic processing device and is a device that receives and stores data such as battery current, voltage, temperature, etc. detected by multiple sensors that check the SOC of the battery in the BMS system and enables a protection circuit operation and battery switch on/off control.

Accordingly, in order to improve the control function of the BMS, the software of the micro controller unit <NUM> is updated.

In addition, the micro controller unit <NUM> serves to control a boot mode and an application mode for software update of the BMS. (The application mode is a mode in which applications required for BMS generally operate.

In addition, it is a device that controls the first switch <NUM> and the second switch <NUM> to be described below, and receives and processes the temperature information measured by the first temperature measurement unit <NUM> and the second temperature measurement unit <NUM>.

The micro controller unit <NUM> has a plurality of input/output channels, and each channel is connected to various application elements or devices of the BMS. Temperature information measured by the first and second temperature measurement units <NUM> and <NUM> is received through one channel <NUM> of the micro controller unit <NUM>.

The first temperature measurement unit <NUM> is a device for measuring application temperatures, and here, the application temperatures may be, for example, a temperature of a battery cell, a temperature of a power conversion device, or the like, or a temperature of a BMS. The first temperature measurement unit may be a temperature sensor or a thermistor, but the element is not particularly limited.

Such a first temperature measurement unit <NUM> is a temperature measurement device that operates in an application mode (or regular mode) in which the micro controller unit <NUM> controls applications, and as such a device, a thermistor or a temperature sensor is usually used, but is not limited thereto.

It is a switch for connecting the channel of the first temperature measurement unit <NUM> and the micro controller unit <NUM>, and is a device that allows the microcontroller to be connected to a device that measures temperature in application mode (or regular mode) where software update is completed or update is not performed.

It is a device composed of a temperature sensor or thermistor for measuring the temperature of the micro controller unit <NUM>. The temperature information measured by the second temperature measurement unit is input to the micro controller unit <NUM> through the channel of the micro controller unit <NUM>, and the second temperature measurement unit <NUM> may be operated only when a boot mode start command is input from the outside. This second temperature measurement unit <NUM> measures the temperature of the micro controller unit in the boot mode for updating the software of the BMS.

It is a switch that operates when a BMS software update command is applied to the BMS from the outside. It is a device that is electrically connected to the micro controller unit <NUM> and the second temperature measurement unit <NUM>. The second switch <NUM> is connected to the same channel as the first switch <NUM>. Accordingly, the first switch and the second switch operate complementary to each other, and are not turned on or off at the same time.

One ends of the first switch <NUM> and the second switch <NUM> are respectively connected to the first temperature measurement unit <NUM> and the second temperature measurement unit <NUM> to receive each temperature measurement data, and the other end of each of the first switch <NUM> and the second switch <NUM> is connected to one end of the connection unit <NUM>.

The other end of the connection unit <NUM> is connected to one designated channel <NUM> of the micro controller unit <NUM>.

Through this circuit configuration, according to the on/off of the first switch <NUM> and the second switch <NUM>, one of the measured values of the first temperature measurement unit <NUM> and the second temperature measurement unit <NUM> is selectively input to the one channel <NUM> of the micro controller unit <NUM>.

According to one embodiment of the present invention, in the regular mode or application mode of the battery management device, the first switch is on-controlled so that the temperature data measured by the first temperature measurement unit <NUM> is input to the designated channel <NUM>, and in the boot mode, the first switch is controlled to be off and the second switch is controlled to be on so that it is controlled so that the temperature data measured by the second temperature measurement unit <NUM> is applied to the designated channel <NUM>.

It is a terminal for outputting a control signal for controlling on/off of the first switch <NUM> and the second switch <NUM>, and is a terminal for transmitting a switch control signal output from the microcontroller. The first switch and the second switch are simultaneously controlled through one control terminal <NUM>. In this case, the control signals transmitted through the control terminal <NUM> allow complementary operations to each other. For example, when the first switch signal is high, the second switch signal is low, and when the first switch signal is low, the second switch signal is high.

The control terminal <NUM> may control to turn on/off the power connection unit (not shown) of the first temperature measurement unit <NUM> and the second temperature measurement unit <NUM>, respectively.

In this case, the first and second temperature measurement units may be controlled to operate only when necessary. For example, since the second temperature measurement unit <NUM> is for temperature measurement of the microcontroller in boot mode, when the micro controller unit operates in the application mode or the regular mode, the power of the second temperature measurement unit <NUM> may be controlled not to be connected.

The circuit of the battery management device of the present invention may include an individual power switch that provides power by connecting the power of the battery management device and the driving unit (not shown) of the first temperature measurement unit and the second temperature measurement unit, respectively, and the control terminal <NUM> may be configured to output an on/off control signal to the individual power switch to turn on/off the individual power switch. The on/off control signal output to the individual power switch may be interlocked with the on/off control signal of the first switch <NUM> and the second switch <NUM>, and a buffer or delay element having a predetermined delay may be configured on the path so that the power-on signal is first applied to the first and second temperature measurement units and the power-off signal is applied later.

The above-described control terminal <NUM> may be used to output a control signal by designating a general purpose input output (GPIO) of the micro controller unit, and the control terminal <NUM> may be configured to receive a boot mode progress command or a software update command from the outside.

The present invention relates to a method of a channel utilization device for temperature measurement of a microcontroller according to the present invention. In the present invention, a method for measuring a temperature in a microcontroller boot mode will be described. <FIG> shows an example of the method of the present invention.

A mode for performing a software update is called a boot mode, and a mode in which each application operates according to a necessary situation is called an application mode (or regular mode).

It is a step of turning on the first switch <NUM> of <FIG> to receive temperature data measured by the first temperature measurement unit <NUM> from the micro controller unit <NUM>.

This is a step in which the first temperature measurement unit <NUM> measures the temperature of the application, the measured temperature data is input to the microcontroller, and the application is performed accordingly. It is a step in which the second switch is OFF, so that the temperature measured by the second temperature measurement unit is not transmitted to the microcontroller.

The application temperature measurement data measured in the application mode execution step is input to the designated channel <NUM> of the microcontroller.

This is a step in which a command to proceed with software update of the BMS is inputted from the outside or the inside, and accordingly, is a step to prepare for boot mode operation.

This is a step of turning off the first switch <NUM> and turning on the second switch <NUM>. The on/off of the first and second switches is controlled through the control terminal <NUM> of the above-described micro controller unit.

This is the step of measuring the temperature of the micro controller unit according to the command input through the software update command input step. The temperature measurement operation of the micro controller unit controls the first switch <NUM> to be turned off through the control terminal <NUM> by the step of inputting a software update command, and controls the second switch <NUM> to be on, and accordingly, the temperature is measured by the second temperature measurement unit <NUM> mounted close to the micro controller unit or mounted on the micro controller unit. The temperature data measured by the second temperature measurement unit <NUM> is input to the micro controller unit through the same designated channel <NUM> as the designated channel <NUM> to which the application temperature measurement data is input.

The temperature measurement step of this micro controller unit receives the measured temperature value of the micro controller unit through the designated channel connected to receive the application measured temperature value by blocking and controlling the path with the first temperature measurement unit that provides the application temperature measurement value with a predetermined designated channel of the micro controller unit, and connecting and controlling a path with the second temperature measurement unit that provides the measurement temperature of the micro controller unit through the designated channel.

This is a step in which the micro controller unit determines whether the boot mode (software update mode) operation is possible through the input temperature data.

Instead of the temperature data measured by the first temperature measurement unit operating in the application mode, the temperature data measured by the second temperature measurement unit measuring the temperature of the micro controller unit is input to the micro controller unit. That is, it is a step of receiving the temperature of the micro controller unit measured in the micro controller unit temperature measurement step S320. The temperature measured by the second temperature measurement unit <NUM> is transmitted to the micro controller unit through the second switch <NUM> in the designated channel <NUM>.

Through the temperature input step of the micro controller unit to which the temperature data measured by the second temperature measurement unit is input, boot mode conversion is determined through the temperature input to the micro controller unit. It is to determine whether to proceed in boot mode according to the measured temperature condition of the micro controller unit. In this case, when the temperature of the micro controller unit satisfies a predetermined condition, it is whether the measured temperature of the micro controller unit is less than or equal to a predetermined reference temperature.

The determination method is to set a reference temperature of a predetermined value (predetermined reference temperature may be set in advance), and switches to the boot mode according to the relationship between the reference temperature and the measured temperature of the micro controller unit measured through the second temperature measurement unit.

When the measured temperature of the micro controller unit exceeds the reference temperature, the application mode may proceed or perform a step for lowering the temperature of the micro controller unit, but the boot mode does not proceed.

When the measured temperature of the micro controller unit is below the reference temperature, the boot mode is performed. Through the control terminal <NUM>, the second switch maintains an on state, and the first switch controls to maintain an off state. The temperature data measured by the second temperature measurement unit passes through the connection unit <NUM> and is input to the micro controller unit <NUM> through the designated channel <NUM>.

If the measured temperature of the micro controller unit exceeds the reference temperature, it may proceed with an application mode or a standby step (not shown) to lower the temperature of the micro controller unit. The application mode is controlled so that the first switch <NUM> is turned on and the second switch <NUM> is turned off through the control terminal <NUM>. The application temperature measured through the first temperature measurement unit <NUM> is input to the micro controller unit <NUM> through the connection unit <NUM> through the designated channel <NUM>. After that, the application mode is maintained.

In a case of performing the standby step, while the second switch maintains an on state, and the first switch is in a controlled state to maintain an off state, it maintains the software update standby state for a predetermined period of time. In the update standby state, the designated channel <NUM> receives the temperature of the micro controller unit measured by the second temperature measurement unit, checks whether it is below the reference temperature, and enters the boot mode if it is below the reference temperature.

That is, when the temperature of the micro controller unit does not satisfy the predetermined condition in the boot mode switching determination step, it may enter the standby mode and measures the temperature of the micro controller unit for a predetermined time in the standby mode, and perform a procedure of repeatedly comparing whether the measured temperature of the micro controller unit satisfies a predetermined condition.

If the temperature of the micro controller unit measured by the second temperature measurement unit for the predetermined time does not become less than the reference temperature, it may be controlled to notify the software update failure and enter the application mode.

This is a step in which software and hardware of the BMS are switched to a mode for software update, and only devices necessary for software update are operated, and devices not required for software update are switched to sleep mode (or turned off). After that, it is a step to proceed with the software update of the BMS.

When information on boot mode start is input in the boot mode switching determination step S350, the micro controller unit <NUM> instructs mode switching according to the boot mode. Through the control terminal <NUM>, the first switch <NUM> is controlled to keep it on, and the second switch <NUM> is controlled to keep it off. Accordingly, the temperature of the micro controller unit <NUM> measured through the second temperature measurement unit <NUM> is input to the designated channel <NUM> through the connection unit <NUM> and is input to the micro controller unit <NUM>. This state is maintained during boot mode.

This is a step to stop the boot mode when a command indicating that the software update of the BMS is complete is input from the inside of the micro controller unit (not shown).

Through the control terminal <NUM>, the second switch <NUM> is turned off, and the first switch <NUM> is on.

After exiting the boot mode, the original application mode (or regular mode) is started. Accordingly, the second switch <NUM> is turned off, and the designated temperature channel <NUM> of the micro controller unit is connected to the first temperature measurement unit <NUM> to receive a measurement temperature (application temperature) of the first temperature measurement unit <NUM>.

The temperature measurement of the micro controller unit <NUM> is stopped, and the first switch <NUM> is turned on to operate the first temperature measurement unit <NUM>.

On the other hand, although the technical idea of the present invention has been specifically described according to the above embodiment, it should be noted that the above embodiments are for the purpose of explanation and not limitation. In addition, those skilled in the art in the technical field of the present invention will be able to understand that various embodiments are possible within the scope of the claims.

Claim 1:
A battery management device (<NUM>) characterized in that the battery management device comprises:
a microcontroller (<NUM>) configured to control a boot mode and an application mode of a BMS, and including a plurality of input/output channels;
a first temperature measurement unit (<NUM>) configured to measure one or more application temperatures of the BMS;
a first switch (<NUM>) having one end connected to the first temperature measurement unit and the other end connected to a predetermined designated channel (<NUM>) of the microcontroller;
a second temperature measurement unit (<NUM>) configured to measure a temperature of the microcontroller; and
a second switch (<NUM>) having one end connected to the second temperature measurement unit and the other end connected to the designated channel of the microcontroller,
wherein each of the first switch and the second switch has an on/off state set differently according to a control of the microcontroller,
wherein if there is a software update instruction, the microcontroller turns on the second switch, controls the first switch off, and receives temperature data measured by the second temperature measurement unit through the designated channel.