Bus voltage sampling circuit
By designing a bus voltage sampling circuit including a triangular wave generation module and a pulse width modulation module, the problems of high cost and poor stability of the bus voltage sampling scheme in the prior art are solved, and efficient and reliable voltage signal isolation transmission is achieved, reducing the The system cost meets the safety and energy efficiency management needs of new energy vehicle power systems.
Patent Information
- Application Number
- CN202411152147.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-26
AI Technical Summary
The existing bus voltage sampling scheme is costly and has poor stability, which cannot meet the requirements of new energy vehicle power systems for reliability and energy efficiency management.
A bus voltage sampling circuit is designed, including a triangular wave generation module, a bus voltage divider module, a pulse width modulation module, a high-voltage side to a low-voltage side module and a control module. The voltage from the high-voltage side to the low-voltage side is realized through the triangle wave and pulse width modulation signal. Signal isolation transmission uses simple components such as operational amplifiers, comparators, capacitors and resistors to improve reliability and stability.
It realizes efficient isolation transmission of bus voltage signals, reduces system costs, improves system reliability and stability, and meets the requirements of new energy vehicle power systems for safety and energy efficiency management.
Smart Images

Figure CN119024038A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to a bus voltage sampling circuit. Background Art
[0002] Bus voltage sampling is an indispensable part of the power system of new energy vehicles. It not only directly affects the safety and reliability of the vehicle, but also is related to energy efficiency management and optimization of vehicle performance.
[0003] There are two main bus voltage sampling solutions. One is the voltage divider resistor and isolation amplifier solution. This solution converts the bus high voltage into a low voltage signal through high voltage resistor voltage divider, and then uses isolation amplifier for signal isolation and amplification. However, the overall cost of this solution is relatively high. The other is the optocoupler isolation solution, which uses optocouplers for voltage isolation, converts high voltage signals into optical signals for transmission, and then restores them to electrical signals on the low voltage side. However, this solution has poor stability. Summary of the invention
[0004] The present invention provides a bus voltage sampling circuit to solve the problems of high cost and poor stability of the current bus voltage sampling solution.
[0005] In a first aspect, the present invention provides a bus voltage sampling circuit, wherein the circuit comprises: a triangle wave generating module, a bus voltage dividing module, a pulse width modulation module, a high voltage side to low voltage side module and a control module;
[0006] The triangular wave generating module is connected to the high-voltage side DC power supply, and is used to output a triangular wave signal according to a first power supply signal provided by the high-voltage side DC power supply;
[0007] The bus voltage dividing module is connected to the bus, and is used to output a first voltage signal after dividing the voltage of the bus;
[0008] The pulse width modulation module is connected to the triangle wave generation module and the bus voltage dividing module, and the pulse width modulation module is used to output a pulse width modulation signal according to the triangle wave signal and the first voltage signal;
[0009] The high-voltage side to low-voltage side module is connected to the pulse width modulation module and is used to output a bus voltage sampling signal on the low-voltage side according to the pulse width modulation signal;
[0010] The control module is connected to the high-voltage side to low-voltage side module and is used to calculate the bus voltage according to the bus voltage sampling signal.
[0011] Optionally, the high-voltage side to low-voltage side module includes: a single-ended to differential unit and an isolation conversion unit;
[0012] The single-ended to differential unit is connected to the pulse width modulation module and is used to output a differential signal according to the pulse width modulation signal;
[0013] The isolation conversion unit is connected to the single-ended to differential conversion unit and is used to output a bus voltage sampling signal on the low voltage side according to the differential signal.
[0014] Optionally, the single-ended to differential unit includes a voltage following component and a phase inversion component; the differential signal includes a forward signal and a reverse signal;
[0015] The voltage follower component is connected to the pulse width modulation module and is used to output a second voltage signal according to the pulse width modulation signal; the second voltage signal is used as a forward signal;
[0016] The phase inversion component is connected to the voltage following component and is used to output a reverse signal according to the second voltage signal.
[0017] Optionally, the voltage follower component includes: a first operational amplifier;
[0018] The non-inverting input terminal of the first operational amplifier is connected to the pulse width modulation module, and the inverting input terminal of the first operational amplifier is connected to the output terminal; the power supply terminal of the first operational amplifier is connected to the first power supply signal, and the ground terminal of the first operational amplifier is connected to the high-voltage side ground; the output terminal of the first operational amplifier outputs a second voltage signal.
[0019] Optionally, the phase inversion component includes: a second operational amplifier, a first resistor, a second resistor, a third resistor and a fourth resistor;
[0020] A first end of the first resistor is connected to the voltage follower component, and a second end of the first resistor is connected to the inverting input terminal of the second operational amplifier; a first end of the second resistor is connected to the inverting input terminal of the second operational amplifier, and a second end of the second resistor is connected to the output terminal of the second operational amplifier;
[0021] The first end of the third resistor is connected to the first power supply signal, the second end of the third resistor is connected to the non-inverting input terminal of the second operational amplifier, the first end of the fourth resistor is connected to the non-inverting input terminal of the second operational amplifier, and the second end of the fourth resistor is connected to the high-voltage side ground; the power supply terminal of the second operational amplifier is connected to the first power supply signal, and the ground terminal of the second operational amplifier is connected to the high-voltage side ground; the output terminal of the second operational amplifier outputs a reverse signal.
[0022] Optionally, the isolation conversion unit includes: a first comparator, a first capacitor and a second capacitor;
[0023] The first end of the first capacitor is connected to the single-ended to differential unit, the first end of the second capacitor is also connected to the single-ended to differential unit, the second end of the first capacitor is connected to the inverting input terminal of the first comparator, the second end of the second capacitor is connected to the non-inverting input terminal of the first comparator, the power supply terminal of the first comparator is connected to the low-voltage side DC power supply, and is connected to the second power supply signal provided by the low-voltage side DC power supply, and the ground terminal of the first comparator is connected to the low-voltage ground; the output terminal of the first comparator outputs a bus voltage sampling signal.
[0024] Optionally, the triangular wave generating module includes: a third operational amplifier, a second comparator, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor and a third capacitor;
[0025] The first end of the fifth resistor is connected to the first power supply signal, the second end of the fifth resistor is connected to the inverting input end of the second comparator and the non-inverting input end of the third operational amplifier, the first end of the sixth resistor is connected to the second end of the fifth resistor, and the second end of the sixth resistor is connected to the high voltage side ground;
[0026] A first end of the seventh resistor is connected to the non-inverting input terminal of the second comparator, a second end of the seventh resistor is connected to the output terminal of the second comparator, a first end of the eighth resistor is connected to the output terminal of the second comparator, and a second end of the eighth resistor is connected to the inverting input terminal of the third operational amplifier;
[0027] A first end of the ninth resistor is connected to the non-inverting input end of the second comparator, a second end of the ninth resistor is connected to the output end of the third operational amplifier, and a third capacitor is connected between the inverting input end and the output end of the third operational amplifier;
[0028] The power supply terminal of the second comparator is connected to the first power supply signal, and the ground terminal of the second comparator is connected to the high-voltage side ground; the power supply terminal of the third operational amplifier is connected to the first power supply signal, and the ground terminal of the third operational amplifier is connected to the high-voltage side ground; the output terminal of the third operational amplifier outputs a triangular wave signal.
[0029] Optionally, the bus voltage dividing module includes: a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor and a fifteenth resistor;
[0030] The tenth resistor, the eleventh resistor, the twelfth resistor, the thirteenth resistor, the fourteenth resistor and the fifteenth resistor are connected in series, one end of the tenth resistor is connected to the voltage of the bus, and one end of the fifteenth resistor is connected to the high-voltage side ground; the connection between the fourteenth resistor and the fifteenth resistor outputs a first voltage signal.
[0031] Optionally, the pulse width modulation module includes: a third comparator;
[0032] The inverting input terminal of the third comparator is connected to the triangle wave generating module, the non-inverting input terminal of the third comparator is connected to the bus voltage dividing module, the power supply terminal of the third comparator is connected to the first power supply signal, and the ground terminal of the third comparator is connected to the high voltage side ground; the output terminal of the third comparator outputs a pulse width modulation signal.
[0033] Optionally, the control module includes: a micro control unit.
[0034] The technical solution of the present invention is to set a triangular wave generation module, a bus voltage dividing module, a pulse width modulation module, a high-voltage side to low-voltage side module and a control module to sample the bus voltage, thereby realizing the isolated transmission of the bus voltage signal from the high-voltage side to the low-voltage side. At the same time, the five modules of the bus voltage sampling circuit can only use simple electronic components such as operational amplifiers, comparators, capacitors and resistors to realize their functions, with high reliability, good stability and obvious cost advantages.
[0035] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0037] Figure 1 It is a structural schematic diagram of a bus voltage sampling circuit provided by an embodiment of the present invention;
[0038] Figure 2 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention;
[0039] Figure 3 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention;
[0040] Figure 4 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention;
[0041] Figure 5 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention;
[0042] Figure 6 is a waveform diagram of a second voltage signal, a forward signal, and a reverse signal provided by an embodiment of the present invention;
[0043] Figure 7 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention;
[0044] Figure 8 It is a waveform diagram of a forward signal, a reverse signal and a bus voltage sampling signal provided by an embodiment of the present invention;
[0045] Fig. 9 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention;
[0046] Fig.10 is a waveform diagram of a triangular wave signal provided by an embodiment of the present invention;
[0047] Fig.11 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention;
[0048] Fig.12 is a waveform diagram of a bus voltage and a first voltage signal provided by an embodiment of the present invention;
[0049] Fig.13 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention;
[0050] Fig.14 is a waveform diagram of a triangular wave signal, a first voltage signal and a pulse width modulation signal provided by an embodiment of the present invention;
[0051] Fig.15 The present invention provides a waveform diagram of a bus voltage and a bus voltage sampling signal. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0053] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0054] Figure 1 is a schematic diagram of a bus voltage sampling circuit provided by an embodiment of the present invention, such as Figure 1 As shown, the circuit includes: a triangular wave generating module 1, a bus voltage dividing module 2, a pulse width modulation module 3, a high-voltage side to low-voltage side module 4 and a control module 5. The triangular wave generating module 1 is connected to the high-voltage side DC power supply, and is used to output a triangular wave signal V-tri according to the first power signal V1-HV provided by the high-voltage side DC power supply. The bus voltage dividing module 2 is connected to the bus, and is used to output a first voltage signal Vg-div after voltage division processing of the bus voltage Vg. The pulse width modulation module 3 is connected to the triangular wave generating module 1 and the bus voltage dividing module 2, and the pulse width modulation module 3 is used to output a pulse width modulation signal V-pwm according to the triangular wave signal V-tri and the first voltage signal Vg-div. The high-voltage side to low-voltage side module 4 is connected to the pulse width modulation module 3, and is used to output a bus voltage sampling signal Vg-Sample on the low-voltage side according to the pulse width modulation signal V-pwm. The control module 5 is connected to the high-voltage side to low-voltage side module 4, and is used to calculate the voltage of the bus according to the bus voltage sampling signal Vg-Sample.
[0055] Specifically, the triangular wave generating module 1, the bus voltage dividing module 2, and the pulse width modulation module 3 can be arranged in the high voltage system of the automobile, that is, the high voltage side. Part of the circuit of the high voltage side to low voltage side module 4 is arranged on the high voltage side, and the rest of the high voltage side to low voltage side module 4 and the control module 5 can be arranged in the low voltage system of the automobile, that is, the low voltage side.
[0056] The triangular wave generating module 1 is connected to the first power signal V1-HV. For example, the voltage value of the first power signal V1-HV can be set to 5V, and a triangular wave signal V-tri with a certain amplitude and frequency is output according to the first power signal V1-HV. The bus voltage dividing module 2 is connected to the bus voltage Vg, and divides the bus voltage Vg, converting the high-voltage signal of the bus voltage Vg into a low-voltage signal to output the first voltage signal Vg-div.
[0057] The pulse width modulation module 3 is connected to the triangular wave signal V-tri and the first voltage signal Vg-div, and outputs the pulse width modulation signal V-pwm after processing. The duty cycle of the pulse width modulation signal V-pwm can be proportional to the voltage value of the bus voltage Vg. The high-voltage side to low-voltage side module 4 is connected to the pulse width modulation signal V-pwm, and outputs the bus voltage sampling signal Vg-Sample on the low-voltage side according to the pulse width modulation signal V-pwm. The bus voltage sampling signal Vg-Sample can have the same duty cycle as the pulse width modulation signal V-pwm. The bus voltage sampling signal Vg-Sample has a certain relationship with the voltage value of the bus voltage Vg. For example, the duty cycle of the bus voltage sampling signal Vg-Sample can be linearly proportional to the voltage value of the bus voltage Vg.
[0058] The control module 5 receives the bus voltage sampling signal Vg-Sample and calculates the voltage value of the bus voltage Vg according to the bus voltage sampling signal Vg-Sample, thereby realizing the sampling of the bus voltage Vg.
[0059] The technical solution of the embodiment of the present invention is to set a triangular wave generation module, a bus voltage divider module, a pulse width modulation module, a high-voltage side to low-voltage side module and a control module to sample the bus voltage, thereby realizing the isolated transmission of the bus voltage signal from the high-voltage side to the low-voltage side. At the same time, the five modules of the bus voltage sampling circuit can only use simple electronic components such as operational amplifiers, comparators, capacitors and resistors to realize their functions, with high reliability, good stability and obvious cost advantages.
[0060] Figure 2 is a schematic diagram of the structure of another bus voltage sampling circuit provided by an embodiment of the present invention, such as Figure 2 As shown, the high-voltage side to low-voltage side module 4 includes: a single-ended to differential unit 41 and an isolation conversion unit 42. The single-ended to differential unit 41 is connected to the pulse width modulation module 3, and is used to output a differential signal according to the pulse width modulation signal V-pwm. The isolation conversion unit 42 is connected to the single-ended to differential unit 41, and is used to output a bus voltage sampling signal Vg-Sample on the low-voltage side according to the differential signal.
[0061] Specifically, the high-voltage side to low-voltage side module 4 may include a single-ended to differential unit 41 and an isolation conversion unit 42. The single-ended to differential unit 41 may be arranged on the high-voltage side, a portion of the isolation conversion unit 42 may be arranged between the high-voltage side and the low-voltage side, and the rest may be arranged on the low-voltage side.
[0062] The single-ended to differential unit 41 is connected to the pulse width modulation signal V-pwm, and outputs a differential signal according to the pulse width modulation signal V-pwm. The isolation conversion unit 42 is connected to the differential signal, and outputs the bus voltage sampling signal Vg-Sample on the low voltage side according to the differential signal. The single-ended to differential unit 41 and the isolation conversion unit 42 are provided to realize the isolated transmission of the bus voltage signal from the high voltage side to the low voltage side.
[0063] Figure 3 is a schematic diagram of the structure of another bus voltage sampling circuit provided by an embodiment of the present invention, such as Figure 3 As shown, the single-ended to differential unit 41 includes a voltage following component 411 and a phase inversion component 412; the differential signal includes a forward signal V-pwm-p and a reverse signal V-pwm-n. The voltage following component 411 is connected to the pulse width modulation module 3, and is used to output a second voltage signal according to the pulse width modulation signal V-pwm; the second voltage signal is used as the forward signal V-pwm-p. The phase inversion component 412 is connected to the voltage following component 411, and is used to output a reverse signal V-pwm-n according to the second voltage signal.
[0064] Specifically, the single-ended to differential unit 41 may include a voltage following component 411 and a phase inversion component 412. The voltage following component 411 is connected to the pulse width modulation signal V-pwm, and outputs a second voltage signal according to the pulse width modulation signal V-pwm. The second voltage signal may be the same as the pulse width modulation signal V-pwm. The second voltage signal may be directly output as a forward signal V-pwm-p. The phase inversion component 412 is connected to the second voltage signal, and outputs a reverse signal V-pwm-n according to the second voltage signal. That is, a differential signal composed of the forward signal V-pwm-p and the reverse signal V-pwm-n is output to the isolation conversion unit 42.
[0065] Figure 4 is a schematic diagram of the structure of another bus voltage sampling circuit provided by an embodiment of the present invention, such as Figure 4 As shown, the voltage follower component 411 includes: a first operational amplifier U1. The non-inverting input terminal of the first operational amplifier U1 is connected to the pulse width modulation module 3, and the inverting input terminal of the first operational amplifier U1 is connected to the output terminal. The power supply terminal of the first operational amplifier U1 is connected to the first power supply signal V1-HV, and the ground terminal of the first operational amplifier U1 is connected to the high-voltage side ground GND-HV; the output terminal of the first operational amplifier U1 outputs the second voltage signal.
[0066] Specifically, the voltage follower component 411 may include a first operational amplifier U1. The in-phase input terminal of the first operational amplifier U1 is connected to the pulse width modulation signal V-pwm, and the inverting input terminal and the output terminal of the first operational amplifier U1 are connected. The signal output from the output terminal of the first operational amplifier U1 is the signal input from the in-phase input terminal, and the second voltage signal is the same as the pulse width modulation signal V-pwm. The first operational amplifier U1 can prevent the coupling of the previous and next stages from interfering with the signal.
[0067] Figure 5 is a schematic diagram of the structure of another bus voltage sampling circuit provided by an embodiment of the present invention, such as Figure 5 As shown, the phase reversal component 412 includes: a second operational amplifier U2, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4. The first end of the first resistor R1 is connected to the voltage follower component 411, and the second end of the first resistor R1 is connected to the inverting input terminal of the second operational amplifier U2; the first end of the second resistor R2 is connected to the inverting input terminal of the second operational amplifier U2, and the second end of the second resistor R2 is connected to the output terminal of the second operational amplifier U2. The first end of the third resistor R3 is connected to the first power supply signal V1-HV, the second end of the third resistor R3 is connected to the in-phase input terminal of the second operational amplifier U2, the first end of the fourth resistor R4 is connected to the in-phase input terminal of the second operational amplifier U2, and the second end of the fourth resistor R4 is connected to the high-voltage side ground GND-HV; the power supply terminal of the second operational amplifier U2 is connected to the first power supply signal V1-HV, and the ground terminal of the second operational amplifier U2 is connected to the high-voltage side ground GND-HV; the output terminal of the second operational amplifier U2 outputs a reverse signal V-pwm-n.
[0068] Specifically, the first end of the first resistor R1 is connected to the second voltage signal and transmitted to the inverting input end of the second operational amplifier U2. The second resistor R2 is connected between the inverting input end and the output end of the second operational amplifier U2, the third resistor R3 is connected between the first power supply signal V1-HV and the non-inverting input end of the second operational amplifier U2, and the fourth resistor R4 is connected between the non-inverting input end of the second operational amplifier U2 and the high-voltage side ground GND-HV. The second operational amplifier U2, the first resistor R1, the second resistor R2, the third resistor R3 and the fourth resistor R4 can form an inverter, and the output end of the second operational amplifier U2 outputs a reverse signal V-pwm-n, and the reverse signal V-pwm-n is 180° out of phase with the second voltage signal.
[0069] Figure 6 : is a waveform diagram of a second voltage signal, a forward signal and a reverse signal provided in an embodiment of the present invention. When the resistance values of the first resistor R1, the second resistor R2, the third resistor R3 and the fourth resistor R4 are the same, for example, they are all set to 10 kΩ, and the second voltage signal is as follows: Figure 6As shown in , we can obtain Figure 6 The waveform diagram of the forward signal V-pwm-p and the reverse signal V-pwm-n is shown in FIG. Figure 5 and Figure 6 As shown, the second voltage signal is the pulse width modulation signal V-pwm, and the second voltage signal is used as the forward signal V-pwm-p, so the waveform of the forward signal V-pwm-p is the same as that of the second voltage signal. The second voltage signal is output as a reverse signal V-pwm-n through the phase inversion component 412, and the reverse signal V-pwm-n is 180° out of phase with the second voltage signal.
[0070] Figure 7 is a schematic diagram of the structure of another bus voltage sampling circuit provided by an embodiment of the present invention, such as Figure 7 As shown, the isolation conversion unit 42 includes: a first comparator U3, a first capacitor C1 and a second capacitor C2. The first end of the first capacitor C1 is connected to the single-ended differential conversion unit 41, the first end of the second capacitor C2 is also connected to the single-ended differential conversion unit 41, the second end of the first capacitor C1 is connected to the inverting input end of the first comparator U3, the second end of the second capacitor C2 is connected to the non-inverting input end of the first comparator U3, the power supply end of the first comparator U3 is connected to the low-voltage side DC power supply, and the second power supply signal V2-LV provided by the low-voltage side DC power supply is connected, and the grounding end of the first comparator U3 is connected to the low-voltage side ground GND-LV; the output end of the first comparator U3 outputs the bus voltage sampling signal Vg-Sample.
[0071] Specifically, the first capacitor C1 and the second capacitor C2 are isolation capacitors, the first end of the first capacitor C1 is connected to the reverse signal V-pwm-n, and the first end of the second capacitor C2 is connected to the forward signal V-pwm-p. The first capacitor C1 and the second capacitor C2 can be arranged between the high voltage side and the low voltage side, and the first comparator U3 can be arranged on the low voltage side. The reverse signal V-pwm-n and the forward signal V-pwm-p are transmitted to the low voltage side through the first capacitor C1 and the second capacitor C2 respectively. The power supply end of the first comparator U3 is connected to the second power supply signal V2-LV, and exemplarily, the voltage value of the second power supply signal V2-LV can be 5V. The ground terminal of the first comparator U3 is connected to the low voltage side ground GND-LV. The first comparator U3 restores the differential signal to a single-ended signal, and the output end of the first comparator U3 outputs the bus voltage sampling signal Vg-Sample. Exemplarily, the first capacitor C1 and the second capacitor C2 can be 10nF.
[0072] Figure 8 is a waveform diagram of a forward signal, a reverse signal and a bus voltage sampling signal provided by an embodiment of the present invention, such as Figure 7 and Figure 8As shown, the forward signal V-pwm-p and the reverse signal V-pwm-n are differential signals. The reverse signal V-pwm-n and the forward signal V-pwm-p are transmitted to the first comparator U3 through the first capacitor C1 and the second capacitor C2 respectively. The first comparator U3 restores the differential signal to a single-ended signal, and the output end of the first comparator U3 outputs the bus voltage sampling signal Vg-Sample.
[0073] Fig. 9 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention, Fig.10 is a waveform diagram of a triangular wave signal provided by an embodiment of the present invention, such as Fig. 9 and Fig.10 As shown, the triangular wave generating module 1 includes: a third operational amplifier U4, a second comparator U5, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9 and a third capacitor C3. The first end of the fifth resistor R5 is connected to the first power supply signal V1-HV, the second end of the fifth resistor R5 is connected to the inverting input end of the second comparator U5 and the non-inverting input end of the third operational amplifier U4, the first end of the sixth resistor R6 is connected to the second end of the fifth resistor R5, and the second end of the sixth resistor R6 is connected to the high-voltage side ground GND-HV. The first end of the seventh resistor R7 is connected to the non-inverting input end of the second comparator U5, the second end of the seventh resistor R7 is connected to the output end of the second comparator U5, the first end of the eighth resistor R8 is connected to the output end of the second comparator U5, and the second end of the eighth resistor R8 is connected to the inverting input end of the third operational amplifier U4. The first end of the ninth resistor R9 is connected to the in-phase input end of the second comparator U5, the second end of the ninth resistor R9 is connected to the output end of the third operational amplifier U4, and the third capacitor C3 is connected between the inverting input end and the output end of the third operational amplifier U4. The power supply end of the second comparator U5 is connected to the first power supply signal V1-HV, and the grounding end of the second comparator U5 is connected to the high-voltage side ground GND-HV; the power supply end of the third operational amplifier U4 is connected to the first power supply signal V1-HV, and the grounding end of the third operational amplifier U4 is connected to the high-voltage side ground GND-HV; the output end of the third operational amplifier U4 outputs a triangular wave signal V-tri.
[0074] Specifically, the first end of the fifth resistor R5 is connected to the first power supply signal V1-HV, and the fifth resistor R5 and the sixth resistor R6 divide the voltage of the first power supply signal V1-HV, and generate a reference voltage signal Vref at the second end of the fifth resistor R5. The third operational amplifier U4 can be configured as an integrator. When the output of the second comparator U5 is a low level, the output of the third operational amplifier U4 increases linearly, and when the output of the second comparator U5 is a high level, the output of the third operational amplifier U4 decreases linearly. Thus, the third operational amplifier U4 can output a standard triangular wave signal V-tri. The amplitude of the triangular wave signal V-tri can be adjusted by the seventh resistor R7 and the ninth resistor R9, and the frequency of the triangular wave signal V-tri can be adjusted by the seventh resistor R7, the eighth resistor R8, the ninth resistor R9 and the third capacitor C3. When the fifth resistor R5 is 10kΩ, the sixth resistor R6 is 10kΩ, the seventh resistor R7 is 10kΩ, the eighth resistor R8 is 10kΩ, the ninth resistor R9 is 10kΩ, and the third capacitor C3 is 100pF, and the voltage value of the first power signal V1-HV is set to 5V, the third operational amplifier U4 can output the following: Fig.10 The triangular wave signal V-tri is shown.
[0075] The amplitude calculation formula of the triangle wave signal V-tri is as follows:
[0076]
[0077] Wherein, Vtri is the amplitude of the triangle wave signal V-tri, and Vref is the reference voltage signal.
[0078] The frequency calculation formula of the triangle wave signal V-tri is as follows:
[0079]
[0080] Wherein, Ftri is the frequency of the triangle wave signal V-tri.
[0081] Fig.11 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention, Fig.12 is a waveform diagram of a bus voltage and a first voltage signal provided by an embodiment of the present invention, such as Fig.11 and Fig.12As shown, the bus voltage divider module 2 includes: a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14 and a fifteenth resistor R15. The tenth resistor R10, the eleventh resistor R11, the twelfth resistor R12, the thirteenth resistor R13, the fourteenth resistor R14 and the fifteenth resistor R15 are connected in series, one end of the tenth resistor R10 is connected to the bus voltage Vg, and one end of the fifteenth resistor R15 is connected to the high-voltage side ground GND-HV; the connection between the fourteenth resistor R14 and the fifteenth resistor R15 outputs a first voltage signal Vg-div.
[0082] Specifically, the tenth resistor R10, the eleventh resistor R11, the twelfth resistor R12, the thirteenth resistor R13, the fourteenth resistor R14 and the fifteenth resistor R15 are connected in series, the voltage Vg of the bus is divided, and the first voltage signal Vg-div is output at the connection between the fourteenth resistor R14 and the fifteenth resistor R15. When the tenth resistor R10 is 200 kΩ, the eleventh resistor R11 is 200 kΩ, the twelfth resistor R12 is 200 kΩ, the thirteenth resistor R13 is 200 kΩ, the fourteenth resistor R14 is 200 kΩ and the fifteenth resistor R15 is 4.7 kΩ, the voltage Vg of the bus can be converted into Fig.12 The voltage of 0-5V shown, that is, the first voltage signal Vg-div is a voltage of 0-5V.
[0083] Fig.13 is a structural schematic diagram of another bus voltage sampling circuit provided by an embodiment of the present invention, Fig.14 is a waveform diagram of a triangular wave signal, a first voltage signal and a pulse width modulation signal provided by an embodiment of the present invention, such as Fig.13 and Fig.14 As shown, the pulse width modulation module 3 includes: a third comparator U6. The inverting input terminal of the third comparator U6 is connected to the triangle wave generating module 1, the non-inverting input terminal of the third comparator U6 is connected to the bus voltage dividing module 2, the power supply terminal of the third comparator U6 is connected to the first power supply signal V1-HV, and the ground terminal of the third comparator U6 is connected to the high voltage side ground GND-HV; the output terminal of the third comparator U6 outputs the pulse width modulation signal V-pwm.
[0084] Specifically, the pulse width modulation module 3 includes a third comparator U6, the in-phase input terminal of the third comparator U6 is connected to the first voltage signal Vg-div, the inverting input terminal of the third comparator U6 is connected to the triangular wave signal V-tri, and the third comparator U6 compares the voltage values of the first voltage signal Vg-div and the triangular wave signal V-tri, thereby outputting the pulse width modulation signal V-pwm at its output terminal. The duty cycle of the pulse width modulation signal V-pwm can be proportional to the voltage value of the bus voltage Vg.
[0085] Optional, such as Fig.13 As shown, the control module 5 includes: a micro control unit.
[0086] Specifically, the control module 5 may be a microcontroller unit (MCU), which may obtain the duty cycle of the bus voltage sampling signal Vg-Sample, and calculate the voltage value of the bus voltage Vg according to the relationship between the voltage value of the bus voltage Vg and the duty cycle of the bus voltage sampling signal Vg-Sample, thereby realizing the sampling of the bus voltage Vg. When the resistance values of the first resistor R1, the second resistor R2, the third resistor R3, and the fourth resistor R4 are the same, the relationship between the bus voltage Vg and the duty cycle of the bus voltage sampling signal Vg-Sample is:
[0087]
[0088] Wherein Duty(Vg-Sample) is the duty cycle of the bus voltage sampling signal Vg-Sample.
[0089] Fig.15 is a waveform diagram of a bus voltage and a bus voltage sampling signal provided by an embodiment of the present invention, such as Fig.13 and Fig.15 As shown, the MCU can obtain the duty cycle of the bus voltage sampling signal Vg-Sample, and calculate the voltage value of the bus voltage Vg according to the relationship between the voltage value of the bus voltage Vg and the duty cycle of the bus voltage sampling signal Vg-Sample, thereby realizing the sampling of the bus voltage Vg.
[0090] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0091] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A bus voltage sampling circuit, characterized in that: include: Triangular wave generation module, bus voltage division module, pulse width modulation module, high voltage side to low voltage side module and control module; The triangular wave generating module is connected to the high-voltage side DC power supply, and is used to output a triangular wave signal according to the first power supply signal provided by the high-voltage side DC power supply; The bus voltage dividing module is connected to the bus, and is used to output a first voltage signal after dividing the voltage of the bus; The pulse width modulation module is connected to the triangular wave generating module and the bus voltage dividing module, and the pulse width modulation module is used to output a pulse width modulation signal according to the triangular wave signal and the first voltage signal; The high-voltage side to low-voltage side module is connected to the pulse width modulation module, and is used to output a bus voltage sampling signal on the low-voltage side according to the pulse width modulation signal; The control module is connected to the high-voltage side to low-voltage side module and is used to calculate the voltage of the bus according to the bus voltage sampling signal.
2. The bus voltage sampling circuit according to claim 1, characterized in that: The high-voltage side to low-voltage side module includes: a single-ended to differential unit and an isolation conversion unit; The single-ended to differential conversion unit is connected to the pulse width modulation module, and is used to output a differential signal according to the pulse width modulation signal; The isolation conversion unit is connected to the single-ended to differential conversion unit, and is used to output the bus voltage sampling signal on the low-voltage side according to the differential signal.
3. The bus voltage sampling circuit according to claim 2, characterized in that: The single-ended to differential unit includes a voltage following component and a phase inversion component; the differential signal includes a forward signal and a reverse signal; The voltage follower component is connected to the pulse width modulation module, and is used to output a second voltage signal according to the pulse width modulation signal; the second voltage signal serves as the forward signal; The phase inversion component is connected to the voltage following component and is configured to output the reverse signal according to the second voltage signal.
4. The bus voltage sampling circuit according to claim 3, characterized in that: The voltage follower component includes: a first operational amplifier; The non-inverting input terminal of the first operational amplifier is connected to the pulse width modulation module, and the inverting input terminal of the first operational amplifier is connected to the output terminal; the power supply terminal of the first operational amplifier is connected to the first power supply signal, and the ground terminal of the first operational amplifier is connected to the high-voltage side ground; the output terminal of the first operational amplifier outputs the second voltage signal.
5. The bus voltage sampling circuit according to claim 3, characterized in that: The phase inversion component includes: a second operational amplifier, a first resistor, a second resistor, a third resistor and a fourth resistor; The first end of the first resistor is connected to the voltage follower component, and the second end of the first resistor is connected to the inverting input terminal of the second operational amplifier; the first end of the second resistor is connected to the inverting input terminal of the second operational amplifier, and the second end of the second resistor is connected to the output terminal of the second operational amplifier; The first end of the third resistor is connected to the first power supply signal, the second end of the third resistor is connected to the non-inverting input terminal of the second operational amplifier, the first end of the fourth resistor is connected to the non-inverting input terminal of the second operational amplifier, and the second end of the fourth resistor is connected to the high-voltage side ground; the power supply terminal of the second operational amplifier is connected to the first power supply signal, and the ground terminal of the second operational amplifier is connected to the high-voltage side ground; the output terminal of the second operational amplifier outputs the reverse signal.
6. The bus voltage sampling circuit according to claim 2, characterized in that: The isolation conversion unit includes: a first comparator, a first capacitor and a second capacitor; The first end of the first capacitor is connected to the single-ended to differential unit, the first end of the second capacitor is also connected to the single-ended to differential unit, the second end of the first capacitor is connected to the inverting input end of the first comparator, the second end of the second capacitor is connected to the non-inverting input end of the first comparator, the power supply end of the first comparator is connected to the low-voltage side DC power supply, and is connected to the second power supply signal provided by the low-voltage side DC power supply, and the ground end of the first comparator is connected to the low-voltage ground; the output end of the first comparator outputs the bus voltage sampling signal.
7. The bus voltage sampling circuit according to claim 1, characterized in that: The triangle wave generating module comprises: a third operational amplifier, a second comparator, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor and a third capacitor; The first end of the fifth resistor is connected to the first power supply signal, the second end of the fifth resistor is connected to the inverting input end of the second comparator and the non-inverting input end of the third operational amplifier, the first end of the sixth resistor is connected to the second end of the fifth resistor, and the second end of the sixth resistor is connected to the high-voltage side ground; A first end of the seventh resistor is connected to the non-inverting input terminal of the second comparator, a second end of the seventh resistor is connected to the output terminal of the second comparator, a first end of the eighth resistor is connected to the output terminal of the second comparator, and a second end of the eighth resistor is connected to the inverting input terminal of the third operational amplifier; The first end of the ninth resistor is connected to the non-inverting input end of the second comparator, the second end of the ninth resistor is connected to the output end of the third operational amplifier, and the third capacitor is connected between the inverting input end and the output end of the third operational amplifier; The power supply terminal of the second comparator is connected to the first power supply signal, and the ground terminal of the second comparator is connected to the high-voltage side ground; the power supply terminal of the third operational amplifier is connected to the first power supply signal, and the ground terminal of the third operational amplifier is connected to the high-voltage side ground; the output terminal of the third operational amplifier outputs the triangular wave signal.
8. The bus voltage sampling circuit according to claim 1, characterized in that: The bus voltage dividing module includes: a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor and a fifteenth resistor; The tenth resistor, the eleventh resistor, the twelfth resistor, the thirteenth resistor, the fourteenth resistor and the fifteenth resistor are connected in series, one end of the tenth resistor is connected to the voltage of the bus, and one end of the fifteenth resistor is connected to the high-voltage side ground; the first voltage signal is output at the connection between the fourteenth resistor and the fifteenth resistor.
9. The bus voltage sampling circuit according to claim 1, characterized in that: The pulse width modulation module includes: a third comparator; The inverting input terminal of the third comparator is connected to the triangular wave generating module, the non-inverting input terminal of the third comparator is connected to the bus voltage dividing module, the power supply terminal of the third comparator is connected to the first power supply signal, and the ground terminal of the third comparator is connected to the high-voltage side ground; the output terminal of the third comparator outputs the pulse width modulation signal.
10. The bus voltage sampling circuit according to claim 1, characterized in that: The control module includes: a micro control unit.
