Ground voltage offset measurement system and method
Through the combination of interface equipment and electronic equipment, high-precision measurement of ground voltage offset and data storage and continuous display are realized, solving the problems of low measurement accuracy and poor portability in the prior art, and reducing costs.
Patent Information
- Application Number
- CN202510608561.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-12
- Publication Date
- 2025-08-05
AI Technical Summary
In the prior art, the ground voltage offset measurement accuracy is not high, data storage and continuous display cannot be realized, and the equipment costs are high and the portability is poor.
The interface device is used to detect the real-time offset voltage of the device to be tested through the analog quantity acquisition module, and send it to the electronic device through the target bus for storage and display.
The accuracy of ground voltage offset measurement is improved, data storage and continuous display are realized, and the device is portable and cost-effective.
Smart Images

Figure CN120427962A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of vehicle testing, and particularly to a ground voltage offset measurement system and method. Background Art
[0002] In the field of vehicles, the positive electrode of a storage battery is usually used to supply power to electrical equipment on the whole vehicle, and the negative electrode of the storage battery is connected to the vehicle body nearby (commonly known as grounding), and there are several grounding points on the wiring harness; on this basis, the negative electrode of the device under test is also connected to the vehicle body nearby, which can save the wiring harness, reduce the vehicle weight, and simplify the design. However, due to the different positions of the device under test on the vehicle body and the different paths from the device under test to the negative electrode of the storage battery, there is a voltage difference between the negative electrode of the device under test and the negative electrode of the storage battery. This voltage difference may interfere with the transmission of electronic signals, resulting in communication anomalies or failures.
[0003] In related technologies, testers usually use a digital multimeter or an oscilloscope to measure the ground voltage offset. Among them, for the ground voltage offset measurement method based on a digital multimeter, the measurement accuracy is not high, and the data is not convenient to save and cannot achieve continuous display of the measurement data; while for the ground voltage offset measurement method based on an oscilloscope, although it can display the voltage curve, the cost is high and it is not convenient to carry, and the convenience is not high. Summary of the Invention
[0004] This application provides a ground voltage offset measurement system and method, which can improve the measurement accuracy, can also achieve data storage and continuous display of the measurement data, and is convenient to carry, has higher convenience and lower cost.
[0005] In a first aspect, an embodiment of this application provides a ground voltage offset measurement system, including an electronic device and an interface device; the interface device includes a target bus, a target interface, and an analog quantity acquisition module; the first pin and the second pin of the target interface are respectively connected to the device under test;
[0006] The interface device is configured to detect the real-time offset voltage between the first pin and the second pin through the analog quantity acquisition module;
[0007] The interface device is configured to send the real-time offset voltage to the electronic device through the target bus according to a preset period;
[0008] The electronic device is configured to store the real-time offset voltage and display the real-time offset voltage in a target manner.
[0009] In a possible implementation, the first pin of the target interface is connected to the first detection point of the device under test; the second pin of the target interface is connected to the second detection point of the device under test; the first detection point is a relative ground point, and the second detection point is an absolute ground point.
[0010] In a possible implementation, when the voltage value between the first pin and the second pin changes, the interface device determines the real-time offset voltage.
[0011] In a possible implementation, the interface device is further configured to perform data conversion on the real-time offset voltage to obtain a real-time offset voltage with a target accuracy.
[0012] In a possible implementation, the interface device is configured to send a target message to the electronic device according to a preset period; the target message includes the real-time offset voltage.
[0013] In a possible implementation, the interface device is configured to send the target message to the target bus according to the preset period corresponding to the target timer.
[0014] In a possible implementation, the electronic device is configured to store the real-time offset voltage in a target format file.
[0015] In a possible implementation, the electronic device is further configured to display a voltage change curve corresponding to the real-time offset voltage.
[0016] In a possible implementation, if the maximum value of the real-time offset voltage of the device under test relative to the relative ground point is greater than a preset offset voltage threshold, other ground points of the device under test do not share the relative ground point.
[0017] In a second aspect, an embodiment of the present application provides a ground voltage offset measurement method, which is applied to the ground voltage offset measurement system according to any one of the first aspect, and includes:
[0018] Based on an analog acquisition module through an interface device, detecting a real-time offset voltage between a first pin and a second pin;
[0019] Based on a target bus through the interface device according to a preset period, sending the real-time offset voltage to an electronic device;
[0020] Storing the real-time offset voltage through the electronic device and displaying the real-time offset voltage in a target manner.
[0021] The ground voltage offset measurement system and method provided by the embodiments of this application. The ground voltage offset measurement system includes an electronic device and an interface device; the interface device includes a target bus, a target interface, and an analog quantity acquisition module; the first pin and the second pin of the target interface are respectively connected to the device under test; the interface device is used to detect the real-time offset voltage between the first pin and the second pin through the analog quantity acquisition module; the interface device is used to send the real-time offset voltage to the electronic device through the target bus according to a preset period; the electronic device is used to store the real-time offset voltage and display the real-time offset voltage in a target manner. In the embodiments of this application, the interface device is connected to the device under test through the first pin and the second pin, measures the real-time offset voltage between the first pin and the second pin through the analog quantity acquisition module, and sends the real-time offset voltage to the electronic device through the target bus. The electronic device stores the real-time offset voltage and can continuously display the real-time offset voltage in a target manner such as a curve. In this way, the ground voltage offset measurement system can improve the measurement accuracy, and can also implement data storage and continuous display of measurement data, while being convenient to carry, having higher convenience and lower cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 Schematic diagram of measuring ground voltage offset based on a digital multimeter in the related art;
[0023] Figure 2 Schematic diagram of a ground voltage offset measurement system provided by this application;
[0024] Figure 3 Schematic diagram of detecting ground voltage offset of a motor started by a device under test provided by this application;
[0025] Figure 4 Schematic diagram of the pins of the target interface of the interface device provided by this application;
[0026] Figure 5 Schematic diagram of the voltage change curve of the real-time offset voltage of a started motor provided by this application;
[0027] Figure 6 Schematic diagram of the flow of a ground voltage offset measurement method provided by this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] To enable those skilled in the art to better understand the technical solution of this application, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments and drawings described herein are only for explaining this application and are not intended to limit this application. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Moreover, the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards, and corresponding operation entries are provided for users to choose to authorize or refuse.
[0029] In fields such as automobile manufacturing, the positive electrode of the battery is usually used to supply power to the electrical devices of the whole vehicle on the automobile, and the negative electrode of the battery will be connected to the vehicle body nearby. This process can be called grounding, and there are several grounding points (i.e., grounding points or absolute grounding points) on the wiring harness. On this basis, the negative electrode of the device under test (DUT) will also be connected to the vehicle body nearby, which can save the wiring harness, reduce the vehicle weight, and simplify the design. However, due to the different positions of the DUT on the vehicle body, the paths for it to reach the negative electrode of the battery are also different. In addition, due to the existence of factors such as contact resistance and return current, there is a voltage difference between the negative electrode of the DUT and the negative electrode of the battery, and this voltage difference is the ground offset voltage.
[0030] Specifically, contact resistance refers to the additional resistance generated due to the incomplete flatness and oxidation of the contact surface when current passes through the contact surface between conductors, resulting in a voltage drop. Return resistance can refer to that in the electrical system of a vehicle, current may flow back to the negative electrode of the battery through multiple paths, and these return currents may interfere with each other, generating an additional voltage drop. Of course, there may also be other factors in the vehicle that act together to cause the ground offset voltage.
[0031] If the ground offset voltage is too large, it may interfere with the transmission of internal electronic signals in the vehicle, resulting in communication anomalies or failures. Since an automobile usually uses the body sheet metal as the ground wire (i.e., "grounding"), and the body sheet metal is mostly made of steel materials, its resistance value is related to factors such as the thickness, shape, welding process, and painting process of the sheet metal. This means that the grounding resistance of the grounding point cannot be accurately designed and can only be minimized as much as possible. And testers need to make quantitative measurements after the vehicle design is completed to ensure that the ground voltage offset does not exceed 1 volt (V).
[0032] Taking the starting motor as an example, when the battery voltage is 12V, the current flowing through the current grounding point usually exceeds 100 amperes (A) at the moment the engine starts. Assuming that the equivalent resistance between the current grounding point and the absolute grounding point (the negative terminal of the battery) is 0.01 ohms (Ω), that is, the current grounding voltage deviates by 0.01Ω * 100A = 1V. At this time, the voltage across the starting motor is equal to the battery voltage minus the deviation voltage of the current grounding point, 12V - 1V = 11V; it can be seen from this that the greater the load current, the more the grounding voltage deviates, and the smaller the effective voltage across the electrical appliance.
[0033] In the related art, testers usually measure the grounding voltage deviation based on devices such as digital multimeters or oscilloscopes. Exemplarily, Figure 1 FIG. is a schematic diagram of measuring the grounding voltage deviation based on a digital multimeter in the related art. As Figure 1 shown, one end of the digital multimeter is connected to the negative terminal of the battery, that is, the absolute grounding point (absolute ground), and the other end is connected to the negative terminal of the starting motor, that is, the relative grounding point or the current grounding point (relative ground). The tester can directly read the voltage value displayed on the digital multimeter as the grounding voltage deviation.
[0034] In the measurement method of measuring the grounding voltage deviation based on a digital multimeter in the related art, the measurement accuracy is not high, and the measurement data cannot be saved, and the measurement data cannot be continuously displayed in the form of curves or the like. In the measurement method of the grounding voltage deviation based on an oscilloscope in the related art, although continuous measurement and voltage curve output can be achieved, the oscilloscope is expensive, the cost is high, and it is not convenient to carry, and the convenience is not high.
[0035] To solve the above problems, the embodiments of the present application provide a grounding voltage deviation measurement system and method, the grounding voltage deviation measurement system includes an electronic device and an interface device; the interface device is used to detect the real-time deviation voltage between the first pin and the second pin through the analog quantity acquisition module; the interface device is used to send the real-time deviation voltage to the electronic device through the target bus according to a preset period; the electronic device is used to store the real-time deviation voltage and display the real-time deviation voltage in a target manner. In this way, the grounding voltage deviation measurement system measures the real-time deviation voltage based on the interface device, and sends the real-time deviation voltage to the electronic device for storage and continuous display, which can improve the measurement accuracy, and can also realize data storage and continuous display of the measurement data. At the same time, both the interface device and the electronic device in the grounding voltage deviation measurement system are convenient to carry, with higher convenience and lower cost.
[0036] The following details the solution shown in the present application through specific embodiments. It should be noted that the following several embodiments can exist independently or be combined with each other, and the same or similar content will not be repeated in different embodiments.
[0037] Figure 2 Schematic diagram of a ground voltage offset measurement system provided for this application. As Figure 2 shown, the ground voltage offset measurement system 20 includes an electronic device 202 and an interface device 201; the interface device 201 includes a target bus, a target interface, and an analog quantity acquisition module; the first pin and the second pin of the target interface are respectively connected to the device under test.
[0038] In an embodiment of this application, the ground voltage offset measurement system 20 includes an electronic device 202 and an interface device 201. The electronic device 202 may include a processor, a memory, an input device, and an output device (such as a display device, etc.). In practical applications, it may refer to a computer, a smart phone, or a wearable device, etc. The embodiment of this application does not limit the specific type of the electronic device 202. The electronic device 202 may be used as a host computer for issuing measurement control instructions, storing measurement data, and displaying measurement data, etc.
[0039] The interface device 201 may specifically refer to a hardware device such as an interface card, which can be used to implement functions such as voltage measurement and data reporting. In practical applications, the interface device 201 may specifically refer to a VN1630 interface card, a VN1640 interface card, or a VN1670 interface card, etc. Of course, it may also be other interface cards, and the embodiment of this application does not limit this. The interface device 201 may include a target bus, a target interface, and an analog quantity acquisition module. The target bus can be used to transmit communication data such as messages; the target interface can be used to connect to the device under test, and specifically can be connected to two contact points of the device under test that need to detect the ground voltage offset through the first pin and the second pin; the analog quantity acquisition module may refer to the analog quantity acquisition channel in the interface device 201, which can be used to accurately measure the analog quantity of voltage.
[0040] Among them, the interface device 201 is used to detect the real-time offset voltage between the first pin and the second pin through the analog quantity acquisition module; the interface device 201 is used to send the real-time offset voltage to the electronic device 202 through the target bus according to a preset period.
[0041] In an embodiment of this application, the real-time offset voltage may refer to the real-time ground voltage offset between the current grounding point and the absolute grounding point in the device under test. For example, the voltage difference between the negative pole of the starting motor and the negative pole of the battery in the device under test. The preset period may refer to the pre-set measurement data reporting period, specifically 5 milliseconds (ms), 10 milliseconds, or 20 milliseconds, etc. It can be specifically set based on actual measurement requirements, and the embodiment of this application does not limit this.
[0042] Specifically, the interface device 201 can detect the voltage value between the first pin and the second pin through the analog detection module, and this voltage value is the real-time offset voltage corresponding to the device under test. Then, the interface device 201 can send the real-time offset voltage to the electronic device 202 through the target bus, such as the Controller Area Network (CAN) bus or the Local Interconnect Network (LIN) bus, etc., according to a preset period. In this way, the ground voltage offset measurement system 20 can detect and report the real-time offset voltage through the interface device 201, which can improve the measurement accuracy and is more convenient based on the interface card.
[0043] Among them, the electronic device 202 is used to store the real-time offset voltage and display the real-time offset voltage in a target manner.
[0044] In the embodiment of the present application, the target manner may refer to the display manner of the real-time offset voltage, specifically, it may refer to a voltage curve graph, a line graph or a data table that changes with time, etc. The embodiment of the present application does not limit the specific display manner of the real-time offset voltage. After the interface device 201 transmits the real-time offset voltage to the electronic device 202 through the target bus according to a preset period, the electronic device 202 can store the real-time offset voltage and display the real-time offset voltage in a target manner, so as to realize the storage and playback of measurement data and improve the flexibility of measurement data display.
[0045] In a possible implementation manner, the first pin of the target interface is connected to the first detection point of the device under test; the second pin of the target interface is connected to the second detection point of the device under test; the first detection point is a relative ground point, and the second detection point is an absolute ground point.
[0046] In the embodiment of the present application, the first detection point may refer to the relative ground point in the device under test, such as the negative pole of the starting motor, etc.; the second detection point may refer to the absolute ground point in the device under test, such as the negative pole of the storage battery, etc. In the ground voltage offset measurement system 20, the first pin of the target interface in the interface device 201 is connected to the first detection point of the device under test, and the second pin of the target interface is connected to the second detection point of the device under test. In this way, the analog acquisition module in the interface device 201 can determine the real-time offset voltage between the first detection point and the second detection point by detecting the voltage difference between the first pin and the second pin, and realize the accurate measurement of the ground voltage offset.
[0047] Exemplarily, Figure 3 is a schematic diagram of detecting the ground voltage offset of the starting motor of a device under test provided by the present application. As Figure 3As shown, the electronic device 202 is connected to the interface device 201, the first pin of the target interface in the interface device 201 is connected to the negative pole of the starter motor, that is, the relative ground point, and the second pin of the target interface is connected to the negative pole of the battery, that is, the absolute ground point.
[0048] Figure 4 This is a pin diagram of a target interface of an interface device 201 provided in this application. Figure 4 As shown, the target interface includes a total of 9 pins, namely pin (PIN) 1, pin 2, ..., pin 9, among which PIN1 can be used as the first pin and PIN6 can be used as the second pin. The interface device 201 can be connected to the device under test through PIN1 and PIN6. The analog acquisition module in the interface device 201 can detect the voltage difference between PIN1 and PIN6, thereby realizing real-time offset voltage acquisition and improving the measurement accuracy of the ground voltage offset.
[0049] In a possible implementation, when the voltage value between the first pin and the second pin changes, the interface device 201 determines the real-time offset voltage.
[0050] In this embodiment of the present application, when the voltage between the first and second pins of the target interface changes, the interface device 201 triggers an input / output (IO) interface event. This IO interface event includes a voltage variable value, which can be recorded as AIN0_IO. At this time, the interface device 201 assigns AIN0_IO to the voltage value between the first and second pins after the change, thereby acquiring real-time offset voltage. In this way, the electronic device 202 can dynamically acquire and collect the real-time offset voltage through the interface device 201, thereby achieving continuous measurement of ground voltage offset.
[0051] In a possible implementation, the interface device 201 is further configured to perform data conversion on the real-time offset voltage to obtain a real-time offset voltage with target accuracy.
[0052] In an embodiment of the present application, the interface device 201 can perform data conversion on the real-time offset voltage, such as multiplying it by 100, to obtain a real-time offset voltage of target accuracy, facilitating subsequent unified parsing, storage, and display of the data. Specifically, because the accuracy of data may vary in different communication protocols or communication buses, the real-time offset voltage directly measured by the interface device 201 is analog data and may differ from the target accuracy predefined by the electronic device 202. The interface device 201 can perform data conversion on the real-time offset voltage through a simple multiplication operation to obtain a real-time offset voltage of target accuracy. The real-time offset voltage of target accuracy can then be sent to the electronic device 202, facilitating subsequent parsing and storage by the electronic device 202.
[0053] Exemplarily, assume that the target bus is a CAN bus. The electronic device 202 may include a host computer for the CAN bus, such as the CANoe 12 host computer. A tester can set a test project corresponding to the ground voltage offset measurement in the host computer. Various variables required during the ground voltage offset measurement can be included in the test project and stored in the form of a CAN data file (Database for CAN, DBC). Data transmission between the interface device 201 and the host computer is based on CAN messages. The name of the CAN message can be expressed as Msg_IO_Analog_acquisition, the encoding (Identity document, ID) of the CAN message can be expressed as 0x320 (800 in decimal), and the length of the data length code (DateLength Code, DLC) of the CAN message can be 8 bytes. The CAN message includes a voltage signal for storing the real-time offset voltage, which can be specifically expressed as SG_Sig_IO_Analog_acquisition. The starting byte of this signal is the 0th byte, 7th bit (Bit). The target accuracy of this signal can be 0.01, and the signal unit is V. Subsequently, the signal can be assigned a value based on a CAN script (CAN Access Programming Language, CAPL) and sent to the target bus, that is, the CAN bus, according to a preset period. The CAN script can include a target timer (timer1), the voltage variable value AIN0_IO in the IO interface event, and the message corresponding to the CAN message Msg_IO_Analog_acquisition.
[0054] When the voltage between the first pin and the second pin changes, the interface device 201 triggers an IO interface event and assigns a value to the voltage variable value AIN0_IO, which is the real-time offset voltage collected by the interface device 201. On this basis, since the target accuracy of the SG_Sig_IO_Analog_acquisition voltage signal is 0.01, the interface device 201 can multiply AIN0_IO by the conversion factor 100 for data conversion to obtain the real-time offset voltage with the target accuracy, and then assign the real-time offset voltage with the target accuracy to the SG_Sig_IO_Analog_acquisition voltage signal to achieve the accuracy conversion of the measurement data and ensure the accuracy of subsequent measurement data parsing and display. The process of assigning a value to the voltage variable value AIN0_IO, the data conversion process, and the process of assigning a value to the SG_Sig_IO_Analog_acquisition voltage signal can all be included in the IO interface event. When the voltage value between the first pin and the second pin changes, the interface device 201 can be triggered to execute the foregoing processes.
[0055] It should be noted that the CAN messages, CAN signals, voltage signals, etc. shown in the embodiments of this application are all examples, and different representation methods can be adopted under other buses and other protocols. The embodiments of this application do not limit this.
[0056] In a possible implementation manner, the interface device 201 is configured to send a target message to the electronic device 202 according to a preset period; the target message includes a real-time offset voltage.
[0057] In the embodiments of this application, after the interface device 201 acquires the real-time offset voltage and performs data conversion on the real-time offset voltage to obtain the real-time offset voltage with a target accuracy, the real-time offset voltage with the target accuracy can be assigned to the voltage signal of the target message. Then, the interface device 201 can send the target message to the electronic device 202 through the target bus according to a preset period, so as to store the measurement data of the ground voltage offset.
[0058] In a possible implementation manner, the interface device 201 is configured to send a target message to the target bus according to a preset period corresponding to the target timer.
[0059] In the embodiments of this application, the target timer may refer to a predefined timer event. Taking the target bus as the CAN bus as an example, the target timer can be used to send CAN messages to the target bus according to a preset period. Specifically, the CAN script CAPL may include a target timer timer1, which triggers the timer event every preset period, and the interface device 201 can send the target message corresponding to the CAN message to the target bus. In this way, after the ground voltage offset measurement system 20 is started, the target message can be sent regularly according to the preset period corresponding to the target timer, and the voltage signal Sig_IO_Analog_acquisition included therein is the voltage value between the target interface PIN1 and PIN6, that is, the real-time offset voltage corresponding to the device under test. In this way, the ground voltage offset measurement system 20 can realize the transmission and reporting of measurement data, and further realize sending the target message to the electronic device 202 through the target bus, so as to report the ground voltage offset test data.
[0060] In a possible implementation manner, the electronic device 202 is further configured to store the real-time offset voltage in a target format file.
[0061] In the embodiments of the present application, the target format file may refer to a data file for storing real-time offset voltages, specifically, it may refer to a text format (ASCII, ASC) file or a log file in the CAN protocol, etc. The embodiments of the present application do not limit the specific format of the target format file. Specifically, after the electronic device 202 obtains the real-time offset voltage sent by the interface device 201 through the target bus, it can store the real-time offset voltage in the target format file for subsequent display and playback.
[0062] In a possible implementation manner, the electronic device 202 is further configured to display a voltage change curve corresponding to the real-time offset voltage.
[0063] In the embodiments of the present application, after the electronic device 202 stores the real-time offset voltage, it can display the curve of the real-time offset voltage changing with time, that is, the voltage change curve. The electronic device 202 can respond to the interaction operation of the tester and display the voltage change curve of the corresponding time period of the interaction operation. Of course, in addition to displaying the voltage change curve, the electronic device 202 can also use other target methods to display the real-time offset voltage, such as displaying a data table or a line graph, etc. The embodiments of the present application do not limit the specific display method of the real-time offset voltage.
[0064] Exemplarily, Figure 5 is a schematic diagram of the voltage change curve of the real-time offset voltage of a starting motor provided by the present application. As Figure 5 shown, the curve 501 is the real-time offset voltage curve of the starting motor, that is, the real-time offset voltage of the voltage signal Sig_IO_Analog_acquisition at different times. The corresponding abscissa is time, and the ordinate is the real-time offset voltage; the curve 502 is the generator speed curve, and the corresponding abscissa is time, and the ordinate is speed. Based on Figure 5 it can be seen that when the engine starts to rotate from a standstill, the starting motor is in a locked-rotor state, the current flowing through the starting motor is the largest, and the real-time offset voltage reaches the maximum value. As the engine gradually starts to rotate, the current flowing through the starting motor gradually decreases, and the real-time offset voltage gradually decreases. When the engine ignites successfully, the starting motor exits the drive, and at this time, the real-time offset voltage no longer appears, that is, it is equal to 0. Thus, it can be seen that the real-time offset voltage is proportional to the current flowing through the starting motor.
[0065] In another possible implementation manner, if the maximum value of the real-time offset voltage of the device under test relative to the ground connection point is greater than the preset offset voltage threshold, the other ground connection points of the device under test are not shared with the relative ground connection point.
[0066] In the embodiments of the present application, the preset offset voltage threshold may refer to the preset normal offset voltage threshold, specifically, it may refer to 1V or the like. If the maximum value of the real-time offset voltage relative to the ground point measured currently is greater than the preset offset voltage threshold, the other ground points of the device under test and the currently measured ground point relative to it will no longer be shared. This can avoid signal interference caused by excessive ground voltage offset and ensure the reliability of signal transmission.
[0067] In a possible implementation manner, the target bus includes a Controller Area Network (CAN) bus or a Local Interconnect Network (LIN) bus.
[0068] In the embodiments of the present application, the target bus may refer to a CAN bus or a LIN bus. Of course, it may also refer to other types of buses, which can be specifically set based on the actual requirements of the device under test. The embodiments of the present application do not limit this. In this way, the ground voltage offset measurement system 20 can adopt different target buses according to the actual data transmission situation of the device under test, with higher flexibility and stronger scenario adaptability for ground voltage offset measurement.
[0069] In the embodiments of the present application, the ground voltage offset measurement system 20 uses the interface device 201 to collect the real-time offset voltage. The measurement is fast and portable. The interface device 201 such as an interface card is small in size, avoiding the use of large devices such as oscilloscopes, bench multimeters, and data acquisition instruments, with higher convenience and lower cost. Moreover, the interface device 201 reports the real-time offset voltage according to a preset period based on the target timer. For example, there is a sampling point every 10 milliseconds, and it can achieve data measurement with target accuracy, making the ground voltage offset measurement more accurate and meeting the data analysis requirements of subsequent testers. In addition, the electronic device 202 can store the received real-time offset voltage, specifically, it can store the real-time offset voltage into a target format file, which is convenient for subsequent calls by other tools and facilitates the comprehensive analysis by testers. And based on the interface device 201, the electronic device 202 can also capture other status data of the vehicle and conduct comparative analysis for the specific working conditions of the vehicle, with stronger scenario adaptability.
[0070] It should be noted that the ground voltage offset measurement system 20 in the embodiments of the present application can be applied to various measurement scenarios. In addition to the ground voltage offset of starting the motor in the above examples, the ground voltage offset measurement system 20 can also be used to measure the ground voltage offset of high-power electrical appliances such as fans, water pumps, and steering gears, with strong scalability and high scenario adaptability.
[0071] The ground voltage offset has a great impact on the overall communication of the device under test. If the ground voltage offset is too large, it will cause communication terminals of some controllers and affect the reliability of data communication. The ground voltage offset measurement system 20 in the embodiments of the present application can accurately and efficiently detect the ground voltage offset. It is a portable ground voltage offset measurement tool that is convenient for testers to measure on-site, thereby ensuring stable and reliable communication of the device under test.
[0072] Figure 6 It is a schematic flowchart of a ground voltage offset measurement method provided by the present application. Please refer to Figure 6 This ground voltage offset measurement method may include:
[0073] S601. Detect the real-time offset voltage between the first pin and the second pin based on the analog quantity acquisition module through the interface device.
[0074] S602. Send the real-time offset voltage to the electronic device based on the target bus through the interface device at a preset period.
[0075] S603. Store the real-time offset voltage through the electronic device and display the real-time offset voltage in a target manner.
[0076] In the ground voltage offset measurement method provided by the embodiments of the present application, the ground voltage offset measurement system measures the real-time offset voltage between the first pin and the second pin through the analog quantity acquisition module, and sends the real-time offset voltage to the electronic device through the target bus. The electronic device stores the real-time offset voltage and can continuously display the real-time offset voltage in a target manner such as a curve. In this way, the ground voltage offset measurement system can improve the measurement accuracy, and can also achieve data storage and continuous display of measurement data. At the same time, it is convenient to carry, has higher portability and lower cost.
[0077] It should be understood that in various embodiments of the present application, the magnitudes of the sequence numbers of the above processes do not mean the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0078] It should be noted that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0079] It should be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synch link DRAM (SLDRAM), and direct ram bus RAM (DR RAM). It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated in the processor. It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
[0080] It should be understood that in various embodiments of the present application, the sequence numbers of the above processes do not imply the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0081] The embodiments of the present application are described by referring to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing devices generate means for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.
[0082] These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including instruction means, and the instruction means implements the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.
[0083] These computer program instructions can also be loaded onto a computer or other programmable data processing devices, so that a series of operation steps are executed on the computer or other programmable devices to generate computer-implemented processing, and thus the instructions executed on the computer or other programmable devices provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.
[0084] Regarding each device and product described in the above embodiments, each module / unit included therein can be a software module / unit, a hardware module / unit, or can be partially a software module / unit and partially a hardware module / unit. Each device and product can be applied to or integrated into a chip, a chip module, or a terminal device. Exemplarily, for each device and product applied to or integrated into a chip, each module / chip included therein can be implemented in the form of hardware such as circuits, or at least part of the modules / units can be implemented in the form of software programs that run on a processor integrated inside the chip, and the remaining part of the modules / units can be implemented in the form of hardware such as circuits.
[0085] In this application, the term "comprising" and its variants may refer to non-restrictive inclusion; the term "or" and its variants may refer to "and / or". In this application, terms such as "first", "second", etc. are used to distinguish similar objects and do not necessarily describe a specific order or sequence. In this application, "a plurality of" means two or more. "And / or" describes the relationship between associated objects and indicates that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0086] The above are only partial embodiments of this application. It should be noted that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of this application.
Claims
1. A ground voltage offset measurement system, characterized in that: It includes an electronic device and an interface device; the interface device includes a target bus, a target interface and an analog quantity acquisition module; the first pin and the second pin of the target interface are respectively connected to the device under test; The interface device is used to detect the real-time offset voltage between the first pin and the second pin through the analog quantity acquisition module; The interface device is used to send the real-time offset voltage to the electronic device through the target bus according to a preset period; The electronic device is used to store the real-time offset voltage and display the real-time offset voltage in a target manner.
2. The system according to claim 1, wherein: The first pin of the target interface is connected to the first detection point of the device under test; the second pin of the target interface is connected to the second detection point of the device under test; the first detection point is a relative grounding point, and the second detection point is an absolute grounding point.
3. The system according to claim 1, wherein: In case that a voltage value between the first pin and the second pin changes, the interface device determines the real-time offset voltage.
4. The system according to claim 1, wherein: The interface device is further configured to perform data conversion on the real-time offset voltage to obtain a real-time offset voltage with target accuracy.
5. The system according to claim 1, wherein: The interface device is used to send a target message to the electronic device according to a preset period; the target message includes the real-time offset voltage.
6. The system according to claim 1, wherein: The interface device is configured to send the target message to the target bus according to the preset period corresponding to the target timer.
7. The system according to any one of claims 1 to 6, characterized in that The electronic device is used to store the real-time offset voltage in a target format file.
8. The system according to any one of claims 1 to 6, characterized in that The electronic device is further configured to display a voltage variation curve corresponding to the real-time offset voltage.
9. The system according to any one of claims 1 to 6, characterized in that: If the maximum real-time offset voltage of the device under test relative to the grounding point is greater than a preset offset voltage threshold, other grounding points of the device under test are not shared with the relative grounding point.
10. A method for measuring ground voltage offset, characterized in that: The ground voltage offset measurement system according to any one of claims 1 to 9 comprises: Detecting a real-time offset voltage between the first pin and the second pin based on an analog quantity acquisition module through an interface device; Sending the real-time offset voltage to the electronic device based on the target bus according to a preset period through the interface device; The real-time offset voltage is stored by the electronic device and displayed in a target manner.