Current detection device and method, computer equipment and medium

By introducing a smart board into the current sensor and adjusting the detection threshold, the problem that the existing current sensor is easily damaged during overcurrent detection is solved, and the current sensor can be reused and the equipment cost can be reduced.

CN119335240APending Publication Date: 2025-01-21SAIC MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310892012.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-19
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

Existing current sensors are prone to damage when overcurrent detection, and the equipment costs are high and the bench is complex.

Method used

By introducing a smart board into the current sensor, the threshold of current detection is adjusted, thereby realizing overcurrent detection when the current reaches a smaller second threshold, thereby avoiding damage to the resistance of the current sensor.

Benefits of technology

The service life of the current sensor is extended, the equipment cost is reduced, the bench structure is simplified, and the accuracy and safety of detection are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119335240A_ABST
    Figure CN119335240A_ABST
Patent Text Reader

Abstract

The invention provides a current detection device and method, computer equipment and a medium. The current detection device comprises a constant current source, a current sensor and an intelligent board. The constant current source is connected with the current sensor so as to enable the constant current source to provide current for the current sensor, the current sensor comprises at least one first detection point, the intelligent board comprises a first circuit, the first circuit is connected with the first detection point, and the first circuit and the current sensor are used for adjusting a current detection threshold value from a first threshold value to a second threshold value; the second threshold value is smaller than the first threshold value, the detection threshold value of the current sensor on the overcurrent detection is reduced, the overcurrent detection can be realized when the current reaches the second threshold value during the overcurrent detection, the current provided by the constant current source is relatively small, and the detection accuracy is improved. The resistor of the current sensor is not damaged, the current sensor can be reused, the investment equipment cost is low, and the rack is simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and in particular to a current detection device, method, computer equipment and medium. Background Art

[0002] At present, the vehicle's current has overcurrent conditions under some special working conditions, and the overcurrent conditions need to be detected. Commonly used current sensor offline devices, such as shunt current sensors, can perform routine functional tests and current accuracy tests on vehicles. Some shunt current sensors have overcurrent detection functions, but in actual detection, if the actual overcurrent value is used for testing, it will not only damage the shunt resistor, resulting in the shunt current sensor being unable to be reused, but also the equipment investment is high and the test bench is complex. In order to solve this problem, providing a suitable current detection device has become a technical problem that urgently needs to be solved. Summary of the invention

[0003] In view of this, the purpose of this application is to provide a current detection device, method, computer equipment and medium, which reduce the detection threshold of the current sensor for overcurrent detection. When performing overcurrent detection, overcurrent detection can be achieved when the current reaches the second threshold. The current provided by the constant current source is relatively small and will not damage the resistance of the current sensor. The current sensor can be reused, and the equipment cost is low and the stand is simple. The specific scheme is as follows:

[0004] On the one hand, the present application provides a current detection device, including a constant current source, a current sensor and a smart board;

[0005] The constant current source is connected to the current sensor so that the constant current source provides current to the current sensor;

[0006] The current sensor includes at least one first detection point, and the smart board includes a first circuit, which is connected to the first detection point. The first circuit and the current sensor are used to adjust the threshold of current detection from a first threshold to a second threshold, so as to use the first circuit and the current sensor to perform overcurrent detection on the current, the first threshold is the calibrated detection threshold of the current sensor, the second threshold is the adjusted detection threshold of the current sensor, and the second threshold is less than the first threshold.

[0007] Optionally, the current sensor also includes at least one second detection point, and the smart board also includes a second circuit, and the second circuit is connected to the second detection point to control the calibration data to be written into the current sensor; the calibration data includes the corresponding relationship between the resistance value and temperature of the current sensor.

[0008] Optionally, the current detection device further comprises a pressed copper plate jig, through which the constant current source and the current sensor are connected.

[0009] Optionally, the current detection device further includes a connected offline test board and a communication tool, wherein the offline test board is connected to the current sensor, and the offline test board and the communication tool are used to transmit the overcurrent detection result of the current to a host computer.

[0010] Optionally, the current detection device further includes a direct current power supply, and the direct current power supply is connected to the current sensor to supply power to the current sensor.

[0011] In another aspect, the present application also provides a current detection method, which is applied to the current detection device, and the method includes:

[0012] The constant current source provides current to the current sensor;

[0013] When the current sensor outputs a target result, it is determined that overcurrent detection is performed on the current; the target result indicates that the current is greater than or equal to the second threshold.

