Voltage detection circuit, method, circuit board, device and vehicle air conditioner
By designing a voltage detection circuit in the vehicle air conditioner, using a detection line and processing module to obtain the battery voltage signal, combined with the voltage division circuit and filtering processing, the problem of large detection error in the existing technology is solved, and a fast and accurate battery is achieved Power supply voltage detection reduces costs and improves accuracy.
Patent Information
- Application Number
- CN202010220299.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-25
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2040-03-25
AI Technical Summary
In the prior art, vehicle-mounted air conditioners have large errors and low accuracy when detecting battery supply voltage, and the increase in complex current will affect the detection results on ground wire segmentation.
A voltage detection circuit was designed to obtain the potential difference between the positive and negative electrodes of the battery through a detection line and a processing module, and combine the voltage signal at the power supply terminal to quickly and accurately determine the battery supply voltage, and use voltage divider circuit and capacitor filtering to improve the Detection accuracy.
It realizes rapid and accurate detection of battery power supply voltage without adding complex circuits, reduces detection costs, improves the accuracy of detection results, and has a small impact on the original circuit.
Smart Images

Figure CN111308370B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electrical control technology, and more specifically, relates to a voltage detection circuit, method, circuit board, device and vehicle air conditioner. Background Art
[0002] The vehicle battery will be depleted during use, thus affecting the supply voltage. In order to ensure the smooth operation of various vehicle components such as the vehicle air conditioner and protect the battery, it is necessary to accurately detect the battery supply voltage and regulate it.
[0003] At present, in the related art, the vehicle air conditioner is generally tested by using an internal unit or an external unit. However, the above measurement method has large errors and low accuracy.
[0004] In the technology known to the inventor, there is also a method of detecting by adding two lines for sampling, however, this method needs to add a complex current to divide the ground line, otherwise the detection result is inaccurate. Summary of the invention
[0005] The main purpose of the present invention is to provide a voltage detection circuit, a detection method, a circuit board, a device, a vehicle air conditioner and a storage medium that can accurately detect the battery voltage.
[0006] According to a first aspect of the present invention, there is provided a voltage detection circuit, which is applied to a vehicle air conditioner, and the voltage detection circuit comprises:
[0007] A power supply terminal, used to connect a first power supply line drawn from the positive terminal of the battery under test; one end of the first power supply line is connected to the positive terminal of the battery, and the other end is connected to the power supply terminal;
[0008] A return terminal, used to connect a second power supply line drawn from the negative terminal of the battery under test; one end of the second power supply line is connected to the negative terminal of the battery, and the other end is connected to the return terminal;
[0009] A detection line, including a detection end; the detection end is connected to the positive end of the battery; that is, one end of the detection line is connected to the detection end, and the other end is connected to the positive end of the battery;
[0010] A processing module is used to obtain a first voltage signal from the detection end, a second voltage signal from the return end, and a third voltage signal from the power supply end, and determine a voltage value of the battery according to the first voltage signal, the second voltage signal and the third voltage signal; the voltage value of the battery is the battery supply voltage required to be detected; the battery supply voltage includes the sum of the voltage applied to the load and the power supply line.
[0011] The processing module may be any component that can be used to obtain a voltage signal, or a processor with a function of obtaining a voltage signal disposed in the circuit under test may be directly used.
[0012] The voltage detection circuit consists of a detection line and a processing module. When measuring, only a wire with very small line loss and a processing module that can quickly and accurately obtain the potential difference need to be added to the circuit under test. The detection method is simple, the cost is low and the detection result is accurate.
[0013] In a specific embodiment of the present invention, it also includes:
[0014] A first detection module, the module is used to divide the voltage value of the detection end and output the first voltage signal to the processing module;
[0015] A second detection module, the module is used to divide the voltage value of the power supply end and output the third voltage signal to the processing module;
[0016] The processing module is connected to the first detection module and the second detection module respectively.
[0017] A portion of the current flowing out from the positive electrode of the battery flows into the first detection module through the detection line with very small (negligible) line loss; the other portion flows into the second detection module through the first power supply line with larger line loss; the first detection module and the second detection module can simply, quickly and accurately determine the line loss of the first power supply line, that is, the voltage drop caused by the first power supply line, thereby quickly determining the battery supply voltage.
[0018] In a specific embodiment of the present invention, the first detection module includes: a first detection input terminal, a first detection output terminal and a first ground terminal, the first detection input terminal is connected to the detection line, the first detection output terminal is connected to the processing module, and the first ground terminal is connected to the return terminal.
[0019] In a specific embodiment of the present invention, the second detection input terminal, the second detection output terminal and the second ground terminal, the second detection input terminal is connected to the power supply terminal, the second detection output terminal is connected to the processing module, and the second ground terminal is connected to the return terminal.
[0020] In a specific embodiment of the present invention, the first detection module further includes: a first resistor and a third resistor, the first resistor is connected in series between the first detection input terminal and the first detection output terminal; the third resistor is connected in series between the first detection output terminal and the first ground terminal;
[0021] In a specific embodiment of the present invention, the second detection module further includes: a second resistor and a fourth resistor, the second resistor is connected in series between the second detection input terminal and the second detection output terminal; and the fourth resistor is connected in series between the second detection output terminal and the second ground terminal.
[0022] By using two voltage divider circuits, the voltages respectively applied to the two voltage divider circuits can be quickly determined.
[0023] In a specific embodiment of the present invention, the first detection module further includes: a first capacitor, and the first capacitor is connected in parallel with the third resistor.
[0024] In a specific embodiment of the present invention, the second detection module further includes: a second capacitor, and the second capacitor is connected in parallel with the fourth resistor.
[0025] The capacitor filters the divided voltage to avoid interfering with the voltage detection, thereby making the detection result more accurate.
[0026] According to a second aspect of the present invention, a voltage detection method is provided, which is applied to a vehicle air conditioner, wherein the vehicle air conditioner includes a voltage detection circuit, and the voltage detection circuit includes:
[0027] A power supply terminal, used to connect a power supply line drawn from the positive terminal of the battery;
[0028] The return terminal is used to connect the power supply line led out from the negative terminal of the battery;
[0029] A detection line, the detection line includes a detection end, and the detection end is connected to the positive terminal of the battery;
[0030] A processing module, the processing module is respectively connected to a power supply terminal, a return terminal and a detection line;
[0031] The voltage detection method includes:
[0032] The processing module respectively obtains a first voltage signal from the detection end, a second voltage signal from the return end, and a third voltage signal from the power supply end;
[0033] The processing module determines a voltage value of the battery according to the first voltage signal, the second voltage signal and the third voltage signal.
[0034] When using this voltage detection method for measurement, it is only necessary to add a wire with very small line loss and a processing module that can quickly and accurately obtain the potential difference to the circuit under test. The detection method is simple, low-cost and the detection result is accurate.
[0035] In a specific embodiment of the present invention, the voltage detection circuit further includes:
[0036] A first detection module for dividing the voltage value of the detection end; the first detection module includes a first detection input end, a first detection output end and a first ground end, the first detection input end is connected to the detection line, the first detection output end is connected to the processing module, and the first ground end is connected to the return end.
[0037] The first voltage signal is obtained by voltage division of the first detection module.
[0038] In a specific embodiment of the present invention, the voltage detection circuit further includes:
[0039] A second detection module for dividing the voltage value of the power supply end; the second detection module comprises a second detection input end, a second detection output end and a second ground end, the second detection input end is connected to the power supply end, the second detection output end is connected to the processing module, and the second ground end is connected to the return end;
[0040] The second voltage signal is obtained through voltage division by the second detection module.
[0041] According to a third aspect of the present invention, there is provided a circuit board comprising the voltage detection circuit according to the first aspect of the present invention.
[0042] The circuit board includes the voltage detection circuit of the first aspect of the present invention, which is composed of a detection circuit and a processing module. When measuring, only a wire with very small line loss and a processing module that can quickly and accurately obtain the potential difference need to be added to the circuit under test. The detection method is simple, the cost is low and the detection result is accurate.
[0043] According to a fourth aspect of the present invention, there is provided a voltage detection device, comprising:
[0044] a memory and a processor, the memory storing a computer program;
[0045] When the computer program is executed by a processor, the voltage detection method according to the second aspect of the present invention is implemented.
[0046] According to a fifth aspect of the present invention, there is provided a vehicle air conditioner comprising the circuit board according to the third aspect of the present invention or the voltage detection device according to the fourth aspect of the present invention.
[0047] According to a sixth aspect of the present invention, a computer-readable storage medium is provided, storing computer-executable instructions, wherein the computer-executable instructions are used to execute the voltage detection method according to the second aspect of the present invention.
[0048] One of the above technical solutions of the present invention has at least one of the following advantages or beneficial effects: on the basis of retaining the original circuit of the tested battery, by connecting a voltage detection circuit composed of a detection line and basic electronic components, the battery supply voltage can be quickly and accurately determined. The voltage detection circuit is simple in design, low in cost, and has little effect on the tested circuit, greatly improving the accuracy of the detection result.
[0049] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent from the description, or may be understood by practicing the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 is a schematic diagram of a voltage detection circuit according to a first embodiment of the present invention;
[0051] Figure 2 is a schematic diagram of a voltage detection circuit according to a second embodiment of the present invention;
[0052] Figure 3 is a schematic diagram of a voltage detection circuit according to a third embodiment of the present invention;
[0053] Figure 4 is a schematic diagram of a voltage detection circuit according to a fourth embodiment of the present invention;
[0054] Figure 5 is a schematic flow chart of a voltage detection method according to a fifth embodiment of the present invention;
[0055] Figure 6 is a schematic structural diagram of a circuit board according to a sixth embodiment of the present invention;
[0056] Figure 7 is a schematic structural diagram of a voltage detection device according to a seventh embodiment of the present invention;
[0057] Figure 8 1 is a schematic structural diagram of a vehicle air conditioner according to an eighth embodiment of the present invention. DETAILED DESCRIPTION
[0058] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0059] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features.
[0060] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense, for example, it can be a fixed connection or a movable connection, a detachable connection or a non-detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or mutual communication; it can be a direct connection, or an indirect connection through an intermediate medium, and it can be the internal connection of two elements, indirect connection, or the interaction relationship between two elements;
[0061] In the description of the present invention, it is necessary to explain that the "power supply end", "return end", "detection end", "detection point" and the like in the voltage detection circuit of the present invention can be used to indicate a specific position of a single component, or a connection between components, and cannot be understood as merely indicating or implying a certain point that exists alone or in isolation.
[0062] The following disclosure provides many different embodiments or examples for implementing different solutions of the present invention.
[0063] Reference Figures 1 to 4 As shown, the power supply is the target to be measured, and its supply voltage needs to be detected. This embodiment takes the battery as the power supply as an example for explanation. The load is powered by the power supply. The power supply line is the wire connecting the power supply and the load; there are two power supply lines, one connecting the positive terminal of the power supply and the load input terminal, and the other connecting the negative terminal of the power supply and the load output terminal; in actual work, the impedance of the two power supply lines is basically the same or similar, and the power supply line usually has a large line loss, that is, a large voltage drop is generated in the circuit. The voltage detection circuit of the embodiment of the present invention does not include a battery, a load, and a power supply line.
[0064] Reference Figure 1 FIG. 1 is a voltage detection circuit according to a first embodiment of the present invention.
[0065] The voltage detection circuit includes a power supply terminal A, a return terminal B, a detection line and a processing module. The power supply terminal A is connected to the first power supply line; specifically, one end of the first power supply line is connected to the positive terminal of the battery, and the other end is connected to the power supply terminal A. The return terminal B is connected to the second power supply line; specifically, one end of the second power supply line is connected to the negative terminal of the battery; the return terminal B can be connected to any point on the second power supply line. The detection line includes a detection terminal C; the detection terminal C is connected to the positive terminal of the battery through the detection line.
[0066] The processing module can obtain the first voltage signal U from the detection terminal C respectively C , the second voltage signal U from the return terminal B B and a third voltage signal U from the power supply terminal A A According to the first voltage signal U C and the second voltage signal U B Determine the potential difference U between the detection terminal C and the return terminal B CB , i.e. the first potential difference; according to the third voltage signal U A and the second voltage signal U B Determine the potential difference U between the power supply terminal A and the return terminal B AB , that is, the second potential difference.
[0067] In particular, the processing module in this embodiment can adopt a processor located in the load with the function of obtaining a voltage signal, which is used to obtain the first potential difference between the detection terminal C and the return terminal B, and the second potential difference between the power supply terminal A and the return terminal B, and perform calculations based on the first potential difference and the second potential difference to ultimately determine the voltage value of the battery.
[0068] Since the line loss, i.e., the voltage drop, on the detection line is very small, the voltage drop of the first power supply line can be obtained as U1=U CB -U AB Since the voltage drop U2 of the second power supply line is substantially the same as the impedance of the first power supply line, the battery supply voltage U 电池 The voltage drop U1 of the first power supply, the voltage drop U2 of the second power supply line and the voltage drop U 负载 It should be noted that the return end B can be connected to any point on the second power supply line, and the position of the point can be determined according to actual needs.
[0069] The voltage detection circuit in this embodiment is composed of only a detection line and a processing module, and the voltage value of the battery can be obtained by only measuring the potential difference on the power supply line through the detection line. It is not only low-cost but also accurate in detection results.
[0070] Reference Figure 2 The figure shows a voltage detection circuit of the second embodiment of the present invention. The difference from the first embodiment is that the voltage detection circuit further includes: a first detection module and a second detection module. The first input terminal D of the first detection module is connected to the detection terminal C, and the first ground terminal F is connected to the return terminal B; the processing module obtains the first voltage signal U from the detection terminal C through the first detection module C and the second voltage signal U from the return terminal B B The second input terminal H at one end of the second detection module is connected to the power supply terminal A, and the second ground terminal J is connected to the return terminal B; the processing module obtains the third voltage signal U from the power supply terminal A through the second detection module A and the second voltage signal U from the return terminal B B .
[0071] In this embodiment, two detection modules are used to process the detection end voltage value and the power supply end voltage value respectively, such as performing voltage division processing, and the voltage signal input to the processing module can be adjusted so that the measured voltage signal is within a suitable measurement range. On the one hand, this prevents the processing module from being burned, and on the other hand, further improves the accuracy of the measurement result.
[0072] For ease of understanding, Figure 2 The connection mode between the load and the power supply line is also shown, specifically, the input end of the load is connected to one end of the first power supply line, and the output end is connected to one end of the second power supply line.
[0073] It is particularly noted that the return end B can be any point on the second power supply line. Specifically, the return end B can be set at the end of the second power supply line connected to the negative terminal of the battery, or at the end of the second power supply line connected to the load output terminal, or at any position between the two ends of the second power supply line. The specific position can be determined according to actual needs.
[0074] In particular, when the return terminal B is set at the end where the second power supply line is connected to the load output terminal, that is, the return terminal B and the load output terminal are the same terminal, the battery supply voltage U 电池 =2U CB -U AB .
[0075] The voltage detection circuit in this embodiment can not only flexibly select the access point of the return end according to actual needs, but also can perform detection without obtaining the load voltage drop. The detection method is simple and can accurately obtain the battery supply voltage.
[0076] Reference Figure 3 As shown, the voltage detection circuit of the third embodiment of the present invention is different from the second embodiment in that: the first detection module includes a voltage divider circuit formed by at least two voltage divider resistors R1 and R3 connected in series; the second detection module includes a voltage divider circuit formed by at least two voltage divider resistors R2 and R4 connected in series.
[0077] Specifically, the first detection module also includes a first detection input terminal D arranged between the positive terminal of the power supply and the first resistor R1, a first output terminal E arranged between the first resistor R1 and the third resistor R3, and a first ground terminal F arranged between the third resistor R3 and the return terminal B; the first detection module is used to divide the voltage value of the detection terminal and output a first voltage signal to the processing module.
[0078] Similarly, the second detection module also includes a second detection input terminal H arranged between the load input terminal and the second resistor R2, a second output terminal I arranged between the second resistor R2 and the fourth resistor R4, and a second ground terminal J arranged between the fourth resistor R4 and the return terminal B; the second detection module is used to divide the voltage value of the power supply terminal and output the third voltage signal to the processing module.
[0079] In a specific embodiment, for the first detection module, the potential difference U between the first detection output terminal E and the first ground terminal F is determined by the voltage value of the first detection output terminal E and the voltage value of the first ground terminal F. EF Since the values of the first resistor R1 and the third resistor R3 are determined, the potential difference between the first detection input terminal D and the first detection output terminal E can be further determined according to the voltage division relationship between the first resistor R1 and the third resistor R3. Then, according to the potential difference U between the first detection output terminal E and the first ground terminal F EF The potential difference U between the first detection input terminal D and the first detection output terminal E DE , determine the first potential difference between the detection terminal C and the return terminal B. Similarly, for the second detection module, the potential difference U between the two is determined by the voltage value of the second detection output terminal I and the voltage value of the second ground terminal J. IJ Since the values of the second resistor R2 and the fourth resistor R4 are determined, the potential difference between the second detection input terminal H and the second detection output terminal I can be further determined according to the voltage division relationship between the second resistor R2 and the fourth resistor R4. Then, according to the potential difference U between the second detection input terminal H and the second ground terminal J HJ The potential difference U between the second detection output terminal I and the second detection output terminal J IJ , the potential difference U between the power supply terminal A and the return terminal B AB , that is, the second potential difference.
[0080] Further, a voltage drop U1 on the first voltage line may be determined.
[0081] It should be noted that the method for further determining the power supply voltage of the battery after obtaining the voltage drop of the first power supply line is the same as the method described in the first embodiment, and will not be repeated here.
[0082] It should be understood that this embodiment is a further specific embodiment of the first embodiment and the second embodiment. Figure 3 The potential of the first detection input terminal D and the potential of the second detection input terminal H shown in FIG. Figure 1 and Figure 2 The potential of the detection terminal C and the power supply terminal A is equal.
[0083] Taking the vehicle-mounted device as an example, the voltage of the vehicle-mounted battery is usually 24 volts, while the voltage value that the processing module can withstand is about 3.3 V. In this embodiment, a resistor voltage divider circuit composed of at least two resistors is used to ensure that the voltage value of the signal input to the processing module is within a suitable range to avoid damaging the processing module. At the same time, the appropriate measured voltage range is conducive to improving the accuracy of the detection result.
[0084] Furthermore, the voltage detection circuit of this embodiment can be applied to a vehicle air conditioner to detect the supply voltage of the vehicle battery. When in use, the first detection output terminal E and the second detection output terminal I can be connected to the processor in the load respectively. Through the processor, the potential difference U between the first detection output terminal E and the first ground terminal F can be directly obtained. EF and the potential difference U between the second detection output terminal I and the second ground terminal J IJSince the first detection output terminal E and the second detection output terminal I are both located at the load end of the vehicle air conditioner, the power supply voltage can be detected while retaining the existing connection mode of the vehicle air conditioner (indoor unit and outdoor unit), without adding an indoor unit connection line, and without adding a complex current to detect the voltage; only a thin wire (detection line) and a resistance voltage divider circuit need to be added to accurately detect the voltage value at both ends of the battery. The detection method is simple, low-cost, and can achieve accurate detection.
[0085] Furthermore, in this embodiment, optionally, the resistance values of the voltage-dividing resistors R3 and R4 are much greater than the resistance values of the voltage-dividing resistors R1 and R2, so that the potential difference U between the first detection output terminal E and the first ground terminal F is EF The potential difference U between the second detection output terminal I and the second ground terminal J IJ Always keep within the appropriate measurement range to ensure the accuracy of the measurement results, thereby further improving the accuracy of battery supply voltage detection.
[0086] Furthermore, in this embodiment, the resistance values of the voltage-dividing resistors R3 and R4 can be selected to be larger than those of the voltage-dividing resistors R2 and R1, which will make the potential difference U EF and U IJ As small as possible, in this weak current control situation, the detection accuracy can be further improved. Taking the vehicle battery supplying power to the vehicle air conditioner (24V) as an example, the resistance value of the voltage divider resistor R3 is generally above 100k. At this time, the current passing through the detection line is Very small. At present, the cross-sectional area of commonly used wires is more than 0.1 square millimeters. Taking a 10-meter-long wire as an example, the resistance is 3.4 ohms. Therefore, the voltage drop on the detection line is only 0.68mV, which can be ignored.
[0087] Reference Figure 4 As shown, the voltage detection circuit of the fourth embodiment of the present invention is different from the third embodiment in that the first detection module at least further includes a first capacitor C1, and the second detection module at least further includes a second capacitor C2. The first capacitor C1 is connected in parallel with the third resistor; the second capacitor C2 is connected in parallel with the fourth resistor. By adding capacitors C1 and C2, the voltage division (i.e., the voltage value at the first detection output terminal E and the second detection output terminal I) can be filtered respectively to avoid interference with voltage detection and further improve detection accuracy.
[0088] Reference Figure 5 , is a flow chart of a voltage detection method according to a fifth embodiment of the present invention. The voltage detection method is implemented based on the voltage detection circuits described in the first to fourth embodiments, and will not be described in detail herein. The voltage detection method comprises the following steps:
[0089] S100: The processing module respectively obtains a first voltage signal from the detection end, a second voltage signal from the return end, and a third voltage signal from the power supply end;
[0090] S200: The processing module determines a voltage value of the battery according to the first voltage signal, the second voltage signal and the third voltage signal.
[0091] Continue to refer to Figure 1 In this embodiment, the processing module obtains the voltage signals of the detection terminal C, the return terminal B and the power supply terminal A respectively.
[0092] Since the line loss, i.e., the voltage drop, on the detection line is very small, the voltage drop of the first power supply line can be obtained as U1=U CB -U AB Since the voltage drop U2 of the second power supply line is substantially the same as the impedance of the first power supply line, the battery supply voltage U 电池 The voltage drop U1 of the first power supply, the voltage drop U2 of the second power supply line and the voltage drop U 负载 The sum of the three.
[0093] The voltage detection method in this embodiment only requires a detection line and a processing module to measure the potential difference on the power supply line through the detection line to obtain the voltage value of the power supply. This method is not only low in cost but also accurate in detection results.
[0094] Reference Figure 6 , is a circuit board of the sixth embodiment of the present invention, and the circuit board includes the voltage detection circuit of any one of the first to fourth embodiments. The voltage detection circuit in the circuit board of the embodiment of the present invention is composed of only a detection circuit and a processing module, and the voltage value of the power supply can be obtained by only measuring the potential difference on the power supply line through the detection line. It is not only low in cost, but also accurate in detection results. It can quickly and accurately determine the power supply voltage of the battery without affecting the normal operation of the existing circuit under test, and the circuit design is simple and low in cost.
[0095] Reference Figure 7 As shown, a voltage detection device according to a seventh embodiment of the present invention can be any type of control module, such as a control board, a control box, a control chip, etc.
[0096] Specifically, the control device includes: one or more processors and a memory, Figure 7 A processor and a memory are taken as an example. The processor and the memory can be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.
[0097] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs, such as the voltage detection method of the fifth embodiment of the present invention. The processor implements the voltage detection method of the fifth embodiment of the present invention by running the non-transitory software programs and instructions stored in the memory.
[0098] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data required to execute the voltage detection method of the fifth embodiment of the present invention, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0099] The non-transient software program and instructions required to implement the voltage detection method in the fifth embodiment of the present invention are stored in the memory. When executed by one or more processors, the voltage detection method in the fifth embodiment of the present invention is executed. For example, the above described Figure 5 The method comprises steps S100 to S200.
[0100] Reference Figure 8 , is a vehicle air conditioner of the eighth embodiment of the present invention, and in the eighth embodiment of the present invention, it includes the circuit board of the sixth embodiment or the voltage detection device of the seventh embodiment. The vehicle air conditioner of the embodiment of the present invention can quickly and accurately determine the supply voltage of the battery without affecting the normal operation of the existing circuit under test, and the circuit design is simple and low in cost.
[0101] The vehicle air conditioner includes a vehicle air conditioner outdoor unit and a vehicle air conditioner indoor unit, which may specifically include a compressor, a condenser, an evaporator, a fan and related control components. The vehicle battery is a vehicle battery, which is used to provide voltage for the load. In the known technology, the vehicle air conditioner has the problems of high cost, large power supply current, and large size. Due to the large power supply current, there is usually a large voltage drop in the power supply line, which in turn affects the actual power supply voltage of the load; due to the large size, the vehicle space resources are compressed, which is not conducive to the optimization design of the vehicle space, and it is not suitable to add too many additional lines. Therefore, the technical solution of this embodiment can, on the one hand, accurately and quickly measure the actual power supply voltage of the vehicle battery; on the other hand, retain the original vehicle space layout, and only need to add a simple circuit to detect the power supply voltage of the vehicle battery, without taking up too much valuable vehicle space and at a low cost.
[0102] According to the voltage detection method of the fifth embodiment of the present invention, a computer-readable storage medium of the ninth embodiment of the present invention is provided. The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs, such as the voltage detection method of the fifth embodiment of the present invention. The processor implements the voltage detection method of the fifth embodiment of the present invention by running the non-transitory software program and instructions stored in the memory.
[0103] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data required to execute the voltage inspection method of the fifth embodiment of the present invention, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0104] The non-transient software program and instructions required to implement the voltage detection method in the ninth embodiment are stored in the memory, and when executed by one or more processors, the voltage detection method in the ninth embodiment is executed, for example, the voltage detection method described above is executed. Figure 5 The method comprises steps S100 to S200.
[0105] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0106] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0107] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. Voltage detection circuit, applied to vehicle air conditioner, characterized in that: include: A power supply terminal, used to connect a power supply line drawn from the positive terminal of the battery; The return terminal is used to connect the power supply line led out from the negative terminal of the battery; A detection line, the detection line comprising a detection end, the detection end being connected to the positive terminal of the battery; a processing module, used to respectively obtain a first voltage signal from the detection end, a second voltage signal from the return end, and a third voltage signal from the power supply end, and determine a voltage value of the battery according to the first voltage signal, the second voltage signal, and the third voltage signal; Wherein, determining the voltage value of the battery according to the first voltage signal, the second voltage signal and the third voltage signal comprises: Obtaining a first potential difference according to the first voltage signal and the second voltage signal; Obtaining a second potential difference according to the third voltage signal and the second voltage signal; A voltage value of the battery is determined based on the first potential difference and the second potential difference.
2. The voltage detection circuit according to claim 1, characterized in that: Also includes: a first detection module and a second detection module, wherein the processing module is connected to the first detection module and the second detection module respectively; The first detection module is used to divide the voltage value of the detection end and output the first voltage signal to the processing module, and the second detection module is used to divide the voltage value of the power supply end and output the third voltage signal to the processing module.
3. The voltage detection circuit according to claim 2, characterized in that: The first detection module comprises: A first detection input terminal, a first detection output terminal and a first ground terminal, wherein the first detection input terminal is connected to the detection line, the first detection output terminal is connected to the processing module, and the first ground terminal is connected to the return terminal.
4. The voltage detection circuit according to claim 2, characterized in that: The second detection module includes: a second detection input terminal, a second detection output terminal and a second ground terminal, wherein the second detection input terminal is connected to the power supply terminal, the second detection output terminal is connected to the processing module, and the second ground terminal is connected to the return terminal.
5. The voltage detection circuit according to claim 3, characterized in that: The first detection module also includes: A first resistor, the first resistor is connected in series between the first detection input terminal and the first detection output terminal; A third resistor is connected in series between the first detection output terminal and the first ground terminal.
6. The voltage detection circuit according to claim 4, characterized in that: The second detection module also includes: A second resistor, the second resistor is connected in series between the second detection input terminal and the second detection output terminal; A fourth resistor is connected in series between the second detection output terminal and the second ground terminal.
7. The voltage detection circuit according to claim 5, characterized in that: The first detection module also includes: A first capacitor is connected in parallel with the third resistor.
8. The voltage detection circuit according to claim 6, characterized in that: The second detection module also includes: A second capacitor is connected in parallel with the fourth resistor.
9. A voltage detection method, characterized in that: Applied to a vehicle air conditioner, the vehicle air conditioner comprises: A voltage detection circuit, the voltage detection circuit comprising: A power supply terminal, used to connect a power supply line drawn from the positive terminal of the battery; The return terminal is used to connect the power supply line led out from the negative terminal of the battery; A detection line, the detection line comprising a detection end, the detection end being connected to the positive terminal of the battery; A processing module, wherein the processing module is respectively connected to the power supply end, the return end and the detection line; The method comprises: The processing module respectively obtains a first voltage signal from the detection end, a second voltage signal from the return end, and a third voltage signal from the power supply end; The processing module determines a voltage value of the battery according to the first voltage signal, the second voltage signal, and the third voltage signal; wherein determining the voltage value of the battery according to the first voltage signal, the second voltage signal, and the third voltage signal comprises: Obtaining a first potential difference according to the first voltage signal and the second voltage signal; Obtaining a second potential difference according to the third voltage signal and the second voltage signal; A voltage value of the battery is determined based on the first potential difference and the second potential difference.
10. The voltage detection method according to claim 9, characterized in that: The voltage detection circuit further includes a first detection module for dividing the voltage value of the detection end; The first detection module includes a first detection input terminal, a first detection output terminal and a first ground terminal, the first detection input terminal is connected to the detection line, the first detection output terminal is connected to the processing module, and the first ground terminal is connected to the return terminal; The first voltage signal is obtained by voltage division of the first detection module.
11. The voltage detection method according to claim 9 or 10, characterized in that: The voltage detection circuit further includes a second detection module for dividing the voltage value of the power supply end; The second detection module comprises a second detection input terminal, a second detection output terminal and a second ground terminal, the second detection input terminal is connected to the power supply terminal, the second detection output terminal is connected to the processing module, and the second ground terminal is connected to the return terminal; The second voltage signal is obtained through voltage division by the second detection module.
12. A circuit board, characterized in that: The invention comprises a voltage detection circuit as claimed in any one of claims 1 to 8.
13. A voltage detection device, characterized in that: include: A memory and a processor, wherein the memory stores a computer program; When the computer program is executed by the processor, the voltage detection method according to any one of claims 9 to 11 is implemented.
14. A vehicle air conditioner, characterized in that: It includes the circuit board as claimed in claim 12 or the voltage detection device as claimed in claim 13.
15. A computer-readable storage medium storing computer-executable instructions, characterized in that: The computer executable instructions are used to execute the voltage detection method according to any one of claims 9 to 11.
Citation Information
Patent Citations
Voltage detection circuit, circuit board, device and vehicle-mounted air conditioner
CN212083624U