Battery simulation device
By designing a battery simulation device to simulate the temperature, internal resistance, and voltage changes of individual batteries, the problems of poor visibility and insufficient data filtering in existing battery simulators are solved, and simple BMS development and efficient data recording are realized.
Patent Information
- Application Number
- CN202210945523.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-08
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2042-08-08
AI Technical Summary
Existing battery simulators suffer from poor visibility, inconvenience in debugging individual cells, and lack of temperature and internal resistance data filtering and calculation functions during BMS development and testing, resulting in long testing and verification times and high costs.
A battery simulation device was designed, which connects to a host computer via CAN communication to simulate the temperature, internal resistance, and voltage changes of a single battery cell. It includes a battery voltage simulation output module, a temperature acquisition module, an internal resistance acquisition module, and a control module to achieve data filtering and display, and supports power supply from a power module.
It improves the visibility of BMS development and the ease of parameter setting, shortens the testing and verification time, realizes data storage and continuous information recording, and improves data accuracy.
Smart Images

Figure CN115438466B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of battery, in particular to a battery simulation device. BACKGROUND
[0002] The environmental and energy problems are increasingly prominent in today's society, and the environmental problems caused by overexploitation of fossil energy such as oil and coal and the atmospheric pollution problems caused by the combustion of fossil energy make countries around the world begin to develop new energy that can replace traditional fossil energy, and in this background, new energy vehicles powered by electricity begin to receive more and more attention because of their tail gas emission characteristics, which also promotes the market demand for batteries and battery management systems (Battery Management System hereinafter referred to as BMS), and in the development and testing process of BMS, the use of real batteries directly prolongs the development cycle of BMS and increases the cost because of the long charging and discharging time of real batteries, and the use of battery simulators can effectively shorten the testing and verification time of BMS, and the traditional single battery simulator can only be controlled by the host computer, and the simulated battery data can only be displayed by the host computer, which has poor visibility, inconvenient single battery debugging, and lacks the function of screening and calculating the collected temperature and internal resistance data. SUMMARY
[0003] The main purpose of the present application is to provide a battery simulation device, which can transmit data with the host computer through CAN communication, simulate the temperature, internal resistance and voltage changes of single battery, screen the collected temperature and internal resistance data, assist the development of the host computer battery management system, the parameter setting is simple, the working process has high visibility, and the data storage function can realize continuous information recording while avoiding secondary parameter setting.
[0004] To achieve the above purpose, the present application provides a battery simulation device, which comprises: a battery voltage simulation output module for simulating the voltage of each working stage of the battery according to a control signal and outputting;
[0005] A temperature acquisition module is connected with an external temperature simulator at the acquisition end, for acquiring and outputting the simulated battery temperature signal provided by the external temperature simulator;
[0006] An internal resistance acquisition module is connected with an external resistance simulator at the acquisition end, for acquiring and outputting the simulated battery internal resistance signal provided by the external resistance simulator;
[0007] A control module, the control end is connected with the input end of the battery voltage analog output module, the input end is connected with the output end of the battery voltage analog output module, the output end of the temperature acquisition module and the output end of the internal resistance acquisition module, for controlling the battery voltage analog output module to output the set voltage value and output to the upper computer after processing according to the received voltage value of the battery voltage analog output module, the analog battery temperature value of the temperature acquisition module and the analog battery internal resistance value of the internal resistance acquisition module;
[0008] A power module, the input end is connected with the external power supply, the output end is connected with the power end of the battery voltage analog output module, the power end of the temperature acquisition module, the power end of the internal resistance acquisition module and the power end of the control module, for converting the external power supply into the power supply signal suitable for each module to provide power supply.
[0009] Optionally, the battery voltage analog output module comprises a power supply chip U4, an operational amplifier chip U5, a resistor R28, a resistor R29, a resistor R30, a resistor R31, a resistor R32, a resistor R33, a resistor R34, a resistor R35, a resistor R36, a resistor R37, a resistor R38, a capacitor EC8, a capacitor EC9, a capacitor C25, a capacitor C26, a capacitor C27, a capacitor C28, a light emitting diode LED4, a light emitting diode LED5, a field effect transistor Q1, a field effect transistor Q2, and a field effect transistor Q3, an enable terminal of the power supply chip U4 is connected with a source of the field effect transistor Q1, a first terminal of the resistor R32, and a first terminal of the resistor R33, a power input terminal of the power supply chip U4 is connected with an output terminal of the power supply module, a drain of the field effect transistor Q1, a first terminal of the resistor R30, a first terminal of the resistor R28, a first terminal of the capacitor C25, a first terminal of the capacitor C26, and a positive pole of the capacitor EC8, an adjusting terminal of the power supply chip U4 is connected with a first terminal of the capacitor C27, a first terminal of the resistor R37, and a drain of the field effect transistor Q3, a signal input / output terminal of the power supply chip U4 is connected with a first terminal of the capacitor C27 and grounded, a second terminal of the resistor R28 is connected with a positive pole of the light emitting diode LED4, a gate of the field effect transistor Q1 is connected with a second terminal of the resistor R30 and a first terminal of the resistor R29, a first terminal of the resistor R31 is connected with an enable signal, a gate of the field effect transistor Q2 is connected with a second terminal of the resistor R31 and a first terminal of the resistor R38, a drain of the field effect transistor Q2 is connected with a second terminal of the resistor R29, a positive power terminal of the operational amplifier chip U5 is connected with an output terminal of the power supply module, an input port of the operational amplifier chip U5 is connected with an output port and connected with a first terminal of the resistor R35, a first terminal of the R36 is connected with an input port of the operational amplifier chip U5, a second terminal of the resistor R36 is connected with the control module as an input terminal of the battery voltage analog output module, a gate of the field effect transistor Q3 is connected with a second terminal of the resistor R35, a source of the field effect transistor Q3 is connected with a first terminal of the resistor R34, an output terminal of the power supply chip U4 is connected with a second terminal of the resistor R37, a first terminal of the capacitor C28, and a positive pole of the capacitor EC9 as an output terminal of the battery voltage analog output module and connected with an input terminal of the control module, a grounding terminal of the power supply chip U4, a negative power terminal of the operational amplifier chip U5, a source of the field effect transistor Q2, a negative pole of the light emitting diode LED4, a negative pole of the light emitting diode LED5, a negative pole of the capacitor EC8, a negative pole of the capacitor EC9, a second terminal of the capacitor C25, a second terminal of the capacitor C26, a second terminal of the capacitor C28, a second terminal of the resistor R38, a second terminal of the resistor R32, and a second terminal of the resistor R34 are grounded.
[0010] Optionally, the battery voltage analog output module outputs voltage value between 0.6-5V.
[0011] Optionally, the temperature acquisition module comprises resistance R22, resistance R23, resistance R24, resistance R25, resistance R26, resistance R29, resistance R30, resistance R31, capacitor C5, capacitor C7, capacitor C20, capacitor C21, capacitor C22, capacitor C24, operational amplifier IC1A, diode DZ2 and connector P1 connected with the external temperature simulator, the input end of the connector P1 is connected with the external temperature simulator as the acquisition end of the temperature acquisition module, one output end of the connector P1 is connected with the first end of the capacitor C24, the first end of the resistance R31 and the first end of the resistance R25, the other output end of the connector P1 is connected with the first end of the resistance R24 and the first end of the resistance R29; the second end of the resistance R24 is connected with the second end of the resistance R25 and an output end of the power module; the second end of the resistance R29 is connected with the first end of the resistance R30 and the first end of the capacitor C21; the positive phase input end of the operational amplifier IC1A is connected with the second end of the resistance R30 and the first end of the capacitor C22, the inverting input end of the operational amplifier IC1A is connected with the first end of the resistance R22 and the first end of the resistance R23, the output end of the operational amplifier IC1A is connected with the second end of the resistance R23 and the first end of the resistance R26, the power supply end of the operational amplifier IC1A is connected with the first end of the capacitor C5 and the first end of the capacitor C7 and an output end of the power module; the second end of the resistance R26 is connected with the negative pole of the diode DZ2 and the first end of the capacitor C20 as the output end of the temperature acquisition module and an input end of the control module; the second end of the capacitor C5, the second end of the capacitor C7, the second end of the capacitor C20, the second end of the capacitor C21, the second end of the capacitor C22, the second end of the capacitor C24, the second end of the resistance R31, the second end of the resistance R22, the positive pole of the diode DZ2 and the ground end of the operational amplifier IC1A are grounded.
[0012] Optionally, the internal resistance acquisition module comprises resistors R6, R7, R8, R10, R11, R14, R15, R16, capacitors C11, C12, C13, C14, an operational amplifier IC1B, a diode DZ1, and a connecting piece JP2 connected with the external resistance simulator, an input end of the connecting piece JP2 being connected with the external resistance simulator as an acquisition end of the internal resistance acquisition module, one output end of the connecting piece JP2 being connected with a first end of the capacitor C12 and a first end of the resistor R16 and grounded, another output end of the connecting piece JP2 being connected with first ends of the resistors R8 and R14, a first end of the resistor R7 being connected with a first end of the resistor R10, a second end of the resistor R16, and a second end of the capacitor C12, a second end of the resistor R7 being connected with a second end of the resistor R8 as a power supply end of the internal resistance acquisition module and connected with an output end of the power supply module, a second end of the resistor R14 being connected with a first end of the resistor R15 and a first end of the capacitor C13, an inverting input end of the operational amplifier IC1B being connected with a second end of the resistor R10 and a first end of the resistor R6, a non-inverting input end of the operational amplifier IC1B being connected with a second end of the resistor R15 and a first end of the capacitor C14, an output end of the operational amplifier IC1B being connected with a second end of the resistor R6 and a first end of the resistor R11, a second end of the resistor R11 being connected with a negative electrode of the diode DZ1 and a first end of the capacitor C11 as an output end of the internal resistance acquisition module and connected with an input end of the control module, and second ends of the capacitors C11, C13, C14 and a positive electrode of the diode DZ1 being grounded.
[0013] Optionally, after the control module receives the plurality of analog battery temperature values acquired by the temperature acquisition module and the plurality of analog battery internal resistance values acquired by the internal resistance acquisition module, the plurality of analog battery temperature values and the plurality of analog battery internal resistance values are arranged in descending order, filtered, and then averaged to obtain the final temperature value and the final internal resistance value.
[0014] Optionally, the arrangement, filtering, and averaging of the plurality of analog battery temperature values and the plurality of analog battery internal resistance values in descending order to obtain the final temperature value and the final internal resistance value are as follows:
[0015]
[0016] wherein the number of received analog battery temperature values and analog battery internal resistance values is j, and the received analog battery temperature values and analog battery internal resistance values are arranged in descending order; tc n and res nrespectively represent the n th simulated battery temperature value and the n th simulated battery internal resistance value after arrangement; the first i simulated battery temperature values and the first i simulated battery internal resistance values and the last i simulated battery temperature values and the last i simulated battery internal resistance values are removed respectively, and the j-2i remaining simulated battery temperature values and simulated battery internal resistance values are averaged respectively to obtain the final temperature value TC and the final internal resistance value Res; the final temperature value TC is identified as the current temperature value, and the final internal resistance value Res is identified as the current internal resistance value.
[0017] Optionally, the battery simulation device further comprises an interactive display module for displaying the simulated battery temperature value, the simulated battery voltage value and the simulated battery internal resistance value received by the control module, the interactive display module comprising a backlight panel LCD1, an LCD drive chip IC4, a resistor R42, a resistor R43, a resistor R44, a resistor R45, a resistor R46, a resistor R47, a resistor R48, a capacitor C29 and a triode Q4, the backlight panel LCD1 having 15 segment electrode pins and 4 common electrode pins, the backlight panel drive chip IC4 corresponding having 15 segment electrode pins and 4 common electrode pins, the two groups of segment electrode pins being connected one by one in correspondence, and the two groups of common electrode pins being connected one by one in correspondence; the chip select end of the backlight panel drive chip IC4 is connected to an output end of the power module through the resistor R43 and connected to the corresponding control signal output end of the control module, the write end of the backlight panel drive chip IC4 is connected to an output end of the power module through the resistor R42 and connected to the corresponding control signal output end of the control module, and the data end of the backlight panel drive chip IC4 is connected to an output end of the power module through the resistor R44 and connected to the corresponding control signal output end of the control module; the power supply end of the backlight panel drive chip IC4 is connected to an output end of the power module and grounded through the capacitor C29; the two power supply positive ends of the backlight panel LCD1 are connected to two corresponding output ends of the power module through the resistor R45 and the pin resistor R46 respectively, the two power supply negative ends of the backlight panel LCD1 are connected to each other and connected to the collector of the triode Q4, the base of the triode Q4 is connected to the first end of the resistor R47 and the first end of the resistor R48, the second end of the resistor R47 is connected to the backlight control signal, and the emitter of the triode Q4 is connected to the second end of the resistor R48 and grounded.
[0018] Optionally, the interactive display module further comprises keys SW1, SW2, SW3 and SW4 for inputting user setting instructions, the first ends of the four keys being connected to four corresponding input ports of the control module respectively, and the second ends of the four keys being grounded.
[0019] Optionally, the battery simulation device further comprises a CAN communication module for communication between the control module and the host computer, the CAN communication module comprising a CAN transceiver U6, a resistor R49, a resistor R50 and a resistor R51, the power supply end of the CAN transceiver U6 being connected with the corresponding output end of the power supply module, the receiving port of the CAN transceiver U6 being connected with the corresponding receiving port of the control module via the resistor R49, the sending port of the CAN transceiver U6 being connected with the corresponding sending port of the control module via the resistor R50, the high serial port end of the CAN transceiver U6 being connected with the corresponding high serial port end of the host computer, the low serial port end of the CAN transceiver U6 being connected with the corresponding low serial port end of the host computer, the resistor R51 being connected between the high serial port end and the low serial port end, and the ground end of the CAN transceiver U6 being grounded.
[0020] By adopting the embodiment of the present application, the following beneficial effects are achieved:
[0021] Through the implementation of the battery simulation device provided by the present application, the following functions are achieved: 1) the internal resistance simulation of the single battery simulation device is realized; 2) the temperature simulation of the single battery simulation device is realized; 3) the voltage simulation of the single battery simulation device is realized; 4) the collected internal resistance and temperature data are filtered and calculated to be more accurate; 5) the working parameters can be set through the interactive display module and the setting is simple, the working process is highly visible, and the data storage function can avoid secondary parameter setting and realize continuous information recording. BRIEF DESCRIPTION OF DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.
[0023] Among them:
[0024] Figure 1 A structural block diagram of the battery simulation device provided by the embodiment of the present application is shown in the following figure:
[0025] Figure 2 A specific circuit schematic diagram of the battery voltage simulation output module of the battery simulation device provided by the embodiment of the present application is shown in the following figure:
[0026] Figure 3 A specific circuit schematic diagram of the temperature collection module of the battery simulation device provided by the embodiment of the present application is shown in the following figure:
[0027] Figure 4A specific circuit schematic of the internal resistance acquisition module of the battery simulation device provided by the embodiment of the present application is provided;
[0028] Figure 5 A specific circuit schematic of the interactive display module of the battery simulation device provided by the embodiment of the present application is provided;
[0029] Figure 6 A specific circuit schematic of the CAN communication module of the battery simulation device provided by the embodiment of the present application is provided;
[0030] Figure 7 A specific circuit schematic of the control module of the battery simulation device provided by the embodiment of the present application is provided. DETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
[0032] The technical features of the above embodiments can be combined in any manner. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combinations of the technical features do not exist contradictions, they should be considered as the scope of the present application.
[0033] Please refer to Figure 1 A structural schematic of the battery simulation device in the embodiment of the present application is shown in the figure, which comprises: a battery voltage simulation output module, configured to simulate the voltage of each working stage of the battery according to a control signal and output;
[0034] A temperature acquisition module, the acquisition end of which is connected with an external temperature simulator, configured to acquire and output the simulated battery temperature signal provided by the external temperature simulator;
[0035] An internal resistance acquisition module, the acquisition end of which is connected with an external resistance simulator, configured to acquire and output the simulated battery internal resistance signal provided by the external resistance simulator;
[0036] A control module, the control end of which is connected with the input end of the battery voltage simulation output module, the input end of which is connected with the output end of the battery voltage simulation output module, the output end of the temperature acquisition module and the output end of the internal resistance acquisition module, configured to control the battery voltage simulation output module to output a set voltage value and output the processed voltage value of the battery voltage simulation output module, the simulated battery temperature value of the temperature acquisition module and the simulated battery internal resistance value of the internal resistance acquisition module to an upper computer after processing;
[0037] The power module is connected with an external power source at an input end and connected with the power supply end of the battery voltage analog output module, the power supply end of the temperature acquisition module, the power supply end of the internal resistance acquisition module and the power supply end of the control module at an output end, and is used for converting the external power source into power supply signals adapted to each module to provide power supply.
[0038] The power module of the embodiment can obtain the corresponding DC voltage signals of each module after rectifying, filtering and step-down processing of the external 220V AC power, and the specific circuit is not described here.
[0039] Through the battery simulation device of the embodiment, on the basis of simulating the voltage change of the single battery, the temperature and internal resistance changes can also be simulated, which is convenient for the development of the battery management system of the upper computer, the parameter setting is simple, the working process has high visibility, and the data storage function can realize continuous information recording while avoiding secondary parameter setting.
[0040] Specifically, referring to Figure 2 and Figure 7The battery voltage analog output module comprises a power supply chip U4, an operational amplifier chip U5, resistors R28, R29, R30, R31, R32, R33, R34, R35, R36, R37, R38, capacitors EC8, EC9, C25, C26, C27, C28, light emitting diodes LED4, LED5, field effect tubes Q1, Q2, and Q3, the enable end EN of the power supply chip U4 is connected with the source of the field effect tube Q1, the first end of the resistor R32, and the first end of the resistor R33, the power input end IN of the power supply chip U4 is connected with an output end of the power supply module, the drain of the field effect tube Q1, the first end of the resistor R30, the first end of the resistor R28, the first end of the capacitor C25, the first end of the capacitor C26, and the positive pole of the capacitor EC8, the adjusting end ADJ of the power supply chip U4 is connected with the first end of the capacitor C27, the first end of the resistor R37, and the drain of the field effect tube Q3, the signal input / output end PAD of the power supply chip U4 is connected with the first end of the capacitor C27 and grounded, the second end of the resistor R28 is connected with the positive pole of the light emitting diode LED4, the gate of the field effect tube Q1 is connected with the second end of the resistor R30 and the first end of the resistor R29, the first end of the resistor R31 is connected with an enable signal enable, the gate of the field effect tube Q2 is connected with the second end of the resistor R31 and the first end of the resistor R38, the drain of the field effect tube Q2 is connected with the second end of the resistor R29, the power positive end VCC of the operational amplifier chip U5 is connected with an output end of the power supply module, an input port IN2- of the operational amplifier chip U5 is connected with an output port OUT2 and the first end of the resistor R35, an input port IN2+ of the operational amplifier chip U5 is connected with the first end of the R36, the second end of the resistor R36 is connected with a control end Power_adj of the control module as an input end Power_adj of the battery voltage analog output module, the gate of the field effect tube Q3 is connected with the second end of the resistor R35, the source of the field effect tube Q3 is connected with the first end of the resistor R34, and an output end OUT of the power supply chip U4 is connected with the second end of the resistor R37, the first end of the capacitor C28, and the positive pole of the capacitor EC9 as an output end OUT of the battery voltage analog output module and an input end OUT of the control module.The ground terminal GND of the power supply chip U4, the power supply negative terminal VEE of the operational amplifier chip U5, the source of the field effect transistor Q2, the negative pole of the light emitting diode LED4, the negative pole of the light emitting diode LED5, the negative pole of the capacitor EC8, the negative pole of the capacitor EC9, the second terminal of the capacitor C25, the second terminal of the capacitor C26, the second terminal of the capacitor C28, the second terminal of the resistor R38, the second terminal of the resistor R32 and the second terminal of the resistor R34 are all grounded.
[0041] In the embodiment, the field effect transistor Q1 is preferably a P-channel MOS transistor, the field effect transistors Q2 and Q3 are preferably N-channel MOS transistors; the enable signal enable can be externally input or given by the control module, when the enable signal enable is at a high level, the field effect transistor Q2 is turned on, so that the gate level of the field effect transistor Q1 is pulled down, the field effect transistor Q1 is also turned on, and the enable terminal EN of the power supply chip U4 is at a high level, at this time, the power supply chip U4 starts to work; the input terminal IN2+ of the operational amplifier chip U5 receives the control signal output by the control terminal Power_adj of the control module, and the output terminal OUT2 outputs the corresponding control signal to the field effect transistor Q3, by controlling the on-off of the field effect transistor and cooperating with the adjustment terminal of the power supply chip, the output voltage of the output terminal OUT of the whole battery voltage analog output module is adjusted.
[0042] In the embodiment, the voltage value output by the battery voltage analog output module is adjustable between 0.6-5V.
[0043] Specifically, refer to Figure 3 and Figure 7The temperature acquisition module comprises resistors R22, R23, R24, R25, R26, R29, R30, R31, capacitors C5, C7, C20, C21, C22, C24, an operational amplifier IC1A, a diode DZ2, and a connector P1 connected with the external temperature simulator. An input end of the connector P1 is connected with the external temperature simulator as an acquisition end of the temperature acquisition module. An output end of the connector P1 is connected with a first end of the capacitor C24, a first end of the resistor R31, and a first end of the resistor R25. Another output end of the connector P1 is connected with a first end of the resistor R24 and a first end of the resistor R29. A second end of the resistor R24 is connected with a second end of the resistor R25 and an output end of the power module. A second end of the resistor R29 is connected with a first end of the resistor R30 and a first end of the capacitor C21. A positive input end of the operational amplifier IC1A is connected with a second end of the resistor R30 and a first end of the capacitor C22. A negative input end of the operational amplifier IC1A is connected with a first end of the resistor R22 and a first end of the resistor R23. An output end of the operational amplifier IC1A is connected with a second end of the resistor R23 and a first end of the resistor R26. A power supply end of the operational amplifier IC1A is connected with a first end of the capacitor C5 and a first end of the capacitor C7 and an output end of the power module. A second end of the resistor R26 is connected with a negative electrode of the diode DZ2 and a first end of the capacitor C20 as an output end TC of the temperature acquisition module connected with an input end TC of the control module. Second ends of the capacitors C5, C7, C20, C21, C22, C24, the resistor R31, the resistor R22, the positive electrode of the diode DZ2, and the ground end of the operational amplifier IC1A are grounded.
[0044] The temperature value output by the external temperature simulator is converted into a corresponding voltage value by the operational amplifier IC1A of the temperature acquisition module and transmitted to the control module through the output end TC of the temperature acquisition module. The control module processes the temperature value internally and uploads the temperature value to the upper computer for display or transmits the temperature value to the interactive display module for temperature display.
[0045] Specifically, referring to Figure 4 and Figure 7The internal resistance acquisition module comprises resistors R6, R7, R8, R10, R11, R14, R15, R16, capacitors C11, C12, C13, C14, an operational amplifier IC1B, a diode DZ1, and a connecting piece JP2 connected with the external resistance simulator, an input end of the connecting piece JP2 being connected with the external resistance simulator as an acquisition end of the internal resistance acquisition module, one output end of the connecting piece JP2 being connected with a first end of the capacitor C12 and a first end of the resistor R16 and grounded, another output end of the connecting piece JP2 being connected with first ends of the resistors R8 and R14, a first end of the resistor R7 being connected with a first end of the resistor R10, a second end of the resistor R16, and a second end of the capacitor C12, a second end of the resistor R7 being connected with a second end of the resistor R8 as a power supply end of the internal resistance acquisition module and connected with an output end of the power supply module, a second end of the resistor R14 being connected with a first end of the resistor R15 and a first end of the capacitor C13, an inverting input end of the operational amplifier IC1B being connected with a second end of the resistor R10 and a first end of the resistor R6, a non-inverting input end of the operational amplifier IC1B being connected with a second end of the resistor R15 and a first end of the capacitor C14, and an output end of the operational amplifier IC1B being connected with a second end of the resistor R6 and a first end of the resistor R11, a second end of the resistor R11 being connected with a negative electrode of the diode DZ1 and a first end of the capacitor C11 as an output end Res of the internal resistance acquisition module and connected with an input end Res of the control module, and second ends of the capacitors C11, C13, C14 and a positive electrode of the diode DZ1 being grounded.
[0046] The analog internal resistance value output by the external resistance simulator is converted into a corresponding voltage value by the operational amplifier IC1B of the internal resistance acquisition module and transmitted to the control module through the output end Res of the internal resistance acquisition module, processed internally by the control module, and uploaded to the upper computer for display or transmitted to the interactive display module for internal resistance display.
[0047] Specifically, after the control module receives a plurality of analog battery temperature values collected by the temperature acquisition module and a plurality of analog battery internal resistance values collected by the internal resistance acquisition module, the plurality of analog battery temperature values and the plurality of analog battery internal resistance values are sorted in descending order, filtered, and averaged to obtain final temperature values and internal resistance values.
[0048] Specifically, after the control module receives a plurality of analog battery temperature values collected by the temperature acquisition module and a plurality of analog battery internal resistance values collected by the internal resistance acquisition module, the plurality of analog battery temperature values and the plurality of analog battery internal resistance values are sorted in descending order, filtered, and averaged to obtain final temperature values and internal resistance values.
[0049]
[0050] Wherein, the received analog battery temperature value and analog battery resistance value number are j, and the received analog battery temperature value and analog battery resistance value are arranged in descending order, respectively, tc n And res n Respectively represent the n th analog battery temperature value and the n th analog battery resistance value after arrangement, respectively remove the first i analog battery temperature value, the analog battery resistance value and the last i analog battery temperature value, the analog battery resistance value, and average the remaining j-2i analog battery temperature value and analog battery resistance value to obtain the final temperature value TC and resistance value Res; The final temperature value TC is identified as the current temperature value, and the final temperature value Res is identified as the current resistance value.
[0051] Further, refer to Figure 5 And Figure 7, the battery simulation device further comprises an interactive display module for displaying the simulated battery temperature value, the simulated battery voltage value and the simulated battery internal resistance value received by the control module, the interactive display module comprises a backlight panel LCD1, an LCD drive chip IC4, resistors R42, R43, R44, R45, R46, R47, R48, a capacitor C29 and a transistor Q4, the backlight panel LCD1 has 15 segment electrode pins (SEG5-SEG19) and 4 common electrode pins (COM1-COM4), the backlight panel drive chip IC4 also has 15 segment electrode pins (SEG5-SEG19) and 4 common electrode pins (COM1-COM4) corresponding, and the two groups of segment electrode pins (SEG5-SEG19) and the two groups of common electrode pins (COM1-COM4) are connected one by one in a one-to-one correspondence; the chip select end CS# of the backlight panel drive chip IC4 is connected to an output end of the power module through the resistor R43 and connected to the corresponding control signal output end CS# of the control module, the write end WR# of the backlight panel drive chip IC4 is connected to an output end of the power module through the resistor R42 and connected to the corresponding control signal output end WR# of the control module, the data end DATA of the backlight panel drive chip IC4 is connected to an output end of the power module through the resistor R44 and connected to the corresponding control signal output end DATA of the control module; the power end (VLCD, VDD) of the backlight panel drive chip IC4 is connected to an output end of the power module and grounded through the capacitor C29; the two power positive ends (V1+, V2+) of the backlight panel LCD1 are connected to two corresponding output ends of the power module through the resistors R45 and R46 respectively, the two power negative ends (V1-, V2-) of the backlight panel LCD1 are connected to each other and connected to the collector of the transistor Q4, the base of the transistor Q4 is connected to the first end of the resistor R47 and the first end of the resistor R48, the second end of the resistor R47 is connected to the backlight control signal LED, and the emitter of the transistor Q4 is connected to the second end of the resistor R48 and grounded.
[0052] The backlight control signal LED can be input externally or given by the control module, when the backlight control signal LED is at a high level, the transistor Q4 is turned on, at this time, the two power negative ends of the backlight panel LCD1 are pulled low to a low level, the backlight panel LCD1 works normally, and the signals of the segment electrode pins (SEG5-SEG19) and the common electrode pins (COM1-COM4) can be displayed according to the corresponding information of the control module corresponding to the backlight panel drive chip IC4. The backlight panel drive chip IC4 displays the real-time simulated voltage value, simulated temperature value and simulated internal resistance value according to the relevant information written by the control module.
[0053] Further, the interactive display module further comprises a key SW1, a key SW2, a key SW3, and a key SW4 for inputting user setting instructions, first ends (K1-K4) of the four keys are connected with four corresponding input ports (K1-K4) of the control module respectively, and second ends of the four keys are grounded.
[0054] When any key is pressed, the input port (K1-K4) corresponding to the key in the control module is set to low level, and then the control module outputs a corresponding setting voltage value from a control end Power_adj to the battery voltage analog output module according to pre-stored information, the output end OUT of the battery voltage analog output module outputs a corresponding voltage, which is fed back to the control module and sent to the interactive display module for display.
[0055] Further, referring to Figure 6 and Figure 7 , the battery analog device further comprises a CAN communication module for communication between the control module and the upper computer, the CAN communication module comprises a CAN transceiver U6, resistors R49, R50, and R51, power supply ends (VCC1, VCC2) of the CAN transceiver U6 are connected with corresponding output ends of the power module, a receiving port CANRX of the CAN transceiver U6 is connected with a corresponding receiving port CANRX of the control module through the resistor R49, a sending port CANTX of the CAN transceiver U6 is connected with a corresponding sending port CANTX of the control module through the resistor R50, a high-bit serial port end CANH of the CAN transceiver U6 is connected with a corresponding high-bit serial port end of the upper computer, a low-bit serial port end CANL of the CAN transceiver U6 is connected with a corresponding low-bit serial port end of the upper computer, the resistor R51 is connected between the high-bit serial port end CANH and the low-bit serial port end CANL, and ground ends (GND1, GND2) of the CAN transceiver U6 are grounded.
[0056] The upper computer and the control module are connected through the CAN communication protocol, and the data transmission storage process has a wide visual range.
[0057] The above-described embodiments only express several implementation manners of the present application, the description is relatively specific and detailed, but it cannot be understood as a limitation on the patent scope of the present application. It should be noted that, for ordinary skilled persons in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the patent protection scope of the present application should be subject to the appended claims.
Claims
1. A battery simulation device, characterized by, The battery simulation device comprises: a battery voltage simulation output module for simulating the voltage of each working stage of the battery according to a control signal and outputting; a temperature collection module, the collection end of which is connected with an external temperature simulator, for collecting and outputting the simulated battery temperature signal provided by the external temperature simulator; an internal resistance collection module, the collection end of which is connected with an external resistance simulator, for collecting and outputting the simulated battery internal resistance signal provided by the external resistance simulator; a control module, the control end of which is connected with the input end of the battery voltage simulation output module, the input end of which is connected with the output end of the battery voltage simulation output module, the output end of the temperature collection module and the output end of the internal resistance collection module, for controlling the battery voltage simulation output module to output a set voltage value and outputting to an upper computer after processing the received voltage value of the battery voltage simulation output module, the simulated battery temperature value of the temperature collection module and the simulated battery internal resistance value of the internal resistance collection module; a power module, the input end of which is connected with an external power source, the output end of which is connected with the power end of the battery voltage simulation output module, the power end of the temperature collection module, the power end of the internal resistance collection module and the power end of the control module, for converting the external power source into power signals suitable for each module to provide power supply; the internal resistance collection module comprises resistors R6, R7, R8, R10, R11, R14, R15, R16, capacitors C11, C12, C13, C14, an operational amplifier IC1B, a diode DZ1 and a connecting piece JP2 connected with the external resistance simulator, the input end of the connecting piece JP2 being connected with the external resistance simulator as the collection end of the internal resistance collection module, one output end of the connecting piece JP2 being connected with the first end of the capacitor C12 and the first end of the resistor R16 and grounded, the other output end of the connecting piece JP2 being connected with the first end of the resistor R8 and the first end of the resistor R14, the first end of the resistor R7 being connected with the first end of the resistor R10, the second end of the resistor R16 and the second end of the capacitor C12, the second end of the resistor R7 being connected with the second end of the resistor R8 as the power end of the internal resistance collection module and connected with one output end of the power module, the second end of the resistor R14 being connected with the first end of the resistor R15 and the first end of the capacitor C13, the inverting input end of the operational amplifier IC1B being connected with the second end of the resistor R10 and the first end of the resistor R6, the inverting input end of the operational amplifier IC1B being connected with the second end of the resistor R15 and the first end of the capacitor C14, the output end of the operational amplifier IC1B being connected with the second end of the resistor R6 and the first end of the resistor R11, the second end of the resistor R11 being connected with the negative electrode of the diode DZ1 and the first end of the capacitor C11 as the output end of the internal resistance collection module and connected with one input end of the control module, the second end of the capacitor C11, the second end of the capacitor C13, the second end of the capacitor C14 and the positive electrode of the diode DZ1 being grounded.
2. The battery simulation device of claim 1, wherein, The battery voltage analog output module comprises a power supply chip U4, an operational amplifier chip U5, a resistor R28, a resistor R29, a resistor R30, a resistor R31, a resistor R32, a resistor R33, a resistor R34, a resistor R35, a resistor R36, a resistor R37, a resistor R38, a capacitor EC8, a capacitor EC9, a capacitor C25, a capacitor C26, a capacitor C27, a capacitor C28, a light emitting diode LED4, a light emitting diode LED5, a field effect transistor Q1, a field effect transistor Q2 and a field effect transistor Q3, the enable end of the power supply chip U4 is connected with the source of the field effect transistor Q1, the first end of the resistor R32 and the first end of the resistor R33, the power input end of the power supply chip U4 is connected with an output end of the power supply module, the drain of the field effect transistor Q1, the first end of the resistor R30, the first end of the resistor R28, the first end of the capacitor C25, the first end of the capacitor C26 and the positive pole of the capacitor EC8, the regulating end of the power supply chip U4 is connected with the first end of the capacitor C27, the first end of the resistor R37 and the drain of the field effect transistor Q3, the signal input / output end of the power supply chip U4 is connected with the first end of the capacitor C27 and grounded, the second end of the resistor R28 is connected with the positive pole of the light emitting diode LED4, the gate of the field effect transistor Q1 is connected with the second end of the resistor R30 and the first end of the resistor R29, the first end of the resistor R31 is connected with an enable signal, the gate of the field effect transistor Q2 is connected with the second end of the resistor R31 and the first end of the resistor R38, the drain of the field effect transistor Q2 is connected with the second end of the resistor R29, the power positive end of the operational amplifier chip U5 is connected with an output end of the power supply module, one input port of the operational amplifier chip U5 is connected with one output port and connected with the first end of the resistor R35, one input port of the operational amplifier chip U5 is connected with the first end of the R36, the second end of the resistor R36 is connected with the control end of the control module as the input end of the battery voltage analog output module, the gate of the field effect transistor Q3 is connected with the second end of the resistor R35, the source of the field effect transistor Q3 is connected with the first end of the resistor R34, the output end of the power supply chip U4 is connected with the second end of the resistor R37, the first end of the capacitor C28 and the positive pole of the capacitor EC9 as the output end of the battery voltage analog output module and connected with one input end of the control module, the grounding end of the power supply chip U4, the power negative end of the operational amplifier chip U5, the source of the field effect transistor Q2, the negative pole of the light emitting diode LED4, the negative pole of the light emitting diode LED5, the negative pole of the capacitor EC8, the negative pole of the capacitor EC9, the second end of the capacitor C25, the second end of the capacitor C26, the second end of the capacitor C28, the second end of the resistor R38, the second end of the resistor R32 and the second end of the resistor R34 are grounded.
3. The battery simulation device of claim 2, wherein, The voltage value output by the battery voltage analog output module is adjustable between 0.6-5V.
4. The battery simulation device of claim 3, wherein, The temperature acquisition module comprises resistors R22, R23, R24, R25, R26, R29, R30, R31, capacitors C5, C7, C20, C21, C22, C24, an operational amplifier IC1A, a diode DZ2 and a connector P1 connected with the external temperature simulator, an input end of the connector P1 being connected with the external temperature simulator as an acquisition end of the temperature acquisition module, one output end of the connector P1 being connected with a first end of the capacitor C24, a first end of the resistor R31 and a first end of the resistor R25, another output end of the connector P1 being connected with a first end of the resistor R24 and a first end of the resistor R29, a second end of the resistor R24 being connected with a second end of the resistor R25 and connected with an output end of the power module, a second end of the resistor R29 being connected with a first end of the resistor R30 and a first end of the capacitor C21, a positive input end of the operational amplifier IC1A being connected with a second end of the resistor R30 and a first end of the capacitor C22, a negative input end of the operational amplifier IC1A being connected with a first end of the resistor R22 and a first end of the resistor R23, an output end of the operational amplifier IC1A being connected with a second end of the resistor R23 and a first end of the resistor R26, a power supply end of the operational amplifier IC1A being connected with a first end of the capacitor C5 and a first end of the capacitor C7 and connected with an output end of the power module, a second end of the resistor R26 being connected with a negative electrode of the diode DZ2 and a first end of the capacitor C20 as an output end of the temperature acquisition module and connected with an input end of the control module, and second ends of the capacitor C5, the capacitor C7, the capacitor C20, the capacitor C21, the capacitor C22, the capacitor C24, the resistor R31, the resistor R22, a positive electrode of the diode DZ2 and a grounding end of the operational amplifier IC1A being grounded.
5. The battery simulation device according to claim 1 or 4, characterized by After the control module receives the plurality of analog battery temperature values acquired by the temperature acquisition module and the plurality of analog battery internal resistance values acquired by the internal resistance acquisition module, the plurality of analog battery temperature values and the plurality of analog battery internal resistance values are arranged in descending order, filtered and averaged to obtain the final temperature value and the final internal resistance value.
6. The battery simulation device of claim 5, wherein, The final temperature value and the final internal resistance value obtained by arranging the plurality of analog battery temperature values and the plurality of analog battery internal resistance values in descending order, filtering and averaging are as follows: (1) Wherein, the received analog battery temperature value and analog battery resistance value number are j , and the received analog battery temperature value and analog battery resistance value number are arranged in descending order respectively; tc n , and res n respectively represent the first n analog battery temperature value and the first n analog battery resistance value after arrangement; the first i analog battery temperature value, analog battery resistance value and the last i analog battery temperature value, analog battery resistance value are removed respectively, and the remaining j-2i analog battery temperature value and analog battery resistance value are averaged respectively to obtain the final temperature value TC and resistance value Res ; the final temperature value TC is identified as the current temperature value, and the final temperature value Res is identified as the current resistance value.
7. The battery simulation device of claim 1, wherein, It also includes an interactive display module for displaying the analog battery temperature value, the analog battery voltage value and the analog battery internal resistance value received by the control module, the interactive display module comprising a backlight panel LCD1, an LCD drive chip IC4, resistors R42, R43, R44, R45, R46, R47, R48, a capacitor C29 and a transistor Q4, the backlight panel LCD1 having 15 segment electrode pins and 4 common electrode pins, the backlight panel drive chip IC4 corresponding having 15 segment electrode pins and 4 common electrode pins, the two sets of segment electrode pins being connected one by one in correspondence, and the two sets of common electrode pins being connected one by one in correspondence; the chip select end of the backlight panel drive chip IC4 is connected to an output end of the power module through the resistor R43 and connected to the corresponding control signal output end of the control module, the write end of the backlight panel drive chip IC4 is connected to an output end of the power module through the resistor R42 and connected to the corresponding control signal output end of the control module, the data end of the backlight panel drive chip IC4 is connected to an output end of the power module through the resistor R44 and connected to the corresponding control signal output end of the control module; the power supply end of the backlight panel drive chip IC4 is connected to an output end of the power module and grounded through the capacitor C29; the two power supply positive ends of the backlight panel LCD1 are connected to two corresponding output ends of the power module through resistors R45 and pin resistors R46 respectively, the two power supply negative ends of the backlight panel LCD1 are connected to each other and connected to the collector of the transistor Q4, the base of the transistor Q4 is connected to the first end of the resistor R47 and the first end of the resistor R48, the second end of the resistor R47 is connected to the backlight control signal, and the emitter of the transistor Q4 is connected to the second end of the resistor R48 and grounded.
8. The battery simulation device of claim 7, wherein, The interactive display module further comprises keys SW1, SW2, SW3 and SW4 for inputting user setting instructions, the first ends of the four keys being connected to four corresponding input ports of the control module respectively, and the second ends of the four keys being grounded.
9. The battery simulation device of claim 1, wherein, It also includes a CAN communication module for communication between the control module and the upper computer, the CAN communication module comprising a CAN transceiver U6, resistors R49, R50 and R51, the power supply end of the CAN transceiver U6 being connected to the corresponding output end of the power module, the receiving port of the CAN transceiver U6 being connected to the corresponding receiving port of the control module through the resistor R49, the sending port of the CAN transceiver U6 being connected to the corresponding sending port of the control module through the resistor R50, the high-bit serial port end of the CAN transceiver U6 being connected to the corresponding high-bit serial port end of the upper computer, the low-bit serial port end of the CAN transceiver U6 being connected to the corresponding low-bit serial port end of the upper computer, the resistor R51 being connected between the high-bit serial port end and the low-bit serial port end, and the ground end of the CAN transceiver U6 being grounded.
Citation Information
Patent Citations
BMS detection device based on voltage of each single cell analog module
CN208537640U
Battery simulator circuit and battery simulator
CN210835009U
Wireless temperature control panel with adjustable output voltage
CN213338463U