Vehicle gear shifting sensor detection device and method, electronic equipment and storage medium

By designing a vehicle shift sensor detection device, continuous, accurate, and efficient detection of the shift sensor is achieved, solving the problem of incomplete detection parameters in existing technologies, improving the automation and accuracy of detection, and ensuring the driving performance and reliability of the vehicle.

CN120971041APending Publication Date: 2025-11-18FAW JIEFANG AUTOMOTIVE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511146016.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-15
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Existing shift sensor detection methods cannot achieve continuous, accurate, and efficient performance testing, resulting in incomplete detection parameters and limited accuracy, which affects the vehicle's driving smoothness, fuel economy, safety, and reliability.

Method used

A vehicle shift sensor detection device was designed, including a logic control module, a data interaction and storage module, a drive signal conversion module, a power output and speed regulation module, a fixed fixture and motion transmission module, a signal acquisition module, and a data analysis and judgment module. Through closed-loop control and signal processing, the device can acquire voltage signals and evaluate the performance of the shift sensor at continuous angles.

Benefits of technology

This technology enables comprehensive testing of shift sensor performance, improves the automation and accuracy of testing, ensures sensor performance qualification, reduces losses from failed sensors flowing into downstream processes, and guarantees the shifting performance of automatic transmissions and the entire vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120971041A_ABST
    Figure CN120971041A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle gear shifting sensor detection device and method, electronic equipment and a storage medium, and relates to the field of test equipment, and the device comprises a logic control module which receives a detection instruction of an operation end, generates and outputs an instruction, and coordinates the time sequence and action logic of each module; the data interaction and storage module receives the original data of the signal acquisition module, preprocesses the original data, drives the signal conversion module, and converts the control signal into identifiable driving current and voltage; the power output and speed regulation module is used for receiving the recognizable driving current and voltage converted by the driving signal conversion module and outputting rotating power; the rotating speed and the torque are adjusted through the speed torque adjusting unit; the signal acquisition module comprises an angle acquisition module and a voltage signal acquisition module; and the data analysis and judgment module is used for processing the angle signal and the voltage signal, calculating the linearity, the maximum error and the hysteresis degree, and judging the state of the detected sensor according to a preset threshold value in combination with the initial angle voltage and the termination angle voltage.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of test equipment, in particular to a vehicle gear shift sensor detection device, method, electronic device and storage medium. BACKGROUND

[0002] The gear shift sensor in the automatic transmission is an indispensable key component in the control system. Its main function is to detect the position and state of the transmission gear, so as to provide real-time gear information to the transmission control unit of the vehicle. The gear shift sensor plays a "hub" role in the automatic transmission, and helps the transmission control unit to realize efficient gear shift logic and power management by providing accurate gear information. The performance of the gear shift sensor directly affects the driving smoothness, fuel economy, safety and reliability of the vehicle. Therefore, in the design, selection and maintenance of the automatic transmission, the accuracy and response speed of the gear shift sensor are the key parameters that need to be focused on. At the same time, the failure of the sensor will have a significant impact on the normal operation of the transmission, so the good performance of the gear shift sensor is an important link to ensure the long-term stable operation of the vehicle. Therefore, in order to prevent the failure of the gear shift sensor from flowing to the next link and causing unnecessary damage to the downstream transmission assembly product, the gear shift sensor detection is an indispensable link.

[0003] Currently, the detection of the gear shift sensor generally detects the voltage value of the fixed angle of the gear shift sensor, which can only roughly judge whether the actual product function is invalid, and the detection performance parameters are not comprehensive and the precision is limited. This patent proposes a systematic detection method and device for the detection requirements of the gear shift sensor in the transmission, which can effectively test the performance parameters and precision of the gear shift sensor to ensure the gear shift performance of the automatic transmission and the whole vehicle. SUMMARY

[0004] Therefore, the purpose of the present application is to provide a vehicle gear shift sensor detection device, a vehicle gear shift sensor detection method, an electronic device and a storage medium. The present application provides the following scheme by proposing a vehicle gear shift sensor detection device, which aims to solve the problem of continuous, accurate and efficient function detection of the gear shift sensor, and effectively solves the problem in the background.

[0005] According to one aspect of the present application, a vehicle gear shift sensor detection device is provided, comprising:

[0006] A logic control module is configured to receive detection instructions from an operation terminal, generate and output control instructions to a drive signal conversion module and a signal acquisition module, and coordinate the timing and action logic of each module.

[0007] Data interaction and storage module, for receiving raw data of signal acquisition module, preprocessing, sending processed data to operation end, at the same time accepting configuration parameters of operation end;

[0008] Drive signal conversion module, for converting control signal output by logic control module into recognizable drive current and voltage, calculating position deviation through feedback signal of angle acquisition module, and dynamically adjusting output;

[0009] Power output and speed regulation module, for receiving recognizable drive current and voltage converted by drive signal conversion module, and outputting rotating power; adjusting rotating speed and torque through reducer;

[0010] Fixed tooling and motion transmission module, for fixing measured sensor and transmitting rotating power output by power output and speed regulation module to sensor rotor;

