CN113124142A - Calibration method of knob type electronic gear shifter, electronic equipment and storage medium - Google Patents
Calibration method of knob type electronic gear shifter, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113124142A CN113124142A CN202110239912.4A CN202110239912A CN113124142A CN 113124142 A CN113124142 A CN 113124142A CN 202110239912 A CN202110239912 A CN 202110239912A CN 113124142 A CN113124142 A CN 113124142A
- Authority
- CN
- China
- Prior art keywords
- gear
- calibration
- shifter
- calibrated
- knob
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F16—ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
- F16H—GEARING
- F16H59/00—Control inputs to control units of change-speed-, or reversing-gearings for conveying rotary motion
- F16H59/02—Selector apparatus
- F16H59/0278—Constructional features of the selector lever, e.g. grip parts, mounting or manufacturing
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F16—ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
- F16H—GEARING
- F16H61/00—Control functions within control units of change-speed- or reversing-gearings for conveying rotary motion ; Control of exclusively fluid gearing, friction gearing, gearings with endless flexible members or other particular types of gearing
- F16H61/02—Control functions within control units of change-speed- or reversing-gearings for conveying rotary motion ; Control of exclusively fluid gearing, friction gearing, gearings with endless flexible members or other particular types of gearing characterised by the signals used
- F16H61/0202—Control functions within control units of change-speed- or reversing-gearings for conveying rotary motion ; Control of exclusively fluid gearing, friction gearing, gearings with endless flexible members or other particular types of gearing characterised by the signals used the signals being electric
- F16H61/0204—Control functions within control units of change-speed- or reversing-gearings for conveying rotary motion ; Control of exclusively fluid gearing, friction gearing, gearings with endless flexible members or other particular types of gearing characterised by the signals used the signals being electric for gearshift control, e.g. control functions for performing shifting or generation of shift signal
- F16H61/0206—Layout of electro-hydraulic control circuits, e.g. arrangement of valves
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F16—ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
- F16H—GEARING
- F16H63/00—Control outputs from the control unit to change-speed- or reversing-gearings for conveying rotary motion or to other devices than the final output mechanism
- F16H63/40—Control outputs from the control unit to change-speed- or reversing-gearings for conveying rotary motion or to other devices than the final output mechanism comprising signals other than signals for actuating the final output mechanisms
- F16H63/42—Ratio indicator devices
Abstract
The invention discloses a calibration method of a knob type electronic gear shifter, electronic equipment and a storage medium, wherein the method comprises the following steps: controlling a display to sequentially send out display prompts corresponding to each gear to be calibrated one by one; respectively acquiring a determining signal corresponding to each display prompt one by one from a P gear of the knob type electronic gear shifter, and acquiring a corresponding rotating angle according to each determining signal; and setting each rotation angle as a calibration angle value of each corresponding gear to obtain a plurality of calibration angle value sets corresponding to the gears to be calibrated, and transmitting the calibration angle value sets corresponding to the gears to be calibrated to the knob type electronic gear shifter for storage. By applying the method and the device, the reliability and the stability of the gear calibration of the knob type monostable electronic gear shifter can be effectively improved.
Description
Technical Field
The invention relates to the technical field of gear shifters, in particular to a calibration method of a knob type electronic gear shifter, electronic equipment and a storage medium.
Background
In the related art, a shifter of an automobile undergoes several changes from a manual shift to an automatic shift, and from a mechanical to an electronic one. Electronic shifters were at the earliest multistable electronic shifters. However, with the appearance of high-end automobile technologies such as unmanned driving and automatic driving, the limitations of the existing multistable electronic gear shifting mechanism gradually appear, and when the physical gear position and the gear display of the gear shifting mechanism are not matched with the gear position of the whole automobile, a user must manually move the gear shifting mechanism to the same physical position as the actual gear position of the whole automobile. The slowly developed monostable electronic gear shifter can not be influenced by the limitation, the existing functions of a multistable electronic gear shifter can be realized, and the use convenience of the product is improved. The monostable electronic shifter is different from a multistable electronic shifter because the final stop position of the monostable electronic shifter is single in the using process of a product and has no definite gear information, the monostable electronic shifter responds to the change of a shift handle position sensor and sends the change of the shift handle position to a TCU (Transmission Control Unit) or a VCU (Vehicle Control Unit) through a bus, the TCU or the VCU combines a Vehicle speed signal, a brake signal, an unlocking signal and the like, definite gear information is calculated according to a set shift strategy and is fed back to the monostable electronic shifter and is displayed by a panel of the monostable electronic shifter, and the monostable electronic shifter is not executed by directly sending the definite gear information to the TCU or the VCU through the bus. In the related calibration technology, the working procedure of the multi-stable electronic gear shifter is generally simpler, while the mono-stable electronic gear shifter is easy to have errors in the gear calibration process due to the characteristic of recovering to the stable position.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a calibration method of a knob type electronic gear shifter, electronic equipment and a storage medium, which can effectively improve the reliability and stability of gear calibration of the knob type monostable electronic gear shifter.
According to the first aspect of the invention, the calibration method of the knob type electronic gear shifter comprises the following steps:
controlling a display to sequentially send out display prompts corresponding to each gear to be calibrated one by one;
respectively acquiring a determining signal corresponding to each display prompt one by one from a P gear of the knob type electronic gear shifter, and acquiring a corresponding rotating angle according to each determining signal;
and setting each rotation angle as a calibration angle value of each corresponding gear to obtain a plurality of calibration angle value sets corresponding to the gears to be calibrated, and transmitting the calibration angle value sets corresponding to the gears to be calibrated to the knob type electronic gear shifter for storage.
The calibration method of the knob type electronic gear shifter provided by the embodiment of the invention at least has the following beneficial effects: controlling a display to sequentially send a plurality of display prompts corresponding to each gear to be calibrated one by one; respectively acquiring a determining signal corresponding to each display prompt one by one from a P gear of the knob type electronic gear shifter, and acquiring a corresponding rotating angle according to each determining signal; and each rotation angle is set as a calibration angle value of each corresponding gear to obtain a plurality of calibration angle value sets corresponding to the gears to be calibrated, and the calibration angle value sets corresponding to the gears to be calibrated are transmitted to the knob type electronic gear shifter for storage through the data exchange connection module. And when the operator rotates to a corresponding angle, the operator triggers a determination signal from the P gear of the knob type electronic gear shifter, and the data processing module receives the determination signal and starts to read the current rotation angle and uses the current rotation angle as a calibration angle value of the current gear. Through the mode, after multiple gear calibration, all gears to be calibrated of the knob type electronic gear shifter are calibrated, then the data processing module transmits all calibration angle values to the knob type electronic gear shifter for storage, and the knob type electronic gear shifter can be formally used. By adopting the calibration method of the knob type electronic gear shifter, all gears can be completely calibrated without leaving the knob type monostable electronic gear shifter by both hands of an operator, and switching between the knob type monostable electronic gear shifter and a computer is not needed, so that the problem of error caused by knob position deviation caused by knob position maintenance by one hand is avoided, and the calibration reliability and stability of the knob type monostable electronic gear shifter are effectively improved.
According to some embodiments of the present invention, the controlling the display to sequentially send out the display prompts corresponding to each gear to be calibrated one by one, includes:
before each gear to be calibrated is calibrated, controlling the display to respectively send out a first prompt corresponding to each gear to be calibrated;
and after the calibration value of each gear to be calibrated is obtained, controlling the display to respectively send out a second prompt corresponding to each gear to be calibrated.
According to some embodiments of the present invention, the controlling the display to sequentially send out the display prompts corresponding to each gear to be calibrated one by one, includes:
the marks of a P gear, a 0 gear, an L1 gear, an L2 gear, an R1 gear and an R2 gear are displayed on a display;
when any gear of the gears 0, L1, L2, R1 and R2 needs to be calibrated, the corresponding mark of the gear is lightened in a first color;
when any one of the gears of the gear 0, the gear L1, the gear L2, the gear R1 and the gear R2 is calibrated, the corresponding mark of the gear is lightened in a second color;
and when a determination signal transmitted from the P gear is received, the corresponding mark of the P gear is lightened, and the mark is extinguished after the preset time.
According to some embodiments of the invention, the first color is red and the second color is green.
According to some embodiments of the invention, further comprising: and respectively rotating the range formed by the preset distance clockwise and anticlockwise by taking the rotating angle corresponding to each calibration value as a center to determine the range as the triggering range of the gear corresponding to the calibration value.
According to some embodiments of the invention, data exchange is performed with the knob electronic shifter through a CAN bus.
According to some embodiments of the invention, further comprising: the method comprises the steps of obtaining a rotation angle of a knob type electronic gear shifter in an initial state, and using the rotation angle in the initial state as an original gear calibration value of the knob type electronic gear shifter.
According to some embodiments of the invention, the control display sequentially sends out display prompts corresponding to each gear to be calibrated one by one; respectively acquiring a determining signal corresponding to each display prompt one by one from a P gear of the knob type electronic gear shifter, and acquiring a corresponding rotating angle according to each determining signal; setting each rotation angle as a calibration angle value of each corresponding gear to obtain a plurality of calibration angle value sets corresponding to the gears to be calibrated, and transmitting the calibration angle value sets corresponding to the gears to be calibrated to the knob type electronic gear shifter for storage, wherein the calibration angle value sets comprise:
initializing variables and an interface;
detecting whether a shifter to be calibrated is accessed, if the shifter to be calibrated is accessed and executed downwards, otherwise, detecting whether the shifter to be calibrated is accessed all the time;
if the shifter to be calibrated is connected, sending an extended mode CAN bus instruction to the current shifter;
executing a secure key process;
judging whether the security key passes or not, and if not, returning to the process of executing the security key;
reading a calibration state;
judging whether the calibration function is opened or not according to the calibration state, if not, executing the operation of opening the calibration function and returning to the operation of reading the calibration state;
calibrating and initializing;
calibrating a zero point;
checking whether the calibration zero point is successful, and if the calibration zero point is unsuccessful, returning to execute the calibration zero point;
the red light blinks at the interface L2 position, prompting the operator to turn the knob to L2;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the position of L2;
checking whether the L2 position calibration is successful, and if not, returning to 13 to execute;
interface L2 position light turns green and bright;
the red light blinks at the interface L1 position, prompting the operator to turn the knob to L1;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the position of L1;
checking whether the L1 position calibration is successful, if not, turning back to execute reading of the Hall angle value of the L1 position;
interface L1 position light turns green and bright;
the red light flickers at the position of the interface 0 to prompt the operator to turn the knob to 0;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value at the position 0;
checking whether the 0 position calibration is successful, and if not, returning to execute reading of the Hall angle value of the 0 position;
the lamp at the position of the interface 0 turns green and is normally bright;
the red light at the interface R1 position blinks, prompts the operator to turn the knob to R1;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the R1 position;
checking whether the R1 position calibration is successful, if not, turning back to execute reading of the Hall angle value of the R1 position;
the interface R1 position lamp turns green and bright;
the red light at the interface R2 position blinks, prompts the operator to turn the knob to R2;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the R2 position;
checking whether the R2 position calibration is successful, if not, turning back to execute reading of the Hall angle value of the R2 position;
the interface R2 position lamp turns green and bright;
saving the calibrated angle values of L2, L1, 0, R1 and R2 to the shifter;
checking whether the storage is successful, if not, returning to execute the storage of the calibration angle values of L2, L1, 0, R1 and R2 into the gear shifter;
closing the calibration function;
checking whether the current gear shifter is disconnected, and if not, checking the current gear shifter all the time;
jump back to re-initialize variables and interfaces.
An electronic device according to an embodiment of the second aspect of the present invention includes:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the knob electronic shifter calibration method as described above.
According to a storage medium of an embodiment of the third aspect of the present invention, the computer-readable storage medium stores computer-executable instructions for causing a computer to perform the knob type electronic shifter calibration method as described above.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the invention;
FIG. 2 is a flow chart of a method of calibrating a knob type electronic shifter in accordance with an embodiment of the present invention;
FIG. 3 is a block schematic diagram of a knob type electronic shifter in accordance with an embodiment of the present invention;
FIG. 4 is a schematic structural view of a knob type electronic shifter according to an embodiment of the present invention;
FIG. 5 is a diagram of a display device displaying graphics according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a range profile of a knob type electronic shifter according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it should be understood that the orientation or positional relationship referred to in the description of the orientation, such as the upper, lower, front, rear, left, right, etc., is based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
Referring to fig. 3 and 4, due to the error, mechanical error, installation error and the like of the monostable knob type electronic gear shifter 200, the angle of each position of each knob type monostable electronic gear shifter has unknown deviation, and in order to eliminate the unknown deviation, each knob type monostable electronic gear shifter needs to be calibrated to achieve accurate gear shifting. The calibration method of the knob type electronic gear shifter 200 is that an operator manually and sequentially places the knob type monostable electronic gear shifter on a plurality of positions L2, L1, 0, R1 and R2 (the P gear is detected by using a button and does not need to be calibrated), and then the angle of each position is calibrated. The monostable knob type electronic shifter 200 generally has only one stable state, and when the knob is turned a certain angle and hands are released, the knob automatically returns to the original position. The monostable knob type electronic shifter 200 may be of different kinds depending on the setting of the P-range, for example the P-range is provided integrally with the shifter. When the P-gear is arranged in the middle of the knob of the monostable knob type electronic shifter 200, the P-gear is integrated with the integral monostable knob type electronic shifter 200, and the P-gear is usually arranged in a key mode, so that the P-gear does not need to be calibrated. The knob type monostable electronic shifter usually reads an angle value of a current position from an internal hall chip as a rotation angle of the current position. The principle of the gear shifter for reading the angle is that the knob drives the circular magnet to rotate, the rotation of the circular magnet is sensed by the non-contact rotary Hall IC beside the circular magnet, and the rotation of the circular magnet is acquired by the MCU to obtain the angle value.
Referring to FIG. 1, the components of the electronic device 100 include, but are not limited to, a memory 110 and a processor 120. The processor 120 is coupled to the memory 110 via a bus 130 and the database 160 is used to store data.
The electronic device 100 also includes an access device 140, the access device 140 enabling the electronic device 100 to communicate via one or more networks 150. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 140 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In some embodiments of the invention, the above-mentioned components of the electronic device 100 and other components not shown in fig. 1 may be connected to each other, for example by a bus. It should be understood that the block diagram of the electronic device shown in fig. 1 is for exemplary purposes only and is not intended to limit the scope of the present invention. Those skilled in the art may add or replace other components as desired. The electronic device 100 may be any type of electronic device 100, such as a computer, a smart phone, a smart tablet, and the like.
Wherein the processor 120 may perform the steps of the device status detection method shown in fig. 2. Fig. 2 shows a flowchart of a calibration method of a knob type electronic shifter according to an embodiment of the present invention, and referring to fig. 2, includes steps S100 to S300.
Step S100: and controlling the display to sequentially send out display prompts corresponding to each gear to be calibrated one by one.
Step S200: the determination signals corresponding to the display prompts one to one are respectively acquired from the P-gear of the knob type electronic shifter 200, and the corresponding rotation angle is acquired according to each determination signal.
Step S300: and setting each rotation angle as a calibration angle value of each corresponding gear to obtain a plurality of calibration angle value sets corresponding to the gears to be calibrated, and transmitting the calibration angle value sets corresponding to the gears to be calibrated to the knob type electronic gear shifter 200 for storage.
Referring to fig. 5, it can be understood that the controlling the display device sequentially sends out the display prompts corresponding to each gear to be calibrated one by one, including: before each gear to be calibrated is calibrated, controlling a display to respectively send out a first prompt corresponding to each gear to be calibrated; and after the calibration value of each gear to be calibrated is obtained, controlling the display to respectively send out a second prompt corresponding to each gear to be calibrated. Specifically, the marks of the P gear, the 0 gear, the L1 gear, the L2 gear, the R1 gear and the R2 gear are displayed on the display; when any gear of the gears 0, L1, L2, R1 and R2 needs to be calibrated, the corresponding mark of the gear is lightened in a first color; when any one of the gears of the gear 0, the gear L1, the gear L2, the gear R1 and the gear R2 is calibrated, the corresponding mark of the gear is lightened in a second color; and when a determination signal transmitted from the P gear is received, the corresponding mark of the P gear is lightened, and the mark is extinguished after the preset time. The first color is red and the second color is green.
Referring to fig. 6, it can be understood that the method further includes: and respectively rotating the range formed by the preset distance clockwise and anticlockwise by taking the rotating angle corresponding to each calibration value as a center to determine the range as the triggering range of the gear corresponding to the calibration value. Because each gear corresponds to a fixed angle, if the gear is just rotated to a corresponding angle, the difficulty in operation can be brought in practical application, and through the arrangement, in practical application, when the knob type electronic gear shifter is rotated to be close to the corresponding gear, the automobile can be switched to the corresponding gear to run, so that the practicability of the knob type electronic gear shifter is improved. The solid line identifies the gear hall angle calibration value, and the dotted line identifies the logic threshold value (which can be modified by software) calculated from the calibration value; it is necessary to cross to the left from the resident gear 0 to the dashed arrow to identify it as L1; from L1, it crosses right to the solid arrow to identify gear 0 as resident; the gear shift from L1 to the left needs to be crossed to the dotted arrow to be identified as L2; from L2, it crosses right to the solid arrow to be identified as L1; the right-hand processing strategy is the same as the left-hand one.
It is understood that data is exchanged with the knob type electronic shifter 200 through the CAN bus. Further comprising: the rotation angle of the knob type electronic shifter 200 in the initial state is obtained and used as an original gear calibration value of the knob type electronic shifter 200. The original state is a 0 ° value (zero point), and the zero point may be a steady-state point, that is, the zero point is used as a base point to mark other gears. For example, the angle of zero is 0 °, the angle of R1 may be 30 °, and the angle of L1 may be-30 ° or 270 °.
It CAN be understood that a CAN bus calibration command is sent in a simulation mode, the position needing to be calibrated at present is indicated, an operator rotates a gear shifting knob to a corresponding position according to the calibration position indicated by calibration, the current Hall angle value CAN be read through the notification of a P gear key, the CAN command for reading the Hall angle value at the current position is sent to a gear shifter immediately, therefore, Hall angles of L2, L1, 0, R1 and R2 are read out in sequence to serve as Hall angle calibration values, and finally the CAN command is sent to send the calibration angle values to an EEPROM inside the gear shifter to be stored.
It will be appreciated that in some specific implementations, the monostable knob type electronic shifter calibration method includes the steps of:
initializing variables and an interface;
detecting whether a shifter to be calibrated is accessed, if the shifter to be calibrated is accessed and executed downwards, otherwise, detecting whether the shifter to be calibrated is accessed all the time;
if the shifter to be calibrated is connected, sending an extended mode CAN bus instruction to the current shifter;
executing a secure key process;
judging whether the security key passes or not, and if not, returning to the process of executing the security key;
reading a calibration state;
judging whether the calibration function is opened or not according to the calibration state, if not, executing the operation of opening the calibration function and returning to the operation of reading the calibration state;
calibrating and initializing;
calibrating a zero point;
checking whether the calibration zero point is successful, and if the calibration zero point is unsuccessful, returning to execute the calibration zero point;
the red light blinks at the interface L2 position, prompting the operator to turn the knob to L2;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the position of L2;
checking whether the L2 position calibration is successful, and if not, returning to 13 to execute;
interface L2 position light turns green and bright;
the red light blinks at the interface L1 position, prompting the operator to turn the knob to L1;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the position of L1;
checking whether the L1 position calibration is successful, if not, turning back to execute reading of the Hall angle value of the L1 position;
interface L1 position light turns green and bright;
the red light flickers at the position of the interface 0 to prompt the operator to turn the knob to 0;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value at the position 0;
checking whether the 0 position calibration is successful, and if not, returning to execute reading of the Hall angle value of the 0 position;
the lamp at the position of the interface 0 turns green and is normally bright;
the red light at the interface R1 position blinks, prompts the operator to turn the knob to R1;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the R1 position;
checking whether the R1 position calibration is successful, if not, turning back to execute reading of the Hall angle value of the R1 position;
the interface R1 position lamp turns green and bright;
the red light at the interface R2 position blinks, prompts the operator to turn the knob to R2;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the R2 position;
checking whether the R2 position calibration is successful, if not, turning back to execute reading of the Hall angle value of the R2 position;
the interface R2 position lamp turns green and bright;
saving the calibrated angle values of L2, L1, 0, R1 and R2 to the shifter;
checking whether the storage is successful, if not, returning to execute the storage of the calibration angle values of L2, L1, 0, R1 and R2 into the gear shifter;
closing the calibration function;
checking whether the current gear shifter is disconnected, and if not, checking the current gear shifter all the time;
jump back to re-initialize variables and interfaces.
It is understood that the zero point in the calibration zero point may be a steady-state point, i.e., the zero point is used as a base point to mark other gears. For example, the angle of zero is 0 °, the angle of R1 may be 30 °, and the angle of L1 may be-30 ° or 270 °.
Controlling a display to sequentially send a plurality of display prompts corresponding to each gear to be calibrated one by one; respectively acquiring a determination signal corresponding to each display prompt one by one from the P gear of the knob type electronic gear shifter 200, and acquiring a corresponding rotation angle according to each determination signal; and setting each rotation angle as a calibration angle value of each corresponding gear to obtain a plurality of calibration angle value sets corresponding to the gears to be calibrated, and transmitting the calibration angle value sets corresponding to the gears to be calibrated to the knob type electronic gear shifter 200 for storage through the data exchange connection module. The operator rotates the knob type electronic gear shifter 200 according to the prompt sent by the display, when the operator rotates to a corresponding angle, the operator triggers a determination signal from the P gear of the knob type electronic gear shifter 200, the data processing module receives the determination signal and starts to read the current rotation angle, and the current rotation angle is used as the calibration angle value of the current gear. Through the mode, after multiple gear calibration, all gears to be calibrated of the knob type electronic gear shifter 200 are calibrated, then the data processing module transmits all calibration angle values to the knob type electronic gear shifter 200 for storage, and the knob type electronic gear shifter 200 can be formally used. By adopting the calibration method of the knob type electronic gear shifter, all gears can be completely calibrated without leaving the knob type monostable electronic gear shifter by both hands of an operator, and switching between the knob type monostable electronic gear shifter and a computer is not needed, so that the problem of error caused by knob position deviation caused by knob position maintenance by one hand is avoided, and the calibration reliability and stability of the knob type monostable electronic gear shifter are effectively improved.
The embodiment of the invention also provides a computer-readable storage medium, and computer-executable instructions are stored in the computer-readable storage medium and used for enabling a computer to execute the calibration method of the knob type electronic gear shifter.
It should be noted that the technical solution of the computer-readable storage medium and the technical solution of the above-mentioned knob type electronic gear shifter calibration method belong to the same concept, and details that are not described in detail in the technical solution of the computer-readable storage medium can be referred to the description of the technical solution of the above-mentioned knob type electronic gear shifter calibration method.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and alterations to these embodiments may be made without departing from the principles and spirit of the invention, which is encompassed in the scope of the present application.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.
Claims (10)
1. A calibration method of a knob type electronic gear shifter is characterized by comprising the following steps:
controlling a display to sequentially send out display prompts corresponding to each gear to be calibrated one by one;
respectively acquiring a determining signal corresponding to each display prompt one by one from a P gear of the knob type electronic gear shifter, and acquiring a corresponding rotating angle according to each determining signal;
and setting each rotation angle as a calibration angle value of each corresponding gear to obtain a plurality of calibration angle value sets corresponding to the gears to be calibrated, and transmitting the calibration angle value sets corresponding to the gears to be calibrated to the knob type electronic gear shifter for storage.
2. The method for calibrating a knob-type electronic shifter according to claim 1, wherein the controlling the display sequentially issues display prompts corresponding to each gear to be calibrated one by one, comprising:
before each gear to be calibrated is calibrated, controlling the display to respectively send out a first prompt corresponding to each gear to be calibrated;
and after the calibration value of each gear to be calibrated is obtained, controlling the display to respectively send out a second prompt corresponding to each gear to be calibrated.
3. The method for calibrating a knob-type electronic shifter according to claim 1, wherein the controlling the display sequentially issues display prompts corresponding to each gear to be calibrated one by one, comprising:
the marks of a P gear, a 0 gear, an L1 gear, an L2 gear, an R1 gear and an R2 gear are displayed on a display;
when any gear of the gears 0, L1, L2, R1 and R2 needs to be calibrated, the corresponding mark of the gear is lightened in a first color;
when any one of the gears of the gear 0, the gear L1, the gear L2, the gear R1 and the gear R2 is calibrated, the corresponding mark of the gear is lightened in a second color;
and when a determination signal transmitted from the P gear is received, the corresponding mark of the P gear is lightened, and the mark is extinguished after the preset time.
4. The method for calibrating a knob type electronic shifter according to claim 3, wherein: the first color is red and the second color is green.
5. The method for calibrating a knob type electronic shifter according to claim 1, further comprising: and respectively rotating the range formed by the preset distance clockwise and anticlockwise by taking the rotating angle corresponding to each calibration value as a center to determine the range as the triggering range of the gear corresponding to the calibration value.
6. The method for calibrating a knob type electronic shifter according to claim 1, wherein: and exchanging data with the knob type electronic gear shifter through a CAN bus.
7. The method for calibrating a knob type electronic shifter according to claim 1, further comprising: the method comprises the steps of obtaining a rotation angle of a knob type electronic gear shifter in an initial state, and using the rotation angle in the initial state as an original gear calibration value of the knob type electronic gear shifter.
8. The method for calibrating a knob-type electronic shifter according to claim 1, wherein the control display sequentially issues display prompts corresponding to each gear to be calibrated one by one; respectively acquiring a determining signal corresponding to each display prompt one by one from a P gear of the knob type electronic gear shifter, and acquiring a corresponding rotating angle according to each determining signal; setting each rotation angle as a calibration angle value of each corresponding gear to obtain a plurality of calibration angle value sets corresponding to the gears to be calibrated, and transmitting the calibration angle value sets corresponding to the gears to be calibrated to the knob type electronic gear shifter for storage, wherein the calibration angle value sets comprise:
initializing variables and an interface;
detecting whether a shifter to be calibrated is accessed, if the shifter to be calibrated is accessed and executed downwards, otherwise, detecting whether the shifter to be calibrated is accessed all the time;
if the shifter to be calibrated is connected, sending an extended mode CAN bus instruction to the current shifter;
executing a secure key process;
judging whether the security key passes or not, and if not, returning to the process of executing the security key;
reading a calibration state;
judging whether the calibration function is opened or not according to the calibration state, if not, executing the operation of opening the calibration function and returning to the operation of reading the calibration state;
calibrating and initializing;
calibrating a zero point;
checking whether the calibration zero point is successful, and if the calibration zero point is unsuccessful, returning to execute the calibration zero point;
the red light blinks at the interface L2 position, prompting the operator to turn the knob to L2;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the position of L2;
checking whether the L2 position calibration is successful, and if not, returning to 13 to execute;
interface L2 position light turns green and bright;
the red light blinks at the interface L1 position, prompting the operator to turn the knob to L1;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the position of L1;
checking whether the L1 position calibration is successful, if not, turning back to execute reading of the Hall angle value of the L1 position;
interface L1 position light turns green and bright;
the red light flickers at the position of the interface 0 to prompt the operator to turn the knob to 0;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value at the position 0;
checking whether the 0 position calibration is successful, and if not, returning to execute reading of the Hall angle value of the 0 position;
the lamp at the position of the interface 0 turns green and is normally bright;
the red light at the interface R1 position blinks, prompts the operator to turn the knob to R1;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the R1 position;
checking whether the R1 position calibration is successful, if not, turning back to execute reading of the Hall angle value of the R1 position;
the interface R1 position lamp turns green and bright;
the red light at the interface R2 position blinks, prompts the operator to turn the knob to R2;
checking whether the P key is pressed, and checking the current state if the P key is not pressed;
reading a Hall angle value of the R2 position;
checking whether the R2 position calibration is successful, if not, turning back to execute reading of the Hall angle value of the R2 position;
the interface R2 position lamp turns green and bright;
saving the calibrated angle values of L2, L1, 0, R1 and R2 to the shifter;
checking whether the storage is successful, if not, returning to execute the storage of the calibration angle values of L2, L1, 0, R1 and R2 into the gear shifter;
closing the calibration function;
checking whether the current gear shifter is disconnected, and if not, checking the current gear shifter all the time;
jump back to re-initialize variables and interfaces.
9. An electronic device, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the knob electronic shifter calibration method as defined in any one of claims 1 to 8.
10. A storage medium being a computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of calibrating a knob type electronic shifter according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110239912.4A CN113124142B (en) | 2021-03-04 | 2021-03-04 | Calibration method of knob type electronic gear shifter, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110239912.4A CN113124142B (en) | 2021-03-04 | 2021-03-04 | Calibration method of knob type electronic gear shifter, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113124142A true CN113124142A (en) | 2021-07-16 |
CN113124142B CN113124142B (en) | 2022-06-14 |
Family
ID=76772770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110239912.4A Active CN113124142B (en) | 2021-03-04 | 2021-03-04 | Calibration method of knob type electronic gear shifter, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113124142B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114017496A (en) * | 2021-11-15 | 2022-02-08 | 安徽江淮汽车集团股份有限公司 | Electronic gear shifter calibration method based on Hall sensor |
CN114811032A (en) * | 2022-05-30 | 2022-07-29 | 东风汽车有限公司东风日产乘用车公司 | Gear self-learning method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110025488A1 (en) * | 2009-07-31 | 2011-02-03 | Honda Motor Co., Ltd. | Control knob assembly, system and control method |
US20140129102A1 (en) * | 2012-11-07 | 2014-05-08 | Brian L. Wagoner | Method of addressing and correcting mismatches between e-shift position and actual transmission gear |
CN106763723A (en) * | 2017-01-18 | 2017-05-31 | 广州汽车集团股份有限公司 | Line traffic control selector gear self-learning method, system and line traffic control selector system |
CN207280365U (en) * | 2017-10-20 | 2018-04-27 | 安徽瑞吉安新能源汽车科技有限公司 | A kind of device of shift motor gear calibration |
CN208651604U (en) * | 2018-07-02 | 2019-03-26 | 常州钜众汽车科技有限公司 | A kind of monostable knob selector |
CN110469659A (en) * | 2018-05-11 | 2019-11-19 | 广州汽车集团股份有限公司 | A kind of the gear scaling method and system of electronic gear shifter |
-
2021
- 2021-03-04 CN CN202110239912.4A patent/CN113124142B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110025488A1 (en) * | 2009-07-31 | 2011-02-03 | Honda Motor Co., Ltd. | Control knob assembly, system and control method |
US20140129102A1 (en) * | 2012-11-07 | 2014-05-08 | Brian L. Wagoner | Method of addressing and correcting mismatches between e-shift position and actual transmission gear |
CN106763723A (en) * | 2017-01-18 | 2017-05-31 | 广州汽车集团股份有限公司 | Line traffic control selector gear self-learning method, system and line traffic control selector system |
CN207280365U (en) * | 2017-10-20 | 2018-04-27 | 安徽瑞吉安新能源汽车科技有限公司 | A kind of device of shift motor gear calibration |
CN110469659A (en) * | 2018-05-11 | 2019-11-19 | 广州汽车集团股份有限公司 | A kind of the gear scaling method and system of electronic gear shifter |
CN208651604U (en) * | 2018-07-02 | 2019-03-26 | 常州钜众汽车科技有限公司 | A kind of monostable knob selector |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114017496A (en) * | 2021-11-15 | 2022-02-08 | 安徽江淮汽车集团股份有限公司 | Electronic gear shifter calibration method based on Hall sensor |
CN114811032A (en) * | 2022-05-30 | 2022-07-29 | 东风汽车有限公司东风日产乘用车公司 | Gear self-learning method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113124142B (en) | 2022-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113124142B (en) | Calibration method of knob type electronic gear shifter, electronic equipment and storage medium | |
CN113119722B (en) | Calibration method of knob type electronic gear shifter, electronic equipment and storage medium | |
EP2758944B1 (en) | Systems and methods for rear view mirror displays | |
WO2011066153A2 (en) | Router management via touch-sensitive display | |
RU2570246C2 (en) | Device and method for prevention of inadequate interpretation of tire pressure control system protocol | |
CN214699146U (en) | Calibration device for knob type electronic gear shifter | |
JP2006268176A (en) | Data validity/invalidity deciding method for flash eeprom | |
JP2003343761A (en) | Valve operation support system | |
CN112248726B (en) | Method and device for displaying function menu interface of automobile tire pressure monitoring system | |
JP2001123874A (en) | Program rewrite system or memory rewriting system for electronic control device | |
CN110176068B (en) | Interactive control method, system and storage medium of sewage treatment station management platform | |
CN112963525A (en) | Calibration device and method for knob type electronic gear shifter | |
US20190118826A1 (en) | Vehicle control device and operating method therefor | |
CN115226201B (en) | Digital key calibration method, device, vehicle and storage medium | |
JP6692140B2 (en) | Switchgear operating method, program, recording medium, wearable computer and switchgear operating system | |
JP3995989B2 (en) | Pachinko machine | |
CN208544966U (en) | Elevator control panel and elevator control system | |
CN112796585A (en) | Method and device for automatically setting door opening direction of electronic door lock and electronic door lock | |
CN212300809U (en) | Gear shifter calibration system | |
CN112065977A (en) | Gear shifting position identification method, gear shifting position identification device, gear shifting position identification equipment and storage medium | |
JP6710060B2 (en) | Switchgear control system | |
CN115370740B (en) | Gear shifting fault processing method and system of transfer case and vehicle | |
CN108492450A (en) | Automatic vending device and method | |
JP2002081724A (en) | Remote control device of air conditioner | |
TWI716884B (en) | Mobile device and car bluetooth device self-defined area sensing distance adjustment method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 518118 floor 1-3, plant 1, Verde Industrial Park, Qinglan Third Road, Pingshan new area, Shenzhen, Guangdong Applicant after: Shenzhen huameihe Control System Co.,Ltd. Address before: 518000 1-3 / F, No.1 Factory building, Verde Industrial Park, third Qinglan Road, Pingshan New District, Shenzhen City, Guangdong Province Applicant before: Shenzhen Huameihe Automobile Parts Manufacturing Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |