Search

CN-122017314-A - Voltage detection method, system, vehicle and medium

CN122017314ACN 122017314 ACN122017314 ACN 122017314ACN-122017314-A

Abstract

The embodiment of the invention provides a voltage detection method, a system, a vehicle and a medium, which can automatically sample and group voltage signals after a driving motor is electrified by test equipment, calculate the average value of each group of voltage signals, automatically identify the driving working time length and the corresponding driving voltage of the driving motor according to the average value of each group, thereby generating a driving detection result, realizing the automatic, objectification and high-precision detection of the electric information of the driving motor, effectively reducing errors caused by manual operation, improving the test efficiency, reducing the labor cost, shortening the test period and better meeting the requirements of large-scale and automatic production and test.

Inventors

  • Sheng Shuaishuai
  • ZHANG BIN
  • KE HUAQIANG

Assignees

  • 广州汽车集团股份有限公司

Dates

Publication Date
20260512
Application Date
20260121

Claims (10)

  1. 1. A voltage detection method for use with a test apparatus coupled to a drive motor, the method comprising: After the driving motor is electrified, sampling voltage signals of the driving motor to obtain a plurality of groups of voltage signal sets, wherein each group of voltage signal sets comprises a plurality of voltage signals which are arranged in time sequence; Carrying out arithmetic mean value operation on each group of voltage signal sets to obtain the voltage mean value of each group of voltage signal sets; determining the driving working time length of the driving motor according to the voltage average value of each group of voltage signal sets; determining a voltage average value of a voltage signal set within the driving working time period, and determining the voltage average value as the driving voltage of the driving motor; And generating a drive detection result according to the drive working time length and the drive voltage.
  2. 2. The method of claim 1, wherein determining the driving operation time of the driving motor according to the average voltage value of each voltage signal set includes: determining the initial moment corresponding to the voltage signal set of which the voltage average value is larger than a preset threshold value for the first time; Determining the ending time corresponding to the voltage signal set of which the voltage average value is greater than the preset threshold value for the last time; and determining the driving working time according to the starting time and the ending time.
  3. 3. The method of claim 1, wherein the step of sampling the voltage signal of the driving motor to obtain a plurality of sets of voltage signals includes: Taking the voltage signals sampled according to a preset time interval as a group of voltage signals; determining successive sets of voltage signals as an initial set of voltage signals; Each time a new set of voltage signals is obtained, discarding the earliest set of voltage signals in the initial voltage signal set and adding the new set of voltage signals to form a new voltage signal set; And determining the multiple groups of voltage signal sets according to the initial voltage signal set and the multiple new voltage signal sets.
  4. 4. The method of claim 1, wherein said performing an arithmetic mean operation on each of said sets of voltage signals to obtain a voltage mean value for each of said sets of voltage signals comprises: for each group of the voltage signal sets, randomly selecting M groups of voltage signals from N groups of voltage signals, wherein M is a positive integer smaller than N; An arithmetic mean of the M sets of voltage signals is calculated as a voltage mean of each set of voltage signals.
  5. 5. The method according to claim 1, wherein determining a voltage average value of the voltage signal set in the driving operation period and determining as the driving voltage of the driving motor includes: accumulating the average voltage values of all the voltage signal sets in the driving working time to obtain a total voltage value; determining the number of voltage signal sets in the driving working time period; Dividing the total voltage value by the number of the voltage signal sets to obtain the driving voltage of the driving motor.
  6. 6. The voltage detection method according to claim 1, wherein the sampling the voltage signal of the driving motor includes: and collecting the voltage signal of the driving motor through the IO port of the testing equipment in a preset sampling period, wherein the sampling frequency of the testing equipment is lower than the modulation frequency of the voltage signal output by the driving motor.
  7. 7. The voltage detection method according to claim 1, characterized by further comprising: judging whether the driving detection result meets the driving requirement or not; and if the driving detection result does not meet the driving requirement, outputting fault information.
  8. 8. A voltage detection system, comprising: A driving motor; The area controller is connected with the driving motor and is used for powering on the driving motor; The test equipment is respectively connected with two ends of the driving motor and is used for sampling voltage signals of the driving motor after the driving motor is electrified to obtain a plurality of groups of voltage signal sets, each group of voltage signal sets comprises a plurality of voltage signals which are arranged in time sequence, arithmetic average operation is carried out on each group of voltage signal sets to obtain voltage average values of each group of voltage signal sets, driving working time length of the driving motor is determined according to the voltage average values of each group of voltage signal sets, the voltage average value of the voltage signal sets in the driving working time length is determined and is determined as driving voltage of the driving motor, driving detection result dynamic voltage is generated according to the driving working time length and the driving voltage, and driving detection result is generated according to the driving working time length and the driving voltage.
  9. 9. A vehicle comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program when executed by the processor implementing the steps of the voltage detection method according to any one of claims 1 to 7.
  10. 10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the voltage detection method according to any of claims 1-7.