[0014] Optionally, before the constant current source provides current to the current sensor, the method further includes:

[0015] Writing calibration data into the current sensor, the calibration data including a corresponding relationship between a resistance value and a temperature of the current sensor;

[0016] The resistance value of the current sensor is determined according to the collected temperature and the corresponding relationship.

[0017] In another aspect, an embodiment of the present application provides a computer device, the computer device comprising a processor and a memory:

[0018] The memory is used to store program code and transmit the program code to the processor;

[0019] The processor is used to execute the current detection method described in the above aspects according to the instructions in the program code.

[0020] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the current detection method described in the above aspects.

[0021] On the other hand, an embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the current detection method described in the above aspects.

[0022] The embodiment of the present application provides a current detection device, method, computer equipment and medium, the current detection device includes a constant current source, a current sensor and a smart board; the constant current source is connected to the current sensor so that the constant current source provides current to the current sensor so as to detect overcurrent on the current, the current sensor includes at least one first detection point, the smart board includes a first circuit, the first circuit is connected to the first detection point, the first circuit and the current sensor are used to adjust the threshold of current detection from the first threshold to the second threshold, so as to use the first circuit and the current sensor to detect overcurrent on the current, the first threshold is the detection threshold calibrated by the current sensor, the second threshold is the detection threshold adjusted by the current sensor, and the second threshold is less than the first threshold. In the embodiment of the present application, the first circuit in the smart board is connected to the current sensor, so as to reduce the detection threshold of the current sensor for overcurrent detection. When performing overcurrent detection, overcurrent detection can be achieved when the current reaches the second threshold. The current provided by the constant current source is relatively small, and the resistance of the current sensor will not be damaged. The current sensor can be reused, and the equipment cost is low and the stand is simple. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 A schematic diagram of the structure of a current detection device provided in an embodiment of the present application is shown;

[0025] Figure 2 A schematic diagram showing the structure of another current detection device provided in an embodiment of the present application is shown;

[0026] Figure 3 A schematic diagram showing the structure of another current detection device provided in an embodiment of the present application is shown;

[0027] Figure 4 A flow chart of a current detection method provided in an embodiment of the present application;

[0028] Figure 5 A schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below with reference to the accompanying drawings.

[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.

[0031] Secondly, the present application is described in detail with reference to the schematic diagram. When describing the embodiments of the present application in detail, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present application. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0032] As described in the background art, in actual testing, if the actual overcurrent value is used for testing, not only will the shunt resistor be damaged, resulting in the shunt current sensor being unable to be reused, but the equipment investment will be high and the test bench will be complicated.

[0033] Based on the above technical problems, the embodiment of the present application provides a current detection device, method, computer equipment and medium, the current detection device includes a constant current source, a current sensor and an intelligent board; the constant current source is connected to the current sensor so that the constant current source provides current to the current sensor so as to detect overcurrent on the current, the current sensor includes at least one first detection point, the intelligent board includes a first circuit, the first circuit is connected to the first detection point, the first circuit and the current sensor are used to adjust the threshold of current detection from the first threshold to the second threshold, so as to use the first circuit and the current sensor to detect overcurrent on the current, the first threshold is the detection threshold calibrated by the current sensor, the second threshold is the detection threshold adjusted by the current sensor, and the second threshold is less than the first threshold. In the embodiment of the present application, the first circuit in the intelligent board is connected to the current sensor, so as to reduce the detection threshold of the current sensor for overcurrent detection. When performing overcurrent detection, overcurrent detection can be achieved when the current reaches the second threshold. The current provided by the constant current source is relatively small, and the resistance of the current sensor will not be damaged. The current sensor can be reused, and the equipment cost is low and the stand is simple.

[0034] For ease of understanding, a current detection device, method, computer equipment and medium provided in an embodiment of the present application are described in detail below with reference to the accompanying drawings.

[0035] refer to Figure 1 , which is a schematic diagram of the structure of a current detection device provided in an embodiment of the present application, wherein the current detection device includes a constant current source 101 , a current sensor 102 and a smart board 103 .

[0036] In an embodiment of the present application, the constant current source 101 can provide current for overcurrent detection. The constant current source 101 is connected to the current sensor 102 so that the constant current source 101 provides current to the current sensor 102. For example, the constant current source 101 can provide a stable current of 1000A to the current sensor 102.

