CN-122009222-A - Automobile gear combination switch control method integrating vehicle-mounted weighing function
Abstract
The invention relates to an automobile gear combination switch control method integrating a vehicle-mounted weighing function, and belongs to the technical field of automobile electronic control. The invention aims to solve the technical problems of high cost and complex wiring caused by independent arrangement of a vehicle-mounted weighing system in the existing gear controller. The vehicle-mounted weighing device comprises an electronic gear shifting module, a combined switch module, a vehicle-mounted weighing module and a communication module, wherein the electronic gear shifting module is used for detecting gear and parking key states, the combined switch module is used for detecting switch states of a wiper, lamplight and the like, the vehicle-mounted weighing module is used for supplying power to height sensors of four wheels and receiving PWM signals of the height sensors, and calculating the total weight of the vehicle, the front-rear axle load ratio and the four-wheel load according to calibration parameters and the height change of the vehicle body, and the communication module is used for sending gear shifting signals, switch signals and weighing signals through a CAN FD bus. The weighing function is integrated in the Huai Dang controller, the weighing precision is improved through inclination angle compensation, real-time display and overload reminding of load information are realized, and the weighing device has the advantages of high integration level, low cost and good precision.
Inventors
- ZHOU BO
- ZHAO LIHAI
- XU ZHAN
Assignees
- 宁波市智蔻科技集团有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260416
Claims (10)
- 1. The automobile gear combination switch control method integrating the vehicle-mounted weighing function is characterized in that the method is executed based on a gear combination switch controller distributed in an automobile, an electronic gear shifting module, a combination switch module, a vehicle-mounted weighing module, a communication module and a power management module are distributed in the gear combination switch controller, each module is connected with a vehicle-mounted MCU (micro control unit) in the controller, an EEPROM (electrically erasable programmable read-Only memory) storage unit connected with a vehicle-mounted micro control unit is distributed in the controller, the power management module is connected with an entire automobile power supply, the communication module is connected with an entire automobile network node through a CAN FD (controller area network) bus, the entire automobile network node comprises an entire automobile inclination sensor and a central control large screen, the vehicle-mounted weighing module is connected with four height sensors distributed in an automobile suspension system, and the method comprises the following steps: The method comprises the steps that a power management module supplies power to all modules and four height sensors in a controller, and after the controller is initialized, a vehicle-mounted weighing module collects PWM signals output by the four height sensors; Step two, the vehicle gauge MCU converts the duty ratio of the collected PWM signals into the vehicle body height variation corresponding to the wheels, wherein the unit is mm; Step three, the vehicle gauge level MCU judges whether the vehicle has completed empty vehicle calibration, if not, the empty vehicle calibration flow is executed, if so, empty vehicle calibration parameters prestored in the EEPROM storage unit are read; Step four, the vehicle gauge MCU calculates the independent loads of four wheels according to the empty vehicle calibration parameters and the vehicle body height variation, and simultaneously obtains the vehicle gradient data output by the whole vehicle inclination sensor; step five, the vehicle gauge MCU judges whether the gradient of the vehicle is less than 3%, if the gradient is not less than 3%, the weighing calculation is suspended, if the gradient is less than 3%, the inclination angle compensation is executed, the total weight of the whole vehicle and the front-rear axle load ratio are calculated in sequence, and the total weight of the whole vehicle is in kg; And step six, the vehicle gauge MCU sends weighing related data to the central control large screen through the CAN FD bus by the communication module to finish display.
- 2. The method for controlling the vehicle gear combination switch integrated with the vehicle-mounted weighing function according to claim 1, wherein in the third step, the execution of the empty calibration process comprises the following sub-steps: Step 1, an empty vehicle calibration routine service of a UDS protocol is used for sending a calibration trigger instruction to a controller, and an empty vehicle calibration process is started; Step 2, the controller collects PWM signals of the four height sensors in the state of empty load and horizontal placement of the vehicle, and converts the PWM signals into empty load reference height values of all wheels, wherein the units are mm; Step 3, calculating suspension equivalent elastic coefficients of a front axle and a rear axle based on an average value of idle load reference height values of 20 vehicles of the same model, and generating idle vehicle calibration parameters, wherein the units of the suspension equivalent elastic coefficients of the front axle and the rear axle are kg/mm; and 4, writing the empty calibration parameters into an EEPROM storage unit of the controller, reading the identifiers through calibration data of the UDS protocol, and reading the calibration parameters.
- 3. The method for controlling a combined switch for vehicle gear integrated with a vehicle weighing function according to claim 1, wherein in the fifth step, the execution of the inclination compensation comprises the following sub-steps: Firstly, a vehicle gauge MCU calculates a height measurement deviation value brought by the inclination of a vehicle body according to vehicle gradient data, wherein the unit is mm; Subtracting a height measurement deviation value from the actually measured vehicle body height variation to obtain an effective height variation caused by the vehicle load, wherein the unit is mm; and finally, taking the effective height variation as an input parameter of subsequent weight calculation.
- 4. The method for controlling the combined switch of the automobile gear integrated with the vehicle-mounted weighing function according to claim 1, wherein in the fifth step, the calculation of the total weight of the whole automobile comprises the following substeps: step A, the equivalent elastic coefficients of a front axle suspension system and a rear axle suspension system which are prestored in an EEPROM storage unit are called, wherein the units of the equivalent elastic coefficients of the front axle suspension system and the rear axle suspension system are kg/mm; And B, calculating the total weight of the whole vehicle by a formula, wherein the calculation formula is that the total weight of the whole vehicle=the equivalent elastic coefficient of a front axle suspension system (the height variation of a left front wheel body+the height variation of a right front wheel body) +the equivalent elastic coefficient of a rear axle suspension system (the height variation of a left rear wheel body+the height variation of a right rear wheel body), wherein the unit of the height variation of the whole vehicle is mm, and the unit of the total weight of the whole vehicle is kg.
- 5. The method for controlling the vehicle gear combination switch integrated with the vehicle-mounted weighing function according to claim 1, wherein in the fifth step, the calculation of the front-rear axle load ratio comprises the following sub-steps: Step 1, calculating the sum of the loads of the front axle and the rear axle, wherein the unit is kg, the sum of the loads of the front axle and the rear axle is the sum of the independent loads of the left front wheel and the right front wheel, and the sum of the loads of the rear axle and the rear axle is the sum of the independent loads of the left rear wheel and the right rear wheel; Step 2, calculating the front axle load ratio by the formula of front axle load ratio = front axle two-wheel load sum/(total weight of the whole vehicle multiplied by 100%; and 3, calculating the rear axle load ratio by the formula of rear axle load ratio = sum of loads of two wheels of the rear axle/total weight of the whole vehicle multiplied by 100 percent.
- 6. The method for controlling a combined switch for vehicle gear integrated with a vehicle-mounted weighing function according to claim 1, wherein the sixth step comprises the following substeps: firstly, the communication module is accessed to a whole CAN FD bus through an internal CAN FD transceiver, the arbitration field communication rate of the CAN FD bus is 500Kbps, and the data field communication rate is 2Mbps; and secondly, the vehicle gauge MCU circularly transmits weighing related data to the whole vehicle network node by taking 10ms as a fixed period.
- 7. The method for controlling the automobile gear combination switch integrated with the vehicle-mounted weighing function according to claim 1, wherein in the step six, the method further comprises a peeling zero clearing control step: Step 1, a vehicle gauge MCU receives a peeling zero clearing instruction sent by a central control large screen through a CAN FD bus; and 2, recording the total weight of the whole vehicle obtained by current calculation as the tare by the vehicle gauge MCU, automatically deducting the corresponding tare when the total weight of the whole vehicle is calculated subsequently, and outputting the net weight data of the goods to the central control large screen, wherein the units of the tare and the net weight data of the goods are kg.
- 8. The method for controlling the automobile gear combination switch integrated with the vehicle-mounted weighing function according to claim 1, wherein in the sixth step, the display control of the central control large screen comprises the following sub-steps: Firstly, when the load ratio of the front axle is less than 30% or more than 70%, displaying the load ratio state as a red unreasonable range; secondly, when the current axle load ratio is more than or equal to 30% and less than 40%, or more than 60% and less than or equal to 70%, the load ratio state is displayed as a yellow bias range; and finally, when the load ratio of the front axle is more than or equal to 40% and less than or equal to 60%, displaying the load ratio state as a green reasonable range.
- 9. The method for controlling the combined switch of the automobile gear integrated with the vehicle-mounted weighing function as set forth in claim 1, wherein the step of synchronously executing the basic control step of the gear comprises the following steps: firstly, an electronic gear shifting module collects state signals of a gear lever position and a parking gear key, and a combined switch module collects state signals of a wiper, a steering lamp, a headlight and a water spray switch; and secondly, the two types of state signals are transmitted to the vehicle-standard MCU for processing and then transmitted to the whole vehicle network through the communication module.
- 10. The method for controlling the vehicle gear combination switch integrated with the vehicle-mounted weighing function according to claim 1, further comprising the steps of detecting and processing a sensor fault, and comprising the following steps: Firstly, a vehicle gauge MCU detects PWM signals output by four height sensors in real time, wherein the effective duty ratio range of the PWM signals is 5% -95%, and the corresponding height variation range is 0-100 mm; Secondly, when the duty ratio of the PWM signal is less than 5% or more than 95%, judging that the corresponding height sensor fails, and recording a corresponding DTC failure code; And finally, the vehicle-standard MCU sends weighing data invalid values to the whole vehicle network through the communication module, wherein the invalid values are hexadecimal values 0x1FFF.
Description
Automobile gear combination switch control method integrating vehicle-mounted weighing function Technical Field The invention relates to the field of vehicle transmission and control, in particular to an automobile gear combination switch control method integrating a vehicle-mounted weighing function. Background The automobile gear combination switch controller (EGS controller) is used as a core node in the whole automobile electronic and electric architecture, and currently, two basic functions of electronic gear shifting and combination switch control are mainly integrated. For example, a gear combination switch disclosed in chinese patent CN119353408a in the prior art realizes accurate gear shift sensing and reliable P gear function through gear transmission and hall sensor, and has the advantages of accurate output and noise reduction of R-N-D gear. However, the function of the gear controller in the prior art is single, the hardware resources and the communication interface of the gear controller are not fully utilized, and the requirement for function integration in the intelligent development of vehicles cannot be met. In the technical field of vehicle-mounted weighing, the existing scheme mostly adopts an independent control module. For example, chinese patent CN208376524U discloses a system for real-time monitoring of load by a weighing module installed between a vehicle frame and a floor of a vehicle. But the control module and the actuating mechanism are arranged independently. In addition, aiming at the weighing precision problem under complex working conditions such as a ramp and the like, a weighing device suitable for a road surface with a large gradient is disclosed in China patent CN218724633U in the prior art. The gradient inclination angle compensation measurement is realized by adjusting the installation angle of the sensor. However, these existing vehicle-mounted weighing systems generally need to be additionally provided with an independent control unit, a sensor and a wire harness, so that the material cost and the wiring complexity of the whole vehicle are increased, the weighing function of the vehicle-mounted weighing system is mutually split with the original functions of the vehicle such as gear control, and the effective multiplexing of hardware resources and a data link cannot be realized. In summary, the problem that the integrated level of the gear controller with the vehicle-mounted weighing system is low and the cost is high exists in the prior art. In particular, on the one hand, the conventional gear controller lacks the capability of monitoring the load of the vehicle in real time, and is difficult to provide a data base for overload early warning. On the other hand, the independently arranged vehicle-mounted weighing system not only increases hardware cost, but also has the ramp weighing precision to be further optimized, and lacks a deep fusion design with the existing control system (such as an EGS controller) of the vehicle. Therefore, how to integrate the high-precision vehicle-mounted weighing function into the Huai Dang controller and realize accurate weighing under the ramp working condition without greatly increasing the hardware cost is a technical problem to be solved in the field. Disclosure of Invention In order to solve the technical problems, the invention aims to provide a control method for an automobile gear combination switch integrating a vehicle-mounted weighing function. The invention relates to an automobile gear combination switch control method integrating a vehicle-mounted weighing function, which is executed based on a gear combination switch controller distributed in an automobile, wherein an electronic gear shifting module, a combination switch module, a vehicle-mounted weighing module, a communication module and a power management module are distributed in the gear combination switch controller, each module is connected with a vehicle-mounted MCU (micro control unit) in the controller, EEPROM (electrically erasable programmable read-only memory) connected with the vehicle-mounted micro control unit is distributed in the controller, the power management module is connected with an entire automobile power supply, the communication module is connected with an entire automobile network node through a CAN FD bus (controller local area network flexible data bus), the entire automobile network node comprises an entire automobile inclination angle sensor and a central control large screen, the vehicle-mounted weighing module is connected with four height sensors distributed in a vehicle suspension system, and the automobile gear combination switch control method comprises the following steps: the method comprises the steps that a power management module supplies power to all modules and four height sensors in a controller, and after the controller is initialized, a vehicle-mounted weighing module collects PWM signals (pulse width modulation signals)