Regulation circuit and method for rotational speed pulse signals

The speed pulse signal adjustment circuit, composed of an operational amplifier module, a processing module, an adjustment module, a magnetic induction component, and a subtraction module, solves the problem of inaccurate gear speed caused by inaccurate and uneven back magnetic field, and achieves more accurate gear pulse signal generation.

CN115951087BActive Publication Date: 2026-04-14SEMIMENT TECH (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-02
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, the actual measured value of the back magnetic field deviates from and is uneven compared to the rated value, resulting in inaccurate gear speed detection by the gear sensor.

Method used

The speed pulse signal adjustment circuit, composed of an operational amplifier module, a processing module, an adjustment module, a magnetic induction component, and a subtraction module, generates an accurate gear speed pulse signal by amplifying, digitizing, analyzing, and adjusting the magnetic field signal.

Benefits of technology

It effectively reduces the influence of inaccurate and non-uniform back magnetic field on gear pulse signal, making the adjusted gear pulse signal more accurate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115951087B_ABST
    Figure CN115951087B_ABST
Patent Text Reader

Abstract

The application provides a rotating speed pulse signal adjusting circuit and method, and belongs to the technical field of electronic circuits, and comprises the following steps: an operational amplifier module amplifies the magnetic field signals of multiple channels between the back magnet of a gear sensor and a gear to generate amplified signals; a processing module determines the capture value and gain value of each channel according to the amplified signals, generates a first adjusting signal and a second adjusting signal, and generates the rotating speed pulse signal of the gear according to the first adjusting signal and the amplified signals of the multiple channels; and an adjusting module is used for adjusting the gain value, magnetic field signal and offset value of any channel in the operational amplifier module according to the second adjusting signal. The rotating speed pulse signal adjusting circuit and method can effectively reduce the influence of inaccurate and uneven back magnet magnetic fields and other factors on the gear pulse signal by processing, adjusting and feeding back the signals, so that the adjusted gear pulse signal is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic circuit technology, and in particular to a circuit and method for adjusting rotational speed pulse signals. Background Technology

[0002] Common Hall effect speed sensors switch between high and low voltage levels by sensing changes in the magnetic field generated by the magnetic field lines of a back magnet when a metal object moves. They are mainly used to measure the rotation of gears or the movement of ferromagnetic metal objects.

[0003] To generate a magnetic field, gear sensors used to detect gear speeds require a magnet on the back of the chip, known as a back magnet. The back magnet has a strong magnetic field, so the signal generated by the back magnet needs to be subtracted from the signal detected by the gear sensor to obtain the correct value.

[0004] However, in practical applications, the actual measured value of the back magnetic field will deviate from the rated value, and the back magnetic field is not a uniform magnetic field, which leads to the gear speed detected by the gear sensor being inaccurate. Summary of the Invention

[0005] The speed pulse signal adjustment circuit and method provided by this invention are used to solve the defects in the prior art where the actual measured value of the back magnetic field deviates from the rated value and the back magnetic field is not a uniform magnetic field, which leads to inaccurate gear speed detected by the gear sensor. The invention aims to reduce the influence of factors such as inaccuracy and non-uniformity of the back magnetic field on the gear pulse signal, making the adjusted gear pulse signal more accurate.

[0006] This invention provides a speed pulse signal adjustment circuit, applied to a gear sensor, comprising:

[0007] Operational amplifier module 110 is used to amplify the magnetic field signals of multiple channels between the back magnet of the gear sensor and the gear to generate an amplified signal.

[0008] The processing module 120 is connected to the operational amplifier module 110. The processing module 120 determines the capture value and gain value of each channel according to the amplified signal, and generates a first adjustment signal and a second adjustment signal. It also generates a gear rotation speed pulse signal according to the first adjustment signal and the amplified signals of the multiple channels.

[0009] The adjustment module 130 is connected to the processing module 120 and the operational amplifier module 110, and is used to adjust the gain value, the magnetic field signal and the offset value of any channel in the operational amplifier module 110 according to the second adjustment signal.

[0010] According to the present invention, a speed pulse signal adjustment circuit is provided, the adjustment circuit further includes:

[0011] The magnetic induction component 140 includes at least three magnetic induction elements arranged sequentially at intervals, each of which is used to acquire the initial magnetic field signal between the back magnet of the gear sensor and the gear.

[0012] The subtraction module 150 is connected between the magnetic induction component 140 and the operational amplifier module 110. It is used to subtract the initial magnetic field signals collected by two adjacent magnetic induction components to generate a magnetic field signal for any of the channels and transmit it to the operational amplifier module 110.

[0013] According to the present invention, a speed pulse signal adjustment circuit is provided, wherein the operational amplifier module 110 includes at least two operational amplifiers; and the processing module 120 includes at least two analog-to-digital converters and a digital processor.

[0014] The output of each operational amplifier is connected to the input of each analog-to-digital converter, the output of each analog-to-digital converter is connected to the input of the digital processor, and the output of the digital processor is connected to the input of the adjustment module 130.

[0015] The analog-to-digital converter is used to digitize the amplified signal of any of the channels, generate a digital signal for any of the channels, and transmit it to the digital processor.

[0016] The digital processor is configured to determine the capture value and the gain value of each channel based on the digital signal of each channel, and generate the first adjustment signal and the second adjustment signal, and then adjust the offset value of the digital signal of each channel through the first adjustment signal to generate the gear rotation speed pulse signal.

[0017] The present invention also provides a method for adjusting a speed pulse signal, applied to a speed pulse signal adjustment circuit as described above, comprising:

[0018] The magnetic field signals from multiple channels between the back magnet of the received gear sensor and the gear are amplified to generate an amplified signal.

[0019] Based on the amplified signal, determine the capture value and gain value for each channel;

[0020] By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal;

[0021] Based on the first adjustment signal and the amplified signals of the plurality of channels, a gear rotation speed pulse signal is generated;

[0022] The gain value, the magnetic field signal, and the offset value of any channel are adjusted according to the second adjustment signal.

[0023] According to a method for adjusting a rotational speed pulse signal provided by the present invention, when the gear is in the start-up stage, the first adjustment signal includes a first start-up adjustment signal, the second adjustment signal includes a second start-up adjustment signal, and the capture threshold is a first capture threshold.

[0024] By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal, including:

[0025] When the capture value of any channel is not less than the first capture threshold of any channel, and the gain value of any channel is not at its minimum, the first power-on adjustment signal and the second power-on adjustment signal are generated.

[0026] The second power-on adjustment signal is used to instruct the adjustment module 130 to adjust the gain value and the offset value of the magnetic field signal of any of the channels.

[0027] According to the method for adjusting a rotational speed pulse signal provided by the present invention, after generating the second start-up adjustment signal, the method further includes:

[0028] The second power-on adjustment signal is sent to the adjustment module 130;

[0029] Receive a new capture value for any of the channels until the new capture value is less than the first capture threshold, in order to determine the offset value of the digital signal for any of the channels;

[0030] Based on the offset value, determine the first target capture value for any of the channels.

[0031] According to a method for adjusting a rotational speed pulse signal provided by the present invention, when the gear is in the calibration stage, the first adjustment signal includes a first calibration adjustment signal, the second adjustment signal includes a second calibration adjustment signal and a third calibration adjustment signal, the capture threshold is a second capture threshold, the channel includes a first channel and a second channel, the capture value includes a first capture value of the first channel and a second capture value of the second channel; the gain value includes a first gain value of the first channel and a second gain value of the second channel.

[0032] By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal, including:

[0033] If it is determined that the first capture value has reached its peak value and the second capture value has reached its peak value, then the first gain value and the second gain value are determined.

[0034] If the difference between the first gain value and the second gain value is greater than 1, the flag bit of the operational amplifier module 110 is adjusted, and the first calibration adjustment signal and the second calibration adjustment signal are generated; the second calibration adjustment signal is used to instruct the adjustment module 130 to adjust the gain value of the target operational amplifier, which is determined based on the first gain value and the second gain value;

[0035] If it is determined that either the first capture value or the second capture value has not reached its peak value, and the value is not less than the second capture threshold, the third calibration adjustment signal is generated; the third calibration adjustment signal is used to instruct the adjustment module 130 to adjust the gain value of the operational amplifier corresponding to the value.

[0036] According to a method for adjusting a rotational speed pulse signal provided by the present invention, when it is determined that either the first captured value or the second captured value has not reached its peak value, the first adjustment signal includes a fourth calibration adjustment signal;

[0037] The step of analyzing the capture value and gain value of each channel by setting a capture threshold to generate a first adjustment signal further includes:

[0038] If both the first capture value and the second capture value are less than the second capture threshold, a fourth calibration adjustment signal is generated based on the range of either value. The fourth calibration adjustment signal is used to adjust the offset value of the digital signal of the channel corresponding to either value.

[0039] According to a method for adjusting a rotational speed pulse signal provided by the present invention, when the gear is in the running stage, the first adjustment signal includes a first running adjustment signal, the second adjustment signal includes a second running adjustment signal, and the capture threshold is a third capture threshold;

[0040] By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal, including:

[0041] The capture value of any channel is compared with the third capture threshold to determine the target number of times for any channel. The target number is used to indicate the number of times the capture value of any channel is not less than the third capture threshold.

[0042] If the capture value of any channel is not less than the third capture threshold and the target number is greater than the preset number, the first operation adjustment signal and the second operation adjustment signal are generated.

[0043] The second operation adjustment signal is used to instruct the adjustment module 130 to adjust the gain value of any one of the channels.

[0044] According to a method for adjusting a rotational speed pulse signal provided by the present invention, after generating the first operating adjustment signal and the second operating adjustment signal, the method further includes:

[0045] The second operation adjustment signal is sent to the adjustment module 130;

[0046] Receive a new capture value for any of the channels until the new capture value is less than the third capture threshold, and determine the offset value for any of the channels;

[0047] Based on the offset value, determine the second target capture value for any of the channels.

[0048] The present invention also provides a gear sensor for placement between a back magnet and a gear, comprising a speed pulse signal adjustment circuit as described in any of the above.

[0049] The present invention also provides a digital processor, comprising:

[0050] The determination module is used to determine the capture value of the at least two channels based on the digital signal of the gear rotation speed sent by the at least two channels of analog-to-digital converters, and to determine the gain value of the operational amplifier of the at least two channels in the operational amplifier module 110.

[0051] The first generation module is used to analyze the capture values ​​and gain values ​​of the at least two channels based on a capture threshold to generate a first adjustment signal and a second adjustment signal; the second adjustment signal is used to instruct the adjustment module 130 to adjust the gain value, magnetic field signal, and offset value of the operational amplifier of the at least two channels.

[0052] The second generation module is used to adjust the offset value of the digital signal using the first adjustment signal to generate the rotational speed pulse signal of the gear.

[0053] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the speed pulse signal adjustment method as described above.

[0054] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for adjusting the rotational speed pulse signal as described above.

[0055] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the method for adjusting the rotational speed pulse signal as described above.

[0056] The speed pulse signal adjustment circuit and method provided by the present invention can effectively reduce the influence of factors such as inaccurate and uneven back magnetic field on gear pulse signal by processing the obtained signal and then adjusting and feeding back the signal according to the processing result, so as to make the adjusted gear pulse signal more accurate. Attached Figure Description

[0057] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0058] Figure 1 This is a circuit block diagram of a speed pulse signal adjustment circuit provided by the present invention;