[0037] In the examples of this application, refer to Figure 2 , which is a schematic diagram of the structure of another current detection device provided in an embodiment of the present application, the current sensor 102 may include at least one first detection point 1021, so that the smart board 103 forms a closed loop with the circuit inside the current sensor 102 by connecting to the first detection point 1021, so as to perform overcurrent detection using the smart board 103 and the current sensor 102. The type of the current sensor 102 may be a shunt current sensor or other types, which are not specifically limited here.

[0038] The smart board 103 may include a first circuit 1031, and the first circuit 1031 is connected to the first detection point 1021. For example, the first circuit 1031 can be connected to the first detection point 1021 by a pin method, so as to connect the first circuit 1031 and the current sensor 102. The first circuit 1031 and the current sensor 102 can work together to adjust the threshold of current detection from the first threshold to the second threshold, and the second threshold is less than the first threshold, so as to use the current sensor 102 and the smart board 103 to perform overcurrent detection on the current.

[0039] Among them, the first threshold is the detection threshold calibrated by the current sensor, and the second threshold is the detection threshold after adjustment of the current sensor. That is to say, the first threshold is the real overcurrent value of the current sensor. Generally, the current during overcurrent detection is relatively large. When the current value of the current to be tested is greater than the first threshold, overcurrent detection is realized. However, when testing the vehicle, a larger current to be tested is used to perform overcurrent detection using the current sensor, which will damage the shunt resistor. Therefore, the threshold of the overcurrent detection can be lowered and adjusted to a smaller second threshold. In this way, a smaller current to be tested can be provided. The smaller current to be tested is lower than the real overcurrent value of the current sensor and will not damage the current sensor.

[0040] That is to say, the present application can reduce the detection threshold of the current sensor 102 for overcurrent detection. In this way, when performing overcurrent detection, overcurrent detection can be achieved when the current reaches the second threshold, and it is not necessary to achieve overcurrent detection when the current is large as in the prior art. The current provided by the constant current source 101 is relatively small and will not damage the resistance of the current sensor 102. The current sensor 102 can be reused, and the equipment cost is low and the stand is simple.

[0041] In a possible implementation, the smart board 103 may further include a third circuit 1033, the third circuit 1033 is connected to the first detection point 1021, the third circuit 1033 may work together with the current sensor 102 to adjust the current detection threshold from the first threshold to the second threshold. Specifically, the first circuit 1031 may be used as a threshold adjustment circuit for an overcurrent detection function, and the third circuit 1033 may be used as another threshold adjustment circuit for an overcurrent detection function. In the loop formed by the first circuit 1031 and the current sensor 102, when the current is greater than or equal to the second threshold, and in the loop formed by the third circuit 1033 and the current sensor 102, when the current is also greater than or equal to the second threshold, it can be determined that overcurrent detection is achieved. That is to say, when the current in both loops is greater than the second threshold, it is determined that overcurrent detection is achieved, thereby avoiding inaccurate detection results due to a loop failure and misjudgment of overcurrent detection conditions, thereby improving the accuracy of overcurrent detection.

[0042] In the embodiment of the present application, the current sensor 102 further includes at least one second detection point 1022, so that the smart board 103 is connected to the current sensor 102 through the second detection point 1022, and the resistance value in the current sensor 102 is calibrated to improve the accuracy of overcurrent detection. Among them, the first detection point 1021 and the second detection point 1022 can be the same detection point or different detection points, as long as different circuits in the smart board 103 are connected to corresponding circuits in the current sensor 102.

[0043] Specifically, the smart board 103 also includes a second circuit 1032, and the second circuit 1032 is connected to the second detection point 1022. For example, the second circuit 1032 can be connected to the second detection point 1022 by a pin, so as to control the calibration data to be written into the current sensor 102, and the calibration data includes the corresponding relationship between the resistance value and the temperature of the current sensor 102. Since the resistance in the current sensor 102 is greatly affected by the temperature, the resistance value is different at different temperatures, and the corresponding relationship between the resistance value and the temperature can be written into the current sensor 102. When the current sensor 102 obtains the ambient temperature of the current environment, a relatively accurate resistance value can be determined according to the pre-stored corresponding relationship.

[0044] Specifically, the second circuit 1032 is a control circuit for writing calibration data into the current sensor 102. The second circuit 1032 can be connected to part of the circuit in the current sensor 102 through the second detection point 1022, and can write the corresponding relationship between the resistance value and temperature of the current sensor 102 into the current sensor 102, thereby determining a more accurate resistance value, thereby improving the accuracy of current detection.

