Method, apparatus and device for processing amt frequency signal, and storage medium

By combining high-frequency signal acquisition through polling and low-frequency signal acquisition through interrupts, along with speed change rate and timer interrupts, the real-time performance and CPU load issues of frequency signal acquisition in AMT transmissions are resolved, resulting in smoother gear shifting.

CN116006673BActive Publication Date: 2026-02-24WEICHAI POWER CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211595469.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-13
Publication Date
2026-02-24
Estimated Expiration
2042-12-13

AI Technical Summary

Technical Problem

Existing AMT transmissions use the same frequency signal acquisition method at both low and high frequencies, resulting in poor real-time performance, increased CPU load, and uneven shifting.

Method used

A combination of polling to acquire high-frequency signals and interrupt to acquire low-frequency signals is adopted. By combining the speed change rate and timer interrupt, low-frequency and high-frequency signals are processed separately to avoid the problems of increased CPU load and untimely updates of low-frequency signals.

Benefits of technology

It improves the real-time performance of frequency signal acquisition and the smoothness of gear shifting, reduces CPU load, and ensures accurate acquisition of frequency signals and smooth gear shifting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116006673B_ABST
    Figure CN116006673B_ABST
Patent Text Reader

Abstract

The application discloses an AMT frequency signal processing method, device and equipment and a storage medium. The method comprises the following steps: acquiring a current AMT frequency signal; when the frequency signal is greater than a preset threshold, the frequency signal is collected in a polling collection mode; when the frequency signal is less than or equal to the preset threshold, the frequency signal is collected in an interrupt collection mode. A preset shift point rotating speed is acquired, and the time required to reach the shift point rotating speed is calculated; a timer is set according to the time required to reach the shift point rotating speed, and the timer is started; whether the timing time of the timer is reached is judged; if the timing time of the timer is reached, a shift operation is automatically performed. By combining the polling collection of the high-frequency signal and the interrupt collection of the low-frequency signal, the real-time performance of the signal can be ensured, and the CPU load caused by the too fast interrupt of the high-frequency signal can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automatic transmission technology, and in particular to a method, apparatus, device, and storage medium for processing AMT frequency signals. Background Technology

[0002] AMT (Automated Manual Transmission) is an automatic transmission that is modified from a manual gear transmission through electromechanical-hydraulic integration. It combines the efficiency and low cost of a traditional transmission with the automatic shifting capabilities of a manual transmission. An AMT automatically shifts gears based on the speeds of the input and output shafts and the vehicle speed. The more accurate the acquisition of these speed signals, the smoother the shifting. The input and output shaft speeds are derived from frequency signals acquired by the controller. However, current frequency signal acquisition methods use the same acquisition method for both low and high frequencies, making it difficult to adapt to frequency changes and leading to technical problems such as poor real-time performance and increased CPU load. Summary of the Invention

[0003] This application provides a method, apparatus, device, and storage medium for processing AMT frequency signals. To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general description, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its sole purpose is to present some concepts in a simple form as a prelude to the detailed description that follows.

[0004] In a first aspect, embodiments of this application provide a method for processing AMT frequency signals, including:

[0005] Obtain the current AMT frequency signal;

[0006] When the frequency signal is greater than the preset threshold, the frequency signal is collected using a polling method.

[0007] When the frequency signal is less than or equal to the preset threshold, the frequency signal is acquired by interrupting the acquisition method.

[0008] In an optional embodiment, frequency signals are acquired using a polling method, including:

[0009] Set the frequency signal reading period;

[0010] The frequency signal is read periodically according to the reading cycle.

[0011] In an optional embodiment, frequency signals are acquired using an interrupt acquisition method, including:

[0012] Read the frequency signal at each rising edge of the frequency signal waveform.

[0013] In an optional embodiment, after acquiring the frequency signal using an interrupt acquisition method, the method further includes:

[0014] Obtain the preset shift point speed;

[0015] Calculate the time required to reach the shift point speed;

[0016] Set a timer based on the time required to reach the shift point speed, and then start the timer.

[0017] In an optional embodiment, after the timer is started, the method further includes:

[0018] Determine if the timer's set time has elapsed;

[0019] If the timer expires, the gear shift will be performed automatically.

[0020] In an optional embodiment, calculating the time required to reach the shift point speed includes:

[0021] Get the frequency signals corresponding to the two adjacent rising edges;

[0022] Calculate the rotational speed corresponding to two adjacent rising edges based on the frequency signals corresponding to two adjacent rising edges.

[0023] Calculate the rate of change of rotational speed between two adjacent rising edges based on the rotational speeds corresponding to the two adjacent rising edges.

[0024] Calculate the time required to reach the shift point speed based on the current speed at the rising edge, the rate of change of speed, and the shift point speed.

[0025] Secondly, embodiments of this application provide an AMT frequency signal processing apparatus, comprising:

[0026] The acquisition module is used to acquire the current AMT frequency signal;

[0027] The first judgment module is used to collect the frequency signal by polling when the frequency signal is greater than a preset threshold.

[0028] The second judgment module is used to acquire the frequency signal by interrupting the acquisition method when the frequency signal is less than or equal to a preset threshold.

[0029] In an optional embodiment, it further includes:

[0030] The shift control module is used to obtain the preset shift point speed;

[0031] Calculate the time required to reach the shift point speed;

[0032] Set a timer based on the time required to reach the shift point speed, and then start the timer;

[0033] Determine if the timer's set time has elapsed;

[0034] If the timer expires, the gear shift will be performed automatically.

[0035] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory storing program instructions, wherein the processor is configured to execute the AMT frequency signal processing method provided in the above embodiments when executing the program instructions.

[0036] Fourthly, embodiments of this application provide a computer-readable medium storing computer-readable instructions, which are executed by a processor to implement an AMT frequency signal processing method provided in the above embodiments.

[0037] The technical solutions provided in this application embodiment may include the following beneficial effects:

[0038] The AMT frequency signal processing method provided in this application adopts a combination of polling to acquire high-frequency signals and interrupting to acquire low-frequency signals. By using two methods to process low-frequency signals and high-frequency signals separately, it can avoid the technical problem of high CPU load caused by interrupting to acquire and read each signal waveform at high frequencies, or the problem of missing frequency signals and low real-time performance caused by polling to acquire and read frequency signals at regular intervals at low frequencies.

[0039] Furthermore, this application employs both speed change rate and timer interrupt to address the problem of uneven gear shifting caused by untimely updates of low-frequency signals.

[0040] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description

[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0042] Figure 1 This is a flowchart illustrating an AMT frequency signal processing method according to an exemplary embodiment;

[0043] Figure 2 This is a schematic flowchart illustrating an AMT frequency signal processing method according to an exemplary embodiment;

[0044] Figure 3This is a schematic diagram of the structure of an AMT frequency signal processing apparatus according to an exemplary embodiment;

[0045] Figure 4 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment;

[0046] Figure 5 This is a schematic diagram illustrating a computer storage medium according to an exemplary embodiment. Detailed Implementation

[0047] The following description and accompanying drawings fully illustrate specific embodiments of the invention to enable those skilled in the art to practice them.

[0048] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0049] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of systems and methods consistent with some aspects of the invention as detailed in the appended claims.

[0050] Currently, frequency signal updates are performed using polling, DMA, and interrupt methods. However, the same acquisition method is used for both low and high frequencies, making it difficult to adapt to frequency changes and leading to issues such as poor real-time performance and increased CPU load. For example, if polling is consistently used for frequency signal acquisition, at low frequencies, the preset reading cycle may cause several frequency signals to be missed, resulting in poor real-time performance. Similarly, if interrupt methods are consistently used for frequency signal acquisition, at high frequencies, acquiring the frequency signal for each individual signal may cause excessive CPU load due to frequent interrupts.