[0059] Figure 2 This is a schematic diagram of the installation position of the gear sensor provided by the present invention;

[0060] Figure 3 This is another circuit block diagram of the speed pulse signal adjustment circuit provided by the present invention;

[0061] Figure 4 yes Figure 3 The circuit diagram shown is an embodiment of the speed pulse signal adjustment circuit provided by the present invention.

[0062] Figure 5 This is one of the flowcharts illustrating the method for adjusting the rotational speed pulse signal provided by the present invention;

[0063] Figure 6 This is a second schematic flowchart of the method for adjusting the rotational speed pulse signal provided by the present invention;

[0064] Figure 7 This is the third flowchart illustrating the method for adjusting the rotational speed pulse signal provided by the present invention;

[0065] Figure 8 This is the fourth flowchart illustrating the method for adjusting the rotational speed pulse signal provided by the present invention;

[0066] Figure 9 This is a schematic diagram of the structure of the digital processor provided by the present invention;

[0067] Figure 10 This is a schematic diagram of the structure of the electronic device provided by the present invention.

[0068] The attached figures are labeled as follows:

[0069] 100: Gear sensor; 110: Operational amplifier module; 120: Processing module; 130: Adjustment module; 140: Magnetic induction component; 150: Subtraction module; 200: Gear; 210: Tooth peak; 220: Tooth valley; 300: Back magnet. Detailed Implementation

[0070] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0071] Hall effect sensors can sense magnetic fields, position, or current without contact, making them widely used as magnetometers, position sensors, and current sensors in consumer electronics and automotive fields such as electric vehicles, autonomous driving, smart meters, and power inverters. They are components of safety systems, electric power steering (EPS) systems, and vehicle electronic systems. Against this backdrop, improving the performance of Hall effect sensors and designing high-precision, high-stability, and high-reliability Hall effect sensors is extremely crucial.

[0072] In the description of this application, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0073] The following is combined Figures 1 to 10 This invention describes the circuit and method for adjusting the rotational speed pulse signal provided by embodiments of the present invention.

[0074] Figure 1 This is a circuit block diagram of a speed pulse signal adjustment circuit provided by the present invention, applied to a gear sensor, such as... Figure 1 As shown, it includes:

[0075] Operational amplifier module 110 is used to amplify the magnetic field signals of multiple channels between the back magnet of the gear sensor and the gear to generate an amplified signal.

[0076] The processing module 120 is connected to the operational amplifier module 110. The processing module 120 determines the capture value and gain value of each channel according to the amplified signal, and generates a first adjustment signal and a second adjustment signal. It also generates a gear rotation speed pulse signal according to the first adjustment signal and the amplified signals of the multiple channels.

[0077] The adjustment module 130 is connected to the processing module 120 and the operational amplifier module 110, and is used to adjust the gain value, the magnetic field signal and the offset value of any channel in the operational amplifier module 110 according to the second adjustment signal.

[0078] The operational amplifier module 110 may include at least two operational amplifiers. Each operational amplifier is used to amplify and adjust the bias of the magnetic field signal of one channel to obtain an amplified signal corresponding to the magnetic field signal, and then outputs the amplified signal to the processing module 120.

[0079] For example, the operational amplifier module 110 receives magnetic field signals from the first channel and the second channel. Correspondingly, the operational amplifier module 110 includes at least an operational amplifier AMP1 for the first channel and an operational amplifier AMP2 for the second channel. AMP1 amplifies and adjusts the magnetic field signal of the first channel, and AMP2 amplifies and adjusts the magnetic field signal of the second channel.

[0080] After receiving an amplified signal from a channel, the processing module 120 obtains the gain value of the operational amplifier in that channel and the capture value of the amplified signal based on the amplified signal, and generates a first adjustment signal and a second adjustment signal for the amplified signal.

[0081] The first adjustment signal is the general term for the signals by which the processing module 120 finely adjusts the amplified signal, and the second adjustment signal is the general term for the signals by which the processing module 120 adjusts the operational amplifier module 110 through the adjustment module 130.

[0082] The first adjustment signal is used to indicate fine adjustment of the amplified signal, thereby generating a more accurate pulse adjustment signal.

[0083] The second adjustment signal is used to instruct the adjustment module 130 to make a coarse adjustment to the gain value of the operational amplifier in the operational amplifier module 110, so that the amplified signal can be captured by the processing module 120.

[0084] Optionally, the operational amplifier module 110 includes at least two operational amplifiers; the processing module 120 includes at least two analog-to-digital converters and a digital processor.

[0085] The output of each operational amplifier is connected to the input of each analog-to-digital converter, the output of each analog-to-digital converter is connected to the input of the digital processor, and the output of the digital processor is connected to the input of the adjustment module 130.

[0086] The analog-to-digital converter is used to digitize the amplified signal of any of the channels, generate a digital signal for any of the channels, and transmit it to the digital processor.

[0087] The digital processor is configured to determine the capture value and the gain value of each channel based on the digital signal of each channel, and generate the first adjustment signal and the second adjustment signal, and then adjust the offset value of the digital signal of each channel through the first adjustment signal to generate the gear rotation speed pulse signal.

[0088] Since the amplified signal is an analog signal, an analog-to-digital converter (ADC) is needed to sample the amplified signal of a certain channel according to the internal clock signal. All the captured voltage values ​​are used as the captured values, and then the digital signal of the channel can be obtained based on the captured values.

[0089] For example, an analog-to-digital converter (ADC) is used to digitize an amplified signal from a single channel, generate a digital signal from a single channel, and send the digital signal from the single channel to the digital processor (DP).

[0090] After receiving the digital signals from each channel, the digital processor DP analyzes the digital signals of each channel to generate a first adjustment signal and a second adjustment signal, and uses the first adjustment signal to adjust the digital signals to obtain the gear speed pulse signal.

[0091] For example, DP's signal regulation is divided into three stages: power-on stage, calibration stage, and operation stage.

[0092] During the power-on phase, DP sets the gain value G of the operational amplifier module 110 and the capture threshold K1 of the analog-to-digital converter (ADC), and adjusts the offset value of the digital signal and the gain value of the operational amplifier to make the capture value of the ADC less than the set capture threshold K1.

[0093] During the calibration phase, calibration begins. DP sets the capture threshold K2 of the analog-to-digital converter (ADC) and adjusts the offset value of the digital signal and the final gain value during the power-on phase by comparing the capture value U of the ADC with the capture threshold K2. Then, the offset value is adjusted according to the range value to achieve the calibration purpose.

[0094] During operation, DP adjusts the gain value based on the final gain value from the calibration phase and adjusts the offset value of the digital signal to adjust for any offset that may occur when the gear is operating normally.

[0095] Figure 2 This is a schematic diagram of the installation position of the gear sensor provided by the present invention, as shown below. Figure 2 As shown, the gear sensor 100 is an IC, which is a Hall effect rotational speed sensor. It is located between the gear 200 and the back magnet 300. The gear sensor 100 has magnetic induction elements H1, H2 and H3 parallel to the back magnet 300. The gear 200 on the upper side of the gear sensor 100 has tooth peaks 210 and tooth valleys 220.

[0096] The back magnet 300 can be a permanent magnet.

[0097] The speed pulse signal adjustment circuit and method provided by the present invention can effectively reduce the influence of factors such as inaccurate and uneven back magnetic field on gear pulse signal by processing the obtained signal and then adjusting and feeding back the signal according to the processing result, so as to make the adjusted gear pulse signal more accurate.

[0098] Optionally, the adjustment circuit further includes:

[0099] The magnetic induction component 140 includes at least three magnetic induction elements arranged sequentially at intervals, each of which is used to acquire the initial magnetic field signal between the back magnet of the gear sensor and the gear.

[0100] The subtraction module 150 is connected between the magnetic induction component 140 and the operational amplifier module 110. It is used to subtract the initial magnetic field signals collected by two adjacent magnetic induction components to generate a magnetic field signal for any of the channels and transmit it to the operational amplifier module 110.

[0101] In the magnetic induction assembly 140, the magnetic induction elements are evenly distributed between the back magnet and the gear, which can make the deviation of the acquired initial magnetic field signal smaller.

[0102] The subtraction module 150 includes at least two subtractors. Each subtractor is used to calculate the difference between the initial magnetic field signals acquired by two adjacent magnetic induction elements in a single channel, generate the magnetic field signal of that channel, and transmit the magnetic field signal to the operational amplifier of that channel in the operational amplifier module 110.