[0011] Signal acquisition module, including: angle acquisition module and voltage signal acquisition module;

[0012] The angle acquisition module is used for real-time detection of rotating angle of sensor rotor, and outputs angle signal;

[0013] The voltage signal acquisition module is used for acquiring output voltage of sensor at different angles, and outputs voltage signal;

[0014] Data analysis and judgment module, for processing angle signal and voltage signal, calculating linearity, maximum error and hysteresis, combining initial angle voltage and terminal angle voltage, and judging state of measured sensor according to preset threshold.

[0015] Further, comprising:

[0016] The logic control module adopts host computer control hub, which generates host computer control instruction by receiving detection instruction in the form of electric signal sent by operation end.

[0017] Further, comprising;

[0018] The preprocessing of data interaction and storage module includes denoising and format conversion of raw data, the data interaction and storage module transmits data with operation end through Ethernet TCP / IP protocol, and stores data by using SQL database.

[0019] Further, comprising:

[0020] The drive signal conversion module converts host computer control instruction output by logic control module into recognizable drive current and voltage of power output and speed regulation module, calculates position deviation based on pulse signal fed back by angle acquisition module, and dynamically adjusts output through closed-loop control algorithm.

[0021] Further, comprising:

[0022] The power output and speed regulation module comprises a power output unit and a speed and torque regulation unit, the power output unit receives the driving current and voltage output by the driving signal conversion module to output rotary power, the speed and torque regulation unit is connected between the power output unit and the fixed tool and motion transmission module, and is used for reducing the high rotating speed of the power output unit to a preset test rotating speed range and increasing the output torque.

[0023] Further, comprising:

[0024] The fixed tool and motion transmission module comprises a rotating shaft and a gear shifting sensor clamp, the gear shifting sensor clamp is arranged at the top end of the rotating shaft, the measured sensor is clamped and fixed by adjusting the fixed clamp plate, and the rotating shaft receives the rotary power output by the power output and speed regulation module and drives the measured sensor rotor to rotate.

[0025] Further, comprising:

[0026] The processing process of the data analysis and judgment module comprises the following steps: denoising and abnormal value elimination are performed on the angle signal and the voltage signal, and the initial angle voltage and the terminal angle voltage of the measured sensor are extracted; the preset threshold value comprises a linearity threshold value, a maximum error threshold value and a hysteresis threshold value; and the data analysis and judgment module outputs the state judgment result of the measured sensor and the specific values of the linearity, the maximum error and the hysteresis degree through the display.

[0027] According to the two aspects of the present application, a vehicle gear shifting sensor detection method is provided, comprising:

[0028] The detection instruction of the operation end is received, a control instruction is generated and output to the driving and motion simulation module and the signal acquisition module, and the time sequence and action logic of each module are coordinated;

[0029] The control signal output by the logic control step is converted into recognizable driving current and voltage, the position deviation is calculated in combination with the feedback signal of the angle acquisition, and the output is dynamically adjusted to realize closed-loop control;

[0030] The driving current and voltage output by the driving signal conversion step are received, rotary power is output, the rotating speed and torque are adjusted through the speed reducer, then the rotary power is transmitted to the measured sensor rotor through the fixed tool to simulate the actual working rotary state of the sensor;

[0031] The rotary angle signal of the sensor rotor and the output voltage signal at different angles are acquired in real time;

[0032] The original data acquired by the signal acquisition step are received, preprocessed and sent to the operation end, and the configuration parameters of the operation end are received at the same time;

[0033] The angle signal and the voltage signal are processed, linearity, maximum error and hysteresis are calculated, initial angle voltage and terminal angle voltage are combined, and the state of the measured sensor is judged according to a preset threshold.

[0034] According to the three aspects of the present application, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus.

[0035] The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of a vehicle gear shift sensor detection method.

[0036] According to the four aspects of the present application, a computer readable storage medium is provided, which stores a computer program executable by an electronic device, and when the computer program runs on the electronic device, the electronic device executes the steps of a vehicle gear shift sensor detection method.

[0037] Through the above scheme, the following beneficial technical effects are obtained:

[0038] The detection device integrates a host computer and a display, a PLC host, a servo motor, a servo motor driver, an encoder, an AD sampler, a speed reducer and a rotating shaft, and constructs a highly automated and accurately controlled test system.

[0039] The host computer processes the angle-voltage signal, calculates linearity, maximum error and hysteresis, combines initial angle voltage and terminal angle voltage, and provides a criterion for the performance of the gear shift sensor. BRIEF DESCRIPTION OF DRAWINGS

[0040] Figure 1 It is a structure diagram of a vehicle gear shift sensor detection device provided by one or more embodiments of the present application.

[0041] Figure 2 It is a flowchart of a vehicle gear shift sensor detection method provided by one or more embodiments of the present application.

[0042] Figure 3 It is a schematic diagram of a vehicle gear shift sensor detection device of one specific embodiment of the present application.

[0043] Figure 4 It is a host computer data processing flowchart of one specific embodiment of the present application.

[0044] Figure 5 It is a host computer display judgment interface of one specific embodiment of the present application.

