Electronic gear-shifting control method and apparatus, electronic device, and storage medium

By using a combined level control signal and pulse width modulation duty cycle information in the electronic gear shift system, the problems of waste of pin resources and instability of electrical signals in the communication between the electronic gear shift unit and the vehicle control unit are solved, and more efficient and stable gear shift control is achieved.

WO2025162311A1PCT designated stage Publication Date: 2025-08-07ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/074919
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-31
Filing Date
2025-01-24
Publication Date
2025-08-07

AI Technical Summary

Technical Problem

In the prior art, the communication method between the electronic shift unit and the vehicle control unit leads to waste of pin resources and poor anti-interference ability of the electrical signal and instability.

Method used

By generating a combined level control signal, using two wire harnesses to transmit level values, and combining pulse width modulation duty cycle information, communication between the electronic gear shift unit and the vehicle control unit is realized, reducing pin occupation and improving electrical signal stability.

Benefits of technology

It solves the problem of pin resource waste, improves the anti-interference ability and stability of the electrical signal, and ensures the reliability and safety of gear shifting operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025074919_07082025_PF_FP_ABST
    Figure CN2025074919_07082025_PF_FP_ABST
Patent Text Reader

Abstract

An electronic gear-shifting control method and apparatus, an electronic device, and a storage medium, applied to an electronic gear-shifting system. The electronic gear-shifting system comprises an electronic gear-shifting unit and a vehicle control unit. The method comprises: in response to a first user gear-shifting operation, generating a level control signal by means of the electronic gear-shifting unit; acquiring the level control signal by means of the vehicle control unit, and obtaining user-requested gear information on the basis of a preset level encoding table; determining a vehicle operating gear by means of the vehicle control unit on the basis of the user-requested gear information and first motor operating information; converting the vehicle operating gear into first pulse-width modulation duty cycle information by means of the vehicle control unit; and parsing the first pulse-width modulation duty cycle information by means of the electronic gear-shifting unit to obtain the vehicle operating gear. The problems of poor anti-interference capability and instability of an electrical signal during transmission of the electrical signal corresponding to the actual vehicle operating gear are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic shift control method, device, electronic device and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on January 31, 2024, with application number 2024101398486 and application name “Electronic shift control method, device, electronic device and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to, but are not limited to, the field of vehicle shift control technology, and in particular to an electronic shift control method, device, electronic device, and storage medium. Background Art

[0003] With the advancement of electrification, more and more mechanical structures in vehicles are being replaced by electronic ones, and the electronic shift unit (ESU) is one of them. The ESU's function is to transmit user-controlled shifting operations (forward, reverse, and parking) to the vehicle control unit (VCU). The VCU then performs logical analysis and controls the motor to execute the corresponding operation. Simultaneously, the VCU transmits the motor's operating status to the ESU, which requires communication between the ESU and the VCU.

[0004] Currently, the pins of the electronic shift unit and the pins of the vehicle control unit are often connected through three wiring harnesses to transmit reverse, neutral and forward gear information. When the electronic shift unit sets the reverse, neutral and forward gear pins to a high level, it means that the gear is valid, and when it is set to a low level, it means that the gear is invalid; and the actual vehicle operating gear is transmitted from the vehicle control unit to the electronic shift unit through the controller area network CAN network.

[0005] However, when changing the vehicle's operating gear through three wiring harnesses and CAN network communication, the three wiring harnesses occupy three pins of the electronic shift unit, resulting in a waste of pin resources; at the same time, when the vehicle control unit transmits the actual vehicle operating gear to the electronic shift unit, due to the complex communication logic and physical structure of the CAN network communication, and the need for corresponding functional programming and network management development based on the vehicle communication architecture, the electrical signal has poor anti-interference ability and instability when transmitting the electrical signal corresponding to the actual vehicle operating gear. Summary of the Invention

[0006] The present application provides an electronic shift control method, device, electronic device and storage medium to solve the problem of poor anti-interference ability and instability of electrical signals when transmitting electrical signals corresponding to actual vehicle operating gears.

[0007] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0008] In a first aspect, the present application provides an electronic shift control method, which is applied to an electronic shift system, wherein the electronic shift system includes an electronic shift unit and a vehicle control unit, including: in response to a first user shift operation, generating a level control signal through the electronic shift unit, wherein the level control signal includes a first level value and a second level value, and the combined level value composed of the first level value and the second level value is used to represent the target electronic gear position corresponding to the first user shift operation; obtaining the level control signal through the vehicle control unit, and obtaining the user requested gear position information according to a preset level coding table, wherein the level coding table is used Characterizes the mapping relationship between the combination level value and the electronic gear, the user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor; the vehicle operating gear is determined by the vehicle control unit according to the user-requested gear information and the first motor operation information, the first motor operation information characterizes the operating state of the vehicle motor after the vehicle control unit responds to the user-requested gear information; the vehicle operating gear is converted into first pulse width modulation duty cycle information by the vehicle control unit; the first pulse width modulation duty cycle information is parsed by the electronic shifting unit to obtain the vehicle operating gear.

[0009] In a possible implementation, it also includes: converting the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit; parsing the second pulse width modulation duty cycle information through the vehicle control unit to obtain the shift fault type of the electronic shift unit and display it.

[0010] In one possible implementation, the shift fault information includes at least first fault information and second fault information; the converting of the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit includes: obtaining first fault duty cycle information based on the first fault information through the electronic shift unit; or obtaining second fault duty cycle information based on the second fault information through the electronic shift unit; obtaining the second pulse width modulation duty cycle information based on the first fault duty cycle information or the second fault duty cycle information.

[0011] Optionally, by establishing a correspondence between the second pulse width modulation duty cycle and the status information of the electronic shift unit, the correspondence between the shift fault information of the electronic shift unit and the second pulse width modulation duty cycle is determined, and then the shift fault information is converted into the second pulse width modulation duty cycle information by the electronic shift unit, so that the specific fault information of the electronic shift unit is displayed on the vehicle display unit corresponding to the vehicle control unit, which solves the problem of poor anti-interference ability and instability of the electrical signal when transmitting the electrical signal corresponding to the shift fault information due to the complex communication logic and physical structure of the CAN network communication and the need for corresponding functional programming and network management development according to the vehicle communication architecture.

[0012] In one possible implementation, the vehicle operating gear includes at least a first operating gear and a second operating gear; the converting of the vehicle operating gear into first pulse width modulation duty cycle information by the vehicle control unit includes: obtaining first gear duty cycle information according to the first operating gear by the vehicle control unit; or obtaining second gear duty cycle information according to the second operating gear by the vehicle control unit; obtaining the first pulse width modulation duty cycle information according to the first gear duty cycle information or the second gear duty cycle information.