[0103] Figure 3 This is another circuit block diagram of the speed pulse signal adjustment circuit provided by the present invention, such as... Figure 3As shown, the regulating circuit includes the following structure:

[0104] The magnetic induction component 140, subtraction module 150, operational amplifier module 110 and processing module 120 are connected in sequence, and the adjustment module 130 is connected to the operational amplifier module 110 and processing module 120 respectively.

[0105] Figure 4 yes Figure 3 The circuit diagram shown is an embodiment of the speed pulse signal adjustment circuit provided by the present invention. Figure 4 As shown, the regulating circuit includes the following structure:

[0106] The magnetic induction component 140 includes three magnetic induction elements H1, H2 and H3, which are used to acquire the initial magnetic field signal;

[0107] The subtraction module 150 includes two subtractors, MINUS1 and MINUS2, which are used to eliminate the common-mode interference of the back magnetic field in the initial magnetic field signal to obtain the magnetic field signal. Ideally, the back magnetic field strength of each magnetic induction element is the same, that is, the back magnetic field is uniform, and the subtractor will completely eliminate the influence of the back magnetic field. However, in reality, since the back magnetic field strength is not uniform, its influence cannot be completely eliminated.

[0108] The operational amplifier module 110 includes two operational amplifiers, AMP1 and AMP2. Since the induced value collected by the magnetic induction element is very small, it is necessary to amplify the magnetic field signal through the operational amplifier to obtain an amplified signal, which is convenient for acquisition and subsequent data processing.

[0109] The processing module 120 includes two analog-to-digital converters ADC1 and ADC2, and a digital processor DP. Since the algorithms for analog signals are complex and difficult to implement, the analog signal such as the amplified signal is converted into a digital signal by the analog-to-digital converter ADC, which facilitates the rapid calculation of the digital signal in the DP to generate the first adjustment signal and the second adjustment signal. This can quickly eliminate the bias voltage caused by the uneven back magnetization during the initialization stage.

[0110] The adjustment module 130 includes two offset / gain regulators, ADJ1 and ADJ2. Since the failure to eliminate back magnetism will cause signal offset, the offset / gain regulators are used to adjust the offset value Y of the magnetic field signal of the amplifier in the operational amplifiers AMP1 and AMP2 and the gain value G of the operational amplifier according to the second adjustment signal, so as to move the offset signal back to the correct position.

[0111] The connection relationships of the above structures are as follows:

[0112] Magnetic induction element H1 and magnetic induction element H2 are respectively connected to the two input terminals of subtractor MINUS1. The initial magnetic field signals collected by H1 and H2 are calculated by difference in MINUS1 to obtain the magnetic field signal of the first channel. Magnetic induction element H2 and magnetic induction element H3 are respectively connected to the two input terminals of subtractor MINUS2. The initial magnetic field signals collected by H2 and H3 are calculated by difference in MINUS2 to obtain the magnetic field signal of the second channel.

[0113] The output of subtractor MINUS1 is connected to the input of operational amplifier AMP1. AMP1 amplifies and adjusts the magnetic field signal of the first channel to obtain the amplified signal of the first channel. The output of subtractor MINUS2 is connected to the input of operational amplifier AMP2. AMP2 amplifies and adjusts the magnetic field signal of the second channel to obtain the amplified signal of the second channel.

[0114] The adjustment terminal of operational amplifier AMP1 is connected to the output terminal of offset / gain regulator ADJ1, and its output terminal is connected to the input terminal of analog-to-digital converter ADC1. ADC1 performs analog-to-digital conversion on the amplified signal of the first channel to obtain the digital signal of the first channel. The adjustment terminal of operational amplifier AMP2 is connected to the output terminal of offset / gain regulator ADJ2, and its output terminal is connected to the input terminal of analog-to-digital converter ADC2. ADC2 performs analog-to-digital conversion on the amplified signal of the second channel to obtain the digital signal of the second channel.

[0115] The output of analog-to-digital converter ADC1 is connected to one input of digital processor DP; the output of analog-to-digital converter ADC2 is connected to the other input of digital processor DP. DP analyzes and processes the digital signals of the first and second channels respectively to generate a first adjustment signal and a second adjustment signal for the first channel, as well as a first adjustment signal and a second adjustment signal for the second channel. DP adjusts the digital signal of the first channel according to the first adjustment signal of the first channel to obtain the gear speed pulse signal of the first channel; DP also adjusts the digital signal of the second channel according to the first adjustment signal of the second channel to obtain the gear speed pulse signal of the second channel. Generally, the speed pulse signal of the first channel and the speed pulse signal of the second channel are the same.

[0116] The input of the offset / gain regulator ADJ1 is connected to one output of the digital processor DP. ADJ1 adjusts the gain, magnetic field signal and offset value in AMP1 according to the second adjustment signal of the first channel. The input of the offset / gain regulator ADJ2 is connected to the other output of the digital processor DP. ADJ2 adjusts the gain, magnetic field signal and offset value in AMP2 according to the second adjustment signal of the second channel.

[0117] like Figure 4As shown, magnetic induction elements H1 and H2 send the initial magnetic field signal they collect to subtractor MINUS1. Subtractor MINUS1 performs difference calculation on the initial magnetic field signals collected by H1 and H2 to obtain the magnetic field signal of the first channel, and sends the magnetic field signal to the operational amplifier AMP1 of the first channel in the operational amplifier module 110.

[0118] According to the speed pulse signal adjustment circuit provided by the invention, the original signal is collected by subtraction operation through subtraction, which can effectively remove the common-mode interference caused by the back magnetic field in the magnetic field signal.

[0119] The method for adjusting the rotational speed pulse signal provided by the present invention will be described below. The method for adjusting the rotational speed pulse signal described below can be referred to in correspondence with the circuit for adjusting the rotational speed pulse signal described above.

[0120] Figure 5 This is one of the flowcharts illustrating the method for adjusting the rotational speed pulse signal provided by the present invention, such as... Figure 5 As shown, the adjustment circuit for the speed pulse signal applied in the above embodiments includes, but is not limited to, the following steps:

[0121] First, in step S1, the magnetic field signals of the back magnet of the received gear sensor and the multiple channels between the gear are amplified to generate an amplified signal.

[0122] The operational amplifier module 110 may include at least two operational amplifiers. Each operational amplifier is used to amplify and adjust the bias of the magnetic field signal of one channel to obtain an amplified signal corresponding to the magnetic field signal, and then outputs the amplified signal to the processing module 120.