[0045] Figure 6An electronic device structure block diagram of a vehicle gear shift sensor detection method provided by one or more embodiments of the present application.

[0046] PLC host 11, servo motor driver 12, servo motor 13, reducer 14, rotating shaft and gear shift sensor clamp 15, encoder 16, AD sampling module 17, upper computer and display 18, gear shift sensor 19, control instruction input line 110, data transmission line 111, closed loop control circuit 121 DETAILED DESCRIPTION

[0047] The technical solutions of the present application will be described clearly and completely below with reference to the drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0048] Figure 1 A structure diagram of a vehicle gear shift sensor detection device provided by one or more embodiments of the present application.

[0049] As Figure 1 shown, the device comprises:

[0050] A logic control module, configured to receive a detection instruction of an operation end, generate and output a control instruction to a driving signal conversion module and a signal acquisition module, and coordinate the timing and action logic of each module;

[0051] A data interaction and storage module, configured to receive raw data of the signal acquisition module, perform preprocessing, send the preprocessed data to the operation end, and simultaneously accept configuration parameters of the operation end;

[0052] A driving signal conversion module, configured to convert the control signal output by the logic control module into recognizable driving current and voltage, calculate the position deviation dynamic adjustment output through the feedback signal of the angle acquisition module;

[0053] A power output and speed regulation module, configured to receive the recognizable driving current and voltage converted by the driving signal conversion module, and output rotary power; and adjust the rotating speed and torque through a reducer;

[0054] A fixed tool and motion transmission module, configured to fix the measured sensor, and transmit the rotary power output by the power output and speed regulation module to the sensor rotor;

[0055] A signal acquisition module, comprising: an angle acquisition module and a voltage signal acquisition module;

[0056] The angle acquisition module is configured to detect the rotating angle of the sensor rotor in real time, and output an angle signal;

[0057] The voltage signal acquisition module is configured to acquire output voltages of the sensor at different angles and output voltage signals.

[0058] The data analysis and judgment module is configured to process the angle signals and the voltage signals, calculate linearity, maximum error, and hysteresis, combine initial angle voltage and terminal angle voltage, and judge the state of the measured sensor according to a preset threshold.

[0059] Specifically, the signal acquisition module (angle acquisition + voltage signal acquisition) realizes synchronous acquisition of voltage signals at continuous angles, breaks through the limitations of existing fixed-angle detection, and can cover performance data in the full working angle range of the sensor.

[0060] The data analysis and judgment module calculates key parameters such as linearity, maximum error, and hysteresis, and combines initial angle voltage and terminal angle voltage, to realize quantitative evaluation of the performance of the sensor, replacing the traditional mode of "roughly judging whether the function is failed", and the detection parameters are more comprehensive.

[0061] The drive signal conversion module dynamically adjusts the output in combination with the feedback signal of the angle acquisition module, and cooperates with the power output and speed regulation module to accurately adjust the speed and torque through the reducer, so as to simulate different speed and angle change working conditions of the sensor in actual work, making the detection environment closer to the real use scene.

[0062] The fixed tooling and motion transmission module ensures stable fixation of the sensor, reduces the interference of vibration or deviation on data, and improves the stability and accuracy of the detection data.

[0063] The logic control module coordinates the timing and action logic of each module, and drives the drive signal conversion module, power output module, signal acquisition module, etc. to accurately link under its control, reduces manual intervention, and improves the automation degree and efficiency of detection.

[0064] The data interaction and storage module realizes preprocessing, storage of raw data, and parameter interaction with the operation end, facilitates data tracing, analysis and management, and solves the problem of chaotic data management in traditional detection.

[0065] The data analysis and judgment module determines the state of the sensor according to the preset threshold, can accurately screen out sensors with unqualified performance, avoids the flow of failed sensors into the downstream link, reduces unnecessary losses of the gearbox assembly product, and guarantees the gear selection and shift performance of the automatic transmission and the whole vehicle.

[0066] Further, it comprises:

[0067] The logic control module adopts a host computer control hub, which generates host computer control instructions by receiving detection instructions in the form of electrical signals from the operation end.

[0068] Furthermore, including;

[0069] The preprocessing of the data interaction and storage module includes denoising and format conversion of the raw data. The data interaction and storage module transmits data with the operating terminal via Ethernet TCP / IP protocol and stores data using an SQL database.

[0070] Specifically, by eliminating noise generated during signal acquisition due to electromagnetic interference, equipment vibration, etc., such as interference signals that may be contained in the voltage signal acquired by the AD sampling module, the accuracy and reliability of the raw data for subsequent data analysis can be ensured.

[0071] The raw signals output by the signal acquisition module (such as the angle pulse signal of the encoder and the analog voltage signal of the AD sampler) are converted into a unified digital data format that can be recognized by subsequent modules (such as the data analysis and judgment module), thereby realizing standardized data processing and providing compatibility for data flow between modules.

[0072] Furthermore, including:

[0073] The drive signal conversion module converts the host computer control commands output by the logic control module into drive current and voltage that can be recognized by the power output and speed regulation module. Based on the pulse signal fed back by the angle acquisition module, it calculates the position deviation and dynamically adjusts the output through a closed-loop control algorithm.