[0051] On the other hand, existing polling acquisition methods, DMA acquisition methods, and interrupt acquisition methods all have the problem that the speed signal acquisition value is relatively slow at low frequencies. At low frequencies, the physical speed signal changes slowly and the speed signal acquisition value is updated slowly, resulting in shift shock.

[0052] Based on this, this application provides an AMT frequency signal processing method that combines polling and edge interrupt acquisition, while also employing speed change rate and timer interrupts to solve the problem of uneven gear shifting caused by untimely low-frequency signal updates. The AMT frequency signal processing method provided in this application will be described in detail below with reference to the accompanying drawings. See also... Figure 1 The method specifically includes the following steps.

[0053] S101 acquires the current AMT frequency signal.

[0054] S102 When the frequency signal is greater than the preset threshold, the frequency signal is collected by polling.

[0055] S103 When the frequency signal is less than or equal to the preset threshold, the frequency signal is acquired by interrupting the acquisition method.

[0056] In one possible implementation, the current frequency signal is read and compared with a preset threshold. When the frequency signal is greater than the preset threshold, the interrupt acquisition method is paused, edge interrupts generated by the frequency signal are disabled, and the frequency signal is acquired using a polling acquisition method. When the frequency signal is less than or equal to the preset threshold, the frequency signal is acquired using an interrupt acquisition method. The preset threshold can be set according to actual conditions, and this embodiment does not impose specific limitations.

[0057] In an exemplary scenario, the preset threshold is 200Hz, which is used as the dividing point of the frequency signal. If the current frequency signal is greater than 200Hz, the frequency signal is collected by polling. If the current frequency signal is less than or equal to 200Hz, the frequency signal is collected by interruption.

[0058] Specifically, when the frequency signal exceeds a preset threshold, the acquisition method is paused and interrupted, and a polling acquisition method is used to acquire the frequency signal. The polling method involves setting a frequency signal reading period and periodically reading the frequency signal according to the reading period. The specific value of the reading period can be set according to the actual situation, for example, the signal reading period can be set to 10ms, 12ms, etc., and this embodiment does not impose specific limitations.

[0059] When the frequency signal is less than or equal to a preset threshold, the frequency signal is acquired using an interrupt acquisition method. The interrupt method reads the frequency signal at each rising edge of the frequency signal waveform, ensuring that the frequency signal of each tooth can be read. In this way, at low frequencies, the frequency value of each rising edge of the frequency signal waveform can be acquired in real time, resulting in high real-time accuracy.

[0060] According to the frequency signal update method provided in this application, low-frequency signals and high-frequency signals are processed separately in two ways. This can avoid the technical problem of high CPU load caused by interrupting the acquisition and reading of each signal waveform at high frequency, or the problem of missing frequency signals caused by polling the acquisition and reading the frequency signal at low frequency, which results in low real-time performance.

[0061] In order to solve the problem of slow updates of low-frequency signals, after acquiring the frequency signal by interrupt acquisition, the following steps are also included: obtaining the preset shift point speed, calculating the time required to reach the shift point speed, setting a timer according to the time required to reach the shift point speed, starting the timer, and determining whether the timer's timing period has expired; if the timer's timing period has expired, the shift operation is performed automatically.

[0062] Specifically, the software obtains the pre-input shift point speed and calculates the time required to reach that speed. First, it acquires the frequency signals F1 and F2 corresponding to the two adjacent rising edges. Based on these signals, the speeds V1 and V2 corresponding to the two adjacent rising edges are calculated using the following formula:

[0063]

[0064] Where N represents the number of teeth.

[0065] Furthermore, based on the rotational speeds corresponding to two adjacent rising edges, the rate of change of rotational speed between the two adjacent rising edges is calculated. In one possible implementation, the rate of change of rotational speed can be calculated using the following formula:

[0066]

[0067] Where R represents the rate of change of rotational speed, and t represents the time interval between two adjacent rising edges.