[0013] In a possible implementation, it also includes: in response to a second user shifting operation, generating a forced control signal through the electronic shifting unit, the second user shifting operation is a shifting operation in which the user actively changes the vehicle gear only through the electronic shifting unit during the use of the vehicle; and the vehicle control unit responds to the forced control signal to obtain a forced operating gear.

[0014] Optionally, by generating a forced control signal corresponding to the second user's gear shifting operation, a quick gear shifting method is provided to the user in an emergency situation to ensure the user's safety.

[0015] In one possible implementation, the user-requested gear information includes forced-requested gear information, which represents the type of vehicle gear after the user actively changes the vehicle gear only through the electronic shift unit during the use of the vehicle; the forced operation gear is obtained by the vehicle control unit in response to the forced control signal, including: obtaining the user request duration by the vehicle control unit in response to the forced control signal, wherein the user request duration is the cumulative generation time corresponding to the forced control signal generated by the electronic shift unit when the user actively changes the vehicle gear only through the electronic shift unit within a preset time; determining the forced-requested gear information by the vehicle control unit according to the user request duration, the preset request duration and the level coding table; obtaining the forced operation gear by the vehicle control unit according to the forced-requested gear information and second motor operation information, wherein the second motor operation information represents the operation state of the vehicle motor after the vehicle control unit responds to the forced-requested gear information.

[0016] Optionally, to ensure the reliability of the quick shifting method, an operation number threshold and a preset request duration are introduced to verify the second user's shifting operation, so as to ensure the safety of the user.

[0017] In a possible implementation, the actively changed gear shift operation is a gear shift operation that is performed more than a preset operation number threshold within a preset time.

[0018] In one possible implementation, the vehicle operating gear is determined by the vehicle control unit according to the user-requested gear information and the first motor operation information, including: switching the electronic gear of the vehicle motor according to the user-requested gear information to obtain the first motor operation information; judging whether the first motor operation information and the user-requested gear information are consistent; if the first motor operation information and the user-requested gear information are consistent, determining the vehicle operating gear according to the first motor operation information or the user-requested gear information; if the first motor operation information and the user-requested gear information are inconsistent, determining the vehicle operating gear according to the first motor operation information.

[0019] In a second aspect, the present application provides an electronic shift control device, which is applied to an electronic shift system. The electronic shift system includes an electronic shift unit and a vehicle control unit. The device includes:

[0020] The first processing module is configured to generate a level control signal through the electronic shift unit in response to a first user shift operation, the level control signal including a first level value and a second level value, wherein a combined level value formed by the first level value and the second level value is used to represent a target electronic gear position corresponding to the first user shift operation. The second processing module is configured to obtain the level control signal through the vehicle control unit and obtain user-requested gear position information according to a preset level coding table, wherein the level coding table represents a mapping relationship between combined level values ​​and electronic gear positions, and the user-requested gear position information is used to drive the vehicle control unit to perform electronic gear shifting on the vehicle motor. The second processing module is further configured to determine, through the vehicle control unit, a vehicle operating gear position based on the user-requested gear position information and first motor operating information, wherein the first motor operating information represents an operating state of the vehicle motor after the vehicle control unit responds to the user-requested gear position information. The second processing module is further configured to convert, through the vehicle control unit, the vehicle operating gear position into first pulse width modulation duty cycle information. The first processing module is further configured to parse the first pulse width modulation duty cycle information through the electronic shift unit to obtain the vehicle operating gear position.

[0021] In a third aspect, the present application provides an electronic device comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the electronic shift control method as described in any one of the first aspects of the embodiments of the present application.

[0022] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the electronic shift control method as described in any one of the first aspects of the embodiments of the present application.

[0023] According to a fifth aspect of the embodiments of the present application, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the electronic shift control method as described in any one of the first aspects above.

[0024] In the sixth aspect, the present application provides an electronic shifting system, which includes an electronic shifting unit, a vehicle control unit, a first wiring harness, a second wiring harness and a third wiring harness. The first wiring harness and the second wiring harness are used to realize the change of the vehicle operating gear by driving the vehicle control unit through the electronic shifting unit. The third wiring harness is used to transmit the actual vehicle operating gear to the electronic shifting unit through the vehicle control unit. The electronic shifting system is used to implement the electronic shifting control method as described in any one of the first aspects of the embodiments of the present application.

[0025] In one possible implementation, the electronic shifting system also includes a fourth wiring harness, which is used to transmit the shifting fault information of the electronic shifting unit to the vehicle control unit through the electronic shifting unit, and display the specific fault information through the vehicle display unit corresponding to the vehicle control unit.

[0026] The electronic shift control method, device, electronic device and storage medium provided in the present application are applied to an electronic shift system, wherein the electronic shift system includes an electronic shift unit and a vehicle control unit. In response to a first user shift operation, a level control signal is generated by the electronic shift unit, wherein the level control signal includes a first level value and a second level value, and the combined level value composed of the first level value and the second level value is used to represent the target electronic gear position corresponding to the first user shift operation; the level control signal is obtained by the vehicle control unit, and the user requested gear position information is obtained according to a preset level coding table, and the level coding table is used to generate a level control signal. The table is used to characterize the mapping relationship between the combination level value and the electronic gear, and the user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor; the vehicle control unit determines the vehicle operating gear according to the user-requested gear information and the first motor operation information, and the first motor operation information characterizes the operating state of the vehicle motor after the vehicle control unit responds to the user-requested gear information; the vehicle operating gear is converted into first pulse width modulation duty cycle information by the vehicle control unit; and the electronic shift unit parses the first pulse width modulation duty cycle information to obtain the vehicle operating gear. By using the level signals corresponding to the two wiring harnesses to form a combined level value and then determining the level control signal, the problem of pin resource waste caused by three wiring harnesses occupying three pins of the electronic shift unit is solved. At the same time, by establishing a corresponding relationship between the first pulse width modulation duty cycle and the vehicle operating gear, the vehicle control unit can transmit the actual vehicle operating gear to the electronic shift unit, which solves the problem of poor anti-interference ability and instability of the electrical signal when transmitting the electrical signal corresponding to the actual vehicle operating gear due to the complex communication logic and physical structure of the CAN network communication and the need for corresponding functional programming and network management development according to the vehicle communication architecture. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] FIG1 is a diagram illustrating an application scenario of the electronic shift control method provided by an embodiment of the present application;

[0028] FIG2 is a flow chart of an electronic shift control method provided by one embodiment of the present application;

[0029] FIG3 is a schematic diagram of specific steps for transmitting and displaying shift fault information of an electronic shift unit according to an embodiment of the present application;

[0030] FIG4 is a flow chart of an electronic shift control method provided by another embodiment of the present application;

[0031] FIG5 is a diagram illustrating an application scenario of actively changing a vehicle gear position according to an embodiment of the present application;