[0074] Specifically, it solves the problem of poor compatibility between drive signals and servo motors in existing detection methods: traditional drive conversion methods have difficulty accurately converting the PWM pulse signals and direction signals output by the logic control module into drive current and voltage that the servo motor can recognize, resulting in low motor speed and position control accuracy and the inability to simulate the dynamic working conditions of the sensor in actual operation. It also solves the position deviation problem caused by the lack of a dynamic adjustment mechanism: existing detection equipment does not combine angle feedback signals for real-time adjustment, and the position deviation is easily generated during motor rotation due to load changes, mechanical errors, etc., which cannot guarantee that the sensor rotor moves accurately at the preset angle, affecting the accuracy of the detection data.

[0075] By improving signal conversion accuracy and adaptability through the above technical features, the PWM pulse signal (controlling speed) and direction signal (controlling forward and reverse rotation) output by the logic control module are accurately converted into the drive current and voltage required by the servo motor, ensuring that the motor can operate stably according to the preset parameters (speed and direction), and providing a reliable power control basis for simulating the rotational conditions of the sensor in actual operation.

[0076] Achieve high-precision closed-loop control: Based on the feedback of the pulse signal of the angle acquisition module, the deviation between the current position and the command position is calculated in real time. Through the internal closed-loop control algorithm, the output driving current and voltage are dynamically adjusted to continuously correct the position deviation, significantly improving the control accuracy of the rotation angle and speed of the servo motor, and ensuring the accurate movement of the sensor rotor according to the preset trajectory, providing a stable motion reference for voltage signal acquisition under continuous angle.

[0077] Enhance device collaboration and detection stability: Through the closed-loop link of "logic control signal input - driving signal conversion - angle feedback - dynamic adjustment", the efficient collaboration of the logic control module, servo motor and angle acquisition module is realized, ensuring that the motor movement state is highly consistent with the control command, reducing the interference of mechanical vibration, load fluctuation and other factors on the detection, and improving the stability and data reliability of the entire detection system.

[0078] Among them, the dynamic adjustment of the output through the closed-loop control algorithm includes: when detecting the linearity, hysteresis and maximum error of the shift sensor, the rotation angle of the sensor rotor needs to be precisely controlled (such as 0.1° level precision) to ensure the accuracy of the correspondence between voltage signal acquisition and angle.

[0079] The steps of dynamic correction are as follows:

[0080] Step A1, the logic control module starts the detection task and issues target angle commands, such as initial angle 0°, termination angle 360°, or segmented detection angle;

[0081] Step A2, the angle acquisition module feedbacks the actual angle in real time and calculates the deviation;

[0082] Step A3, the driving signal conversion module outputs the corrected driving signal through PID to control the power module to adjust the rotor movement;

[0083] Step A4, loop feedback until the angle deviation converges to within ±0.1°, ensuring the angle reference accuracy of voltage signal acquisition;

[0084] Step A5, the signal acquisition module synchronously records the voltage signal at different angles to provide data for subsequent linearity and hysteresis calculation.

[0085] Through the above steps, the angle control accuracy can reach ±0.1°, ensuring the accuracy of the voltage-angle correspondence; and the anti-interference ability is strong (such as mechanical friction, load change, etc., still able to stably control the angle).

[0086] A preferred embodiment includes:

[0087] Determine the deviation between the target angle (from the logic control module, such as 50°) and the actual angle (from the angle acquisition module, such as 48°).

[0088] The total correction amount is calculated based on the PID algorithm.

[0089] Proportional term (P): Quick response to current deviation

[0090] Function: Based on the current deviation, directly output a correction amount proportional to the deviation to quickly "pull back" the target.

[0091] According to uP(t) = KP × e(t);

[0092] Where KP is the proportional coefficient and e(t) is the current error;

[0093] If KP = 0.5 and the current deviation e(t) = 2°, then uP(t) = 0.5 * 2° = 1 (unit: correction factor, which has no actual physical meaning and is only used for calculation).

[0094] Physical meaning: The greater the deviation, the greater the correction of the proportional term output, and the more aggressive the adjustment of the drive signal (such as higher motor speed and greater torque).

[0095] Integral term (I): Eliminating long-term cumulative bias

[0096] Function: For situations where "the deviation is small but has been present for a long time" (such as mechanical friction causing the rotor to always be 0.5° off), the correction amount is gradually increased by accumulating historical deviations, and eventually the static error is eliminated.

[0097] Formula: uI(t)=KI×∫0te(τ)dτ (KI is the integration coefficient. The longer the integration time, the greater the cumulative deviation and the greater the correction).

[0098] If the deviations of the first three times are 0.5°, 0.5°, and 0.5° respectively, and KI = 0.1, then the cumulative deviation = 0.5 + 0.5 + 0.5 = 1.5°, and uI(t) = 0.1 * 1.5° = 0.15.

[0099] Physical meaning: Even if the deviation is very small, as long as it persists, the integral term will continuously "increase" the correction amount to ensure that the rotor eventually reaches the target angle accurately (without residual deviation).

