New energy vehicle, vehicle charging device, temperature detection circuit and temperature detection method
By setting up multiple temperature sensors in the on-board charging device of new energy vehicles and performing digital temperature signal correction, the problem of inaccurate charging temperature detection is solved, charging safety and efficiency are improved, and accurate monitoring of the positive electrode, negative electrode and ambient temperature is ensured. .
Patent Information
- Application Number
- CN202111450896.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-11-30
AI Technical Summary
The charging temperature monitoring solution of the existing on-board charging device for new energy vehicles is prone to inaccurate temperature detection, leading to fire safety hazards, and it is difficult to accurately monitor the temperature difference between the positive and negative connecting terminals and the impact of ambient temperature.
A temperature detection circuit is designed, including setting temperature sensors at the positive and negative connection terminals and the charging device shell respectively. The digital temperature signal is collected and corrected through the analog-to-digital conversion module and the micro-control unit. The formula f(x) = x × (1 + τx) / (1 + ax) performs temperature correction, and suppresses noise and interference through passive filters and electromagnetic interference filters to ensure the accuracy of temperature detection.
It improves the charging temperature detection accuracy of the on-board charging device of new energy vehicles, enhances charging safety and efficiency, and reduces malfunctions and high temperature problems caused by inaccurate temperature detection.
Smart Images