[0045] Specifically, when the smart board 103 includes the first circuit 1031, the second circuit 1032 and the third circuit 1033, the three circuits need to correspond to the circuits on the PCB board of the current sensor 102 one by one, and are connected to form a loop through the first detection point 1021 or the second detection point 1022. A first detection point 1021 specifically used for overcurrent detection and a second detection point 1022 for writing calibration data can be set at the upper left corner of the PCBA board of the current sensor 102. One end of the ejector fixture is pushed onto the PCBA board of the current sensor 102, and the other end is connected to the smart board 103. The smart board 103 and the PCBA board circuit work together to achieve an overcurrent function detection of 2000A with a current of 1000A.

[0046] In the examples of this application, refer to Figure 3 As shown, it is a schematic diagram of the structure of another current detection device provided in an embodiment of the present application. The current detection device may also include a pressed copper plate jig 104. The constant current source 101 and the current sensor 102 may be connected by the pressed copper plate jig 104 to facilitate the current to flow through the current sensor 102. When performing overcurrent detection, the pressed copper plate jig 104 may always keep the constant current source 101 and the current sensor 102 connected to prevent the constant current source 101 and the current sensor 102 from being unstable in connection, or even causing the circuit to be disconnected, affecting the overcurrent detection. After the overcurrent detection is completed, the pressed copper plate jig 104 may be removed.

[0047] Specifically, the smart board 103 can be set in the pressed copper mold 104. By adding the smart board 103 to the pressed copper mold 104, conventional current, that is, a smaller current, can be used for overcurrent function detection, which can also save space and cost.

[0048] In an embodiment of the present application, the current detection device may also include a connected offline test board 105 and a communication tool 106. The offline test board 105 is connected to the current sensor 102. In this way, the current sensor 102, the offline test board 105 and the communication tool 106 are connected in sequence. The communication tool 106 can also be connected to the host computer 107. The host computer 107 can record the judgment data. Using the offline test board 105 and the communication tool 106, the overcurrent detection result of the current output by the current sensor 102 can be transmitted to the host computer 107 so as to display the overcurrent detection result to the user.

[0049] In one possible implementation, the overcurrent detection result of the current can be reflected in the form of high and low levels. When the high level is output, it indicates that the overcurrent detection is completed. When the low level is output, it indicates that the current of the constant current source 101 is less than the second threshold and has not reached the overcurrent. It is a conventional current detection. In this way, the current detection device provided in the present application can not only perform conventional current detection, but also perform overcurrent detection.

[0050] In the embodiment of the present application, the current detection device may further include a DC power supply 108, which is connected to the current sensor 102 to supply power to the current sensor 102. The DC power supply 108 may be a low-voltage DC power supply, such as a low-voltage DC power supply that provides a low-voltage 12V power supply to the current sensor 102.

[0051] The embodiment of the present application provides a current detection device, which includes a constant current source, a current sensor and a smart board; the constant current source is connected to the current sensor so that the constant current source provides current to the current sensor so as to detect overcurrent on the current, the current sensor includes at least one first detection point, the smart board includes a first circuit, the first circuit is connected to the first detection point, the first circuit and the current sensor are used to adjust the threshold of current detection from the first threshold to the second threshold, so as to use the first circuit and the current sensor to detect overcurrent on the current, the first threshold is the detection threshold calibrated by the current sensor, the second threshold is the detection threshold adjusted by the current sensor, and the second threshold is less than the first threshold. In the embodiment of the present application, the first circuit in the smart board is connected to the current sensor, so as to reduce the detection threshold of the current sensor for overcurrent detection. When performing overcurrent detection, overcurrent detection can be achieved when the current reaches the second threshold. The current provided by the constant current source is relatively small and will not damage the resistance of the current sensor. The current sensor can be reused, and the equipment investment cost is low and the stand is simple.

[0052] Based on the above current detection device, the embodiment of the present application also provides a current detection method, which is applied to the current detection device provided by the present application, referring to Figure 4 As shown, it is a flow chart of a current detection method provided in an embodiment of the present application, and the method includes the following steps.

[0053] S101, a constant current source provides current to the current sensor.

[0054] S102, when the current sensor outputs a target result, determining to implement overcurrent detection on the current; the target result indicates that the current is greater than or equal to a second threshold value.

[0055] In an embodiment of the present application, when the current sensor outputs a target result, such as a high level, it can be determined that the current provided by the constant current source is greater than or equal to the second threshold, and overcurrent detection is determined. When the target result is a low level, it indicates that the current provided by the constant current source is less than the second threshold, which is a conventional current detection.