[0100] Differential term (D): Suppresses oscillations caused by rapid changes;

[0101] Function: Based on the rate of change (slope) of the deviation, output the reverse correction amount in advance to avoid "overshoot" (e.g., when the rotor moves from 48° to 50°, if the speed is too fast, it may reach 52°, and the differential term will decelerate in advance).

[0102] Formula: UD(t) = KD x ;

[0103] (KD is the differential coefficient, the faster the deviation changes, the greater the correction amount);

[0104] If the previous time deviation is 3°, the current deviation is 2° (change rate = -1° / unit time), KD = 0.2, then UD(t) = 0.2 *(-1) = -0.2 (negative sign indicates reverse correction).

[0105] Physical meaning: When the deviation decreases rapidly (the rotor accelerates to approach the target), the differential term outputs a reverse correction amount, "brake" to avoid overshoot; when the deviation increases rapidly (the rotor deviates from the target), the differential term outputs a positive correction amount, "accelerate" to catch up.

[0106] Total correction amount: three items are superimposed

[0107] u(t) = uP(t) + uI(t) + uD(t);

[0108] Step 3: Convert the total correction amount into drive signal parameters

[0109] The total correction amount u(t) output by PID is an "abstract adjustment amplitude" that needs to be converted into specific drive signal parameters (such as voltage, current, PWM duty cycle) that can be recognized by the actuator (such as the motor).

[0110] In the vehicle shift sensor detection device:

[0111] Actuator: power output and speed regulation module (including motor), whose speed / torque is controlled by drive current / voltage.

[0112] Conversion logic: mapping from "correction amount to physical signal" is realized through the drive signal conversion module, for example:

[0113] If u(t) is larger (the correction demand is more urgent), the output drive voltage is higher (or the drive current is larger), the motor speed / torque is larger, and the rotor quickly approaches the target angle;

[0114] If u(t) is close to 0 (the deviation is small), output low voltage / small current, the motor slowly fine-tunes to avoid overshoot.

[0115] Step 4: Execute the correction and form a closed loop

[0116] The power output and speed regulation module receives the drive signal (such as 4.75V voltage) and controls the motor to drive the sensor rotor to rotate;

[0117] The angle acquisition module detects the new angle of the rotor (e.g., from 48° to 49.5°) in real time, recalculates the deviation (e(t) = 50° - 49.5° = 0.5°), and

[0118] The PID algorithm recalculates u(t) based on the new deviation and corrects the driving signal again (e.g., the voltage drops to 2V).

[0119] The above process is repeated until the deviation converges to the allowed range (e.g., ±0.1°), at which point u(t) ≈ 0 and the driving signal stabilizes at the minimum voltage / current that maintains the rotor position.

[0120] Further, comprising:

[0121] The power output and speed regulation module includes a power output unit and a speed and torque adjustment unit. The power output unit receives the driving current and voltage output by the driving signal conversion module to output rotary power. The speed and torque adjustment unit is connected between the power output unit and the fixed tool and motion transmission module, used to reduce the high rotation speed of the power output unit to a preset test rotation speed range and increase the output torque.

[0122] Further, comprising:

[0123] The fixed tool and motion transmission module includes a rotating shaft and a gear shift sensor clamp. The gear shift sensor clamp is arranged at the top end of the rotating shaft and clamps and fixes the measured sensor by adjusting the fixed clamp plate. The rotating shaft receives the rotary power output by the power output and speed regulation module and drives the measured sensor rotor to rotate.

[0124] Further, comprising:

[0125] The angle acquisition module uses an encoder. The encoder feeds back the collected angle signals to the driving signal conversion module and the data interaction and storage module through shielded twisted pair.

[0126] Further, comprising:

[0127] The voltage signal acquisition module is an AD sampler. The AD sampler uses the pulse signal output by the angle acquisition module as a trigger signal.

[0128] Further, comprising:

[0129] The data analysis and judgment module processing process includes: denoising and outlier rejection of angle signals and voltage signals, extracting the initial angle voltage and termination angle voltage of the measured sensor; the preset threshold includes linearity threshold, maximum error threshold, hysteresis threshold, and the data analysis and judgment module outputs the state judgment result of the measured sensor and the specific values of linearity, maximum error, and hysteresis through the display.

[0130] Specifically, the host computer processes the angle-voltage signal, calculates linearity, maximum error, and hysteresis, and combines the initial and final angle voltages to provide criteria for determining the performance qualification of the shift sensor. The specific implementation process and calculation method are as follows:

[0131] (1) Data input: The host computer receives angle (°) and voltage (V) data from the sensor from the PLC host. The database uses SQL, and all data can be queried in the database.

[0132] (2) Data processing: Denoising and preprocessing the data. First, extract the initial angle voltage and the final angle voltage.

[0133] (3) Calculation of maximum error, i.e., the maximum deviation ∆V(text-max) between the sensor output voltage and the ideal linear fitting curve.

[0134] (4) Linearity: Calculate the degree of deviation between the sensor output signal and the ideal linear fitting curve.