[0032] FIG6 is a schematic diagram of specific implementation steps of step S207 in the embodiment shown in FIG5 ;

[0033] FIG7 is a schematic diagram of an electronic shifting system according to an embodiment of the present application;

[0034] FIG8 is a schematic structural diagram of an electronic shift control device provided by one embodiment of the present application;

[0035] FIG9 is a schematic diagram of an electronic device provided by one embodiment of the present application;

[0036] FIG10 is a block diagram of a terminal device according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0037] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0038] In the technical solution of this application, the user personal information involved and the collection, storage, use, processing, transmission, provision and disclosure of data are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0039] 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 used 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, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0040] FIG1 is a diagram of an application scenario of the electronic shift control method provided in an embodiment of the present application. The electronic shift control method provided in an embodiment of the present application can be applied to a scenario in which a user shifts gears of a vehicle. For example, as shown in FIG1 , the execution subject of the method provided in an embodiment of the present application can be a vehicle-mounted device or an electronic control unit. Taking the electronic control unit as an example, the electronic control unit includes an electronic shift unit and a vehicle control unit. The electronic shift unit generates a corresponding vehicle shift instruction in response to the user's shift operation. Then, according to the corresponding vehicle shift instruction, the vehicle control unit changes the operating state of the vehicle motor to achieve the vehicle gear switching. After the vehicle completes the gear switching, the electronic shift unit obtains the actual vehicle operating gear from the vehicle control unit. If the actual vehicle operating gear is consistent with the gear corresponding to the user's shift operation, the vehicle operates according to the actual vehicle operating gear. If the actual vehicle operating gear is inconsistent with the gear corresponding to the user's shift operation, the user is prompted that the vehicle has not shifted successfully, and the vehicle operates according to the actual vehicle operating gear.

[0041] Currently, three wires are typically used to connect the pins of the electronic shift unit (ESU) to the pins of the vehicle control unit (VCU) to transmit information about reverse, neutral, and forward gears. When the ESU sets the reverse, neutral, or forward gear pins to a high level, the gear is active; when they are set to a low level, the gear is inactive. The actual vehicle gear position is then transmitted from the VCU to the ESU via the CAN network.

[0042] However, when changing the vehicle's operating gear through three wiring harnesses and CAN network communication, the three wiring harnesses occupy three pins of the electronic shift unit, resulting in a waste of pin resources; at the same time, when the vehicle control unit transmits the actual vehicle operating gear to the electronic shift unit, due to the complex communication logic and physical structure of the CAN network communication, and the need for corresponding functional programming and network management development based on the vehicle communication architecture, the electrical signal has poor anti-interference ability and instability when transmitting the electrical signal corresponding to the actual vehicle operating gear.

[0043] The technical solution of the present application is described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.

[0044] FIG2 is a flow chart of an electronic shift control method provided by an embodiment of the present application. As shown in FIG2 , the electronic shift control method provided by this embodiment may be executed by a vehicle-mounted device or an electronic control unit. By way of example, this embodiment is described using a vehicle-mounted device as the execution subject of the method of this embodiment. The method provided by this embodiment of the present application is applied to an electronic shift system, which includes an electronic shift unit and a vehicle control unit. The electronic shift control method provided by this embodiment includes the following steps:

[0045] In step S101, in response to a first user shifting operation, a level control signal is generated by an electronic shifting unit. The level control signal includes a first level value and a second level value. The combined level value of the first level value and the second level value is used to represent the target electronic gear position corresponding to the first user shifting operation.

[0046] For example, in communication coding, the definition of the target electronic gear position of the vehicle is realized by coordinating the high and low levels corresponding to the two wiring harnesses, that is, a combined level value is formed by the first level value corresponding to the first wiring harness and the second level value corresponding to the second wiring harness, and then four level value combinations are obtained. These four level value combinations can correspond to the four electronic gear positions of the vehicle, and then in response to the first user's gear shifting operation, the electronic gear shifting unit generates a corresponding level control signal, that is, the target electronic gear position corresponding to the first user's gear shifting operation is obtained. More specifically, for example, Table 1 is a schematic table of the correspondence between target electronic gear positions and combined level values. As shown in Table 1, "0" represents a low level of the wiring harness, and "1" represents a high level of the wiring harness. The physical forms corresponding to the vehicle's electronic gear shift unit include button-type, knob-type, hand-shift-type, and handle-type. This embodiment takes a button-type electronic gear shift unit as an example. The first user gear shift operation is that the user depresses the "brake pedal" and presses the gear position corresponding to the "electronic gear shift unit" at the same time. Then, in response to the first user gear shift operation, the electronic gear shift unit generates a combined level value, that is, generates a corresponding level control signal. For example, when the user depresses the "brake pedal" and presses the "reverse gear" corresponding to the "electronic gear shift unit" at the same time, the electronic gear shift unit sets the voltage of the pin connected to the first wiring harness to a low level and sets the voltage of the pin connected to the second wiring harness to a high level. That is, the first level value corresponding to the first wiring harness is "0", and the second level value corresponding to the second wiring harness is "1". Then, the level control signal generated by the electronic gear shift unit is "0, 1".

[0047] Table 1

[0048] In step S102, the vehicle control unit obtains a level control signal and obtains user-requested gear information according to a preset level coding table. The level coding table is used to characterize the mapping relationship between the combined level value and the electronic gear. The user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor.

[0049] For example, the level coding table is used to characterize the mapping relationship between the combined level value and the electronic gear position, and the user-requested gear position information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor. That is, the vehicle control unit parses and processes the acquired level control signal according to the level coding table to obtain the target electronic gear position corresponding to the first user shift operation, that is, the user-requested gear position information is obtained, and then the vehicle control unit can be driven to perform electronic gear switching on the vehicle motor according to the user-requested gear position information. More specifically, for example, Table 1 is a level coding table. As shown in Table 1, "0" represents the low level of the wiring harness, and "1" represents the high level of the wiring harness. The vehicle control unit parses and processes the acquired level control signal according to the level coding table to obtain the user-requested electronic gear position, that is, the user-requested gear position information.

[0050] In one possible implementation, the electronic shift unit and the vehicle control unit are connected through two wiring harnesses (a first wiring harness and a second wiring harness) to realize the transmission of the level control signal. For example, in response to the first user shifting operation, the level control signal "0, 1" is generated by the electronic shift unit; then, on the vehicle control unit side, the voltage of the pin connected to the first wiring harness is set to a low level, and the voltage of the pin connected to the second wiring harness is set to a high level, that is, the first level value corresponding to the first wiring harness is "0", and the second level value corresponding to the second wiring harness is "1"; then the level control signal "0, 1" is obtained through the vehicle control unit, and then according to the level coding table, the electronic gear requested by the user is obtained as "reverse gear", that is, the gear information requested by the user is obtained.