[0123] Further, in step S2, the capture value and gain value of each channel are determined based on the amplified signal.

[0124] Based on the digital signals of gear rotation speed sent by at least two analog-to-digital converters, the capture values ​​of the at least two channels are determined, and the gain values ​​of the operational amplifiers of the at least two channels in the operational amplifier module are determined.

[0125] For example, when DP receives the digital signal of gear speed sent by the analog-to-digital converter ADC1 of the first channel, it can determine the capture value U of the first channel at any time based on the digital signal, and determine the gain value G1 of the operational amplifier AMP1.

[0126] Based on the gear start-up sequence, the speed pulse signal adjustment method is applied to the start-up stage, calibration stage, and operation stage, respectively.

[0127] The gain adjustment of the operational amplifier during the calibration phase is based on the gain adjustment of the operational amplifier during the power-on phase, and the gain adjustment of the operational amplifier during the operation phase is based on the gain adjustment of the operational amplifier during the calibration phase.

[0128] Further, in step S3, by setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal.

[0129] It is understandable that in order to make the gear speed pulse signal gradually more accurate, it is necessary to adjust from coarse to fine during the signal adjustment process. Therefore, the first capture threshold K1 in the start-up stage, the second capture threshold K2 in the calibration stage, and the third capture threshold K3 in the operation stage must satisfy K1 < K2 < K3.

[0130] Optionally, when the gear is in the power-on phase, the first adjustment signal includes a first power-on adjustment signal, the second adjustment signal includes a second power-on adjustment signal, and the capture threshold is a first capture threshold;

[0131] By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal, including:

[0132] When the capture value of any channel is not less than the first capture threshold of any channel, and the gain value of any channel is not at its minimum, the first power-on adjustment signal and the second power-on adjustment signal are generated.

[0133] The second power-on adjustment signal is used to instruct the adjustment module 130 to adjust the gain value and the offset value of the magnetic field signal of any of the channels.

[0134] Figure 6 This is a second schematic flowchart of the speed pulse signal adjustment method provided by the present invention, as shown below. Figure 6 As shown, it includes:

[0135] When the capture value U of the analog-to-digital converter in any channel is not less than the first capture threshold K1, and the gain value G of that channel is not the minimum gain value Gmin, DP generates a first power-on adjustment signal and a second power-on adjustment signal, and sends the second power-on adjustment signal to the adjustment module 130 to instruct the adjustment module 130 to adjust the gain value G of the operational amplifier and the offset value of the magnetic field signal in that channel.

[0136] Optionally, after generating the second power-on adjustment signal, the method further includes:

[0137] The second power-on adjustment signal is sent to the adjustment module 130;

[0138] Receive a new capture value for any of the channels until the new capture value is less than the first capture threshold, in order to determine the offset value of the digital signal for any of the channels;

[0139] Based on the offset value, determine the first target capture value for any of the channels.

[0140] The second power-on adjustment signal is sent to the offset / gain regulators ADJ1 and ADJ2;

[0141] Receive a new capture value U from any channel until the new capture value U is less than the first capture threshold K1, and determine the offset value Y = (Umax + Umin) / 2 of the offset / gain regulator in that channel;

[0142] Set the offset value Y to the first target capture value of the analog-to-digital converter for either channel.

[0143] Specifically, first, the circuit is reset. After the reset, the gain value of the first channel operational amplifier AMP1 is set to G1, the gain value of operational amplifier AMP2 is set to G2, and the first capture threshold K1 of analog-to-digital converters ACD1 and ADC2 is set.

[0144] Then, the analog-to-digital converters ADC1 and ADC2 are turned on to acquire the current channel's capture values ​​U1 and U2, and the capture values ​​U1 and U2 are sent to the digital processor DP for digital processing.

[0145] In the digital processor DP, the captured values ​​U1 and U2 are first compared with the set first capture threshold K1. If U1≥K1 and the gain value G1 of AMP1 is not the minimum gain value Gmin, the offset / gain regulator ADJ1 adjusts the gain value of AMP1 according to the second power-on adjustment signal until U1<K1.

[0146] Similarly, if U2≥K2 and the gain value G2 of AMP2 is not the minimum gain value Gmin, the offset / gain regulator ADJ2 adjusts the gain value of AMP2 according to the second power-on adjustment signal until U2<K2.

[0147] Finally, the offset values ​​Y1 and Y2 of the offset / gain regulators ADJ1 and ADJ2 are set as the capture values ​​of ADC1 and ADC2, respectively, and the power-on phase ends.

[0148] According to the method for adjusting the rotational speed pulse signal provided by the present invention, the magnetic field signal is corrected by setting and adjusting the operational amplifier module, thereby eliminating the magnetic field signal offset and obtaining the correct gear speed.

[0149] Optionally, when the gear is in the calibration stage, the first adjustment signal includes a first calibration adjustment signal, the second adjustment signal includes a second calibration adjustment signal and a third calibration adjustment signal, the capture threshold is a second capture threshold, the channel includes a first channel and a second channel, the capture value includes a first capture value of the first channel and a second capture value of the second channel; the gain value includes a first gain value of the first channel and a second gain value of the second channel.

[0150] By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal, including:

[0151] If it is determined that the first capture value has reached its peak value and the second capture value has reached its peak value, then the first gain value and the second gain value are determined.

[0152] If the difference between the first gain value and the second gain value is greater than 1, the flag bit of the operational amplifier module 110 is adjusted, and the first calibration adjustment signal and the second calibration adjustment signal are generated; the second calibration adjustment signal is used to instruct the adjustment module 130 to adjust the gain value of the target operational amplifier, which is determined based on the first gain value and the second gain value;

[0153] If it is determined that either the first capture value or the second capture value has not reached its peak value, and the value is not less than the second capture threshold, the third calibration adjustment signal is generated; the third calibration adjustment signal is used to instruct the adjustment module 130 to adjust the gain value of the operational amplifier corresponding to the value.

[0154] The target operational amplifier is an operational amplifier with a higher gain value. For example, if G1 > G2, then AMP1 is the target operational amplifier.

[0155] Compare the newly captured value with the previously captured value. If the previously captured values ​​were all gradually increasing, but the newly captured value is smaller than the previous value, then the previous value is the maximum value, which is recorded as the peak value. The same applies to the minimum value.

[0156] Figure 7 This is the third flowchart illustrating the method for adjusting the rotational speed pulse signal provided by the present invention, as shown below. Figure 7 As shown, it includes:

[0157] For example, when DP determines that the first capture value U1 reaches its peak value U 1峰 And the second capture value U2 reaches its peak value U 2峰 In this case, determine the first gain value G1 of AMP1 and the second gain value G2 of AMP2 at this time;