[0135] (5) Hysteresis: Calculate the difference in output voltage of the sensor at the forward and reverse rotation angles.

[0136] (6) Performance judgment: The calculation results are compared with the pre-set qualification standards, and the sensor performance is judged as qualified or unqualified.

[0137] In the shift sensor testing device, the aforementioned equipment works collaboratively to achieve comprehensive testing of the shift sensor's performance. Specifically, the PLC host controls the rotation angle and speed of the servo motor through a servo motor driver, while the reducer adjusts the servo motor's high speed to a suitable testing range. The rotating shaft rotates under the drive of the servo motor and reducer, simulating the actual working scenario of the shift sensor. The encoder detects the servo motor's rotation angle in real time and feeds the data back to the PLC host; simultaneously, the AD sampler collects the output voltage signal of the shift sensor and converts it into a digital signal for processing by the PLC host. Through the PLC host's logic operations and data processing functions, the output signal of the shift sensor can be compared and analyzed with the encoder angle signal. The data is then transmitted to the host computer for calculation and processing, thereby verifying the shift sensor's accuracy, linearity, reliability, and other performance indicators.

[0138] This testing device integrates a PLC main unit, servo motor, servo motor driver, encoder, AD sampler, reducer, and rotating shaft to construct a highly automated and precisely controlled testing system. The various devices work collaboratively through electrical and mechanical connections, enabling comprehensive testing of the angle measurement accuracy and output voltage signal accuracy of the shift sensor, providing a reliable basis for sensor performance evaluation and quality control.

[0139] It is worth noting that, although the device only discloses the logic control module, data interaction and storage module, drive signal conversion module, power output and speed regulation module, fixed tooling and motion transmission module, signal acquisition module and data analysis and judgment module, but does not mean that the device is limited to the above basic function module, relatively, the meaning of the present invention is that on the basis of the above basic function module, those skilled in the art can add one or more function modules according to the prior art to form infinite embodiments or technical solutions, that is, the system is open rather than closed, and the protection scope of the present invention cannot be limited to the above disclosed basic function module because the present embodiment only discloses individual basic function module.

[0140] Figure 2 is a flow chart of a vehicle gear shift sensor detection method provided by one or more embodiments of the present invention.

[0141] As shown in Figure 2 , comprising the following steps:

[0142] Step S1, receiving the detection instruction of the operation end, generating control instruction and outputting to the driving and motion simulation module and the signal acquisition module, coordinating the timing and action logic of each module;

[0143] Step S2, converting the control signal output by the logic control step into recognizable driving current and voltage, calculating the position deviation combined with the feedback signal of angle acquisition, dynamically adjusting the output to realize closed loop control;

[0144] Step S3, receiving the driving current and voltage output by the driving signal conversion step, outputting rotary power and adjusting the speed and torque through the reducer, and then transmitting the rotary power to the measured sensor rotor through the fixed tooling to simulate the actual working rotary state of the sensor;

[0145] Step S4, real-time acquisition of the rotary angle signal and the output voltage signal at different angles of the sensor rotor;

[0146] Step S5, receiving the original data obtained by the signal acquisition step, sending to the operation end after pretreatment, and receiving the configuration parameters of the operation end;

[0147] Step S6, processing the angle signal and voltage signal, calculating the linearity, maximum error and hysteresis, combining the initial angle voltage and the terminal angle voltage, and judging the state of the measured sensor according to the preset threshold.

[0148] Figure 3 is a schematic diagram of a vehicle gear shift sensor detection device according to one embodiment of the present invention.

[0149] AsFigure 3 shown,

[0150] In one embodiment of the shift sensor detection device, it includes: PLC host 11, servo motor driver 12, servo motor 13, reducer 14, rotating shaft and shift sensor clamp 15, encoder 16, AD sampling module 17, upper computer and display 18, shift sensor 19, control instruction input line 110, data transmission line 111, closed loop control circuit 121.

[0151] In the embodiment, the operator operates the upper computer 18 to send detection instructions to the PLC host 11 through the 181 wire harness, and the PLC host 11 controls the mechanical part to perform a specified action through the wire harness, including supplying 24VDC power to the control servo motor driver 12 through the wire harness 112, outputting PWM pulse signal and DIR direction signal to the servo motor driver 12 to control the speed, forward rotation and reverse rotation of the motor through the signal line 113. At the same time, the PLC host indirectly obtains the angle pulse signal obtained by the encoder through the communication interface 121 of the servo motor driver 12. The PLC host supplies power to the AD sampling module 17 through the wire harness 114, and uses the pulse signal of the encoder as the trigger signal of the AD sampling module 17 to ensure that the angle signal and the voltage signal strictly correspond in time, and are transmitted to the PLC host 11 through the shielded twisted pair 171. The PLC host 11 packs the voltage signal collected by the analog input module and the angle signal collected by the digital input module, and sends them to the upper computer through the signal line 111 Ethernet TCP / IP.