[0051] In step S103, the vehicle control unit determines the vehicle operating gear according to the user requested gear information and the first motor operating information. The first motor operating information represents the operating state of the vehicle motor after the vehicle control unit responds to the user requested gear information.

[0052] Exemplarily, the first motor operation information represents the operating status of the vehicle motor after the vehicle control unit responds to the user's request for gear information, that is, the vehicle control unit is driven to switch the electronic gear of the vehicle motor according to the user's request for gear information, and then the operating status of the vehicle motor is obtained through the vehicle control unit, that is, the first motor operation information is obtained; then, the vehicle operating gear can be determined by parsing the first motor operation information through the vehicle control unit. In one possible implementation, if the current operating gear of the vehicle is "forward gear", the user requested gear information is determined to be "reverse gear" according to the level control signal "0,1". If the vehicle control unit is driven according to the "reverse gear" to switch the electronic gear of the vehicle motor to "reverse gear", and the operating state of the vehicle motor is "reverse", the first motor operating information info_1 is obtained, and the first motor operating information info_1 corresponding to the "reverse" state is parsed by the vehicle control unit to determine that the vehicle operating gear is "reverse gear"; if the vehicle control unit is driven according to the "reverse gear" and the electronic gear of the vehicle motor is not switched to "reverse gear", and the operating state of the vehicle motor is still "forward", the first motor operating information info_2 is obtained, and the first motor operating information info_2 corresponding to the "forward" state is parsed by the vehicle control unit to determine that the vehicle operating gear is still "forward gear".

[0053] Step S104: converting the vehicle operating gear into first pulse width modulation duty cycle information through the vehicle control unit.

[0054] Exemplarily, PWM duty cycle information is used to indicate the state of a level signal, where the state of the level signal includes a high-level state and a low-level state. The PWM duty cycle indicates the ratio of the duration of the high-level state to the duration of a complete data cycle. That is, the PWM duty cycle information includes the duty cycle value corresponding to the PWM duty cycle, as well as the duration of the high-level state, the duration of the low-level state, and the duration of a complete data cycle. By defining a correspondence between the PWM duty cycle and the vehicle's operating gear, the vehicle's operating gear can be converted into the first PWM duty cycle information by the vehicle control unit based on a predefined correspondence between the first PWM duty cycle and the vehicle's operating gear. More specifically, the vehicle operating gear includes at least a first operating gear and a second operating gear; the vehicle operating gear is converted into a first pulse width modulation duty cycle information through the vehicle control unit, including: obtaining the first gear duty cycle information according to the first operating gear through the vehicle control unit; or, obtaining the second gear duty cycle information according to the second operating gear through the vehicle control unit; obtaining the first pulse width modulation duty cycle information according to the first gear duty cycle information or the second gear duty cycle information.

[0055] In one possible implementation, Table 2 is a schematic table of the correspondence between the first pulse width modulation duty cycle and the vehicle operating gear. As shown in Table 2, the vehicle operating gear includes no request, reverse gear, neutral gear, forward gear and low speed gear. According to the correspondence between the first pulse width modulation duty cycle and the vehicle operating gear, if the vehicle operating gear is "reverse gear", the first pulse width modulation duty cycle is obtained by the vehicle control unit between 10%≤X<30%, that is, the first pulse width modulation duty cycle information is obtained, wherein X is the specific value of the first pulse width modulation duty cycle generated by the vehicle control unit according to the vehicle operating gear.

[0056] Table 2

[0057] Step S105 , analyzing the first pulse width modulation duty cycle information through the electronic shift unit to obtain the vehicle operating gear.

[0058] For example, based on the correspondence between the first pulse width modulation duty cycle and the vehicle operating gear shown in Table 2, the electronic shift unit analyzes the first pulse width modulation duty cycle information to determine the vehicle operating gear. More specifically, for example, based on the numerical range of the first pulse width modulation duty cycle determined by the vehicle control unit, the first pulse width modulation duty cycle information is determined, and then the electronic shift unit analyzes the first pulse width modulation duty cycle information. That is, based on the correspondence between the first pulse width modulation duty cycle and the vehicle operating gear shown in Table 2, the electronic shift unit determines the vehicle operating gear based on the numerical range of the first pulse width modulation duty cycle. For example, based on the first pulse width modulation duty cycle being between 10% ≤ X < 30%, the vehicle operating gear is determined to be "reverse gear."

[0059] Optionally, if the user presses the "forward gear" corresponding to the "electronic shift unit" while the user steps on the "brake pedal", the electronic shift unit transmits the corresponding level control signal "1,1" to the vehicle control unit, and the vehicle control unit electronically switches the vehicle motor according to the user-requested gear information determined based on the level control signal "1,1"; then, the actual operating state of the vehicle motor is obtained through the vehicle control unit, that is, the numerical range of the first pulse width modulation duty cycle determined by the vehicle control unit is 10%≤X<30%, then the vehicle operating gear is obtained as "reverse gear", and the vehicle operates according to the actual vehicle operating gear "reverse gear".

[0060] In this embodiment, an electronic shift control method is applied to an electronic shift system, which includes an electronic shift unit and a vehicle control unit. In response to a first user shift operation, the electronic shift unit generates a level control signal, the level control signal including a first level value and a second level value. The combined level value of the first level value and the second level value is used to represent a target electronic gear position corresponding to the first user shift operation. The vehicle control unit obtains the level control signal and obtains user-requested gear position information according to a preset level coding table. The level coding table is used to represent a mapping relationship between the combined level value and the electronic gear position. The user-requested gear position information is used to drive the vehicle control unit to electronically switch the gear position of the vehicle motor. The vehicle control unit determines the vehicle operating gear position based on the user-requested gear position information and first motor operating information, the first motor operating information representing the operating state of the vehicle motor after the vehicle control unit responds to the user-requested gear position information. The vehicle control unit converts the vehicle operating gear position into first pulse width modulation duty cycle information. The electronic shift unit parses the first pulse width modulation duty cycle information to obtain the vehicle operating gear position. By using the level signals corresponding to the two wiring harnesses to form a combined level value and then determining the level control signal, the problem of pin resource waste caused by three wiring harnesses occupying three pins of the electronic shift unit is solved. At the same time, by establishing a corresponding relationship between the first pulse width modulation duty cycle and the vehicle operating gear, the vehicle control unit can transmit the actual vehicle operating gear to the electronic shift unit, which solves the problem of poor anti-interference ability and instability of the electrical signal when transmitting the electrical signal corresponding to the actual vehicle operating gear due to the complex communication logic and physical structure of the CAN network communication and the need for corresponding functional programming and network management development according to the vehicle communication architecture.