[0068] Furthermore, based on the current speed at the rising edge, the rate of change of speed, and the shift point speed, the time required to reach the shift point speed is calculated. In one possible implementation, this can be calculated using the following formula:

[0069]

[0070] Where T represents the time to reach the shift point speed, and V 换挡点 V represents the shift point speed. 当前 This indicates the current rotational speed.

[0071] After obtaining the time T for reaching the shift point speed according to the above steps, a timer is set according to time T, and then the timer T is started with the timeout period set to T. When the timeout period expires, a timer interrupt is generated, and then the shift operation is performed, thereby avoiding the problem of not being able to find the shift point due to the untimely update of the low-frequency speed signal.

[0072] To facilitate understanding of the AMT frequency signal processing method provided in the embodiments of this application, the following is in conjunction with the appendix. Figure 2 Please provide an explanation. For example... Figure 2 As shown, the method includes the following steps.

[0073] Read the current frequency signal F and compare it with the preset threshold fa. When the frequency signal F is greater than the preset threshold fa, pause the interrupt acquisition mode, disable the edge interrupt generated by the frequency signal, and acquire the frequency signal using the polling acquisition mode. When the frequency signal F is less than or equal to the preset threshold fa, enable the edge interrupt and acquire the frequency signal using the interrupt acquisition mode.

[0074] Furthermore, the rotational speeds V1 and V2 of the latest two teeth are collected, the rotational speed change rate R is calculated, and the time t required to reach the rotational speed is calculated based on the rotational speed change rate R, the preset shift point speed, and the current tooth speed. A timer is set based on the time required to reach the shift point speed and is started. The timer is then checked to see if the timeout period has elapsed. If the timeout period has elapsed, the gear shift operation is performed automatically.

[0075] The frequency signal update method provided in this application combines polling acquisition and edge interrupt acquisition, and also uses speed change rate and timer interrupt to solve the problem of uneven gear shifting caused by untimely low frequency signal updates.

[0076] This application also provides an AMT frequency signal processing apparatus, which is used to execute the AMT frequency signal processing method of the above embodiments, such as... Figure 3 As shown, the device includes:

[0077] Acquisition module 301 is used to acquire the current AMT frequency signal;

[0078] The first judgment module 302 is used to collect the frequency signal by polling when the frequency signal is greater than a preset threshold.

[0079] The second judgment module 303 is used to acquire the frequency signal by interruption acquisition when the frequency signal is less than or equal to a preset threshold.

[0080] In an optional embodiment, it further includes:

[0081] The shift control module is used to obtain the preset shift point speed;

[0082] Calculate the time required to reach the shift point speed;

[0083] Set a timer based on the time required to reach the shift point speed, and then start the timer;

[0084] Determine if the timer's set time has elapsed;

[0085] If the timer expires, the gear shift will be performed automatically.

[0086] It should be noted that the AMT frequency signal processing device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the AMT frequency signal processing method. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the AMT frequency signal processing device and the AMT frequency signal processing method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.

[0087] This application also provides an electronic device corresponding to the AMT frequency signal processing method provided in the foregoing embodiments, to execute the above-described AMT frequency signal processing method.

[0088] Please refer to Figure 4 This illustrates a schematic diagram of an electronic device provided by some embodiments of this application. For example... Figure 4 As shown, the electronic device includes: a processor 400, a memory 401, a bus 402, and a communication interface 403. The processor 400, the communication interface 403, and the memory 401 are connected via the bus 402. The memory 401 stores a computer program that can run on the processor 400. When the processor 400 runs the computer program, it executes the AMT frequency signal processing method provided in any of the foregoing embodiments of this application.

[0089] The memory 401 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 403 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network.

[0090] Bus 402 can be an ISA bus, PCI bus, or EISA bus, etc. Buses can be divided into address buses, data buses, control buses, etc. Memory 401 is used to store programs. After receiving execution instructions, processor 400 executes the programs. The AMT frequency signal processing method disclosed in any of the aforementioned embodiments of this application can be applied to processor 400, or implemented by processor 400.