[0056] In the embodiment of the present application, before the constant current source provides current to the current sensor, the method further includes:

[0057] Writing calibration data into the current sensor, the calibration data including the corresponding relationship between the resistance value and the temperature of the current sensor;

[0058] The resistance value of the current sensor is determined according to the collected temperature and the corresponding relationship.

[0059] An embodiment of the present application provides a current detection method, in which a constant current source provides current to a current sensor, and when the current sensor outputs a target result, it is determined that overcurrent detection is performed on the current; the target result indicates that the current is greater than or equal to a second threshold value, and the first circuit in the smart board and the current sensor are connected to reduce the detection threshold of the current sensor for overcurrent detection. When performing overcurrent detection, overcurrent detection can be performed when the current reaches the second threshold value. The current provided by the constant current source is relatively small and will not damage the resistance of the current sensor. The current sensor can be reused, and the equipment investment cost is low and the stand is simple.

[0060] In another aspect, the present application provides a computer device, referring to Figure 5 FIG. 1 is a schematic diagram of a computer device provided in an embodiment of the present application, wherein the computer device includes a processor 310 and a memory 320:

[0061] The memory 320 is used to store program codes and transmit the program codes to the processor 310;

[0062] The processor 310 is used to execute the current detection method provided in the above embodiment according to the instructions in the program code.

[0063] The computer device may include a terminal device or a server, and the aforementioned current detection device may be configured in the computer device.

[0064] On the other hand, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store a computer program, and the computer program is used to execute the current detection method provided in the above embodiment.

[0065] In addition, an embodiment of the present application further provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the current detection method provided in the above embodiment.

[0066] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by program instruction hardware, and the above program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the above storage medium can be at least one of the following media: read-only memory (English: Read-only Memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.

[0067] Each embodiment in this specification 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 method embodiment, since it is basically similar to the device embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the device embodiment.

[0068] The above is only a preferred implementation of the present application. Although the present application has been disclosed as a preferred embodiment, it is not intended to limit the present application. Any technician familiar with the art can use the above disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present application without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of protection of the technical solution of the present application.

Claims

1. A current detection device, characterized in that: Including constant current source, current sensor and smart board; The constant current source is connected to the current sensor so that the constant current source provides current to the current sensor; The current sensor includes at least one first detection point, and the smart board includes a first circuit, the first circuit is connected to the first detection point, the first circuit and the current sensor are used to adjust the threshold of current detection from a first threshold to a second threshold, so as to use the first circuit and the current sensor to perform overcurrent detection on the current, the first threshold is the calibrated detection threshold of the current sensor, the second threshold is the adjusted detection threshold of the current sensor, and the second threshold is less than the first threshold.

2. The current detection device according to claim 1, characterized in that: The current sensor also includes at least one second detection point, and the smart board also includes a second circuit, which is connected to the second detection point to control calibration data to be written into the current sensor; the calibration data includes the corresponding relationship between the resistance value and temperature of the current sensor.

3. The current detection device according to claim 1, characterized in that: The current detection device also includes a pressed copper plate jig, through which the constant current source and the current sensor are connected.

4. The current detection device according to claim 1, characterized in that: The current detection device also includes a connected offline test board and a communication tool, the offline test board is connected to the current sensor, and the offline test board and the communication tool are used to transmit the overcurrent detection result of the current to the host computer.

5. The current detection device according to any one of claims 1 to 4, characterized in that: The current detection device further includes a direct current power supply, which is connected to the current sensor to supply power to the current sensor.

6. A current detection method, characterized in that: Applied to the current detection device according to any one of claims 1 to 5, the method comprising: The constant current source provides current to the current sensor; When the current sensor outputs a target result, it is determined that overcurrent detection is performed on the current; the target result indicates that the current is greater than or equal to the second threshold.

7. The current detection method according to claim 6, characterized in that: Before the constant current source provides current to the current sensor, the method further includes: Writing calibration data into the current sensor, the calibration data including a corresponding relationship between a resistance value and a temperature of the current sensor; The resistance value of the current sensor is determined according to the collected temperature and the corresponding relationship.

8. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the current detection method described in any one of claims 6 to 7 according to the instructions in the program code.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the current detection method according to any one of claims 6 to 7.

10. A computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the current detection method according to any one of claims 6 to 7.