[0061] Optionally, the electronic shift unit can also transmit the shift fault information of the electronic shift unit to the vehicle control unit via a pulse width modulation duty cycle signal, and then transmit the shift fault information to the vehicle display unit via the vehicle control unit, so as to provide feedback of the shift fault information of the electronic shift unit to the user. FIG3 is a schematic diagram of the specific steps of transmitting and displaying the shift fault information of the electronic shift unit according to an embodiment of the present application. As shown in FIG3, the specific steps of transmitting and displaying the shift fault information of the electronic shift unit include:

[0062] Step S106 : converting the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit.

[0063] For example, by defining a correspondence between a pulse width modulation duty cycle and shift fault information, the electronic shift unit can convert the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information. More specifically, the shift fault information includes at least first fault information and second fault information; converting the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information by the electronic shift unit includes: obtaining first fault duty cycle information based on the first fault information by the electronic shift unit; or obtaining second fault duty cycle information based on the second fault information by the electronic shift unit; and obtaining second pulse width modulation duty cycle information based on the first fault duty cycle information or the second fault duty cycle information.

[0064] In a possible implementation, Table 3 is a schematic table of the correspondence between the second pulse width modulation duty cycle and the status information of the electronic shift unit. As shown in Table 3, the status information of the electronic shift unit includes: photoelectric switch failure, Hall sensor failure, gear synchronization failure, low power supply voltage to the electronic shift unit, high power supply voltage to the electronic shift unit, and normal / dormant state of the electronic shift unit. A reserved position is used to establish a new correspondence between the second pulse width modulation duty cycle and the status information of the electronic shift unit. Among them, the shift fault information of the electronic shift unit includes: photoelectric switch failure, Hall sensor failure, gear synchronization failure, low power supply voltage to the electronic shift unit, high power supply voltage to the electronic shift unit, and normal / dormant state of the electronic shift unit. Switch failure, Hall sensor failure, gear synchronization failure, low power supply voltage to the electronic shift unit, high power supply voltage to the electronic shift unit; further, according to the correspondence between the second pulse width modulation duty cycle and the shift fault information, if the electronic shift unit detects that the power supply voltage of the vehicle equipment to the electronic shift unit is high, the second pulse width modulation duty cycle obtained by the electronic shift unit is between 40%≤Y<50%, that is, the second pulse width modulation duty cycle information is obtained, wherein Y is the specific value of the pulse width modulation duty cycle generated by the electronic shift unit according to the shift fault information.

[0065] Table 3

[0066] Step S107 : The vehicle control unit analyzes the second pulse width modulation duty cycle information to obtain the shift fault type of the electronic shift unit and displays it.

[0067] For example, according to the correspondence between the second pulse width modulation duty cycle and the status information of the electronic shift unit shown in Table 3, the vehicle control unit parses the second pulse width modulation duty cycle information to determine the status information of the electronic shift unit, and also to determine whether the electronic shift unit has a fault. If the electronic shift unit has a fault, the type of shift fault of the electronic shift unit can be determined and displayed. More specifically, for example, according to the numerical range of the second pulse width modulation duty cycle determined by the electronic shift unit, the second pulse width modulation duty cycle information is determined, and then the second pulse width modulation duty cycle information is parsed by the vehicle control unit. That is, based on the correspondence between the second pulse width modulation duty cycle and the status information of the electronic shift unit shown in Table 3, the vehicle control unit determines the status of the electronic shift unit according to the numerical range of the second pulse width modulation duty cycle. That is, if there is a fault in the electronic shift unit, the shift fault type of the electronic shift unit can be determined. For example, according to the second pulse width modulation duty cycle being between 40%≤Y<50%, the fault of the electronic shift unit is obtained as "the power supply voltage of the vehicle-mounted equipment to the electronic shift unit is high", and then the vehicle display unit corresponding to the vehicle control unit displays specific fault information, that is, it displays "the power supply voltage of the vehicle-mounted equipment to the electronic shift unit is high".

[0068] In the steps of this embodiment, by establishing a corresponding relationship between the second pulse width modulation duty cycle and the status information of the electronic shift unit, the corresponding relationship between the shift fault information of the electronic shift unit and the second pulse width modulation duty cycle is determined, and then the shift fault information is converted into the second pulse width modulation duty cycle information by the electronic shift unit, so that the specific fault information of the electronic shift unit is displayed on the vehicle display unit corresponding to the vehicle control unit, which solves the problem of poor anti-interference ability and instability of the electrical signal when transmitting the electrical signal corresponding to the shift fault information due to the complex communication logic and physical structure of the CAN network communication and the need to perform corresponding functional programming and network management development according to the vehicle communication architecture.

[0069] FIG4 is a flow chart of an electronic shift control method provided in another embodiment of the present application. As shown in FIG4 , the electronic shift control method provided in this embodiment is a further refinement of the electronic shift control method provided in the embodiment shown in FIG2 . The electronic shift control method provided in this embodiment includes the following steps:

[0070] Step S201: In response to a first user shifting operation, a level control signal is generated by an electronic shifting unit. The level control signal includes a first level value and a second level value. The combined level value of the first level value and the second level value is used to represent the target electronic gear position corresponding to the first user shifting operation.

[0071] In step S202, the vehicle control unit obtains a level control signal and obtains user-requested gear information according to a preset level coding table. The level coding table is used to characterize the mapping relationship between the combined level value and the electronic gear. The user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor.

[0072] In step S203, the vehicle control unit determines the vehicle operating gear according to the user requested gear information and the first motor operating information. The first motor operating information represents the operating state of the vehicle motor after the vehicle control unit responds to the user requested gear information.

[0073] Step S204: converting the vehicle operating gear into first pulse width modulation duty cycle information through the vehicle control unit.

[0074] Step S205 , analyzing the first pulse width modulation duty cycle information through the electronic shift unit to obtain the vehicle operating gear.

[0075] Step S206 , in response to a second user shifting operation, generating a forced control signal through the electronic shifting unit, wherein the second user shifting operation is a shifting operation in which the user actively changes the vehicle gear position only through the electronic shifting unit during use of the vehicle.

[0076] For example, during a user's use of a vehicle, a conventional shift operation involves the user depressing the "brake pedal" while simultaneously pressing the corresponding gear position on the "electronic shift unit" to achieve a shift. In unconventional situations, a user can actively change the vehicle's gear position simply by pressing the corresponding gear position on the "electronic shift unit." Furthermore, to prevent active changes in the vehicle's gear position due to user error, a second user shift operation is determined by setting a threshold for the number of times the gear position corresponding to the "electronic shift unit" must be pressed. Specifically, within a preset time period, a second user shift operation is determined based on the number of times the user operates the gear position corresponding to the electronic shift unit exceeding the preset operation threshold. In response to the second user shift operation, the electronic shift unit generates a corresponding forced control signal based on the correspondence between the target electronic gear position and the combination level value shown in Table 1.