[0158] When DP determines that |G1-G2|>1, the flag bit AMP_DIFF_FLAG of the operational amplifier module 110 is adjusted to 1, and a second calibration adjustment signal is generated to instruct the adjustment module 130 to adjust the gain value of the target operational amplifier with a higher gain value.

[0159] If either the first capture value U1 or the second capture value U2 is not at its peak value and the capture value is not less than the second capture threshold K2, a third calibration adjustment signal is generated to instruct the adjustment module 130 to adjust the gain value of the operational amplifier corresponding to the capture value.

[0160] Optionally, if it is determined that either the first captured value or the second captured value has not reached its peak value, the first adjustment signal includes a fourth calibration adjustment signal;

[0161] The step of analyzing the capture value and gain value of each channel by setting a capture threshold to generate a first adjustment signal further includes:

[0162] If both the first capture value and the second capture value are less than the second capture threshold, a fourth calibration adjustment signal is generated based on the range of either value. The fourth calibration adjustment signal is used to adjust the offset value of the digital signal of the channel corresponding to either value.

[0163] The range is the difference between the maximum and minimum values ​​among the captured values.

[0164] If both the first capture value U1 and the second capture value U2 are less than the second capture threshold K2, then a fourth calibration adjustment signal is generated based on the range ΔU of any value, so that the adjustment module 130 can adjust the offset value Y of the operational amplifier in the channel corresponding to any value.

[0165] After the power-on phase ends, the gears start to rotate, and the debugging phase begins. First, the second capture threshold K2 of ADC1 and ADC2 is set. As the gears rotate, ADC1 and ADC2 acquire the first capture value U1 and the second capture value U2 of the current channel and send the capture values ​​U1 and U2 to the digital processor DP for digitization.

[0166] In the digital processor DP, it is first determined whether the current first capture value U1 of ADC1 and the second capture value U2 of ADC2 have reached their peak values;

[0167] If the peak value is reached and the difference between the gain values ​​of AMP1 and AMP2 is not less than 1, then set the flag bit AMP_DIFF_FLAG = 1, and adjust the higher gain value G of operational amplifiers AMP1 and AMP2 so that its gain value G = G-1, until the difference between the gain values ​​of AMP1 and AMP2 |G1-G2| ≤ 1.

[0168] If the capture values ​​U1 and U2 do not reach their peak values, then it is further determined whether the current capture values ​​of ADC1 and ADC2 are greater than or equal to the second capture threshold K2. If any capture value U ≥ K2, then the capture value U is reduced.

[0169] If the captured values ​​U1 and U2 of ADC1 and ADC2 do not exceed the second capture threshold K2, the digital processor DP generates a fourth calibration adjustment signal based on the range ΔU = Umax - Umin of any captured value U, to control the adjustment module 130 to adjust the offset value Y of the channel corresponding to the captured value, in the debugging stage.

[0170] The measured offset value Y will shift the bias voltage of the input signal through ADJ, moving the signal to the position where Y=0.

[0171] According to the method for adjusting the rotational speed pulse signal provided by the present invention, the influence of the unresolved back magnetism can be calculated, and the signal can be moved to the correct position by using an offset value.

[0172] Optionally, when the gear is in the running stage, the first adjustment signal includes a first running adjustment signal, the second adjustment signal includes a second running adjustment signal, and the capture threshold is a third capture threshold;

[0173] By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal, including:

[0174] The capture value of any channel is compared with the third capture threshold to determine the target number of times for any channel. The target number is used to indicate the number of times the capture value of any channel is not less than the third capture threshold.

[0175] If the capture value of any channel is not less than the third capture threshold and the target number is greater than the preset number, the first operation adjustment signal and the second operation adjustment signal are generated.

[0176] The second operation adjustment signal is used to instruct the adjustment module 130 to adjust the gain value of any one of the channels.

[0177] The target number is the number of times the channel's capture value U is greater than the third capture threshold K3.

[0178] When the waveform of the digital signal in any channel changes and the gain value G of the operational amplifier remains unchanged, the capture value U of any channel is compared with the third capture threshold K3 to determine the number of times the capture value U of that channel is greater than the third capture threshold K3; the waveform change includes: the capture value of the digital signal changes from monotonically increasing to monotonically decreasing, or from monotonically decreasing to monotonically increasing.

[0179] When U≤K3 and the number of times the channel’s capture value U is greater than the third capture threshold K3 is greater than 1, a first operation adjustment signal and a second operation adjustment signal are generated. DP generates the channel’s rotational speed pulse signal by adjusting the offset value of the digital signal according to the first operation adjustment signal. The second operation adjustment signal is used to instruct the adjustment module 130 to adjust the gain value G of the operational amplifier of the channel.

[0180] Figure 8 This is the fourth flowchart illustrating the method for adjusting the rotational speed pulse signal provided by the present invention, as shown below. Figure 8 As shown, it includes:

[0181] When the adjustment phase ends and the operation phase begins, DP adjusts for any deviations that may occur during normal operation of the gears. First, the third capture threshold K3 for ADC1 and ADC2 is set, and simultaneously, the counters that record ADC peak values ​​exceeding the third capture threshold K3 are reset.

[0182] Then, the digital processor DP uses the capture values ​​U1 and U2 of the current channel acquired by ADC1 and ADC2 to determine whether the waveform edges have changed.

[0183] If a change occurs, further determine whether the capture values ​​U1 and U2 of ADC1 and ADC2 exceed the third capture threshold K3 after the last edge change is detected, assuming the gain values ​​G1 and G2 of AMP1 and AMP2 remain unchanged. If either the capture value of ADC1 or ADC2 exceeds the third capture threshold K3, increment the counter for the number of times the ADC peak value exceeds the third capture threshold K3 on that channel by 1, and return the execution process to waveform edge change detection; otherwise, reset the counter for the number of times the ADC peak value exceeds the third capture threshold K3.

[0184] Optionally, after generating the first operation adjustment signal and the second operation adjustment signal, the method further includes:

[0185] The second operation adjustment signal is sent to the adjustment module 130;

[0186] Receive a new capture value for any of the channels until the new capture value is less than the third capture threshold, and determine the offset value for any of the channels;

[0187] Based on the offset value, determine the second target capture value for any of the channels.

[0188] If a change in waveform edge is detected by measuring the current channel capture values ​​of ADC1 and ADC2, then it is further determined whether the capture values ​​of ADC1 and ADC2 are less than or equal to the third capture threshold K3. If the capture values ​​are less than or equal to the third capture threshold K3, the process returns to waveform edge change detection. Otherwise, it is further determined whether the counter for ADC peak values ​​exceeding the third capture threshold K3 is not less than 1. If it is not less than 1 and the gain of AMP1 and AMP2 has reached the minimum value, then an error is reported.