[0152] In the embodiment, the servo motor driver 12 is powered and driven by the PLC host 11 through the wire harness 112, and converts the control signal output by the PLC host into the driving current and voltage required by the servo motor 13. In addition, the servo motor driver 12 supplies 24VDC power to the encoder 16 through the wire harness 122, and the encoder 16 transmits the angle signal to the servo motor driver 12 through the signal line 161. The signal line should use shielded twisted pair to reduce signal interference. The A and B phase pulse signals of the encoder are connected to the digital input module of the servo motor driver 12, and the direction signal (Z phase) of the encoder is connected to another digital input point of the servo motor driver 12. Then, a high-speed counter is configured, a suitable counting mode is selected, the pulse signal is read using the high-speed counter instruction, the position counter is updated according to the direction signal, and the position or speed data read by the encoder is stored in the register of the servo motor driver 12. At the same time, the servo motor driver 12 compares the feedback signal of the encoder with the instruction signal of the PLC host 11, and calculates the current position deviation. According to the position deviation, the driver adjusts the speed and direction of the servo motor 13 through the closed loop control algorithm to realize precise position control.

[0153] The servo motor 13 in the embodiment receives the driving current and voltage provided by the servo motor driver 12 through the wire harness, the output shaft of the servo motor is precisely centered with the input shaft of the speed reducer 14 through the shaft coupling, the output shaft of the speed reducer 14 is also precisely centered with the rotating shaft, so that the shaft centers of the three are on the same straight line, precise power transmission is achieved, and vibration and efficiency loss are avoided. Finally, the servo motor 13 drives the rotating shaft to rotate forward and reverse through the electromagnetic torque, which specifically includes rotating position, rotating speed and rotating torque.

[0154] The rotating shaft and the shift sensor clamp 15 in the embodiment mainly include two parts, one is the rotating shaft structure for rotating action of the servo motor 13 and the speed reducer 14, and the other is the design of the fixed shift sensor clamp.

[0155] The encoder 16 in the embodiment actually collects the accuracy of 0.025 degrees, adopts 4 times frequency collection, and outputs the resolution of 0.1 degrees. The position, speed or direction of the rotating shaft are continuously detected, and the signals are transmitted to the servo motor driver 12 respectively.

[0156] The AD sampling module 17 in the embodiment is used for collecting the analog voltage signal output by the shift sensor 19. The AD sampling module 17 is directly installed in the expansion slot of the PLC through the backplane bus of the PLC. The communication parameters of the AD sampling module 17 are configured, the input signal type is voltage, the signal range is 0-5V, the resolution is 0.01V, and the code is written in the PLC program to read, filter and process the analog signal data of the AD sampling module.

[0157] The host computer and the display 18 in the embodiment process the angle-voltage signal, calculate the linearity, maximum error and hysteresis, combine the initial angle voltage and the terminal angle voltage, and provide a criterion for the performance qualification of the shift sensor.

[0158] Figure 4 It is the host computer data processing flow chart of one specific embodiment of the application.

[0159] As shown in Figure 4

[0160] (1) Data input: the host computer receives the angle (°) and voltage (V) data of the sensor from the PLC host 11. The database uses SQL, and all data can be queried in the database.

[0161] (2) Data processing, denoising and pretreatment are performed on the data. First, the initial angle voltage and the terminal angle voltage are extracted.

[0162] (3) Maximum error calculation, that is, the maximum deviation value AV(text-max) between the sensor output voltage and the ideal linear fitting curve​

[0163] (4) Linearity calculation, determine the initial angle voltage V(min) and the terminal angle voltage V(max) of the sensor. Calculate the slope (m) and intercept (b) of the ideal linear fitting curve, and calculate the deviation of each measurement point from the ideal linear fitting curve: find the maximum deviation AV(text-max) of all measurement points, and calculate the linearity error: linearity error = AV(text-max) / [V(max) - V(min)] * 100%. Calculate the linearity error.

[0164] (5) Hysteresis, calculate the output voltage difference of the sensor at the positive and negative angles. The calculation steps are as follows: measure the output voltage signals V(text-positive) and V(text-negative) of the sensor from the positive angle θ(min) to θ(max) and from the negative angle θ(max) to θ(min) respectively. For each angle point θ(i), calculate the voltage difference of the positive and negative strokes: ΔV(text-hysteresis) = V(text-positive, i) - V(text-negative, i), find the maximum voltage difference ΔV(text-hysteresis-max) of all angle points. Hysteresis = ΔV(text-hysteresis-max) / [V(max) - V(min)] * 100%.

[0165] (6) Performance determination, compare the calculation results with the pre-set qualified standard, and output the determination result of whether the sensor performance is qualified or not.

[0166] Figure 6 is a kind of electronic equipment structure block diagram of the vehicle gear sensor detection method provided by one or more embodiments of the present application.

[0167] As Figure 6 shown, the present application provides an electronic device, comprising: processor, communication interface, memory and communication bus, wherein processor, communication interface, memory complete the communication between each other through communication bus;

[0168] The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the vehicle gear sensor detection method.

[0169] The present application also provides a computer readable storage medium storing a computer program executable by an electronic device, which makes the electronic device execute the steps of the vehicle gear sensor detection method when the computer program runs on the electronic device.