[0077] More specifically, for example, Figure 5 is an application scenario diagram of actively changing the vehicle gear provided by an embodiment of the present application. As shown in Figure 5, while vehicles A and B are waiting to travel at an intersection, user user_B in vehicle B finds that the vehicle in front of it, vehicle A, is slipping (reversing backward). At this time, within 2 seconds, user user_B only presses the "reverse gear" corresponding to the "electronic shift unit" on the electronic shift unit 4 times in succession to obtain the second user shift operation, and then the electronic shift unit is combined with the correspondence between the target electronic gear and the combination level value shown in Table 1 to generate the corresponding forced control signal "0, 1", where the preset press count threshold is 3 times.

[0078] Step S207 : The vehicle control unit responds to the forced control signal to obtain a forced operating gear, and converts the forced operating gear into first pulse width modulation duty cycle information.

[0079] For example, the vehicle control unit responds to the forced control signal and parses and processes the forced control signal based on the correspondence between the target electronic gear position and the combined level value shown in Table 1, thereby obtaining the gear position information corresponding to the second user shift operation. Based on the gear position information corresponding to the second user shift operation, the vehicle control unit is driven to electronically switch the gear position of the vehicle motor, thereby obtaining the forced operating gear position. The forced operating gear position is converted into first pulse width modulation duty cycle information, and the process then returns to step S205 to determine the vehicle operating gear position corresponding to the forced operating gear position. In one possible implementation, the forced control signal is "0, 1." The vehicle control unit parses and processes the forced control signal "0, 1" based on the correspondence shown in Table 1, thereby obtaining the "reverse gear" corresponding to the second user shift operation. The vehicle control unit is driven to electronically switch the gear position of the vehicle motor, thereby obtaining the forced operating gear position. The forced operating gear position is converted into first pulse width modulation duty cycle information, and the process then returns to step S205 to determine the vehicle operating gear position corresponding to the forced operating gear position as "reverse gear."

[0080] In another possible implementation, FIG6 is a schematic diagram of specific implementation steps of step S207 in the embodiment shown in FIG5 . As shown in FIG6 , the user-requested gear information includes forced-requested gear information. The forced-requested gear information represents the vehicle gear type after the user actively changes the vehicle gear only through the electronic shift unit during use of the vehicle. The specific implementation steps of step S207 include:

[0081] Step S2071, the vehicle control unit responds to the forced control signal to obtain the user request duration, wherein the user request duration is the cumulative generation time corresponding to the forced control signal generated by the electronic shift unit when the user actively changes the vehicle gear only through the electronic shift unit within the preset time.

[0082] For example, within a preset timeframe, the electronic shift unit records the time a user actively changes vehicle gears solely through the electronic shift unit, yielding the cumulative duration of the electronic shift unit's generation of mandatory control signals. This means that the user request duration is captured simultaneously with the vehicle control unit's response to the mandatory control signals. More specifically, for example, within two seconds, user user_B presses the "Reverse" button on the electronic shift unit four times in a row. The electronic shift unit generates the mandatory control signal "0, 1," and the corresponding user request duration is 1.2 seconds, given a preset threshold of three presses.

[0083] Step S2072: The vehicle control unit determines the mandatory requested gear information according to the user request duration, the preset request duration and the level coding table.

[0084] For example, to prevent user misoperation resulting in an active gear change, a threshold for the number of times the gear corresponding to the "electronic shift unit" is pressed is set. After determining a second user shift operation, the second user shift operation is further verified using a preset request duration. Specifically, if the user request duration is greater than or equal to the preset request duration, it indicates that the user has continuously performed the second user shift operation to change the vehicle's current state. Thus, combined with the level coding table, the mandatory requested gear information can be determined. If the user request duration is less than the preset request duration, the user may have misoperated. More specifically, for example, if user_B only presses the "Reverse" gear corresponding to the "electronic shift unit" four times in a row, the electronic shift unit generates the corresponding mandatory control signal "0, 1" and obtains a corresponding user request duration of 1.2 seconds. If the preset request duration is 1 second, then based on the user request duration of 1.2 seconds being greater than the preset request duration of 1 second, it is determined that the user's active gear change operation was not an error. Furthermore, combined with the level coding table, the mandatory requested gear information can be determined.

[0085] Step S2073, the vehicle control unit obtains the forced operating gear according to the forced request gear information and the second motor operating information, where the second motor operating information represents the operating state of the vehicle motor after the vehicle control unit responds to the forced request gear information.

[0086] Exemplarily, the second motor operating information represents the operating state of the vehicle's motor after the vehicle control unit responds to the forced gear request information. Specifically, the vehicle control unit is driven to electronically switch the vehicle's motor gear according to the forced gear request information, and the vehicle control unit then obtains the operating state of the vehicle's motor, thereby obtaining the second motor operating information. Furthermore, the vehicle control unit analyzes the second motor operating information to obtain the forced operating gear. More specifically, in the scenario shown in FIG5 , the vehicle's current operating gear is "neutral," and the forced gear request information is determined to be "reverse" according to the forced control signal "0,1." If the vehicle control unit is driven to electronically switch the vehicle's motor gear to "reverse" according to the "reverse" state, the operating state of the vehicle's motor is "reverse," thereby obtaining the second motor operating information. The vehicle control unit then analyzes the second motor operating information corresponding to the "reverse" state to determine that the forced operating gear is "reverse."

[0087] In the steps of this embodiment, by generating a forced control signal corresponding to the second user's gear shifting operation, a quick gear shifting method is provided to the user in an emergency situation to ensure the user's safety; optionally, to ensure the reliability of the quick gear shifting method, an operation number threshold and a preset request time are introduced to verify the second user's gear shifting operation to ensure the user's safety.

[0088] In this embodiment, the implementation method of steps S201 to S205 is the same as the implementation method of steps S101 to S105 in the embodiment shown in Figure 2 of this application, and will not be repeated here.

[0089] Figure 7 is a system schematic diagram of an electronic shifting system provided by an embodiment of the present application. As shown in Figure 7, the electronic shifting system provided by this embodiment includes an electronic shifting unit and a vehicle control unit. The electronic shifting unit and the vehicle control unit are connected through the first wiring harness and the second wiring harness, which can realize the change of the vehicle operating gear by driving the vehicle control unit through the electronic shifting unit; the actual vehicle operating gear can be transmitted to the electronic shifting unit through the vehicle control unit through the third wiring harness; the shifting fault information of the electronic shifting unit can be transmitted to the vehicle control unit through the fourth wiring harness, and the specific fault information can be displayed through the vehicle display unit corresponding to the vehicle control unit.

[0090] The electronic shifting system provided in this embodiment can implement the technical solution of any of the method embodiments shown in Figures 2 to 6. The implementation principles and technical effects thereof are similar and will not be described in detail here.