[0189] If the ADC peak value exceeds the third capture threshold K3 by a count of not less than 1, and the gain values ​​G1 and G2 of AMP1 and AMP2 have not reached their minimum values, then G1 = G1-1, G2 = G2-1, and the offset values ​​Y1 and Y2 are adjusted by controlling ADJ1 and ADJ2, Y1 = (U1max + U1min) / 2, Y2 = (U2max + U2min) / 2. After adjustment, the counter for the ADC peak value exceeding the third capture threshold K3 is reset, and the operation phase ends.

[0190] According to the method for adjusting the rotational speed pulse signal provided by the present invention, by adjusting the gain and offset values ​​during operation, the overflow situation caused by changes in sensor values ​​due to vibrations or other reasons during gear operation can be effectively avoided.

[0191] Further, in step S4, a gear rotation speed pulse signal is generated based on the first adjustment signal and the amplified signals of the plurality of channels.

[0192] In the processing module 120, the analog-to-digital converter converts the amplified signal into a digital signal. The DP fine-tunes the offset value of the digital signal according to the first adjustment signal, which can generate a more accurate gear speed pulse signal.

[0193] Further, in step S5, the gain value, the magnetic field signal, and the offset value of any channel are adjusted according to the second adjustment signal.

[0194] After the adjustment module 130 coarsely adjusts the gain value, magnetic field signal and offset value of the operational amplifier module 110 according to the second adjustment signal, the DP can capture the digital signal, thereby generating a more accurate gear speed pulse signal.

[0195] The method for adjusting the rotational speed pulse signal provided by this invention processes the obtained signal and then adjusts and feeds back the signal based on the processing results. This effectively reduces the influence of factors such as inaccurate or uneven back magnetic field on the gear pulse signal, making the adjusted gear pulse signal more accurate.

[0196] The gear sensor provided by the present invention will be described below. The gear sensor described below and the speed pulse signal adjustment circuit described above can be referred to in correspondence.

[0197] The present invention also provides a gear sensor for placement between a back magnet and a gear, including a speed pulse signal adjustment circuit as described in any of the above embodiments.

[0198] The gear sensor provided by this invention processes the obtained signal and then adjusts and feeds back the signal based on the processing result. This effectively reduces the influence of factors such as inaccurate or uneven back magnetic field on the gear pulse signal, making the adjusted gear pulse signal more accurate.

[0199] The digital processor provided by the present invention will be described below. The digital processor described below and the speed pulse signal adjustment method described above can be referred to in correspondence.

[0200] Figure 9 This is a schematic diagram of the structure of the digital processor provided by the present invention, as shown below. Figure 9 As shown, it includes:

[0201] The determination module 901 is used to determine the capture value of the at least two channels based on the digital signal of the gear speed sent by the at least two channels of analog-to-digital converters, and to determine the gain value of the operational amplifier of the at least two channels in the operational amplifier module 110.

[0202] The first generation module 902 is used to analyze the capture values ​​and gain values ​​of the at least two channels based on a capture threshold to generate a first adjustment signal and a second adjustment signal; the second adjustment signal is used to instruct the adjustment module 130 to adjust the gain value, magnetic field signal and offset value of the operational amplifier of the at least two channels.

[0203] The second generation module 903 is used to adjust the offset value of the digital signal using the first adjustment signal to generate the rotational speed pulse signal of the gear.

[0204] During the operation of the digital processor, the determination module 901 determines the capture value of the at least two channels based on the digital signal of the gear rotation speed sent by the analog-to-digital converters of at least two channels, and determines the gain value of the operational amplifier of the at least two channels in the operational amplifier module 110; the first generation module 902 analyzes the capture value and the gain value of the at least two channels based on the capture threshold to generate a first adjustment signal and a second adjustment signal; the second adjustment signal is used to instruct the adjustment module 130 to adjust the gain value, magnetic field signal and offset value of the operational amplifier of the at least two channels; the second generation module 903 is used to adjust the offset value of the digital signal using the first adjustment signal to generate the gear rotation speed pulse signal.

[0205] The digital processor provided in this application processes the obtained signal and then adjusts and feeds back the signal based on the processing result. This effectively reduces the influence of factors such as inaccuracy and non-uniformity of the back magnetic field on the gear pulse signal, making the adjusted gear pulse signal more accurate.

[0206] Figure 10 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 10 As shown, the electronic device may include a processor 1010, a communication interface 1020, a memory 1030, and a communication bus 1040, wherein the processor 1010, the communication interface 1020, and the memory 1030 communicate with each other via the communication bus 1040. The processor 1010 can call logic instructions in the memory 1030 to execute a method for adjusting a rotational speed pulse signal. This method includes: amplifying the magnetic field signals of multiple channels between the back magnet of the gear sensor and the gear to generate an amplified signal; determining a capture value and a gain value for each channel based on the amplified signal; analyzing the capture value and gain value of each channel by setting a capture threshold to generate a first adjustment signal and a second adjustment signal; generating a rotational speed pulse signal of the gear based on the first adjustment signal and the amplified signals of the multiple channels; and adjusting the gain value, the magnetic field signal, and the offset value of any channel based on the second adjustment signal.

[0207] Furthermore, the logical instructions in the aforementioned memory 1030 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0208] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the speed pulse signal adjustment method provided by the above methods. The method includes: amplifying the magnetic field signals of multiple channels between the back magnet of the gear sensor and the gear to generate an amplified signal; determining the capture value and gain value of each channel based on the amplified signal; analyzing the capture value and gain value of each channel by setting a capture threshold to generate a first adjustment signal and a second adjustment signal; generating a gear speed pulse signal based on the first adjustment signal and the amplified signals of the multiple channels; and adjusting the gain value, the magnetic field signal, and the offset value of any channel based on the second adjustment signal.

[0209] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a method for adjusting a rotational speed pulse signal provided by the methods described above. The method includes: amplifying magnetic field signals from multiple channels between the back magnet of a received gear sensor and the gear to generate an amplified signal; determining a capture value and a gain value for each channel based on the amplified signal; analyzing the capture value and gain value of each channel by setting a capture threshold to generate a first adjustment signal and a second adjustment signal; generating a rotational speed pulse signal for the gear based on the first adjustment signal and the amplified signals from the multiple channels; and adjusting the gain value, the magnetic field signal, and the offset value of any channel based on the second adjustment signal.