[0091] The processor 400 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 400 or by instructions in software form. The processor 400 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 401. The processor 400 reads the information in memory 401 and, in conjunction with its hardware, completes the steps of the above method.

[0092] The electronic device provided in this application embodiment and the AMT frequency signal processing method provided in this application embodiment are based on the same inventive concept and have the same beneficial effects as the methods they adopt, operate or implement.

[0093] This application also provides a computer-readable storage medium corresponding to the AMT frequency signal processing method provided in the foregoing embodiments. Please refer to... Figure 5 The computer-readable storage medium shown is an optical disc 500, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it executes the AMT frequency signal processing method provided in any of the foregoing embodiments.

[0094] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be elaborated here.

[0095] The computer-readable storage medium provided in the above embodiments of this application and the AMT frequency signal processing method provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.

[0096] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0097] The above embodiments merely illustrate several implementation methods of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this patent should be determined by the appended claims.

Claims

1. A method for processing AMT frequency signals, characterized in that, include: Obtain the current AMT frequency signal; When the frequency signal is greater than a preset threshold, the frequency signal is collected using a polling method. When the frequency signal is less than or equal to a preset threshold, the frequency signal is acquired by interrupting the acquisition process. After acquiring the frequency signal using an interrupt acquisition method, the method further includes: obtaining a preset shift point speed; calculating the time required to reach the shift point speed; setting a timer based on the time required to reach the shift point speed and starting the timer; calculating the time required to reach the shift point speed includes: acquiring the frequency signals corresponding to the two current adjacent rising edges; calculating the speeds corresponding to the two adjacent rising edges based on the frequency signals corresponding to the two adjacent rising edges; calculating the speed change rate of the two adjacent rising edges based on the speeds corresponding to the two adjacent rising edges; and calculating the time required to reach the shift point speed based on the speed of the current rising edge, the speed change rate, and the shift point speed.

2. The method according to claim 1, characterized in that, The frequency signal is acquired using a polling method, including: Set the frequency signal reading period; The frequency signal is read periodically according to the reading cycle.

3. The method according to claim 1, characterized in that, The frequency signal is acquired using an interrupt acquisition method, including: The frequency signal is read at each rising edge of the frequency signal waveform.

4. The method according to claim 1, characterized in that, After the timer is started, it also includes: Determine whether the timer's timing period has elapsed; If the timer expires, the gear shift will be performed automatically.

5. A processing device for AMT frequency signals, characterized in that, include: The acquisition module is used to acquire the current AMT frequency signal; The first judgment module is used to collect the frequency signal by polling when the frequency signal is greater than a preset threshold. The second judgment module is used to acquire the frequency signal by interrupting acquisition when the frequency signal is less than or equal to a preset threshold. It also includes: a shift control module, used to acquire a preset shift point speed; calculate the time required to reach the shift point speed; set a timer based on the time required to reach the shift point speed, and start the timer; the calculation of the time required to reach the shift point speed includes: acquiring the frequency signals corresponding to the two adjacent rising edges; calculating the speeds corresponding to the two adjacent rising edges based on the frequency signals corresponding to the two adjacent rising edges; calculating the speed change rate of the two adjacent rising edges based on the speeds corresponding to the two adjacent rising edges; and calculating the time required to reach the shift point speed based on the speed of the current rising edge, the speed change rate, and the shift point speed.

6. The apparatus according to claim 5, characterized in that, Also includes: The shift control module is used to determine whether the timer's timing period has expired; If the timer expires, the gear shift will be performed automatically.

7. An electronic device, characterized in that, It includes a processor and a memory storing program instructions, the processor being configured to perform the AMT frequency signal processing method as described in any one of claims 1 to 4 when executing the program instructions.

8. A computer-readable medium, characterized in that, It stores computer-readable instructions that are executed by a processor to implement a method for processing an AMT frequency signal as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Automatic control clutch for automobile

    CN102401041A

  • Data receiving method and data transmission equipment

    CN109936502A