Description

Voltage detection method, system, vehicle and medium Technical Field The invention relates to the technical field of motors, in particular to a voltage detection method, a voltage detection system, a vehicle and a medium. Background Along with the rapid development of automobiles, the performance of a driving motor represents the advantages and disadvantages of related products in a car body domain to a certain extent, so that the test, especially the detection of electrical information, of each driving motor is of importance, in the prior art, the voltage at two ends of the driving motor is usually required to be manually collected and checked through an oscilloscope to confirm whether the voltage and the driving time length of each driving stage meet the system requirements or not, however, the mode relying on manual test is low in efficiency, judgment errors are easily caused by human factors, meanwhile, the labor cost and the test period are increased, and the method is difficult to adapt to the large-scale and automatic production and test requirements. Disclosure of Invention In view of the foregoing, embodiments of the present invention have been developed to provide a voltage detection method, system, vehicle, and medium that overcome, or at least partially solve, the foregoing problems. In order to solve the above problems, an embodiment of the present invention discloses a voltage detection method applied to a test device, the test device being connected to a driving motor, the method comprising: After the driving motor is electrified, sampling voltage signals of the driving motor to obtain a plurality of groups of voltage signal sets, wherein each group of voltage signal sets comprises a plurality of voltage signals which are arranged in time sequence; Carrying out arithmetic mean value operation on each group of voltage signal sets to obtain the voltage mean value of each group of voltage signal sets; determining the driving working time length of the driving motor according to the voltage average value of each group of voltage signal sets; determining a voltage average value of a voltage signal set within the driving working time period, and determining the voltage average value as the driving voltage of the driving motor; And generating a drive detection result according to the drive working time length and the drive voltage. Optionally, the determining, according to the average voltage value of each set of voltage signals, a driving working time length of the driving motor in a driving state includes: determining the initial moment corresponding to the voltage signal set of which the voltage average value is larger than a preset threshold value for the first time; Determining the ending time corresponding to the voltage signal set of which the voltage average value is greater than the preset threshold value for the last time; and determining the driving working time according to the starting time and the ending time. Optionally, the sampling the voltage signal of the driving motor to obtain a plurality of groups of voltage signal sets includes: Taking the voltage signals sampled according to a preset time interval as a group of voltage signals; determining successive sets of voltage signals as an initial set of voltage signals; Each time a new set of voltage signals is obtained, discarding the earliest set of voltage signals in the initial voltage signal set and adding the new set of voltage signals to form a new voltage signal set; And determining the multiple groups of voltage signal sets according to the initial voltage signal set and the multiple new voltage signal sets. Optionally, the performing an arithmetic average operation on each set of voltage signals to obtain a voltage average value of each set of voltage signals includes: for each group of the voltage signal sets, randomly selecting M groups of voltage signals from N groups of voltage signals, wherein M is a positive integer smaller than N; An arithmetic mean of the M sets of voltage signals is calculated as a voltage mean of each set of voltage signals. Optionally, the determining a voltage average value of the voltage signal set in the driving working time period and determining the voltage average value as the driving voltage of the driving motor includes: accumulating the average voltage values of all the voltage signal sets in the driving working time to obtain a total voltage value; determining the number of voltage signal sets in the driving working time period; Dividing the total voltage value by the number of the voltage signal sets to obtain the driving voltage of the driving motor. Optionally, the sampling the voltage signal of the driving motor includes: and collecting the voltage signal of the driving motor through the IO port of the testing equipment in a preset sampling period, wherein the sampling frequency of the testing equipment is lower than the modulation frequency of the voltage signal output by the drivin