[0210] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0211] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0212] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A speed pulse signal adjustment circuit, applied to a gear sensor, characterized in that, include: The operational amplifier module (110) is used to amplify the magnetic field signals of multiple channels between the back magnet of the gear sensor and the gear to generate an amplified signal. The processing module (120) is connected to the operational amplifier module (110). The processing module (120) determines the capture value and gain value of each channel according to the amplified signal, and generates a first adjustment signal and a second adjustment signal. It also generates a gear rotation speed pulse signal according to the first adjustment signal and the amplified signals of the multiple channels. The adjustment module (130), connected to the processing module (120) and the operational amplifier module (110), is used to adjust the gain value, the magnetic field signal and the offset value of any channel in the operational amplifier module (110) according to the second adjustment signal.

2. The speed pulse signal adjustment circuit according to claim 1, characterized in that, The regulating circuit also includes: The magnetic induction assembly (140) includes at least three magnetic induction elements arranged sequentially at intervals, each of which is used to acquire the initial magnetic field signal between the back magnet of the gear sensor and the gear. The subtraction module (150) is connected between the magnetic induction component (140) and the operational amplifier module (110) and is used to subtract the initial magnetic field signals collected by two adjacent magnetic induction components to generate the magnetic field signal of any of the channels and transmit it to the operational amplifier module (110).

3. The speed pulse signal adjustment circuit according to claim 2, characterized in that, The operational amplifier module (110) includes at least two operational amplifiers; the processing module (120) includes at least two analog-to-digital converters and a digital processor; The output of each operational amplifier is connected to the input of each analog-to-digital converter, the output of each analog-to-digital converter is connected to the input of the digital processor, and the output of the digital processor is connected to the input of the adjustment module (130). The analog-to-digital converter is used to digitize the amplified signal of any of the channels, generate a digital signal for any of the channels, and transmit it to the digital processor. The digital processor is configured to determine the capture value and the gain value of each channel based on the digital signal of each channel, and generate the first adjustment signal and the second adjustment signal, and then adjust the offset value of the digital signal of each channel through the first adjustment signal to generate the gear rotation speed pulse signal.

4. A method for adjusting a rotational speed pulse signal, applied to the adjustment circuit for the rotational speed pulse signal as described in any one of claims 1-3, characterized in that, include: The magnetic field signals from multiple channels between the back magnet of the received gear sensor and the gear are amplified to generate an amplified signal. Based on the amplified signal, determine the capture value and gain value for each channel; By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal; Based on the first adjustment signal and the amplified signals of the plurality of channels, a gear rotation speed pulse signal is generated; The gain value, the magnetic field signal, and the offset value of any channel are adjusted according to the second adjustment signal.

5. The method for adjusting the rotational speed pulse signal according to claim 4, characterized in that, When the gear is in the power-on phase, the first adjustment signal includes a first power-on adjustment signal, the second adjustment signal includes a second power-on adjustment signal, and the capture threshold is the first capture threshold; By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal, including: When the capture value of any channel is not less than the first capture threshold of any channel, and the gain value of any channel is not at its minimum, the first power-on adjustment signal and the second power-on adjustment signal are generated. The second power-on adjustment signal is used to instruct the adjustment module (130) to adjust the gain value and the offset value of the magnetic field signal of any of the channels.

6. The method for adjusting the rotational speed pulse signal according to claim 5, characterized in that, After generating the second power-on adjustment signal, the process also includes: The second power-on adjustment signal is sent to the adjustment module (130); Receive a new capture value for any of the channels until the new capture value is less than the first capture threshold, in order to determine the offset value of the digital signal for any of the channels; Based on the offset value, determine the first target capture value for any of the channels.

7. The method for adjusting the rotational speed pulse signal according to claim 6, characterized in that, When the gear is in the calibration stage, the first adjustment signal includes a first calibration adjustment signal, the second adjustment signal includes a second calibration adjustment signal and a third calibration adjustment signal, the capture threshold is a second capture threshold, the channel includes a first channel and a second channel, the capture value includes a first capture value of the first channel and a second capture value of the second channel; the gain value includes a first gain value of the first channel and a second gain value of the second channel. By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal, including: If it is determined that the first capture value has reached its peak value and the second capture value has reached its peak value, then the first gain value and the second gain value are determined. If the difference between the first gain value and the second gain value is greater than 1, the flag bit of the operational amplifier module (110) is adjusted, and the first calibration adjustment signal and the second calibration adjustment signal are generated; the second calibration adjustment signal is used to instruct the adjustment module (130) to adjust the gain value of the target operational amplifier, which is determined based on the first gain value and the second gain value; If it is determined that either the first capture value or the second capture value has not reached its peak value, and the value is not less than the second capture threshold, the third calibration adjustment signal is generated; the third calibration adjustment signal is used to instruct the adjustment module (130) to adjust the gain value of the target operational amplifier corresponding to the value.

8. The method for adjusting the rotational speed pulse signal according to claim 7, characterized in that, If it is determined that either the first captured value or the second captured value has not reached its peak value, the first adjustment signal includes a fourth calibration adjustment signal; The step of analyzing the capture value and gain value of each channel by setting a capture threshold to generate a first adjustment signal further includes: If both the first capture value and the second capture value are less than the second capture threshold, a fourth calibration adjustment signal is generated based on the range of either value. The fourth calibration adjustment signal is used to adjust the offset value of the digital signal of the channel corresponding to either value.

9. The method for adjusting the rotational speed pulse signal according to claim 7 or 8, characterized in that, When the gear is in operation, the first adjustment signal includes a first operation adjustment signal, the second adjustment signal includes a second operation adjustment signal, and the capture threshold is a third capture threshold; By setting a capture threshold, the capture value and gain value of each channel are analyzed to generate a first adjustment signal and a second adjustment signal, including: The capture value of any channel is compared with the third capture threshold to determine the target number of times for any channel. The target number is used to indicate the number of times the capture value of any channel is not less than the third capture threshold. If the capture value of any channel is not less than the third capture threshold and the target number is greater than the preset number, the first operation adjustment signal and the second operation adjustment signal are generated. The second operation adjustment signal is used to instruct the adjustment module (130) to adjust the gain value of any one of the channels.

10. The method for adjusting the rotational speed pulse signal according to claim 9, characterized in that, After generating the first operation adjustment signal and the second operation adjustment signal, the method further includes: The second operation adjustment signal is sent to the adjustment module (130); Receive a new capture value for any of the channels until the new capture value is less than the third capture threshold, and determine the offset value for any of the channels; Based on the offset value, determine the second target capture value for any of the channels.

Citation Information

Patent Citations

  • High-precision rotating speed measurement module

    CN110568211A

  • Gear position / speed sensor

    CN112945292A