[0091] FIG8 is a schematic structural diagram of an electronic shift control device provided in one embodiment of the present application. As shown in FIG8 , the electronic shift control device 3 provided in this embodiment is applied to an electronic shift system. The electronic shift system includes an electronic shift unit and a vehicle control unit, including:

[0092] A first processing module 31 is configured to generate a level control signal via an electronic shift unit in response to a first user shift operation, wherein the level control signal includes a first level value and a second level value, and a combined level value of the first level value and the second level value is configured to represent a target electronic gear position corresponding to the first user shift operation;

[0093] The second processing module 32 is configured to obtain the level control signal from the vehicle control unit and obtain user-requested gear information according to a preset level coding table. The level coding table is used to represent the mapping relationship between the combined level value and the electronic gear position. The user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor;

[0094] The second processing module 32 is further configured to determine, through the vehicle control unit, a vehicle operating gear according to the user requested gear information and the first motor operating information, wherein the first motor operating information represents an operating state of the vehicle motor after the vehicle control unit responds to the user requested gear information;

[0095] The second processing module 32 is further configured to convert the vehicle operating gear into first pulse width modulation duty cycle information through the vehicle control unit;

[0096] The first processing module 31 is further configured to analyze the first pulse width modulation duty cycle information through the electronic shift unit to obtain the vehicle operating gear.

[0097] In one possible implementation, the first processing module 31 is also used to: convert the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit; parse the second pulse width modulation duty cycle information through the vehicle control unit to obtain the shift fault type of the electronic shift unit and display it.

[0098] In one possible implementation, the shift fault information includes at least first fault information and second fault information; when the first processing module 31 converts the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit, it is specifically used to: obtain first fault duty cycle information based on the first fault information through the electronic shift unit; or obtain second fault duty cycle information based on the second fault information through the electronic shift unit; obtain second pulse width modulation duty cycle information based on the first fault duty cycle information or the second fault duty cycle information.

[0099] In one possible implementation, the vehicle operating gear includes at least a first operating gear and a second operating gear; when the second processing module 32 converts the vehicle operating gear into the first pulse width modulation duty cycle information through the vehicle control unit, it is specifically used to: obtain the first gear duty cycle information according to the first operating gear through the vehicle control unit; or, obtain the second gear duty cycle information according to the second operating gear through the vehicle control unit; obtain the first pulse width modulation duty cycle information according to the first gear duty cycle information or the second gear duty cycle information.

[0100] In one possible implementation, the first processing module 31 is also used to: generate a forced control signal through the electronic shift unit in response to a second user shifting operation, where the second user shifting operation is a shifting operation in which the user actively changes the vehicle gear only through the electronic shift unit during the use of the vehicle; and obtain a forced operating gear by responding to the forced control signal through the vehicle control unit.

[0101] In one possible implementation, the user-requested gear information includes forced-requested gear information, which represents the type of vehicle gear after the user actively changes the vehicle gear only through the electronic shift unit during the use of the vehicle; when the second processing module 32 responds to the forced control signal through the vehicle control unit to obtain the forced operation gear, it is specifically used to: obtain the user request duration by the vehicle control unit in response to the forced control signal, wherein the user request duration is the cumulative generation time corresponding to the forced control signal generated by the electronic shift unit when the user actively changes the vehicle gear only through the electronic shift unit within the preset time; determine the forced-requested gear information through the vehicle control unit according to the user request duration, the preset request duration and the level coding table; obtain the forced operation gear through the vehicle control unit according to the forced-requested gear information and the second motor operation information, and the second motor operation information represents the operation state of the vehicle motor after the vehicle control unit responds to the forced-requested gear information.

[0102] In a possible implementation, the actively changed gear shift operation is a gear shift operation that is performed more than a preset operation number threshold within a preset time.

[0103] In one possible implementation, when the second processing module 32 determines the vehicle operating gear according to the user-requested gear information and the first motor operating information through the vehicle control unit, it is specifically used to: switch the electronic gear of the vehicle motor according to the user-requested gear information to obtain the first motor operating information; determine whether the first motor operating information and the user-requested gear information are consistent; if the first motor operating information and the user-requested gear information are consistent, determine the vehicle operating gear according to the first motor operating information or the user-requested gear information; if the first motor operating information and the user-requested gear information are inconsistent, determine the vehicle operating gear according to the first motor operating information.

[0104] The first processing module 31 is connected to the second processing module 32. The electronic shift control device 3 provided in this embodiment can implement the technical solution of any method embodiment shown in Figures 2 to 6, and its implementation principles and technical effects are similar, which will not be repeated here.

[0105] FIG9 is a schematic diagram of an electronic device provided in accordance with an embodiment of the present application. As shown in FIG9 , the electronic device 4 provided in accordance with the present embodiment includes a processor 41 and a memory 42 communicatively connected to the processor 41 .

[0106] The memory 42 stores computer-executable instructions;

[0107] The processor 41 executes the computer-executable instructions stored in the memory 42 to implement the electronic shift control method provided by any one of the embodiments corresponding to FIG. 2 to FIG. 6 of the present application.

[0108] The memory 42 and the processor 41 are connected via a bus 43 .

[0109] The relevant explanations can be understood by referring to the relevant descriptions and effects corresponding to the steps in the embodiments corresponding to Figures 2 to 6, and no further details will be given here.

[0110] One embodiment of the present application provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by a processor, they are used to implement the electronic shift control method provided in any one of the embodiments corresponding to Figures 2 to 6 of the present application.

[0111] Among them, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0112] One embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the electronic shift control method provided in any one of the embodiments corresponding to Figures 2 to 6 of the present application.

[0113] Figure 10 is a block diagram of a terminal device shown in an exemplary embodiment of the present application. The terminal device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0114] The terminal device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0115] The processing component 802 generally controls the overall operation of the terminal device 800, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-described method. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.

[0116] The memory 804 is configured to store various types of data to support operations on the terminal device 800. Examples of such data include instructions for any application or method operating on the terminal device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0117] The power supply component 806 provides power to various components of the terminal device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device 800.

[0118] The multimedia component 808 includes a screen that provides an output interface between the terminal device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the terminal device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0119] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the terminal device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0120] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.

[0121] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the terminal device 800. For example, the sensor assembly 814 can detect the open / closed state of the terminal device 800, the relative positioning of components, such as the display and keypad of the terminal device 800. The sensor assembly 814 can also detect changes in the position of the terminal device 800 or a component of the terminal device 800, the presence or absence of user contact with the terminal device 800, the orientation or acceleration / deceleration of the terminal device 800, and temperature changes of the terminal device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0122] The communication component 816 is configured to facilitate wired or wireless communication between the terminal device 800 and other devices. The terminal device 800 can access a wireless network based on a communication standard, such as WiFi, 3G, 4G, 5G or other standard communication networks, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0123] In an exemplary embodiment, the terminal device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the method provided in any of the embodiments corresponding to Figures 2 to 6 of the present application.

