Battery simulation circuit and battery simulation device
By combining the control module, voltage acquisition module, and voltage output module, the complexity of hardware and software processing in existing battery simulation circuits is solved, hardware costs and software processes are simplified, and the testing requirements of multi-channel battery sampling circuits are met.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2026-03-13
AI Technical Summary
Existing battery simulation circuits, while ensuring voltage output accuracy, suffer from significant hardware and software complexity issues. This is especially true when testing multi-channel battery sampling circuits, where hardware costs and complexity increase, and the software processing flow of the microcontroller becomes more complex.
The system employs a combination of a control module, a voltage acquisition module, and n voltage output modules. The voltage acquisition module samples the analog voltages from the n voltage output modules and feeds the sampled voltages back to the control module, simplifying the hardware design and software processing flow.
It reduces the complexity and cost of hardware design, simplifies the software processing flow of the microcontroller unit, improves the accuracy and flexibility of voltage output, and meets the testing requirements of multi-channel battery sampling circuits.
Smart Images

Figure CN121656935A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of battery sampling and testing technology, and in particular relates to a battery simulation circuit and a battery simulation device. Background Technology
[0002] A Battery Management System (BMS) is used for intelligent management and maintenance of individual battery cells, preventing overcharging and over-discharging, extending battery life, and monitoring battery status.
[0003] To ensure the quality of the Battery Management System (BMS), extensive testing is required, such as testing the battery sampling circuit within the BMS. Considering safety, testing flexibility, cost, and efficiency, battery simulation circuits are typically used to simulate the monitored cells in the BMS, outputting simulated voltages to the battery sampling circuit to test its performance.
[0004] Current battery simulation circuits require multiple ADCs (Analog-to-Digital Converters) and operational amplifiers to implement output feedback. When simulating multiple battery cells to meet the testing requirements of multi-cell battery sampling circuits, multiple feedback channels are needed, which increases hardware cost and complexity. Furthermore, the microcontroller unit in the battery simulation circuit needs to communicate with these multiple feedback channels to obtain their results. This not only increases the complexity and cost of the hardware design but also makes the software processing flow of the microcontroller unit more complex. Summary of the Invention
[0005] This application provides a battery simulation circuit and a battery simulation device, which can solve the complexity problems in hardware and software processing of current battery simulation circuits while ensuring voltage output accuracy.
[0006] In a first aspect, embodiments of this application provide a battery simulation circuit, including a control module, a voltage acquisition module, and n voltage output modules. The voltage acquisition module is connected to the control module and the n voltage output modules respectively. The control module is connected to the n voltage output modules respectively. The n voltage output modules are respectively used to be connected to the n sampling channels of the sampling circuit of the battery under test, where n is a natural number greater than 0.
[0007] The control module is used to output n control signals; each voltage output module is used to output a target voltage according to the control signal, so that each sampling channel of the battery under test sampling circuit samples the corresponding target voltage to obtain a target test voltage; the voltage acquisition module is used to sample the n target voltages to obtain n target sampling voltages; the control module is also used to adjust the n control signals according to the n target sampling voltages, thereby adjusting the n target voltages respectively.
[0008] In one possible implementation of the first aspect, the control module is further configured to connect to the control module in the sampling circuit of the battery under test;
[0009] The control module in the battery simulation circuit is also used to receive n target test voltages and determine whether the n sampling channels of the battery sampling circuit under test are qualified based on the n target sampling voltages and the n target test voltages respectively.
[0010] In one possible implementation of the first aspect, the voltage output module includes an isolated power supply unit and a voltage regulator unit, wherein the voltage regulator unit is connected to the sampling channels of the isolated power supply unit, the voltage acquisition module, the control module, and the sampling circuit of the battery under test, respectively.
[0011] The isolated power supply unit is used to output a first voltage; the voltage regulator unit is used to output the target voltage according to the first voltage and the control signal.
[0012] In one possible implementation of the first aspect, the voltage regulating unit includes a first voltage regulating subunit and a second voltage regulating subunit, wherein the first voltage regulating subunit is connected to the isolated power supply unit and the second voltage regulating subunit respectively, and the second voltage regulating subunit is connected to the sampling channel of the control module, the voltage acquisition module and the sampling circuit of the battery under test respectively;
[0013] The first voltage regulator unit is used to output a second voltage based on the first voltage; the second voltage regulator unit is used to output the target voltage based on the second voltage and the control signal.
[0014] In one possible implementation of the first aspect, the first voltage regulator subunit includes a first voltage regulator, the input of which is connected to the isolated power supply unit, and the output of which is connected to the second voltage regulator subunit.
[0015] In one possible implementation of the first aspect, the second voltage regulator subunit includes a second voltage regulator, the input terminal of the second voltage regulator is connected to the first voltage regulator subunit, the output terminal of the second voltage regulator is connected to the sampling channels of the voltage acquisition module and the battery under test sampling circuit, and the feedback terminal of the second voltage regulator is connected to the control module.
[0016] In one possible implementation of the first aspect, the isolated power supply unit includes an isolated DC-DC converter, the input of which is used to receive a supply voltage, and the output of which is connected to the voltage regulator unit.
[0017] The isolated DC-DC converter is used to output the first voltage according to the supply voltage.
[0018] In one possible implementation of the first aspect, the voltage acquisition module includes a voltage acquisition chip, the n sampling channels of the voltage acquisition chip are respectively connected to the n voltage output modules, and the output terminal of the voltage acquisition chip is connected to the control module.
[0019] In one possible implementation of the first aspect, the control module includes a first isolation unit, a second isolation unit, and a control unit, wherein the control unit is connected to the first isolation unit and the second isolation unit respectively, the first isolation unit is connected to n voltage output modules respectively, and the second isolation unit is connected to the voltage acquisition module;
[0020] The control unit is used to output n control signals; the first isolation unit is used to transmit the n control signals to the n voltage output modules respectively; the second isolation unit is used to transmit the n target sampling voltages to the control unit; the control unit is also used to adjust the n control signals according to the n target sampling voltages respectively, thereby adjusting the n target voltages respectively.
[0021] Secondly, embodiments of this application provide a battery simulation device, including the battery simulation circuit described in any one of the first aspects.
[0022] The beneficial effects of the embodiments in this application compared with the prior art are:
[0023] This application provides a battery simulation circuit, including a control module, a voltage acquisition module, and n voltage output modules. The voltage acquisition module is connected to both the control module and the n voltage output modules. The control module is connected to each of the n voltage output modules. The n voltage output modules are respectively connected to the n sampling channels of the sampling circuit of the battery under test. Here, n is a natural number greater than 0.
[0024] The control module outputs n control signals. Each voltage output module outputs a target voltage (i.e., the analog voltage of the monitored cell) based on the control signal, causing each sampling channel of the battery sampling circuit to sample the corresponding target voltage to obtain the target test voltage. The voltage acquisition module samples the n target voltages to obtain n target sampled voltages. The control module also adjusts the n control signals based on the n target sampled voltages, thereby adjusting the n target voltages individually.
[0025] This application samples the analog voltages output from n voltage output modules using a voltage acquisition module, and transmits the sampled n analog voltages to a control module to achieve n-channel output feedback. Compared to existing multi-channel feedback schemes, this application reduces the complexity and cost of hardware design. Furthermore, the control module only needs to communicate with the voltage acquisition module to obtain the n-channel feedback results. Compared to existing microcontroller units that need to communicate with multiple feedback channels to obtain results, this application reduces hardware design complexity and cost, and also simplifies the software processing flow of the control module.
[0026] In summary, the battery simulation circuit provided in this application embodiment solves the complexity problems existing in the hardware and software processing of current battery simulation circuits.
[0027] It is understandable that the beneficial effects of the second aspect mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1 This is a schematic block diagram of a battery simulation circuit provided in one embodiment of this application;
[0030] Figure 2 This is a schematic block diagram of a battery simulation circuit provided in another embodiment of this application;
[0031] Figure 3 This is a schematic block diagram of a battery simulation circuit provided in another embodiment of this application;
[0032] Figure 4 This is a schematic block diagram of a battery simulation circuit provided in another embodiment of this application;
[0033] Figure 5 This is a schematic block diagram of a battery simulation circuit provided in another embodiment of this application.
[0034] In the diagram: 10, Voltage Output Module; 11, Isolated Power Supply Unit; 111, Isolated DC-DC Converter; 12, Voltage Regulator Unit; 121, First Voltage Regulator Subunit; 1211, First Voltage Regulator; 122, Second Voltage Regulator Subunit; 1221, Second Voltage Regulator; 20, Voltage Acquisition Module; 21, Voltage Acquisition Chip; 30, Control Module; 31, First Isolation Unit; 32, Control Unit; 33, Second Isolation Unit; 40, BMS System; 41, Sampling Circuit of the Battery Under Test. Detailed Implementation
[0035] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0036] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0037] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0038] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [the described condition or event] is detected," or "in response to detection of [the described condition or event]."
[0039] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0040] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0041] Currently, battery simulators are commonly used to simulate the monitored cells in a BMS. However, battery simulators are large in size, have few output channels, and are expensive, which cannot meet the testing needs of a large number of samples.
[0042] Based on this, existing technology provides a battery simulation circuit. Its working principle is as follows: the input voltage passes through an isolated power supply module (using a pre-packaged isolated power supply module), and then through an adjustable linear regulator to simulate the output voltage of a battery cell. The output voltage is adjusted by changing the resistance value of a digital potentiometer connected to the feedback pin of the linear regulator, and the adjustment of the digital potentiometer's resistance value is achieved by sending commands from the control module. However, this battery simulation circuit lacks overall feedback; after the main control module sends a command, it is uncertain whether the output voltage will adjust as expected. Therefore, it can only be used for functional testing and cannot meet performance testing requirements.
[0043] Existing technology two proposes a battery simulation circuit. Its working principle is as follows: the input voltage passes through an isolated power supply module (using a pre-packaged isolated power supply module), and then through an adjustable power supply with feedback to simulate the cell output voltage. The DAC module in the main controller outputs an analog voltage signal to the feedback pin of the adjustable power supply to adjust the output voltage. This scheme has both current and voltage feedback at the output. However, this scheme requires multiple ADC converters and multiple operational amplifiers to implement output feedback. When multiple channels need to be simulated, multiple feedback channels are required, which increases hardware cost and complexity. Furthermore, the microcontroller unit in this scheme needs to communicate with the multiple feedback channels (meaning the microcontroller unit needs multiple communication interfaces and multiple communication isolation circuits) to obtain the feedback results. This not only increases the complexity and cost of the hardware design but also makes the software processing flow of the microcontroller unit more complex.
[0044] To address the above problems, embodiments of this application provide a battery simulation circuit, such as... Figure 1As shown, the battery simulation circuit includes a control module 30, a voltage acquisition module 20, and n voltage output modules 10. The voltage acquisition module 20 is connected to the control module 30 and the n voltage output modules 10 respectively. The control module 30 is connected to the n voltage output modules 10 respectively. The n voltage output modules 10 are respectively used to connect to the n sampling channels of the battery sampling circuit 41 under test in the BMS system 40, where n is a natural number greater than 0.
[0045] Specifically, the control module 30 outputs n control signals. Each voltage output module 10 outputs a target voltage (i.e., the analog voltage of the monitored cell) according to the control signal, causing each sampling channel of the battery sampling circuit 41 to sample the corresponding target voltage to obtain the target test voltage. The voltage acquisition module 20 samples the n target voltages to obtain n target sampled voltages. The control module 30 also adjusts the n control signals according to the n target sampled voltages, thereby adjusting the n target voltages respectively.
[0046] As described above, this application samples the analog voltages output by the n voltage output modules 10 through the voltage acquisition module 20, and transmits the sampled n analog voltages to the control module 30 to achieve n-channel output feedback. Compared with the multi-channel feedback scheme in the prior art, this application reduces the complexity and cost of hardware design. Compared with the scheme in the prior art, the analog voltages output in this application can be fed back to the control module 30, allowing the control module 30 to confirm whether the output analog voltages are adjusted as expected. If the expected values are not met, the control module 30 can adjust the output analog voltages to meet the expectations.
[0047] Meanwhile, the control module 30 only needs to communicate with the voltage acquisition module 20 to obtain n feedback results. Compared with the prior art, where the microcontroller unit needs to communicate with multiple feedback channels to obtain multiple feedback results, this application reduces the complexity and cost of hardware design and simplifies the software processing flow of the control module 30.
[0048] In summary, the battery simulation circuit provided in this application embodiment solves the complexity problems existing in the hardware and software processing of current battery simulation circuits.
[0049] It should be noted that the voltage output module 10 in this application is a separate circuit module. The number of voltage output modules 10 can be flexibly configured according to the test requirements of different systems, so as to flexibly configure the output channels of the battery simulation circuit and thus meet the actual test requirements.
[0050] In some embodiments, such as Figure 2 As shown, the control module 30 is also used to connect to the control module in the battery sampling circuit 41 under test.
[0051] Specifically, the control module 30 in the battery simulation circuit is also used to receive n target test voltages and determine whether the n sampling channels of the battery sampling circuit 41 under test are qualified based on the n target sampling voltages and the n target test voltages.
[0052] As can be seen from the above, the control module 30 in this application can also communicate with the control module in the battery sampling circuit 41 under test to determine whether the n sampling channels of the battery sampling circuit 41 under test are qualified.
[0053] In some embodiments, such as Figure 3 As shown, the voltage output module 10 includes an isolated power supply unit 11 and a voltage regulator unit 12. The voltage regulator unit 12 is connected to the sampling channels of the isolated power supply unit 11, the voltage acquisition module 20, the control module 30, and the sampling circuit 41 of the battery under test.
[0054] Specifically, the isolation power supply unit 11 is used to output a first voltage. The voltage regulator unit 12 is used to output a target voltage based on the first voltage and a control signal. Since the first voltage output by the isolation power supply unit 11 has large ripple and noise, this application provides a voltage regulator unit 12 after the isolation power supply unit 11 to suppress the ripple and noise of the first voltage.
[0055] For example, such as Figure 5 As shown, the isolated power supply unit 11 includes an isolated DC-DC converter 111. The input terminal of the isolated DC-DC converter 111 is used to receive the power supply voltage, and the output terminal of the isolated DC-DC converter 111 is connected to the voltage regulator unit 12.
[0056] Specifically, the isolated DC-DC converter 111 is used to output a first voltage based on the supply voltage. Therefore, the isolated power supply unit 11 is mainly used to convert the supply voltage to obtain the first voltage. Simultaneously, the isolated power supply unit 11 also has an isolation function, effectively suppressing electromagnetic interference between power supplies to improve the electromagnetic compatibility of the entire circuit.
[0057] It should be noted that the isolated power supply unit 11 is built with discrete components. Compared with the packaged isolated power supply modules used in the prior art 1 and prior art 2, the isolated power supply unit 11 in this application has lower cost and higher flexibility.
[0058] In some embodiments, such as Figure 4 As shown, the voltage regulator unit 12 includes a first voltage regulator subunit 121 and a second voltage regulator subunit 122. The first voltage regulator subunit 121 is connected to the isolation power supply unit 11 and the second voltage regulator subunit 122 respectively. The second voltage regulator subunit 122 is connected to the sampling channels of the control module 30, the voltage acquisition module 20 and the battery sampling circuit 41 under test respectively.
[0059] Specifically, the first voltage regulator subunit 121 is used to output a second voltage based on the first voltage. The second voltage regulator subunit 122 is used to output a target voltage based on the second voltage and a control signal. Due to the influence of the output ripple and output accuracy of the first voltage regulator subunit 121, this application provides a second voltage regulator subunit 122 at the output terminal of the first voltage regulator subunit 121, which can further improve the output accuracy.
[0060] For example, such as Figure 5 As shown, the first voltage regulator subunit 121 includes a first voltage regulator 1211, the input terminal of which is connected to the isolated power supply unit 11, and the output terminal of which is connected to the second voltage regulator subunit 122. According to... Figure 5 It can be seen that the input terminal of the first voltage regulator 1211 is connected to the output terminal of the isolated DC-DC converter 111. The first voltage regulator 1211 is used to output a second voltage according to the first voltage. The first voltage regulator 1211 is a linear voltage regulator, which has the ability to suppress input ripple and can further reduce ripple.
[0061] For example, such as Figure 5 As shown, the second voltage regulator subunit 122 includes a second voltage regulator 1221. The input terminal of the second voltage regulator 1221 is connected to the first voltage regulator subunit 121, the output terminal of the second voltage regulator 1221 is connected to the sampling channels of the voltage acquisition module 20 and the battery sampling circuit 41 under test, respectively, and the feedback terminal of the second voltage regulator 1221 is connected to the control module 30. According to Figure 5 It can be seen that the input terminal of the second voltage regulator 1221 is connected to the output terminal of the first voltage regulator 1211. The second voltage regulator 1221 is used to output a target voltage according to the second voltage and the control signal. The second voltage regulator 1221 is located at the output terminal of the first voltage regulator 1211, which can further improve the output accuracy.
[0062] It should be noted that the second voltage regulator 1221 includes a voltage regulator that supports DAC output voltage regulation, a voltage regulator that supports digital potentiometer voltage regulation, or a voltage regulator that supports PWM (Pulse Width Modulation) voltage regulation. The control module 30 can output different voltage regulation signals according to the type of voltage regulator, which reduces the selection restrictions on the control module 30 and provides better adaptability.
[0063] according to Figure 5As can be seen, the voltage output module 10 in this application adopts a three-level architecture: an isolated DC-DC converter 111, a first voltage regulator 1211, and a second voltage regulator 1221. Compared with the scheme of using an isolated power supply module and a linear voltage regulator in the first prior art and the scheme of using an isolated power supply module and an adjustable power supply in the second prior art, this application further improves the output accuracy, and only needs to adjust the second voltage regulator 1221 to support multiple voltage regulation methods. At the same time, it also reduces the requirements for the control module 30 and has better adaptability.
[0064] In some embodiments, such as Figure 5 As shown, the voltage acquisition module 20 includes a voltage acquisition chip 21. The n sampling channels of the voltage acquisition chip 21 are respectively connected to n voltage output modules 10, and the output terminal of the voltage acquisition chip 21 is connected to the control module 30. According to... Figure 5 It can be seen that the n sampling channels of the voltage acquisition chip 21 are respectively connected to the output terminals of the n second voltage regulators 1221.
[0065] Specifically, the n sampling channels of the voltage acquisition chip 21 are used to sample the target voltages output by the n second voltage regulators 1221 to obtain n target test voltages.
[0066] This application achieves n-channel output feedback using only a voltage acquisition chip 21. Compared to the prior art's multi-channel feedback scheme, this application reduces the complexity and cost of hardware design.
[0067] For example, the voltage acquisition chip 21 can be a high-precision AFE (Analog Front End) chip, which can realize up to 16 output feedbacks.
[0068] In some embodiments, such as Figure 4 or Figure 5 As shown, the control module 30 includes a first isolation unit 31, a second isolation unit 33, and a control unit 32. The control unit 32 is connected to both the first isolation unit 31 and the second isolation unit 33. The first isolation unit 31 is connected to n voltage output modules 10, and the second isolation unit 33 is connected to the voltage acquisition module 20. Figure 5 It can be seen that the first isolation unit 31 is connected to the feedback terminals of n second voltage regulators 1221 respectively, and the second isolation unit 33 is connected to the voltage acquisition chip 21.
[0069] Specifically, the control unit 32 outputs n control signals. The first isolation unit 31 transmits the n control signals to the n voltage output modules 10 respectively. The first isolation unit 31 provides electrical isolation. The second isolation unit 33 transmits the n target sampled voltages to the control unit 32. The second isolation unit 33 also provides electrical isolation. The control unit 32 further adjusts the n control signals according to the n target sampled voltages, thereby adjusting the n target voltages respectively.
[0070] As can be seen from the above, the control unit 32 in this application communicates with the voltage acquisition chip 21 through a communication interface and a communication isolation unit (i.e., the second isolation unit 33) to obtain n-channel feedback results. Compared with the prior art, where the microcontroller needs to communicate with multiple feedback channels (which also means that the microcontroller needs multiple communication interfaces and multiple communication isolation circuits) to obtain multiple feedback results, this application reduces the complexity and cost of hardware design and simplifies the software processing flow of the control unit 32.
[0071] In some embodiments, such as Figure 4 or Figure 5 As shown, the control unit 32 is also used to connect to the control module in the battery sampling circuit 41 under test.
[0072] Specifically, the control unit 32 in the battery simulation circuit is also used to receive n target test voltages and determine whether the n sampling channels of the battery sampling circuit 41 under test are qualified based on the n target sampling voltages and the n target test voltages.
[0073] As can be seen from the above, the control unit 32 in this application can also communicate with the control module in the battery sampling circuit 41 under test to determine whether the n sampling channels of the battery sampling circuit 41 under test are qualified.
[0074] For example, the control unit 32 includes a controller. The controller in this application communicates with the voltage acquisition chip 21 through a communication interface and a communication isolation unit (i.e., the second isolation unit 33) to obtain n-channel feedback results. Compared to the prior art scheme where the microcontroller needs to communicate with multiple feedback channels (meaning the microcontroller needs multiple communication interfaces and multiple communication isolation circuits) to obtain multiple feedback results, this application reduces the complexity and cost of hardware design and simplifies the software processing flow of the controller.
[0075] In summary, the voltage output module 10 in this application is a separate circuit module. The number of voltage output modules 10 can be flexibly configured according to the testing requirements of different systems, so as to flexibly configure the output channels of the battery simulation circuit and thus meet the actual testing requirements.
[0076] The voltage output module 10 in this application adopts a three-level architecture: an isolated DC-DC converter 111, a first voltage regulator 1211, and a second voltage regulator 1221. Compared with the scheme of using an isolated power supply module and a linear voltage regulator in the first prior art and the scheme of using an isolated power supply module and an adjustable power supply in the second prior art, this application further improves the output accuracy, and only needs to adjust the second voltage regulator 1221 to support multiple voltage regulation methods. At the same time, it also reduces the requirements for the control module 30 and has better adaptability.
[0077] The isolated power supply unit 11 in this application is built with discrete components. Compared with the packaged isolated power supply modules used in prior art 1 and prior art 2, the isolated power supply unit 11 in this application has lower cost and higher flexibility.
[0078] This application achieves n-channel output feedback using only a voltage acquisition chip 21. Compared to the prior art's multi-channel feedback scheme, this application reduces the complexity and cost of hardware design.
[0079] The control unit 32 in this application communicates with the voltage acquisition chip 21 through a communication interface and a communication isolation unit (i.e., the second isolation unit 33) to obtain n-channel feedback results. Compared with the prior art, where the microcontroller needs to communicate with multiple feedback channels (which also means that the microcontroller needs multiple communication interfaces and multiple communication isolation circuits) to obtain multiple feedback results, this application reduces the complexity and cost of hardware design and simplifies the software processing flow of the control unit 32.
[0080] This application also provides a battery simulation device, including the battery simulation circuit described above. Since the battery simulation device provided in this application adopts all the technical solutions of all the above embodiments, it possesses at least all the beneficial effects brought about by the technical solutions of the above embodiments, and will not be elaborated further here.
[0081] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0082] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A battery simulation circuit, characterized in that, It includes a control module, a voltage acquisition module, and n voltage output modules. The voltage acquisition module is connected to the control module and the n voltage output modules respectively. The control module is connected to the n voltage output modules respectively. The n voltage output modules are respectively used to connect to the n sampling channels of the sampling circuit of the battery under test, where n is a natural number greater than 0. The control module is used to output n control signals; each voltage output module is used to output a target voltage according to the control signal, so that each sampling channel of the battery under test sampling circuit samples the corresponding target voltage to obtain a target test voltage; the voltage acquisition module is used to sample the n target voltages to obtain n target sampling voltages; the control module is also used to adjust the n control signals according to the n target sampling voltages, thereby adjusting the n target voltages respectively.
2. The battery simulation circuit according to claim 1, characterized in that, The control module is also used to connect to the control module in the sampling circuit of the battery under test; The control module in the battery simulation circuit is also used to receive n target test voltages and determine whether the n sampling channels of the battery sampling circuit under test are qualified based on the n target sampling voltages and the n target test voltages respectively.
3. The battery simulation circuit according to claim 1 or 2, characterized in that, The voltage output module includes an isolated power supply unit and a voltage regulator unit. The voltage regulator unit is connected to the sampling channels of the isolated power supply unit, the voltage acquisition module, the control module, and the sampling circuit of the battery under test, respectively. The isolated power supply unit is used to output a first voltage; the voltage regulator unit is used to output the target voltage according to the first voltage and the control signal.
4. The battery simulation circuit according to claim 3, characterized in that, The voltage regulation unit includes a first voltage regulation subunit and a second voltage regulation subunit. The first voltage regulation subunit is connected to the isolated power supply unit and the second voltage regulation subunit, respectively. The second voltage regulation subunit is connected to the control module, the voltage acquisition module and the sampling channel of the battery under test sampling circuit, respectively. The first voltage regulator unit is used to output a second voltage based on the first voltage; the second voltage regulator unit is used to output the target voltage based on the second voltage and the control signal.
5. The battery simulation circuit according to claim 4, characterized in that, The first voltage regulator subunit includes a first voltage regulator, the input terminal of which is connected to the isolated power supply unit, and the output terminal of which is connected to the second voltage regulator subunit.
6. The battery simulation circuit according to claim 4, characterized in that, The second voltage regulator subunit includes a second voltage regulator. The input terminal of the second voltage regulator is connected to the first voltage regulator subunit. The output terminal of the second voltage regulator is connected to the sampling channels of the voltage acquisition module and the battery sampling circuit under test, respectively. The feedback terminal of the second voltage regulator is connected to the control module.
7. The battery simulation circuit according to claim 3, characterized in that, The isolated power supply unit includes an isolated DC-DC converter, the input terminal of which is used to receive the supply voltage, and the output terminal of which is connected to the voltage regulator unit. The isolated DC-DC converter is used to output the first voltage according to the supply voltage.
8. The battery simulation circuit according to claim 1 or 2, characterized in that, The voltage acquisition module includes a voltage acquisition chip, and the n sampling channels of the voltage acquisition chip are respectively connected to the n voltage output modules. The output terminal of the voltage acquisition chip is connected to the control module.
9. The battery simulation circuit according to claim 1 or 2, characterized in that, The control module includes a first isolation unit, a second isolation unit, and a control unit. The control unit is connected to the first isolation unit and the second isolation unit respectively. The first isolation unit is connected to n voltage output modules respectively. The second isolation unit is connected to the voltage acquisition module. The control unit is used to output n control signals; the first isolation unit is used to transmit the n control signals to the n voltage output modules respectively; the second isolation unit is used to transmit the n target sampling voltages to the control unit; the control unit is also used to adjust the n control signals according to the n target sampling voltages respectively, thereby adjusting the n target voltages respectively.
10. A battery simulation device, characterized in that, Includes the battery simulation circuit as described in any one of claims 1-9.