Figure CN114088217B
Abstract
Description
Technical Field
[0001] The present specification relates to the technical field of on-board charging devices for new energy vehicles, and in particular to a new energy vehicle, an on-board charging device, a temperature detection circuit, and a temperature detection method. Background Art
[0002] At present, new energy electric vehicles have become a development trend in the global transportation industry. The charging trend of new energy electric vehicles is also increasingly tending towards high-power DC fast charging. With the rapid popularization of high-power DC fast charging, there comes the problem of converting part of the electric energy brought by high-power electric energy transmission into heat energy that is dissipated to the outside. This part of heat energy is harmful to both the new energy charging system and the new energy electric vehicle. If it is not properly controlled, it is very easy to cause fire safety hazards such as fire during charging, so it is necessary to monitor the charging temperature of the on-board charging device of the new energy vehicle. However, the existing charging temperature monitoring scheme of the on-board charging device of the new energy vehicle is prone to inaccurate temperature detection. Summary of the invention
[0003] The purpose of the embodiments of this specification is to provide a new energy vehicle, a vehicle-mounted charging device, a temperature detection circuit and a temperature detection method to improve the accuracy of charging temperature detection of the vehicle-mounted charging device of the new energy vehicle.
[0004] To achieve the above objectives, on the one hand, the embodiments of this specification provide a temperature detection circuit of an on-board charging device for a new energy vehicle, including:
[0005] A first temperature sensor is provided at the positive electrode connection terminal of the on-board charging device of the new energy vehicle, and is used to collect a first analog temperature signal of the positive electrode connection terminal;
[0006] A second temperature sensor is provided at the negative electrode connection terminal of the on-board charging device of the new energy vehicle, and is used to collect a second analog temperature signal of the negative electrode connection terminal;
[0007] A third temperature sensor is disposed in the housing of the on-board charging device of the new energy vehicle and is used to collect an analog ambient temperature signal of the on-board charging device of the new energy vehicle;
[0008] An analog-to-digital conversion module, used to convert the first analog temperature signal, the second analog temperature signal and the analog ambient temperature signal into a first digital temperature signal, a second digital temperature signal and a digital ambient temperature signal respectively;
[0009] The micro control unit is used to correct the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal.
[0010] In the temperature detection circuit of the embodiment of this specification, the analog-to-digital conversion module is integrated into the micro control unit.
[0011] In the temperature detection circuit of the embodiment of this specification, the correction of the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal includes:
[0012] The first digital temperature signal is corrected according to the formula f(x1)=x1×(1+τx1) / (1+ax1); and the second digital temperature signal is corrected according to the formula f(x2)=x2×(1+τx2) / (1+ax2);
[0013] Wherein, x1 is the first digital temperature signal, x2 is the second digital temperature signal, f(x1) is the corrected first digital temperature signal, f(x2) is the corrected second digital temperature signal, τ is the time constant, a is the temperature compensation coefficient, and a=(k1×z+b1)×τ+(k2×z+b2), k1 and b1 are the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the lower limit temperature by one degree under the specified current, k2 and b2 are the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the upper limit temperature by one degree under the specified current.
[0014] In the temperature detection circuit of the embodiment of this specification, the temperature detection circuit further includes:
[0015] a first bias circuit, arranged on a line between the first temperature sensor and the analog-to-digital conversion module, for setting a common mode voltage of the first temperature sensor within a specified voltage range of the first temperature sensor, and detecting whether an open circuit fault occurs in the first temperature sensor;
[0016] The second bias circuit is arranged on the line between the second temperature sensor and the analog-to-digital conversion module, and is used to set the common mode voltage of the second temperature sensor within a specified voltage range of the second temperature sensor, and detect whether the second temperature sensor has an open circuit fault.
[0017] In the temperature detection circuit of the embodiment of this specification, the first bias circuit includes a first weak pull-up resistor and a first weak pull-down resistor;
[0018] One end of the first weak pull-up resistor is connected to one end of the first temperature sensor, and the other end of the first weak pull-up resistor is connected to a DC power supply;
[0019] One end of the first weak pull-down resistor is connected to the other end of the first temperature sensor, and the other end of the first weak pull-down resistor is grounded.
[0020] In the temperature detection circuit of the embodiment of this specification, the second bias circuit includes a second weak pull-up resistor and a second weak pull-down resistor;
[0021] One end of the second weak pull-up resistor is connected to one end of the second temperature sensor, and the other end of the second weak pull-up resistor is connected to a DC power supply;
[0022] One end of the second weak pull-down resistor is connected to the other end of the second temperature sensor, and the other end of the second weak pull-down resistor is grounded.
[0023] In the temperature detection circuit of the embodiment of this specification, the temperature detection circuit further includes:
[0024] A first passive filter is provided on a line between the first bias circuit and the analog-to-digital conversion module, and is used to suppress aliasing distortion and high-frequency noise in the first analog temperature signal;
[0025] The second passive filter is arranged on the line between the second bias circuit and the analog-to-digital conversion module, and is used to suppress aliasing distortion and high-frequency noise in the second analog temperature signal.
[0026] In the temperature detection circuit of the embodiment of this specification, the first passive filter includes a first first-order RC low-pass filter, a second first-order RC low-pass filter and a first differential capacitor;
[0027] The first differential capacitor is connected across the output end of the first first-order RC low-pass filter and the output end of the second first-order RC low-pass filter; the input end of the first first-order RC low-pass filter and the input end of the second first-order RC low-pass filter are connected to the output end of the first bias circuit.
[0028] In the temperature detection circuit of the embodiment of this specification, the second passive filter includes a third first-order RC low-pass filter, a fourth first-order RC low-pass filter and a second differential capacitor;
[0029] The second differential capacitor is connected across the output end of the third first-order RC low-pass filter and the output end of the fourth first-order RC low-pass filter; the input end of the third first-order RC low-pass filter and the input end of the fourth first-order RC low-pass filter are connected to the output end of the second bias circuit.
[0030] In the temperature detection circuit of the embodiment of this specification, the temperature detection circuit further includes:
[0031] A first electromagnetic interference filter is provided on a line between the first bias circuit and the first temperature sensor, and is used to filter out electromagnetic interference in the first analog temperature signal;
[0032] The second electromagnetic interference filter is arranged on the line between the second bias circuit and the second temperature sensor, and is used for filtering out electromagnetic interference in the second analog temperature signal.
[0033] In the temperature detection circuit of the embodiment of this specification, the first electromagnetic interference filter includes a first π filter, a first magnetic bead, a second π filter and a second magnetic bead;
[0034] The first π filter and the second π filter are used to filter out electromagnetic interference at a cutoff frequency or above in the first analog temperature signal;
[0035] The first magnetic bead and the second magnetic bead are used to filter out electromagnetic interference above the cutoff frequency in the first analog temperature signal;
[0036] The input end of the first π filter is connected to one end of the first temperature sensor, the output end of the first π filter is connected to one end of the first magnetic bead, and the other end of the first magnetic bead is connected to the input end of the first bias circuit;
[0037] The input end of the second π filter is connected to the other end of the first temperature sensor, the output end of the second π filter is connected to one end of the second magnetic bead, and the other end of the second magnetic bead is connected to the input end of the first bias circuit.
[0038] In the temperature detection circuit of the embodiment of this specification, the second electromagnetic interference filter includes a third π filter, a third magnetic bead, a fourth π filter and a fourth magnetic bead;
[0039] The third π filter and the fourth π filter are used to filter out electromagnetic interference at a cutoff frequency or above in the second analog temperature signal;
[0040] The third magnetic bead and the fourth magnetic bead are used to filter out electromagnetic interference above the cutoff frequency in the second analog temperature signal;
[0041] The input end of the third π filter is connected to one end of the second temperature sensor, the output end of the third π filter is connected to one end of the third magnetic bead, and the other end of the third magnetic bead is connected to the input end of the second bias circuit;
[0042] The input end of the fourth π filter is connected to the other end of the second temperature sensor, the output end of the fourth π filter is connected to one end of the fourth magnetic bead, and the other end of the fourth magnetic bead is connected to the input end of the second bias circuit.
[0043] In the temperature detection circuit of the embodiment of this specification, one end of the third temperature sensor is connected to a DC power supply through a pull-up resistor, the connection point between the third temperature sensor and the pull-up resistor serves as the output end of the third temperature sensor, and the other end of the third temperature sensor is grounded.
[0044] In the temperature detection circuit of the embodiment of this specification, the temperature detection circuit further includes:
[0045] A matching network is arranged on the line between the analog-to-digital conversion module and the micro control unit, and is used to perform current limiting control and impedance matching control on the first digital temperature signal and the second digital temperature signal; the current limiting control is used to make the current values of the first digital temperature signal and the second digital temperature signal fall within the allowable range of the micro control unit, and the impedance matching control is used to make the first digital temperature signal and the second digital temperature signal completely transmitted to the micro control unit.
[0046] In the temperature detection circuit of the embodiment of this specification, the first temperature sensor, the second temperature sensor and the third temperature sensor include thermocouples or thermal resistors.
[0047] In the temperature detection circuit of the embodiment of this specification, the thermal resistor includes an NTC thermistor or a PTC thermistor.
[0048] On the other hand, an embodiment of the present specification further provides an on-board charging device for a new energy vehicle, wherein the on-board charging device for a new energy vehicle is configured with the above-mentioned temperature detection circuit.
[0049] In the on-board charging device for a new energy vehicle of the embodiment of this specification, the on-board charging device for a new energy vehicle includes a new energy vehicle charging seat.
[0050] On the other hand, an embodiment of the present specification further provides a new energy vehicle, which is equipped with the above-mentioned on-board charging device for new energy vehicles.
[0051] On the other hand, the embodiment of this specification also provides a temperature detection method of an on-board charging device of a new energy vehicle, including:
[0052] Collecting a first analog temperature signal of the positive connection terminal, a second analog temperature signal of the negative connection terminal, and an analog ambient temperature signal of the on-board charging device of the new energy vehicle;
[0053] Convert the first analog temperature signal, the second analog temperature signal and the analog ambient temperature signal into a first digital temperature signal, a second digital temperature signal and a digital ambient temperature signal respectively;
[0054] The first digital temperature signal and the second digital temperature signal are corrected according to the digital ambient temperature signal.
[0055] In the temperature detection method of the embodiment of this specification, the correcting the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal includes:
[0056] The first digital temperature signal is corrected according to the formula f(x1)=x1×(1+τx1) / (1+ax1); and the second digital temperature signal is corrected according to the formula f(x2)=x2×(1+τx2) / (1+ax2);
[0057] Wherein, x1 is the first digital temperature signal, x2 is the second digital temperature signal, f(x1) is the corrected first digital temperature signal, f(x2) is the corrected second digital temperature signal, τ is the time constant, a is the temperature compensation coefficient, and a=(k1×z+b1)×τ+(k2×z+b2), k1 and b1 are the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the lower limit temperature by one degree under the specified current, k2 and b2 are the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the upper limit temperature by one degree under the specified current.
[0058] On the other hand, an embodiment of the present specification further provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein when the computer program is executed by the processor, the instructions of the above method are executed.
[0059] On the other hand, an embodiment of the present specification further provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer device, the instructions of the above method are executed.
[0060] It can be seen from the technical solutions provided in the above embodiments of this specification that in the embodiments of this specification, the first digital temperature signal at the positive connection terminal can be corrected according to the digital ambient temperature signal, and the second digital temperature signal at the negative connection terminal can be corrected according to the digital ambient temperature signal. In this way, the charging temperature of the positive connection terminal and the charging temperature of the negative connection terminal under the influence of the ambient temperature can be obtained, so that a more accurate charging temperature of the on-board charging device of the new energy vehicle can be obtained, which is conducive to improving the charging safety and charging efficiency of the on-board charging device of the new energy vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
[0062] Figure 1 It shows a structural block diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some embodiments of this specification;
[0063] Figure 2 A circuit schematic diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some embodiments of this specification is shown;
[0064] Figure 3 It shows a structural block diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some other embodiments of this specification;
[0065] Figure 4 A circuit schematic diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some other embodiments of this specification is shown;
[0066] Figure 5 It shows a structural block diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some other embodiments of this specification;
[0067] Figure 6 A circuit schematic diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some other embodiments of this specification is shown;
[0068] Figure 7 It shows a structural block diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some other embodiments of this specification;
[0069] Figure 8 A circuit schematic diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some other embodiments of this specification is shown;
[0070] Fig. 9 It shows a structural block diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some other embodiments of this specification;
[0071] Fig.10 A circuit schematic diagram of a temperature detection circuit of an on-board charging device for a new energy vehicle in some other embodiments of this specification is shown;
[0072] Fig.11 A flow chart showing a temperature detection method of an on-board charging device for a new energy vehicle in some embodiments of this specification;
[0073] Fig.12 The structure block diagram of the computer device in some embodiments of the present specification is shown.
[0074] [Description of Reference Numerals]
[0075] TH1, first temperature sensor;
[0076] TH2, second temperature sensor;
[0077] TH3, the third temperature sensor;
[0078] 10. Analog-to-digital conversion module;
[0079] 20. Micro control unit;
[0080] 31. A first bias circuit;
[0081] 32. A second bias circuit;
[0082] 41. A first passive filter;
[0083] 42. A second passive filter;
[0084] 51. The first electromagnetic interference filter;
[0085] 51a, a first π filter;
[0086] 51b, second π filter;
[0087] 52. A second electromagnetic interference filter;
[0088] 52a, third π filter;
[0089] 52b, fourth π filter;
[0090] 60. Matching network;
[0091] U1, A / D chip;
[0092] 1202. Computer equipment;
[0093] 1204, processor;
[0094] 1206. Memory;
[0095] 1208, driving mechanism;
[0096] 1210, input / output interface;
[0097] 1212. Input device;
[0098] 1214. Output device;
[0099] 1216. Presentation equipment;
[0100] 1218. Graphical user interface;
[0101] 1220, network interface;
[0102] 1222, communication link;
[0103] 1224. Communication bus. DETAILED DESCRIPTION
[0104] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be described clearly and completely below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0105] In the process of realizing the present application, the inventor of the present application found that in the charging temperature monitoring scheme of the existing on-board charging device of new energy vehicles (such as the on-board charging seat of new energy vehicles), generally only one temperature sensor is provided to detect the on-board charging device of new energy vehicles. However, in many scenarios, the on-board charging device of new energy vehicles may have inconsistent temperatures between the positive connection terminal and the negative connection terminal. In addition, the charging temperature of the on-board charging device of new energy vehicles may also be affected by the external ambient temperature. In view of this, in order to improve the accuracy of charging temperature detection of the on-board charging device of new energy vehicles, the embodiment of the present application provides an improved temperature detection circuit of the on-board charging device of new energy vehicles.
[0106] refer to Figure 1 As shown, in some embodiments, the temperature detection circuit of the on-board charging device of a new energy vehicle may include: a first temperature sensor TH1, a second temperature sensor TH2, a third temperature sensor TH3, an analog-to-digital conversion (Analogue-to-Digital Conversion, A / D) module 10 and a microcontroller unit (Microcontroller Unit, MCU) 20.
[0107] The first temperature sensor TH1 is arranged at the positive connection terminal of the on-board charging device of the new energy vehicle, and is used to collect the first analog temperature signal of the positive connection terminal; the second temperature sensor TH2 is arranged at the negative connection terminal of the on-board charging device of the new energy vehicle, and is used to collect the second analog temperature signal of the negative connection terminal; the third temperature sensor TH3 is arranged in the shell of the on-board charging device of the new energy vehicle, and can be far away from the position of the heating device, and is used to collect the analog ambient temperature signal of the on-board charging device of the new energy vehicle.
[0108] In view of the fact that in many scenarios, the temperature of the positive connection terminal and the negative connection terminal of the on-board charging device of a new energy vehicle may be inconsistent, by respectively setting temperature sensors at the positive connection terminal and the negative connection terminal, the charging temperature of the positive connection terminal and the negative connection terminal can be obtained accordingly, so as to facilitate obtaining a more accurate charging temperature of the on-board charging device of a new energy vehicle. By setting the third temperature sensor TH3 in the housing of the on-board charging device of a new energy vehicle and at a position away from the heating device, it is helpful to obtain a more accurate ambient temperature; it should be noted that the ambient temperature here refers to the ambient temperature of the positive connection terminal and the negative connection terminal. In the embodiments of this specification, the heating device is any component that may affect the positive connection terminal and the negative connection terminal. For example, in an exemplary embodiment, the heating device may include, for example, a microcontroller unit 20 of a temperature detection circuit.
[0109] In some embodiments, the above-mentioned measures of disposing the third temperature sensor TH3 away from the heating device may include:
[0110] 1) Isolate the heat conduction of heating components.
[0111] For example, within a specified radius (e.g., 1 cm) centered on the third temperature sensor: no components are placed on the front and back sides of the printed circuit board (i.e., PCB board), the PCB board is not copper-clad (two-layer board or multi-layer board), and / or the sensor signal line PCB layout line width and line resistance are designed as recommended by the sensor manufacturer.
[0112] 2) Isolate the heat radiation of heating components.
[0113] Although the third temperature sensor can be arranged as far away from the heat generating device as possible, the isolation distance may not achieve the expected effect due to practical limitations (such as the size of the charging device, etc.); in this case, insulation materials such as insulation cotton or insulation boards can be added as needed to avoid interference from thermal radiation from the heat generating device.
[0114] 3) Place it closer to the ambient temperature.
[0115] For example, the third temperature sensor may be placed at a location where air circulation to the outside of the printed circuit board is good (for example, near a low-voltage signal connector to the outside of the printed circuit board, etc.).
[0116] In some embodiments, the first temperature sensor TH1, the second temperature sensor TH2, and the third temperature sensor TH3 may be any suitable temperature sensor. For example, in one embodiment, the first temperature sensor TH1, the second temperature sensor TH2, and the third temperature sensor TH3 may also be NTC (Negative Temperature Coefficient) thermistors; in another embodiment, the first temperature sensor TH1, the second temperature sensor TH2, and the third temperature sensor TH3 may be PTC (Positive Temperature Coefficient) thermistors. In another embodiment, the first temperature sensor TH1, the second temperature sensor TH2, and the third temperature sensor TH3 may also be thermocouples or armored thermocouples.
[0117] The analog-to-digital conversion module 10 is generally a multi-channel analog-to-digital conversion module, that is, it has the ability to convert multiple analog signals into corresponding digital signals at the same time. The first temperature sensor TH1, the second temperature sensor TH2 and the third temperature sensor TH3 output analog signals, while the microcontroller unit 20 generally can only recognize digital signals, so it is necessary to use the analog-to-digital conversion module 10 to convert the first analog temperature signal and the second analog temperature signal into a first digital temperature signal and a second digital temperature signal. In some embodiments, the microcontroller unit 20 itself may have a certain analog-to-digital conversion capability (for example, an analog-to-digital conversion circuit is integrated inside the microcontroller unit 20), so the analog ambient temperature signal output by the third temperature sensor TH3 can be directly input into the analog-to-digital conversion circuit inside the microcontroller unit 20 for analog-to-digital conversion, so that a digital ambient temperature signal can be obtained.
[0118] Of course, in other embodiments, the microcontroller unit 20 may also be a microcontroller unit 20 that does not have any analog-to-digital conversion capability. In this case, the analog-to-digital conversion module 10 should have the capability to simultaneously convert at least three analog signals into corresponding digital signals, so that the first analog temperature signal, the second analog temperature signal, and the analog ambient temperature signal can be converted into corresponding digital signals. In other embodiments, the microcontroller unit 20 may also be a microcontroller unit 20 that has multi-channel analog-to-digital conversion capability, so that the microcontroller unit 20 can directly convert the first analog temperature signal, the second analog temperature signal, and the analog ambient temperature signal into corresponding digital signals; in this way, the analog-to-digital conversion module 10 is saved.
[0119] Combination Figure 2As shown, in some embodiments, the analog-to-digital conversion module 10 can be an integrated A / D chip U1. In the A / D chip U1, AIN0-AIN4 are temperature analog signal input pins, DIN and DOUT / DRDY are temperature digital signal output pins, CS_ is a chip select signal input pin, SCLK is a clock signal input pin, GND is a ground pin, and VDD is a power supply pin (for example, an external 5V DC power supply can be connected). Among them, AIN0-AIN2 are respectively connected to the two ends of the first temperature sensor TH1, and AIN3-AIN4 are respectively connected to the two ends of the second temperature sensor TH2. DIN and DOUT / DRDY are respectively connected to the microcontroller unit 20 to output two temperature digital signals to the microcontroller unit 20. In addition, the CS_ pin and SCLK pin of the A / D chip U1 are respectively connected to the microcontroller unit 20 to realize the control of the analog-to-digital conversion module 10. In some embodiments, the output of the A / D chip U1 can adopt a digital SPI (Serial Peripheral Interface) communication method, and can be cascaded and expanded in multiple groups to facilitate the use of multiple temperature detection points.
[0120] Please continue to refer to Figure 2 As shown, one end of the third temperature sensor TH3 is connected to a DC power supply (e.g., a 5V DC power supply) through a pull-up resistor R4, the connection point between the third temperature sensor TH3 and the pull-up resistor R4 serves as the output end of the third temperature sensor TH3, and the other end of the third temperature sensor TH3 is grounded.
[0121] The microcontroller unit 20 can also be called a single chip microcomputer, which is the control processing center of the onboard charging device of the new energy vehicle. In some embodiments, the microcontroller unit 20 can also be replaced by other control processing chips such as a microprocessor unit (MPU).
[0122] In the embodiments of this specification, correcting the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal means: correcting the first digital temperature signal according to the digital ambient temperature signal, and correcting the second digital temperature signal according to the digital ambient temperature signal. In this way, the charging temperature of the positive connection terminal and the charging temperature of the negative connection terminal under the influence of the ambient temperature can be obtained, so that a more accurate charging temperature of the on-board charging device of the new energy vehicle can be obtained.
[0123] Furthermore, when any of the charging temperature of the positive connection terminal and the charging temperature of the negative connection terminal reaches or exceeds the set temperature, the micro control unit 20 can perform safety control in a timely manner to improve the charging safety and charging efficiency of the on-board charging device of the new energy vehicle. Specifically, in the prior art, if the collected charging temperature is lower than the actual charging temperature, it is easy to cause the high temperature of the on-board charging device of the new energy vehicle; if the collected charging temperature is higher than the actual charging temperature, it is easy to cause the on-board charging device of the new energy vehicle to malfunction (for example, cutting off the charging circuit), thereby affecting the charging efficiency. Because in the embodiment of this specification, the charging temperature detected by the temperature detection circuit of the on-board charging device of the new energy vehicle is more accurate, it is possible to avoid the malfunction or high temperature problem of the energy vehicle charging seat caused by inaccurate charging temperature detection in the prior art with a high probability, thereby improving the charging safety and charging efficiency of the on-board charging device of the new energy vehicle.
[0124] In some embodiments, the correcting the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal may include:
[0125] The first digital temperature signal is corrected according to the formula f(x1)=x1×(1+τx1) / (1+ax1); and the second digital temperature signal is corrected according to the formula f(x2)=x2×(1+τx2) / (1+ax2). Wherein, x1 is the first digital temperature signal, x2 is the second digital temperature signal, f(x1) is the corrected first digital temperature signal, f(x2) is the corrected second digital temperature signal, τ is the time constant, a is the temperature compensation coefficient, and a=(k1×z+b1)×τ+(k2×z+b2), k1 and b1 are respectively the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the lower limit temperature by one degree under the specified current, and k2 and b2 are respectively the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the upper limit temperature by one degree under the specified current.
[0126] Among them, the specified current can be, for example, 500A, 300A, etc., which can be selected according to actual needs. The lower limit temperature and the upper limit temperature are both ambient temperatures. When implemented, they can be determined according to the workable ambient temperature of the on-board charging device of the new energy vehicle. For example, in an exemplary embodiment, the lower limit temperature can be -40°C and the upper limit temperature can be 80°C. Then, when the connection terminal is heated from -40°C to -39°C at the specified current, in the coordinate system where the temperature changes with time, the temperature point -40°C and the temperature point -39°C can determine a straight line, and k1 and b1 can be obtained based on the straight line. Similarly, when the connection terminal is heated from 80°C to 81°C at the specified current, in the coordinate system where the temperature changes with time, the temperature point 80°C and the temperature point 81°C can determine a straight line, and k2 and b2 can be obtained based on the straight line. In short, there is a linear correspondence between the temperature compensation coefficient a and the digital ambient temperature signal z, and this correspondence can be pre-stored in the form of a relationship curve. When the first digital temperature signal and the second digital temperature signal are corrected according to the formula f(x)=x×(1+τx) / (1+ax), the corresponding temperature compensation coefficient a can be determined from the relationship curve through the measured ambient temperature.
[0127] refer to Figure 3 As shown, in some embodiments, in addition to the first temperature sensor TH1, the second temperature sensor TH2, the third temperature sensor TH3, the analog-to-digital conversion module 10, and the micro control unit 20, the temperature detection circuit of the on-board charging device of the new energy vehicle may also include a first bias circuit 31 and a second bias circuit 32.
[0128] The first bias circuit 31 can be arranged on the line between the first temperature sensor TH1 and the analog-to-digital conversion module 10, and is used to set the common mode voltage of the first temperature sensor TH1 within the specified voltage range of the first temperature sensor TH1, and detect whether the first temperature sensor TH1 has an open circuit fault. The second bias circuit 32 can be arranged on the line between the second temperature sensor TH2 and the analog-to-digital conversion module 10, and is used to set the common mode voltage of the second temperature sensor TH2 within the specified voltage range of the second temperature sensor TH2, and detect whether the second temperature sensor TH2 has an open circuit fault, that is, when the analog-to-digital conversion module 10 obtains a signal value exceeding the specified voltage range of the first temperature sensor TH1, it can be identified that the first temperature sensor TH1 has an open circuit fault, and when the analog-to-digital conversion module 10 obtains a signal value exceeding the specified voltage range of the second temperature sensor TH2, it can be identified that the second temperature sensor TH2 has an open circuit fault, thereby realizing the function of open circuit fault detection. The above-mentioned specified voltage range can be specifically determined according to the performance parameters of the temperature sensor actually used.
[0129] Combination Figure 4 As shown, in some embodiments, the first bias circuit 31 may include a first weak pull-up resistor R6 and a first weak pull-down resistor R12. One end of the first weak pull-up resistor R6 is connected to one end of the first temperature sensor TH1, and the other end of the first weak pull-up resistor R6 is connected to a DC power supply (e.g., a 5V DC power supply, etc.); one end of the first weak pull-down resistor R12 is connected to the other end of the first temperature sensor TH1, and the other end of the first weak pull-down resistor R12 is grounded. The detection mode of the analog-to-digital conversion module 10 is a differential mode detection mode, and the first weak pull-up resistor R6 and the first weak pull-down resistor R12 provide the analog-to-digital conversion module 10 with leads for detecting an open circuit fault of the first temperature sensor TH1; when the first temperature sensor TH1 is disconnected, its positive input is pulled up to VDD (e.g., 5V), and its negative input is pulled down to GND, thereby indicating such a fault condition.
[0130] Please continue to combine Figure 4 As shown, in some embodiments, the second bias circuit 32 may include a second weak pull-up resistor R13 and a second weak pull-down resistor R7. One end of the second weak pull-up resistor R13 is connected to one end of the second temperature sensor TH2, and the other end of the second weak pull-up resistor R13 is connected to a DC power supply (e.g., a 5V DC power supply, etc.); one end of the second weak pull-down resistor R7 is connected to the other end of the second temperature sensor TH2, and the other end of the second weak pull-down resistor R7 is grounded. The detection mode of the analog-to-digital conversion module 10 is a differential mode detection mode, and the second weak pull-up resistor R13 and the second weak pull-down resistor R7 provide the analog-to-digital conversion module 10 with leads for detecting an open circuit fault of the second temperature sensor TH2; when the second temperature sensor TH2 is disconnected, its positive input is pulled up to VDD (e.g., 5V), and its negative input is pulled down to GND, thereby indicating such a fault condition.
[0131] exist Figure 4 In the illustrated embodiment, weak pull-up and weak pull-down both refer to: the current flowing through the temperature sensor is small (even weak), so it is called weak pull-up and weak pull-down. In view of the fact that the temperature sensor also has internal resistance, the current flowing through the temperature sensor should not be too large. If it is too large, it will cause the temperature sensor to heat itself. At this time, the temperature detected by the temperature sensor will be inaccurate, making it difficult to better characterize the temperature of the detected point. Therefore, the resistance value of the above-mentioned weak pull-up resistor and weak pull-down resistor should be set as large as possible (for example, it can be megohm level), so that the current flowing through the temperature sensor is as small as possible, reducing the influence of self-heating on the detection result.
[0132] refer to Figure 5As shown, in some embodiments, in addition to the first temperature sensor TH1, the second temperature sensor TH2, the third temperature sensor TH3, the analog-to-digital conversion module 10, the microcontroller unit 20, the first bias circuit 31 and the second bias circuit 32, the temperature detection circuit of the on-board charging device of the new energy vehicle may also include a first passive filter 41 and a second passive filter 42. The first passive filter 41 can be arranged on the line between the first bias circuit 31 and the analog-to-digital conversion module 10 to suppress aliasing distortion and high-frequency noise in the first analog temperature signal; the second passive filter 42 can be arranged on the line between the second bias circuit 32 and the analog-to-digital conversion module 10 to suppress aliasing distortion and high-frequency noise in the second analog temperature signal. In an exemplary embodiment, the first passive filter 41 and the second passive filter 42 can both be first-order passive filters to obtain a more stable filtering result.
[0133] Combination Figure 6 As shown, in some embodiments, the first passive filter 41 may include a first first-order RC low-pass filter (ie Figure 6 The resistor R8 and capacitor C1 in the second first-order RC low-pass filter (i.e. Figure 6 The first differential capacitor C3 is connected between the output terminal of the first first-order RC low-pass filter and the output terminal of the second first-order RC low-pass filter, so that the resistor R8, the resistor R10, the capacitor C1, the capacitor C5 and the first differential capacitor C3 can form a differential RC filter, thereby improving the effect of suppressing aliasing distortion and high-frequency noise; the input terminal of the first first-order RC low-pass filter and the input terminal of the second first-order RC low-pass filter are connected to the output terminal of the first bias circuit 31.
[0134] Please continue to combine Figure 6 As shown, in some embodiments, the second passive filter 42 includes a third first-order RC low-pass filter (ie Figure 6 The resistor R9 and capacitor C2 in the fourth first-order RC low-pass filter (i.e. Figure 6 The resistor R11 and the capacitor C6 in the third first-order RC low-pass filter are connected to the output terminal of the third first-order RC low-pass filter and the output terminal of the fourth first-order RC low-pass filter, so that the resistor R9, the resistor R11, the capacitor C2, the capacitor C6 and the second differential capacitor C4 can form a differential RC filter, thereby improving the effect of suppressing aliasing distortion and high-frequency noise; the input terminal of the third first-order RC low-pass filter and the input terminal of the fourth first-order RC low-pass filter are connected to the output terminal of the second bias circuit 32.
[0135] exist Figure 6In the illustrated embodiment, capacitor C1, capacitor C2, capacitor C5 and capacitor C6 may have the same capacitance value, the same specification package, and be placed at relatively close positions on the circuit board. In this way, when the temperature sensor (e.g., the first temperature sensor TH1, the second temperature sensor TH2) introduces common mode noise, the two signal lines will be mixed with noise of the same direction, and when the noise flows through the first passive filter 41 and the second passive filter 42, it will be attenuated or filtered out by the capacitor C1, capacitor C5, capacitor C2, capacitor C6 nodes, thereby also playing a stable anti-interference effect in the temperature detection process.
[0136] refer to Figure 7 As shown, in some embodiments, in addition to the first temperature sensor TH1, the second temperature sensor TH2, the third temperature sensor TH3, the analog-to-digital conversion module 10, the microcontroller unit 20, the first bias circuit 31, the second bias circuit 32, the first passive filter 41 and the second passive filter 42, the temperature detection circuit of the on-board charging device of the new energy vehicle may also include a first electromagnetic interference filter 51 and a second electromagnetic interference filter 52. The first electromagnetic interference filter 51 can be arranged on the line between the first bias circuit 31 and the first temperature sensor TH1, and is used to filter out the electromagnetic interference in the first analog temperature signal; the second electromagnetic interference filter 52 can be arranged on the line between the second bias circuit 32 and the second temperature sensor TH2, and is used to filter out the electromagnetic interference in the second analog temperature signal.
[0137] Combination Figure 8 As shown, in some embodiments, the first electromagnetic interference filter 51 may include a first π filter 51a, a first magnetic bead FB3, a second π filter 51b and a second magnetic bead FB5; the first π filter 51a is composed of a capacitor C9, a capacitor C10 and a magnetic bead FB4; the second π filter 51b is composed of a capacitor C11, a capacitor C12 and a magnetic bead FB6. The input end of the first π filter 51a is connected to one end of the first temperature sensor TH1, the output end of the first π filter 51a is connected to one end of the first magnetic bead FB3, and the other end of the first magnetic bead FB3 is connected to the input end of the first bias circuit 31; the input end of the second π filter 51b is connected to the other end of the first temperature sensor TH1, the output end of the second π filter 51b is connected to one end of the second magnetic bead FB5, and the other end of the second magnetic bead FB5 is connected to the input end of the first bias circuit 31.
[0138] The first π filter 51a and the second π filter 51b can be used to filter out electromagnetic interference at or above the cutoff frequency in the first analog temperature signal. For example, in an exemplary embodiment, if the cutoff frequencies of the first π filter 51a and the second π filter 51b are both 50 Hz, the first π filter 51a and the second π filter 51b can filter out electromagnetic interference at or above 50 Hz. The first magnetic bead FB3 and the second magnetic bead FB5 can be used to filter out electromagnetic interference at or above the cutoff frequency in the first analog temperature signal. For example, in an exemplary embodiment, taking the cutoff frequencies of the first π filter 51a and the second π filter 51b as 50 Hz, the first magnetic bead FB3 and the second magnetic bead FB5 can filter out electromagnetic interference at or above 50 Hz.
[0139] Please continue to refer to Figure 8 As shown, the second electromagnetic interference filter 52 may include a third π filter 52a, a third magnetic bead FB2, a fourth π filter 52b and a fourth magnetic bead FB8; the third π filter 52a is composed of capacitors C7, C8 and magnetic bead FB1; the fourth π filter 52b is composed of capacitors C13, C14 and magnetic bead FB7. The input end of the third π filter 52a is connected to one end of the second temperature sensor TH2, the output end of the third π filter 52a is connected to one end of the third magnetic bead FB2, and the other end of the third magnetic bead FB2 is connected to the input end of the second bias circuit 32; the input end of the fourth π filter 52b is connected to the other end of the second temperature sensor TH2, the output end of the fourth π filter 52b is connected to one end of the fourth magnetic bead FB8, and the other end of the fourth magnetic bead FB8 is connected to the input end of the second bias circuit 32.
[0140] The third π filter 52a and the fourth π filter 52b are used to filter out electromagnetic interference at or above the cutoff frequency in the second analog temperature signal; the third magnetic bead FB2 and the fourth magnetic bead FB8 are used to filter out electromagnetic interference at or above the cutoff frequency in the second analog temperature signal. In other embodiments, according to actual needs, the first magnetic bead FB3, the second magnetic bead FB5, the third magnetic bead FB2 and the fourth magnetic bead FB8 can also be replaced by inductors.
[0141] refer to Fig. 9As shown, in some embodiments, in addition to the first temperature sensor TH1, the second temperature sensor TH2, the third temperature sensor TH3, the analog-to-digital conversion module 10, the micro control unit 20, the first bias circuit 31, the second bias circuit 32, the first passive filter 41, the second passive filter 42, the first electromagnetic interference filter 51 and the second electromagnetic interference filter 52, the temperature detection circuit of the on-board charging device of the new energy vehicle may also include a matching network 60. The matching network 60 can be arranged on the line between the analog-to-digital conversion module 10 and the micro control unit 20, and is used to perform current limiting control and impedance matching control on the first digital temperature signal and the second digital temperature signal; the current limiting control is used to make the current values of the first digital temperature signal and the second digital temperature signal within the allowable range of the micro control unit 20, and the impedance matching control is used to make the first digital temperature signal and the second digital temperature signal be transmitted completely to the micro control unit 20, that is, to prevent the first digital temperature signal and the second digital temperature signal output by the analog-to-digital conversion module 10 to the micro control unit 20 from generating signal reflection waves, thereby avoiding incomplete transmission of the first digital temperature signal and the second digital temperature signal to the micro control unit 20.
[0142] Combination Fig.10 As shown, in some embodiments, the matching network 60 may include a resistor R1, a resistor R2, a resistor R3, and a resistor R5. Among them, one end of the resistor R1 is connected to the DOUT / DRDY pin of the A / D chip U1, and the other end of the resistor R1 is connected to the micro control unit 20; one end of the resistor R2 is connected to the DIN pin of the A / D chip U1, and the other end of the resistor R2 is connected to the micro control unit 20; one end of the resistor R3 is connected to the SCLK pin of the A / D chip U1, and the other end of the resistor R3 is connected to the micro control unit 20; one end of the resistor R3 is connected to the CS_ pin of the A / D chip U1, and the other end of the resistor R4 is connected to the micro control unit 20.
[0143] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0144] Corresponding to the temperature detection circuit of the above-mentioned onboard charging device of a new energy vehicle, the embodiment of this specification also provides an onboard charging device of a new energy vehicle, and the onboard charging device of the new energy vehicle is equipped with the above-mentioned temperature detection circuit. In some embodiments, the onboard charging device of the new energy vehicle may include, for example, but is not limited to, a new energy vehicle charging seat, etc.
[0145] Corresponding to the above-mentioned on-board charging device for new energy vehicles, an embodiment of the present specification further provides a new energy vehicle, and the new energy vehicle is equipped with the above-mentioned on-board charging device for new energy vehicles.
[0146] Corresponding to the temperature detection circuit of the on-board charging device of the new energy vehicle, the embodiment of this specification also provides a temperature detection method of the on-board charging device of the new energy vehicle, which can be applied to the temperature detection circuit side of the on-board charging device of the new energy vehicle, referring to Fig.11 As shown, in some embodiments, the temperature detection method of the on-board charging device of the new energy vehicle may include the following steps:
[0147] S111, collecting a first analog temperature signal of the positive connection terminal, a second analog temperature signal of the negative connection terminal, and an analog ambient temperature signal of the on-board charging device of the new energy vehicle.
[0148] The temperature detection circuit of the on-board charging device of the new energy vehicle can use its first temperature sensor, second temperature sensor and third temperature sensor to correspondingly collect the first analog temperature signal, the second analog temperature signal and the analog ambient temperature signal.
[0149] S112: Convert the first analog temperature signal, the second analog temperature signal, and the analog ambient temperature signal into a first digital temperature signal, a second digital temperature signal, and a digital ambient temperature signal, respectively.
[0150] The temperature detection circuit of the on-board charging device of a new energy vehicle can use its analog-to-digital conversion module to convert the first analog temperature signal, the second analog temperature signal and the analog ambient temperature signal into a first digital temperature signal, a second digital temperature signal and a digital ambient temperature signal respectively.
[0151] S113: Correct the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal.
[0152] The temperature detection circuit of the on-board charging device of the new energy vehicle can use its micro control unit to execute the step of correcting the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal.
[0153] In the temperature detection method of the embodiment of this specification, correcting the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal means: correcting the first digital temperature signal according to the digital ambient temperature signal, and correcting the second digital temperature signal according to the digital ambient temperature signal. In this way, the charging temperature of the positive connection terminal and the charging temperature of the negative connection terminal under the influence of the ambient temperature can be obtained, so that a more accurate charging temperature of the on-board charging device of the new energy vehicle can be obtained.
[0154] In some temperature detection method embodiments, the correcting the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal may include:
[0155] The first digital temperature signal is corrected according to the formula f(x1)=x1×(1+τx1) / (1+ax1); and the second digital temperature signal is corrected according to the formula f(x2)=x2×(1+τx2) / (1+ax2). Wherein, x1 is the first digital temperature signal, x2 is the second digital temperature signal, f(x1) is the corrected first digital temperature signal, f(x2) is the corrected second digital temperature signal, τ is the time constant, a is the temperature compensation coefficient, and a=(k1×z+b1)×τ+(k2×z+b2), k1 and b1 are respectively the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the lower limit temperature by one degree under the specified current, and k2 and b2 are respectively the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the upper limit temperature by one degree under the specified current.
[0156] The temperature detection method of the embodiment of this specification can correct the first digital temperature signal at the positive connection terminal according to the digital ambient temperature signal, and correct the second digital temperature signal at the negative connection terminal according to the digital ambient temperature signal. In this way, the charging temperature of the positive connection terminal and the charging temperature of the negative connection terminal under the influence of the ambient temperature can be obtained, so that a more accurate charging temperature of the on-board charging device of the new energy vehicle can be obtained, which is conducive to improving the charging safety and charging efficiency of the on-board charging device of the new energy vehicle.
[0157] The embodiments of this specification also provide a computer device. Fig.12As shown, in some embodiments of this specification, the computer device 1202 may include one or more processors 1204, such as one or more central processing units (CPUs) or graphics processing units (GPUs), and each processing unit may implement one or more hardware threads. The computer device 1202 may also include any memory 1206, which is used to store any kind of information such as code, settings, data, etc. In a specific embodiment, the computer program on the memory 1206 and can be run on the processor 1204, when the computer program is run by the processor 1204, the instructions of the temperature detection method of the on-board charging device of the new energy vehicle described in any of the above embodiments may be executed. Non-limitingly, for example, the memory 1206 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any memory can use any technology to store information. Further, any memory can provide volatile or non-volatile retention of information. Further, any memory can represent a fixed or removable component of the computer device 1202. In one embodiment, when the processor 1204 executes the associated instructions stored in any memory or combination of memories, the computer device 1202 can perform any operation of the associated instructions. The computer device 1202 also includes one or more drive mechanisms 1208 for interacting with any memory, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.
[0158] The computer device 1202 may also include an input / output interface 1210 (I / O) for receiving various inputs (via input devices 1212) and for providing various outputs (via output devices 1214). A specific output mechanism may include a presentation device 1216 and an associated graphical user interface 1218 (GUI). In other embodiments, the input / output interface 1210 (I / O), input device 1212, and output device 1214 may not be included, and the computer device 1202 may be used as a computer device in a network. The computer device 1202 may also include one or more network interfaces 1220 for exchanging data with other devices via one or more communication links 1222. One or more communication buses 1224 couple the components described above together.
[0159] The communication link 1222 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 1222 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.
[0160] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of some embodiments of the present specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processor to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processor generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0161] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processor to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0162] These computer program instructions can also be loaded onto a computer or other programmable data processor so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0163] In a typical configuration, a computer device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0164] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0165] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computer device. As defined in this specification, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0166] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may take the form of complete hardware embodiments, complete software embodiments or embodiments combining software and hardware. Moreover, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0167] The present specification embodiments may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present specification embodiments may also be practiced in distributed computing environments where tasks are performed by remote processors connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0168] It should also be understood that in the embodiments of the present invention, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0169] Each embodiment of the present invention is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiment of the on-board charging device for new energy vehicles, the embodiment of new energy vehicles, and the embodiment of the temperature detection method of the on-board charging device for new energy vehicles, since the core improved parts are basically similar to the temperature detection circuit embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the temperature detection circuit embodiment.
[0170] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of the present invention. In the present invention, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in the present invention and the features of the different embodiments or examples, without contradiction.
[0171] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A temperature detection circuit for a new energy vehicle onboard charging device. It is characterized in that include: A first temperature sensor is provided at the positive electrode connection terminal of the on-board charging device of the new energy vehicle, and is used to collect a first analog temperature signal of the positive electrode connection terminal; A second temperature sensor is provided at the negative electrode connection terminal of the on-board charging device of the new energy vehicle, and is used to collect a second analog temperature signal of the negative electrode connection terminal; A third temperature sensor is disposed in the housing of the on-board charging device of the new energy vehicle and is used to collect an analog ambient temperature signal of the on-board charging device of the new energy vehicle; An analog-to-digital conversion module, used to convert the first analog temperature signal, the second analog temperature signal and the analog ambient temperature signal into a first digital temperature signal, a second digital temperature signal and a digital ambient temperature signal respectively; A microcontroller unit, configured to correct the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal; The correcting of the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal comprises: According to the formula f(x 1 )=x 1 ×(1+τx 1 ) / (1+ax 1 ) correct the first digital temperature signal; and, according to the formula f(x 2 )=x 2 ×(1+τx 2 ) / (1+ax 2 ) correcting the second digital temperature signal; Among them, x 1 is the first digital temperature signal, x 2 is the second digital temperature signal, f(x 1 ) is the first digital temperature signal after correction, f(x 2 ) is the second digital temperature signal after correction, τ is the time constant, a is the temperature compensation coefficient, and a=(k 1 ×z+b 1 )×τ+(k 2 ×z+b 2 ), k 1 and b 1 They are the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the lower limit temperature by one degree under the specified current, k 2 and b 2 They are respectively the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the upper limit temperature by one degree under the specified current; z is the digital ambient temperature signal.
2. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 1, It is characterized in that The analog-to-digital conversion module is integrated in the micro control unit.
3. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 1, It is characterized in that The temperature detection circuit also includes: a first bias circuit, arranged on a line between the first temperature sensor and the analog-to-digital conversion module, for setting a common mode voltage of the first temperature sensor within a specified voltage range of the first temperature sensor, and detecting whether an open circuit fault occurs in the first temperature sensor; The second bias circuit is arranged on the line between the second temperature sensor and the analog-to-digital conversion module, and is used to set the common mode voltage of the second temperature sensor within a specified voltage range of the second temperature sensor, and detect whether the second temperature sensor has an open circuit fault.
4. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 3, It is characterized in that The first bias circuit includes a first weak pull-up resistor and a first weak pull-down resistor; One end of the first weak pull-up resistor is connected to one end of the first temperature sensor, and the other end of the first weak pull-up resistor is connected to a DC power supply; One end of the first weak pull-down resistor is connected to the other end of the first temperature sensor, and the other end of the first weak pull-down resistor is grounded.
5. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 3, It is characterized in that The second bias circuit includes a second weak pull-up resistor and a second weak pull-down resistor; One end of the second weak pull-up resistor is connected to one end of the second temperature sensor, and the other end of the second weak pull-up resistor is connected to a DC power supply; One end of the second weak pull-down resistor is connected to the other end of the second temperature sensor, and the other end of the second weak pull-down resistor is grounded.
6. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 3, It is characterized in that The temperature detection circuit also includes: A first passive filter is provided on a line between the first bias circuit and the analog-to-digital conversion module, and is used to suppress aliasing distortion and high-frequency noise in the first analog temperature signal; The second passive filter is arranged on the line between the second bias circuit and the analog-to-digital conversion module, and is used to suppress aliasing distortion and high-frequency noise in the second analog temperature signal.
7. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 6, It is characterized in that The first passive filter includes a first first-order RC low-pass filter, a second first-order RC low-pass filter and a first differential capacitor; The first differential capacitor is connected across the output end of the first first-order RC low-pass filter and the output end of the second first-order RC low-pass filter; the input end of the first first-order RC low-pass filter and the input end of the second first-order RC low-pass filter are connected to the output end of the first bias circuit.
8. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 6, It is characterized in that The second passive filter comprises a third first-order RC low-pass filter, a fourth first-order RC low-pass filter and a second differential capacitor; The second differential capacitor is connected across the output end of the third first-order RC low-pass filter and the output end of the fourth first-order RC low-pass filter; the input end of the third first-order RC low-pass filter and the input end of the fourth first-order RC low-pass filter are connected to the output end of the second bias circuit.
9. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 3, It is characterized in that The temperature detection circuit further includes: A first electromagnetic interference filter is provided on a line between the first bias circuit and the first temperature sensor, and is used to filter out electromagnetic interference in the first analog temperature signal; The second electromagnetic interference filter is arranged on the line between the second bias circuit and the second temperature sensor, and is used for filtering out electromagnetic interference in the second analog temperature signal.
10. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 9, It is characterized in that The first electromagnetic interference filter includes a first π filter, a first magnetic bead, a second π filter and a second magnetic bead; The first π filter and the second π filter are used to filter out electromagnetic interference at a cutoff frequency or above in the first analog temperature signal; The first magnetic bead and the second magnetic bead are used to filter out electromagnetic interference above the cutoff frequency in the first analog temperature signal; The input end of the first π filter is connected to one end of the first temperature sensor, the output end of the first π filter is connected to one end of the first magnetic bead, and the other end of the first magnetic bead is connected to the input end of the first bias circuit; The input end of the second π filter is connected to the other end of the first temperature sensor, the output end of the second π filter is connected to one end of the second magnetic bead, and the other end of the second magnetic bead is connected to the input end of the first bias circuit.
11. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 9, It is characterized in that The second electromagnetic interference filter includes a third π filter, a third magnetic bead, a fourth π filter and a fourth magnetic bead; The third π filter and the fourth π filter are used to filter out electromagnetic interference at a cutoff frequency or above in the second analog temperature signal; The third magnetic bead and the fourth magnetic bead are used to filter out electromagnetic interference above the cutoff frequency in the second analog temperature signal; The input end of the third π filter is connected to one end of the second temperature sensor, the output end of the third π filter is connected to one end of the third magnetic bead, and the other end of the third magnetic bead is connected to the input end of the second bias circuit; The input end of the fourth π filter is connected to the other end of the second temperature sensor, the output end of the fourth π filter is connected to one end of the fourth magnetic bead, and the other end of the fourth magnetic bead is connected to the input end of the second bias circuit.
12. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 1, It is characterized in that One end of the third temperature sensor is connected to a DC power supply through a pull-up resistor, a connection point between the third temperature sensor and the pull-up resistor serves as an output end of the third temperature sensor, and the other end of the third temperature sensor is grounded.
13. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 1, It is characterized in that The temperature detection circuit also includes: A matching network is arranged on the line between the analog-to-digital conversion module and the micro control unit, and is used to perform current limiting control and impedance matching control on the first digital temperature signal and the second digital temperature signal; the current limiting control is used to make the current values of the first digital temperature signal and the second digital temperature signal fall within the allowable range of the micro control unit, and the impedance matching control is used to make the first digital temperature signal and the second digital temperature signal completely transmitted to the micro control unit.
14. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 1, It is characterized in that The first temperature sensor, the second temperature sensor, and the third temperature sensor include thermocouples or thermal resistors.
15. The temperature detection circuit of the on-board charging device of a new energy vehicle as claimed in claim 14, It is characterized in that The thermal resistor includes an NTC thermistor or a PTC thermistor.
16. A new energy vehicle onboard charging device, It is characterized in that The on-board charging device of the new energy vehicle is equipped with a temperature detection circuit as described in any one of claims 1-15.
17. The on-board charging device for new energy vehicles as claimed in claim 16, It is characterized in that The on-board charging device for the new energy vehicle comprises an on-board charging seat for the new energy vehicle.
18. A new energy vehicle, It is characterized in that The new energy vehicle is equipped with the new energy vehicle on-board charging device as described in claim 16 or 17.
19. A temperature detection method for a new energy vehicle onboard charging device, It is characterized in that include: Collecting a first analog temperature signal of the positive connection terminal, a second analog temperature signal of the negative connection terminal, and an analog ambient temperature signal of the on-board charging device of the new energy vehicle; Convert the first analog temperature signal, the second analog temperature signal and the analog ambient temperature signal into a first digital temperature signal, a second digital temperature signal and a digital ambient temperature signal respectively; Correcting the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal; The correcting of the first digital temperature signal and the second digital temperature signal according to the digital ambient temperature signal comprises: According to the formula f(x 1 )=x 1 ×(1+τx 1 ) / (1+ax 1 ) correct the first digital temperature signal; and, according to the formula f(x 2 )=x 2 ×(1+τx 2 ) / (1+ax 2 ) correcting the second digital temperature signal; Among them, x 1 is the first digital temperature signal, x 2 is the second digital temperature signal, f(x 1 ) is the first digital temperature signal after correction, f(x 2 ) is the second digital temperature signal after correction, τ is the time constant, a is the temperature compensation coefficient, and a=(k 1 ×z+b 1 )×τ+(k 2 ×z+b 2 ), k 1 and b 1 They are the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the lower limit temperature by one degree under the specified current, k 2 and b 2 They are respectively the slope and intercept of the straight line corresponding to the two temperature points when the temperature rises from the upper limit temperature by one degree under the specified current; z is the digital ambient temperature signal.
20. A computer device comprising a memory, a processor, and a computer program stored on the memory, It is characterized in that When the computer program is executed by the processor, the instructions of the method according to claim 19 are executed.
21. A computer storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor of a computer device, the computer program executes the instructions of the method according to claim 19.