[0170] For the method embodiments, the description is made in a series of action combinations for simplicity and clarity, but those skilled in the art should know that the present application is not limited to the action sequence described, because according to the present application, certain steps can be performed in other sequences or at the same time. In addition, those skilled in the art should know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential to the present application.

[0171] From the above description of the embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software and the necessary general hardware platform. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments of the present application.

[0172] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A vehicle shift sensor detection device, characterized in that, The device includes: a logic control module, used to receive detection commands from the operation terminal, generate and output control commands to the drive signal conversion module and the signal acquisition module, and coordinate the timing and action logic of each module; The data interaction and storage module is used to receive raw data from the signal acquisition module, preprocess it, send the processed data to the operation terminal, and receive configuration parameters from the operation terminal. The drive signal conversion module is used to convert the control signals output by the logic control module into recognizable drive current and voltage, and to calculate the position deviation and dynamically adjust the output based on the feedback signal from the angle acquisition module. The power output and speed control module receives the identifiable drive current and voltage converted by the drive signal conversion module and outputs rotational power; the speed and torque are adjusted by the torque adjustment unit. The fixed fixture and motion transmission module are used to fix the sensor under test and transmit the rotational power output from the power output and speed control module to the sensor rotor. The signal acquisition module includes: an angle acquisition module and a voltage signal acquisition module; The angle acquisition module is used to detect the rotation angle of the sensor rotor in real time and output an angle signal; The voltage signal acquisition module is used to acquire the output voltage of the sensor at different angles and output a voltage signal. The data analysis and judgment module is used to process angle and voltage signals, calculate linearity, maximum error, and hysteresis, combine the initial angle voltage and the final angle voltage, and judge the state of the sensor under test according to the preset threshold.

2. The vehicle shift sensor detection device according to claim 1, characterized in that, The logic control module adopts a host computer control center, which generates host computer control commands by receiving detection commands in the form of electrical signals sent by the operation terminal.

3. The vehicle shift sensor detection device according to claim 1, characterized in that, The preprocessing of the data interaction and storage module includes denoising and format conversion of the raw data. The data interaction and storage module transmits data with the operating terminal via Ethernet TCP / IP protocol and uses an SQL database to store the data.

4. The vehicle shift sensor detection device according to claim 1, characterized in that, The drive signal conversion module converts the host computer control commands output by the logic control module into drive current and voltage that can be recognized by the power output and speed regulation module, and calculates the position deviation based on the pulse signal fed back by the angle acquisition module, and dynamically adjusts the output through a closed-loop control algorithm.

5. The vehicle shift sensor detection device according to claim 1, characterized in that, The power output and speed regulation module includes a power output unit and a torque adjustment unit. The power output unit receives the drive current and voltage output by the drive signal conversion module to output rotational power. The torque adjustment unit is connected between the power output unit and the fixed tooling and motion transmission module, and is used to reduce the high speed of the power output unit to a preset test speed range and increase the output torque.

6. The vehicle shift sensor detection device according to claim 1, characterized in that, The fixed fixture and motion transmission module includes a rotating shaft and a shift sensor fixture. The shift sensor fixture is located at the top of the rotating shaft. The sensor under test is clamped and fixed by adjusting the fixed clamping plate. The rotating shaft receives the rotational power output from the power output and the speed regulation module and drives the rotor of the sensor under test to rotate.

7. A vehicle shift sensor detection device according to claim 1, characterized in that, The data analysis and judgment module's processing includes: denoising and outlier removal of angle and voltage signals, and extracting the initial and final angle voltages of the sensor under test; the preset thresholds include linearity threshold, maximum error threshold, and hysteresis threshold; the data analysis and judgment module outputs the sensor's state determination result and the specific values ​​of linearity, maximum error, and hysteresis to the display.

8. A method for detecting a vehicle shift sensor, characterized in that, The method includes: It receives detection commands from the operator, generates control commands, and outputs them to the drive and motion simulation module and the signal acquisition module, coordinating the timing and action logic of each module. The control signals output from the logic control steps are converted into identifiable drive current and voltage. The position deviation is calculated by combining the feedback signal from angle acquisition, and the output is dynamically adjusted to achieve closed-loop control. The drive current and voltage output from the drive signal conversion step are received, the rotational power is output and the speed and torque are adjusted through the reducer, and then the rotational power is transmitted to the rotor of the sensor under test through the fixed fixture to simulate the actual working rotation state of the sensor. Real-time acquisition of the rotation angle signal of the sensor rotor and the output voltage signal at different angles; The system receives the raw data acquired during the signal acquisition step, preprocesses it, and then sends it to the operation terminal. At the same time, it receives the configuration parameters from the operation terminal. The angle and voltage signals are processed to calculate linearity, maximum error, and hysteresis. The initial and final angle voltages are combined, and the state of the sensor under test is determined based on a preset threshold.

9. An electronic device, comprising: The processor, communication interface, memory, and communication bus are connected, with the processor, communication interface, and memory communicating with each other via the communication bus. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the vehicle shift sensor detection method as described in claim 8.

10. A computer-readable storage medium storing a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of a vehicle shift sensor detection method as claimed in claim 8.