[0124] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the terminal device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0125] An embodiment of the present application also provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the terminal device, the terminal device 800 can execute the method provided in any of the embodiments corresponding to Figures 2 to 6 of the present application.

[0126] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0127] Still other aspects will be apparent to those skilled in the art upon reading and understanding the accompanying drawings and detailed description.

[0128] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0129] It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. An electronic shift control method, applied to an electronic shift system, wherein the electronic shift system includes an electronic shift unit and a vehicle control unit, the method comprising: In response to a first user shifting operation, generating a level control signal by the electronic shifting unit, the level control signal including a first level value and a second level value, wherein a combined level value of the first level value and the second level value is used to represent a target electronic gear position corresponding to the first user shifting operation; The vehicle control unit obtains the level control signal and obtains user-requested gear information according to a preset level coding table, wherein the level coding table is used to represent a mapping relationship between a combined level value and an electronic gear position, and the user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor; determining, by the vehicle control unit, a vehicle operating gear according to the user requested gear information and first motor operating information, wherein the first motor operating information represents an operating state of the vehicle motor after the vehicle control unit responds to the user requested gear information; Converting the vehicle operating gear into first pulse width modulation duty cycle information by the vehicle control unit; The electronic shift unit analyzes the first pulse width modulation duty cycle information to obtain the vehicle operating gear.

2. The method according to claim 1, further comprising: converting the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit; The vehicle control unit analyzes the second pulse width modulation duty cycle information to obtain the shift fault type of the electronic shift unit and displays it.

3. The method according to claim 2, wherein: The shift fault information includes at least first fault information and second fault information; The converting the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information by the electronic shift unit includes: obtaining first fault duty cycle information by the electronic shift unit according to the first fault information; or obtaining second fault duty cycle information by the electronic shift unit according to the second fault information; The second pulse width modulation duty cycle information is obtained according to the first fault duty cycle information or the second fault duty cycle information.

4. The method according to any one of claims 1 to 3, wherein: The vehicle operating gear comprises at least a first operating gear and a second operating gear; The converting the vehicle operating gear into first pulse width modulation duty cycle information by the vehicle control unit includes: obtaining first gear duty cycle information according to the first operating gear by the vehicle control unit; Alternatively, the vehicle control unit may obtain the second gear duty cycle information according to the second operating gear; The first pulse width modulation duty cycle information is obtained according to the first gear duty cycle information or the second gear duty cycle information.

5. The method according to any one of claims 1 to 4, further comprising: generating a forced control signal through the electronic shift unit in response to a second user shift operation, wherein the second user shift operation is a shift operation in which the user actively changes the vehicle gear position only through the electronic shift unit during use of the vehicle; The vehicle control unit responds to the forced control signal to obtain a forced operating gear.

6. The method according to claim 5, wherein: The user-requested gear information includes forced-requested gear information, where the forced-requested gear information represents the vehicle gear type after the user actively changes the vehicle gear only through the electronic shift unit during use of the vehicle; The step of obtaining a forced operating gear by the vehicle control unit in response to the forced control signal includes: Obtaining, by the vehicle control unit, a user request duration in response to the forced control signal, wherein the user request duration is a cumulative generation duration corresponding to the forced control signal generated by the electronic shift unit when the user actively changes the vehicle gear position only through the electronic shift unit within a preset time; Determining, by the vehicle control unit, the mandatory requested gear information according to the user request duration, the preset request duration, and the level coding table; The vehicle control unit obtains a forced operating gear according to the forced request gear information and the second motor operating information, wherein the second motor operating information represents the operating state of the vehicle motor after the vehicle control unit responds to the forced request gear information.

7. The method according to claim 5, wherein: The actively changed gear shift operation is a gear shift operation that occurs within a preset time and has a number of operations greater than a preset threshold.

8. The method according to any one of claims 1 to 4, wherein: The determining, by the vehicle control unit, the vehicle operating gear according to the user requested gear information and the first motor operating information, includes: switching the electronic gear of the vehicle motor according to the gear information requested by the user, and obtaining the first motor operation information; Determining whether the first motor operation information is consistent with the user requested gear information; If the first motor operation information is consistent with the user-requested gear information, determining the vehicle operation gear according to the first motor operation information or the user-requested gear information; If the first motor operation information and the user-requested gear information are inconsistent, the vehicle operation gear is determined according to the first motor operation information.

9. An electronic shifting system, which includes an electronic shifting unit, a vehicle control unit, a first wiring harness, a second wiring harness and a third wiring harness, wherein the first wiring harness and the second wiring harness are used to realize the change of the vehicle operating gear by driving the vehicle control unit through the electronic shifting unit, and the third wiring harness is used to transmit the actual vehicle operating gear to the electronic shifting unit through the vehicle control unit.

10. The system according to claim 9, wherein the electronic shifting system further comprises a fourth wiring harness, wherein the fourth wiring harness is used to transmit the shifting fault information of the electronic shifting unit to the vehicle control unit through the electronic shifting unit, and to display the specific fault information through the vehicle display unit corresponding to the vehicle control unit.

11. An electronic shift control device, applied to an electronic shift system, wherein the electronic shift system includes an electronic shift unit and a vehicle control unit, the device comprising: a first processing module, configured to generate, in response to a first user shifting operation, a level control signal through the electronic shifting unit, the level control signal comprising a first level value and a second level value, wherein a combined level value of the first level value and the second level value is used to represent a target electronic gear position corresponding to the first user shifting operation; a second processing module, configured to obtain the level control signal through the vehicle control unit and obtain user-requested gear information according to a preset level coding table, wherein the level coding table is used to represent a mapping relationship between a combination level value and an electronic gear position, and the user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor; The second processing module is further configured to determine, through the vehicle control unit, a vehicle operating gear according to the user requested gear information and first motor operation information, wherein the first motor operation information represents an operating state of the vehicle motor after the vehicle control unit responds to the user requested gear information; The second processing module is further configured to convert the vehicle operating gear into first pulse width modulation duty cycle information through the vehicle control unit; The first processing module is further configured to analyze the first pulse width modulation duty cycle information through the electronic shift unit to obtain the vehicle operating gear.

12. An electronic device comprising: a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8. 13 . A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the electronic shift control method according to any one of claims 1 to 8. 14 . A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the electronic shift control method according to claim 1 is implemented.

Citation Information

Patent Citations

  • Electronic gear position control system and method

    CN106090203A

  • Vehicle and method of controlling the same

    CN111791813A

  • Control method of electronic gear shifter, electronic gear shifter and vehicle

    CN113236764A

  • Electronic gear shifting control method and device, electronic equipment and storage medium

    CN117989314A

  • Control system for a vehicle and method

    WO2017108506A1