CN104101752B - Gear adjusting method and gear adjusting device - Google Patents
Gear adjusting method and gear adjusting device Download PDFInfo
- Publication number
- CN104101752B CN104101752B CN201410339207.1A CN201410339207A CN104101752B CN 104101752 B CN104101752 B CN 104101752B CN 201410339207 A CN201410339207 A CN 201410339207A CN 104101752 B CN104101752 B CN 104101752B
- Authority
- CN
- China
- Prior art keywords
- gear
- difference value
- return difference
- target
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Control Of Transmission Device (AREA)
- Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)
Abstract
The invention provides a gear adjusting method for a gear adjusting device. The gear adjusting method comprises the steps of calculating threshold values of multiple gears of the gear adjusting device by adopting a preset threshold value formula according to configuration parameters of an existing sampling circuit and total gear number so as to confirm the gear distribution situation; calculating return difference values of the gears by adopting a preset return difference value formula according to the configuration parameters of the existing sampling circuit; confirming a target gear according to output voltage, a threshold value and a return difference value corresponding to a rotated target gear after rotation when detecting a gear rotary knob of the gear adjusting device rotates. By adopting the technical scheme, when the configuration parameters of the sampling circuit change, the threshold values and the return difference values of the gears can be automatically calculated according to a preset formula so as to finish gear adjustment without manual adjustment on the threshold values and the return difference values of the gears, the gear adjustment accuracy is improved, and the time and energy are saved.
Description
Technical field
The present invention relates to field of circuit technology, in particular to a kind of gear control method and a kind of gear dress is adjusted
Put.
Background technology
Nowadays, generally use potentiometer and do gear regulator, the magnitude of voltage in circuit is detected using AD, according to potentiometer
The change in voltage that change in resistance is brought judges the change of gear information.Arrange after N number of gear for gear regulator, need for each
Gear arranges a threshold value (AD sampled values or magnitude of voltage) to distinguish adjacent two gear, and arranges a stabilization interval.It is existing
There are the threshold value of each gear and the interval corresponding return difference value of stabilization in technology to set manually a fixed value, by tabling look-up
Form obtain, when the parameter of element in N values or circuit changes it is necessary to update threshold value table and time difference table, to update
Data it is various, and need to choose suitable numerical value by substantial amounts of test, waste substantial amounts of time and efforts, and set
Fixed threshold value is put it is difficult to ensure that the angle between each gear unanimously, reduces the degree of accuracy of gear regulation.
Therefore, how accurately and easily the distribution situation of regulation stall, become technical problem urgently to be resolved hurrily at present.
The content of the invention
The present invention is based on the problems referred to above, it is proposed that a kind of new technical scheme, can automatically be counted according to preset formula
The threshold value and return difference value of each gear are calculated, to complete gear adjustment, without the threshold value and return difference value of each gear of manual adjustment, is carried
The degree of accuracy of gear regulation has been risen, time and efforts has been saved.
For this purpose, it is an object of the present invention to proposing a kind of gear control method.
Further object is that proposing a kind of gear adjusting device.
For achieving the above object, embodiment according to the first aspect of the invention, it is proposed that one kind is adopted based on voltage output
The gear control method of sample circuit, for gear adjusting device, including:According to the configuration parameter and gear of current sample circuit
Total quantity, the threshold value of each gear in multiple gears of the gear adjusting device is calculated with predetermined threshold value formula, with determine
The distribution situation of each gear;According to the configuration parameter of the current sample circuit, to preset back difference value equation institute is calculated
State the return difference value of each gear;When the gear knob for detecting the gear adjusting device rotates, according to postrotational target shift
The corresponding output voltage in position, the threshold value and the return difference value, determine postrotational target gear.
Gear control method according to an embodiment of the invention, the in circuit total quantity of the parameter of element and/or gear
When changing, according to predetermined threshold value formula and threshold value and return difference that difference value equation calculates each gear automatically can be preset back
Value, the distribution situation of regulation stall, without the threshold value of each gear and return difference value being adjusted to default using manual adjustment
Fixed value, so, greatly improves the degree of accuracy of gear regulation, saves the time and efforts of technical staff.
According to one embodiment of present invention, the resistance of the configuration parameter of the sample circuit including first resistor, second
The maximum of the resistance of resistance, the magnitude of voltage of input voltage, the corresponding resistance value of any gear and the gear regulator potentiometer
Resistance value, wherein, the first resistor, the gear regulator potentiometer and the second resistance are connected in series in the input electricity
Between pressure and ground, voltage output is connected to the common port of the second resistance and the gear regulator potentiometer, the default threshold
Value computing formula is:
Wherein, FnFor the threshold value of any gear, R1For the first resistor, R2For the second resistance, VccFor the input
Voltage, RnFor the corresponding resistance value of any gear, wherein RnIt is calculated by below equation:
Wherein, N is the total quantity of the gear, RmFor the maximum resistance.
Gear control method according to an embodiment of the invention, the threshold value of each gear is marginal value, it is generally the case that current
The output voltage of residing gear is more than FnAnd less than Fn+1When, just the gear being presently in is denoted as into gear n, therefore, according to each shelves
The threshold value of position, can divide the scope of each gear, facilitate implementation being uniformly distributed for each gear.
According to one embodiment of present invention, when the gear knob for detecting the gear adjusting device rotates, according to
The corresponding output voltage of postrotational target gear, the threshold value and the return difference value, determine postrotational target gear, specifically
Including:It is that the original speed position sets according to the original speed position before rotation and its threshold value and the return difference value of adjacent gear positions
Put corresponding target lower voltage limit and target upper limit voltage;And whether judge the corresponding output voltage of the target gear
Between the target lower voltage limit and the target upper limit voltage, when judged result is to be, the original speed position is arranged
For the target gear;When judged result is no, when the output voltage of the target gear is higher than the target upper limit
During voltage, gear more higher leveled than the original speed position is set to into the target gear, it is described defeated when the target gear
When going out voltage less than the target lower voltage limit, the gear of one-level lower than the original speed position is set to into the target gear.
Gear control method according to an embodiment of the invention, when gear knob is rotated, according to the shelves at place before rotation
The threshold value and return difference value of position arranges a target voltage ranges, and the output voltage of button location is in the target after rotation
When in voltage range, the rotational steps for illustrating gear knob not up to change the degree of gear, now keep current gear constant,
And when button location after rotation output voltage not in the target voltage ranges when, illustrate the rotation width of gear knob
Degree be enough to change gear, now, the gear residing for gear knob is set to into target gear.
According to one embodiment of present invention, gear side relatively low in the return difference value is arranged on two adjacent gear positions
And close to described two adjacent gear positions demarcation line when, first time difference value equation is preset into back difference value equation as described, wherein,
First time difference value equation be:
Wherein, En1For the first return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor
The design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is the corresponding resistance of any gear n
Value, Rn-1It is the corresponding resistance value of gear of one-level lower than any gear n;And according to the original speed position before rotation and its
The threshold value of adjacent gear positions and the return difference value, are that the original speed position arranges corresponding target lower voltage limit and target upper limit
Voltage, specifically includes:The difference of the corresponding threshold value of gear of one-level lower than the original speed position and return difference value is set to into the mesh
Mark lower voltage limit, by the threshold value of the original speed position target upper limit voltage is set to.
Gear control method according to an embodiment of the invention, return difference value can be arranged on relatively low in two adjacent gear positions
Gear side and close at the demarcation line of described two adjacent gear positions, the target lower voltage limit of gear n is FnWith En1Difference, target
Upper voltage limit is Fn, when the gear before rotation is n, gear knob is rotated from gear n to gear n+1, after rotation is detected
Gear output voltage VoutMeet Fn-En1≤Vout≤FnWhen, judge that postrotational gear, still for n, works as Vout> Fn, judge rotation
Gear after turning is n+1.In addition, when the gear before rotation is n+1, gear knob is rotated from gear n+1 to gear n, work as inspection
Measure Fn-En1≤Vout≤FnWhen, judge that postrotational gear, still for n+1, works as Vout< Fn-En1When, judge postrotational gear
For n.For example during n=1, now gear rotates gear knob, if the output voltage V of postrotational gear at 1 gradeoutMeet
F1-E11≤Vout≤F1, then postrotational gear is judged still for 1 grade;If gear rotates gear knob at 2 grades, if postrotational
The output voltage V of gearoutScope be F1-E11≤Vout≤F1, then postrotational gear is judged still for 2 grades.In addition, calculating
During the return difference value of multiple gears of same gear adjusting device, identical K is typically adoptedn, i.e., generally, K1=K2=K3
=...=KN, KnValue be typically taken between 0.1 to 0.2.
According to one embodiment of present invention, gear higher in the return difference value is arranged on described two adjacent gear positions
When side and the demarcation line close to described two adjacent gear positions, second time difference value equation is preset into back difference value equation as described,
Wherein, second time difference value equation is:
Wherein, En2For the second return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor
The design factor of the return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor the corresponding resistance value of any gear n,
Rn+1It is the corresponding resistance value of gear more higher leveled than any gear n;And according to the original speed position and its adjacent gear positions before rotation
The threshold value and the return difference value, be that the original speed position arranges corresponding target lower voltage limit and target upper limit voltage, also
Including:The corresponding threshold value of gear of one-level lower than the original speed position is set to into the target lower voltage limit, will be described initial
The threshold value of gear and the corresponding return difference value and be set to the target upper limit voltage.
Gear control method according to an embodiment of the invention, return difference value can be arranged on higher in two adjacent gear positions
Gear side and close at the demarcation line of described two adjacent gear positions, the target lower voltage limit of gear n is Fn, target upper limit voltage
For FnWith En2Sum, when the gear before rotation be n when, from gear n to gear n+1 rotate gear knob, when detect rotation after
Gear output voltage VoutMeet Fn≤Vout≤Fn+En2When, judge that postrotational gear, still for n, works as Vout> Fn+En2When,
Judge that postrotational gear, for n+1, works as Vout< FnWhen, judge postrotational gear for n-1.In addition, when the gear before rotation is
During n+1, gear knob is rotated from gear n+1 to gear n, when detecting Fn≤Vout≤Fn+En2When, judge postrotational gear
It is still n+1, works as Vout< FnWhen, judge postrotational gear for n.For example during n=1, now at 1 grade, rotation gear revolves gear
Button, if the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+E12, then judge postrotational gear still for 1
Shelves;If gear rotates gear knob at 2 grades, if the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+
E12, then postrotational gear is judged still for 2 grades, if the output voltage V of postrotational gearoutScope be Vout< Fn, then sentence
The postrotational gear that breaks is 1 grade.In addition, when the return difference value of multiple gears of same gear adjusting device is calculated, it is general to adopt
Identical Kn, i.e., generally, K1=K2=K3=...=KN, KnValue be typically taken between 0.1 to 0.2.
According to one embodiment of present invention, when gear side relatively low in described two adjacent gear positions and close to described
When the first return difference value is provided with the demarcation line of two adjacent gear positions, and when higher gear one in described two adjacent gear positions
Side and when being provided with the second return difference value close at the demarcation line of described two adjacent gear positions, with first time difference value equation and second time
Difference value equation calculates the first return difference value and the second return difference value as the difference value equation of presetting back, wherein, described the
One time difference value equation is:
Wherein, En1For the first return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor
The design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is the corresponding resistance of any gear n
Value, Rn-1It is the corresponding resistance value of gear of one-level lower than any gear n;Second time difference value equation be:
Wherein, En2For the second return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor
The design factor of the return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor the corresponding resistance value of any gear n,
Rn+1It is the corresponding resistance value of gear more higher leveled than any gear n;And according to the original speed position and its adjacent gear positions before rotation
The threshold value and the return difference value, be that the original speed position arranges corresponding target lower voltage limit and target upper limit voltage, also
Including:The corresponding threshold value of gear of one-level lower than the original speed position and the difference of the first return difference value are set to into the target
Lower voltage limit, by the threshold value of the original speed position and the second return difference value and be set to the target upper limit voltage.
Gear control method according to an embodiment of the invention, when the return difference value for arranging crosses over demarcation line both sides, quite
In a return difference value is respectively arranged in the demarcation line both sides of two adjacent gear positions, with first time difference value equation and second time difference value equation
The first return difference value of demarcation line low-grade location side and the second return difference value of demarcation line high tap position side are calculated respectively, and before rotating
The threshold value of gear and the difference of the first return difference value be set to target lower voltage limit, by the threshold value of the gear before rotation and the second return difference
Value and be set to target upper limit voltage, then, when the gear before rotation be n when, from gear n to gear n+1 rotate gear rotation
Button, as the output voltage V for detecting postrotational gearoutMeet Fn-En1≤Vout≤Fn+En2When, judge postrotational gear
It is still n, works as Vout> Fn+En2When, judge postrotational gear for n+1.In addition, when the gear before rotation is n+1, from gear n
+ 1 to gear n rotation gear knob, when detecting Fn-En1≤Vout≤Fn+En2When, postrotational gear is judged still for n+1, when
Vout< Fn-En1When, judge postrotational gear for n.In addition, in the return difference of the multiple gears for calculating same gear adjusting device
During value, identical K is typically adoptedn, i.e., generally, K1=K2=K3=...=KN, KnValue be typically taken at 0.1 to 0.2 it
Between.
A kind of embodiment according to a second aspect of the present invention, it is proposed that gear adjusting device, including:First computing unit,
For according to the total quantity of the configuration parameter of current sample circuit and gear, calculating the gear with predetermined threshold value formula and adjusting
The threshold value of each gear in multiple gears of regulating device, to determine the distribution situation of each gear;Second computing unit, for root
According to the configuration parameter of the current sample circuit, to preset back the return difference value that difference value equation calculates each gear;Adjust single
Unit, it is corresponding defeated according to postrotational target gear during for rotating in the gear knob for detecting the gear adjusting device
Go out voltage, the threshold value and the return difference value, determine postrotational target gear.
Gear adjusting device according to an embodiment of the invention, the in circuit total quantity of the parameter of element and/or gear
When changing, according to predetermined threshold value formula and threshold value and return difference that difference value equation calculates each gear automatically can be preset back
Value, the distribution situation of regulation stall, without the threshold value of each gear and return difference value being adjusted to default using manual adjustment
Fixed value, so, greatly improves the degree of accuracy of gear regulation, saves the time and efforts of technical staff.
According to one embodiment of present invention, the resistance of the configuration parameter of the sample circuit including first resistor, second
The maximum of the resistance of resistance, the magnitude of voltage of input voltage, the corresponding resistance value of any gear and the gear regulator potentiometer
Resistance value, wherein, the first resistor, the gear regulator potentiometer and the second resistance are connected in series in the input electricity
Between pressure and ground, voltage output is connected to the common port of the second resistance and the gear regulator potentiometer, the default threshold
Value computing formula is:
Wherein, FnFor the threshold value of any gear, R1For the first resistor, R2For the second resistance, VccFor the input
Voltage, RnFor the corresponding resistance value of any gear, wherein RnIt is calculated by below equation:
Wherein, N is the total quantity of the gear, RmFor the maximum resistance.
Gear adjusting device according to an embodiment of the invention, the threshold value of each gear is marginal value, it is generally the case that when working as
The output voltage of front residing gear is more than FnAnd less than Fn+1When, just the gear being presently in is denoted as into gear n, therefore, according to each
The threshold value of gear, can divide the scope of each gear, facilitate implementation being uniformly distributed for each gear.
According to one embodiment of present invention, the adjustment unit is specifically included:Setting unit, before according to rotation
The threshold value and the return difference value of original speed position and its adjacent gear positions, is to ration the power supply under the corresponding target of the original speed position setting
Pressure and target upper limit voltage;Judging unit, for judging the corresponding output voltage of the target gear whether in the mesh
Between mark lower voltage limit and the target upper limit voltage, when judged result is to be, the original speed position is set to into the mesh
Mark gear;When judged result is no, when the output voltage of the target gear is higher than the target upper limit voltage, will
Gear more higher leveled than the original speed position is set to the target gear, when the output voltage of the target gear is less than
During the target lower voltage limit, the gear of one-level lower than the original speed position is set to into the target gear.
Gear adjusting device according to an embodiment of the invention, when gear knob is rotated, according to the shelves at place before rotation
The threshold value and return difference value of position arranges a target voltage ranges, and the output voltage of button location is in the target after rotation
When in voltage range, the rotational steps for illustrating gear knob not up to change the degree of gear, now keep current gear constant,
And when button location after rotation output voltage not in the target voltage ranges when, illustrate the rotation width of gear knob
Degree be enough to change gear, now, the gear residing for gear knob is set to into target gear.
According to one embodiment of present invention, second computing unit specifically for:When the return difference value is arranged on two
When gear side relatively low in individual adjacent gear positions and the demarcation line close to described two adjacent gear positions, first time difference value equation is made
Difference value equation is preset back for described, wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor
The design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is the corresponding resistance of any gear n
Value, Rn-1It is the corresponding resistance value of gear of one-level lower than any gear n;And the setting unit is specifically included:Will compare
The low corresponding threshold value of gear of one-level of the original speed position is set to the target lower voltage limit with the difference of return difference value, will it is described at the beginning of
The threshold value of beginning gear is set to the target upper limit voltage.
Gear adjusting device according to an embodiment of the invention, return difference value can be arranged on relatively low in two adjacent gear positions
Gear side and close at the demarcation line of described two adjacent gear positions, the target lower voltage limit of gear n is FnWith En1Difference, target
Upper voltage limit is Fn, when the gear before rotation is n, gear knob is rotated from gear n to gear n+1, after rotation is detected
Gear output voltage VoutMeet Fn-En1≤Vout≤FnWhen, judge that postrotational gear, still for n, works as Vout> Fn, judge rotation
Gear after turning is n+1.In addition, when the gear before rotation is n+1, gear knob is rotated from gear n+1 to gear n, work as inspection
Measure Fn-En1≤Vout≤FnWhen, judge that postrotational gear, still for n+1, works as Vout< Fn-En1When, judge postrotational gear
For n.For example during n=1, now gear rotates gear knob, if the output voltage V of postrotational gear at 1 gradeoutMeet
F1-E11≤Vout≤F1, then postrotational gear is judged still for 1 grade;If gear rotates gear knob at 2 grades, if postrotational
The output voltage V of gearoutScope be F1-E11≤Vout≤F1, then postrotational gear is judged still for 2 grades.In addition, calculating
During the return difference value of multiple gears of same gear adjusting device, identical K is typically adoptedn, i.e., generally, K1=K2=K3
=...=KN, KnValue be typically taken between 0.1 to 0.2.
According to one embodiment of present invention, second computing unit is additionally operable to:Described in being arranged on when the return difference value
Higher gear side and during the demarcation line close to described two adjacent gear positions in two adjacent gear positions, by second time difference value equation
Difference value equation is preset back as described, wherein, second time difference value equation is:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of the return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor described
The corresponding resistance values of one gear n, Rn+1It is the corresponding resistance value of gear more higher leveled than any gear n;And the setting unit
It is additionally operable to:The corresponding threshold value of gear of one-level lower than the original speed position is set to into the target lower voltage limit, will be described first
The threshold value of beginning gear and the corresponding return difference value and be set to the target upper limit voltage.
Gear adjusting device according to an embodiment of the invention, return difference value can be arranged on higher in two adjacent gear positions
Gear side and close at the demarcation line of described two adjacent gear positions, the target lower voltage limit of gear n is Fn, target upper limit voltage
For FnWith En2Sum, when the gear before rotation be n when, from gear n to gear n+1 rotate gear knob, when detect rotation after
Gear output voltage VoutMeet Fn≤Vout≤Fn+En2When, judge that postrotational gear, still for n, works as Vout> Fn+En2When,
Judge that postrotational gear, for n+1, works as Vout< FnWhen, judge postrotational gear for n-1.In addition, when the gear before rotation is
During n+1, gear knob is rotated from gear n+1 to gear n, when detecting Fn≤Vout≤Fn+En2When, judge postrotational gear
It is still n+1, works as Vout≤FnWhen, judge postrotational gear for n.For example during n=1, now at 1 grade, rotation gear revolves gear
Button, if the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+E12, then judge postrotational gear still for 1
Shelves;If gear rotates gear knob at 2 grades, if the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+
E12, then postrotational gear is judged still for 2 grades, if the output voltage V of postrotational gearoutScope be Vout< Fn, then sentence
The postrotational gear that breaks is 1 grade.In addition, when the return difference value of multiple gears of same gear adjusting device is calculated, it is general to adopt
Identical Kn, i.e., generally, K1=K2=K3=...=KN, KnValue be typically taken between 0.1 to 0.2.
According to one embodiment of present invention, second computing unit is additionally operable to:When in described two adjacent gear positions
Relatively low gear side and when being provided with the first return difference value close at the demarcation line of described two adjacent gear positions, and when described two
Gear side higher in individual adjacent gear positions and when being provided with the second return difference value close at the demarcation line of described two adjacent gear positions,
The first return difference value and institute are calculated as the difference value equation of presetting back using first time difference value equation and second time difference value equation
The second return difference value is stated, wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor
The design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is the corresponding resistance of any gear n
Value, Rn-1It is the corresponding resistance value of gear of one-level lower than any gear n;Second time difference value equation be:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of the return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor described
The corresponding resistance values of one gear n, Rn+1It is the corresponding resistance value of gear more higher leveled than any gear n;And the setting unit
It is additionally operable to:The corresponding threshold value of gear of one-level lower than the original speed position and the difference of the first return difference value are set to into the mesh
Mark lower voltage limit, by the threshold value of the original speed position and the second return difference value and to be set to the target upper limit electric
Pressure.
Gear adjusting device according to an embodiment of the invention, when the return difference value for arranging crosses over demarcation line both sides, quite
In a return difference value is respectively arranged in the demarcation line both sides of two adjacent gear positions, with first time difference value equation and second time difference value equation
The first return difference value of demarcation line low-grade location side and the second return difference value of demarcation line high tap position side are calculated respectively, and before rotating
The threshold value of gear and the difference of the first return difference value be set to target lower voltage limit, by the threshold value of the gear before rotation and the second return difference
Value and be set to target upper limit voltage, then, when the gear before rotation be n when, from gear n to gear n+1 rotate gear rotation
Button, as the output voltage V for detecting postrotational gearoutMeet Fn-En1≤Vout≤Fn+En2When, judge postrotational gear
It is still n, works as Vout> Fn+En2When, judge postrotational gear for n+1.In addition, when the gear before rotation is n+1, from gear n
+ 1 to gear n rotation gear knob, when detecting Fn-En1≤Vout≤Fn+En2When, postrotational gear is judged still for n+1, when
Vout< Fn-En1When, judge postrotational gear for n.In addition, in the return difference of the multiple gears for calculating same gear adjusting device
During value, identical K is typically adoptedn, i.e., generally, K1=K2=K3=...=KN, KnValue be typically taken at 0.1 to 0.2 it
Between.
By technical scheme, the threshold value and return difference value of each gear can be automatically calculated according to preset formula, with
Gear adjustment is completed, without the threshold value and return difference value of each gear of manual adjustment, the degree of accuracy of gear regulation is improved, is saved
The time and efforts of technical staff.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become from the description with reference to accompanying drawings below to embodiment
It is substantially and easy to understand, wherein:
Fig. 1 shows the flow chart of gear control method according to an embodiment of the invention;
Fig. 2 shows the block diagram of gear adjusting device according to an embodiment of the invention;
Fig. 3 shows the circuit diagram of gear adjusting device according to an embodiment of the invention;
Fig. 4 shows the schematic diagram of gear control method according to an embodiment of the invention;
Fig. 5 shows the schematic diagram of gear control method according to another embodiment of the invention;
Fig. 6 shows the schematic diagram of gear control method according to still a further embodiment.
Specific embodiment
It is below in conjunction with the accompanying drawings and concrete real in order to be more clearly understood that the above objects, features and advantages of the present invention
Apply mode to be further described in detail the present invention.It should be noted that in the case where not conflicting, the enforcement of the application
Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also
Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not by described below
Specific embodiment restriction.
Fig. 1 shows the flow chart of gear control method according to an embodiment of the invention.
As shown in figure 1, gear control method according to an embodiment of the invention, comprises the following steps:
Step 102, according to the configuration parameter and the total quantity of gear of current sample circuit, with the calculating of predetermined threshold value formula
Go out the threshold value of each gear in multiple gears of gear adjusting device, to determine the distribution situation of each gear;
Step 104, according to the configuration parameter of current sample circuit, to preset back the return difference that difference value equation calculates each gear
Value;
Step 106, when the gear knob for detecting gear adjusting device rotates, according to postrotational target gear correspondence
Output voltage, the threshold value and the return difference value, determine postrotational target gear.
Gear control method according to an embodiment of the invention, the in circuit total quantity of the parameter of element and/or gear
When changing, according to predetermined threshold value formula and threshold value and return difference that difference value equation calculates each gear automatically can be preset back
Value, the distribution situation of regulation stall, without the threshold value of each gear and return difference value being adjusted to default using manual adjustment
Fixed value, so, greatly improves the degree of accuracy of gear regulation, saves the time and efforts of technical staff.
According to one embodiment of present invention, the resistance of the configuration parameter of the sample circuit including first resistor, second
The maximum of the resistance of resistance, the magnitude of voltage of input voltage, the corresponding resistance value of any gear and the gear regulator potentiometer
Resistance value, wherein, the first resistor, the gear regulator potentiometer and the second resistance are connected in series in the input electricity
Between pressure and ground, voltage output is connected to the common port of the second resistance and the gear regulator potentiometer, predetermined threshold value meter
Calculating formula is:
Wherein, FnFor the threshold value of any gear, R1For the first resistor, R2For the second resistance, VccFor the input
Voltage, RnFor the corresponding resistance value of any gear, wherein RnIt is calculated by below equation:
Wherein, N is the total quantity of the gear, RmFor the maximum resistance.
Gear control method according to an embodiment of the invention, the threshold value of each gear is marginal value, it is generally the case that when working as
The output voltage of front residing gear is more than FnAnd less than Fn+1When, just the gear being presently in is denoted as into gear n, therefore, according to each
The threshold value of gear, can divide the scope of each gear, facilitate implementation being uniformly distributed for each gear.
According to one embodiment of present invention, step 106 is specifically included:Step 1062, according to the original speed position before rotation
And its threshold value and the return difference value of adjacent gear positions, it is that original speed position arranges corresponding target lower voltage limit and target upper limit
Voltage;Step 1064, judges the corresponding output voltage of target gear whether between target lower voltage limit and target upper limit voltage,
When judged result is to be, original speed position is set to into target gear;When judged result is no, when the output electricity of target gear
When pressure is higher than target upper limit voltage, gear more higher leveled than original speed position is set to into target gear, when the output of target gear
When voltage is less than target lower voltage limit, the gear of one-level lower than original speed position is set to into target gear.
Gear control method according to an embodiment of the invention, when gear knob is rotated, according to the shelves at place before rotation
The threshold value and return difference value of position arranges a target voltage ranges, and the output voltage of button location is in the target after rotation
When in voltage range, the rotational steps for illustrating gear knob not up to change the degree of gear, now keep current gear constant,
And when button location after rotation output voltage not in the target voltage ranges when, illustrate the rotation width of gear knob
Degree be enough to change gear, now, the gear residing for gear knob is set to into target gear.
According to one embodiment of present invention, step 104 is specifically included:In return difference value is arranged on two adjacent gear positions compared with
When low gear side and the demarcation line close to two adjacent gear positions, using first time difference value equation as presetting back difference value equation,
Wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is arbitrary shelves
The corresponding resistance values of position n, Rn-1It is the corresponding resistance value of gear of one-level lower than any gear n;And step 1062 is specifically wrapped
Include:The difference of the corresponding threshold value of gear of one-level lower than the original speed position and return difference value is set to into the target lower voltage limit,
The threshold value of original speed position is set to into target upper limit voltage.
Gear control method according to an embodiment of the invention, return difference value can be arranged on relatively low in two adjacent gear positions
Gear side and close at the demarcation line of two adjacent gear positions, the target lower voltage limit of gear n is FnWith En1Difference, target upper limit
Voltage is Fn, when the gear before rotation is n, gear knob is rotated from gear n to gear n+1, when detecting postrotational shelves
The output voltage V of positionoutMeet Fn-En1≤Vout≤FnWhen, judge that postrotational gear, still for n, works as Vout> Fn, after judging rotation
Gear be n+1.In addition, when the gear before rotation is n+1, gear knob is rotated from gear n+1 to gear n, when detecting
Fn-En1≤Vout≤FnWhen, judge that postrotational gear, still for n+1, works as Vout< Fn-En1When, judge postrotational gear for n.
For example during n=1, now gear rotates gear knob, if the output voltage V of postrotational gear at 1 gradeoutMeet F1-E11
≤Vout≤F1, then postrotational gear is judged still for 1 grade;If gear rotates gear knob at 2 grades, if postrotational gear
Output voltage VoutScope be F1-E11≤Vout≤F1, then postrotational gear is judged still for 2 grades.In addition, same calculating
During the return difference value of multiple gears of gear adjusting device, identical K is typically adoptedn, i.e., generally, K1=K2=K3=...
=KN, KnValue be typically taken between 0.1 to 0.2.
According to one embodiment of present invention, step 104 also includes:It is higher in return difference value is arranged on two adjacent gear positions
Gear side and during the demarcation line close to two adjacent gear positions, using second time difference value equation as presetting back difference value equation, its
In, second time difference value equation is:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor any gear n pair
The resistance value answered, Rn+1It is the corresponding resistance value of gear more higher leveled than any gear n;And step 1062 also includes:Will than institute
The corresponding threshold value of gear for stating the low one-level of original speed position is set to the target lower voltage limit, by the threshold value of original speed position with it is corresponding
Return difference value and be set to target upper limit voltage.
Gear control method according to an embodiment of the invention, return difference value can be arranged on higher in two adjacent gear positions
Gear side and close at the demarcation line of two adjacent gear positions, the target lower voltage limit of gear n is Fn, target upper limit voltage is Fn
With En2Sum, when the gear before rotation is n, gear knob is rotated from gear n to gear n+1, when detecting postrotational shelves
The output voltage V of positionoutMeet Fn≤Vout≤Fn+En2When, judge that postrotational gear, still for n, works as Vout> Fn+En2When, judge
Postrotational gear is n+1, works as Vout< FnWhen, judge postrotational gear for n-1.In addition, when the gear before rotation is n+1
When, gear knob is rotated from gear n+1 to gear n, when detecting Fn≤Vout≤Fn+En2When, judge that postrotational gear is still
N+1, works as Vout< FnWhen, judge postrotational gear for n.For example during n=1, now gear rotates gear knob at 1 grade,
If the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+E12, then postrotational gear is judged still for 1 grade;
If gear rotates gear knob at 2 grades, if the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+E12,
Postrotational gear is then judged still for 2 grades, if the output voltage V of postrotational gearoutScope be Vout< Fn, then rotation is judged
Gear after turning is 1 grade.In addition, when the return difference value of multiple gears of same gear adjusting device is calculated, typically using identical
Kn, i.e., generally, K1=K2=K3=...=KN, KnValue be typically taken between 0.1 to 0.2.
According to one embodiment of present invention, step 104 also includes:When relatively low gear side in two adjacent gear positions
And when being provided with the first return difference value close at the demarcation line of two adjacent gear positions, and when higher gear in two adjacent gear positions
Side and when being provided with the second return difference value close at the demarcation line of two adjacent gear positions, with first time difference value equation and the second return difference
Value formula calculates the first return difference value and the second return difference value as difference value equation is preset back, wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is arbitrary shelves
The corresponding resistance values of position n, Rn-1It is the corresponding resistance value of gear of one-level lower than any gear n;Second time difference value equation is:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor any gear n pair
The resistance value answered, Rn+1It is the corresponding resistance value of gear more higher leveled than any gear n;And step 1062 also includes:Will than institute
The corresponding threshold value of gear and the difference of the first return difference value for stating the low one-level of original speed position is set to the target lower voltage limit, will
The threshold value of original speed position and the second return difference value and be set to target upper limit voltage.
Gear control method according to an embodiment of the invention, when the return difference value for arranging crosses over demarcation line both sides, quite
In a return difference value is respectively arranged in the demarcation line both sides of two adjacent gear positions, with first time difference value equation and second time difference value equation
The first return difference value of demarcation line low-grade location side and the second return difference value of demarcation line high tap position side are calculated respectively, and before rotating
The threshold value of gear and the difference of the first return difference value be set to target lower voltage limit, by the threshold value of the gear before rotation and the second return difference
Value and be set to target upper limit voltage, then, when the gear before rotation be n when, from gear n to gear n+1 rotate gear rotation
Button, as the output voltage V for detecting postrotational gearoutMeet Fn-En1≤Vout≤Fn+En2When, judge postrotational gear
It is still n, works as Vout> Fn+En2When, judge postrotational gear for n+1.In addition, when the gear before rotation is n+1, from gear n
+ 1 to gear n rotation gear knob, when detecting Fn-En1≤Vout≤Fn+En2When, postrotational gear is judged still for n+1, when
Vout< Fn-En1When, judge postrotational gear for n.In addition, in the return difference of the multiple gears for calculating same gear adjusting device
During value, identical K is typically adoptedn, i.e., generally, K1=K2=K3=...=KN, KnValue be typically taken at 0.1 to 0.2 it
Between.
Fig. 2 shows the block diagram of gear adjusting device according to an embodiment of the invention.
As shown in Fig. 2 gear adjusting device 200 according to an embodiment of the invention, including:First computing unit 202, uses
In the configuration parameter according to current sample circuit and the total quantity of gear, gear adjusting device is calculated with predetermined threshold value formula
Multiple gears in each gear threshold value, to determine the distribution situation of each gear;Second computing unit 204, for according to current
Sample circuit configuration parameter, to preset back the return difference value that difference value equation calculates each gear;Adjustment unit 206, in inspection
When the gear knob for measuring gear adjusting device rotates, according to the corresponding output voltage of postrotational target gear, the threshold value
With the return difference value, postrotational target gear is determined.
Gear adjusting device according to an embodiment of the invention, the in circuit total quantity of the parameter of element and/or gear
When changing, according to predetermined threshold value formula and threshold value and return difference that difference value equation calculates each gear automatically can be preset back
Value, the distribution situation of regulation stall, without the threshold value of each gear and return difference value being adjusted to default using manual adjustment
Fixed value, so, greatly improves the degree of accuracy of gear regulation, saves the time and efforts of technical staff.
According to one embodiment of present invention, the resistance of the configuration parameter of the sample circuit including first resistor, second
The maximum of the resistance of resistance, the magnitude of voltage of input voltage, the corresponding resistance value of any gear and the gear regulator potentiometer
Resistance value, wherein, the first resistor, the gear regulator potentiometer and the second resistance are connected in series in the input electricity
Between pressure and ground, voltage output is connected to the common port of the second resistance and the gear regulator potentiometer,
Predetermined threshold value computing formula is:
Wherein, FnFor the threshold value of any gear, R1For the first resistor, R2For the second resistance, VccFor the input
Voltage, RnFor the corresponding resistance value of any gear, wherein RnIt is calculated by below equation:
Wherein, N is the total quantity of the gear, RmFor the maximum resistance.
Gear adjusting device according to an embodiment of the invention, the threshold value of each gear is marginal value, it is generally the case that current
The output voltage of residing gear is more than FnAnd less than Fn+1When, just the gear being presently in is denoted as into gear n, therefore, according to each shelves
The threshold value of position, can divide the scope of each gear, facilitate implementation being uniformly distributed for each gear.
According to one embodiment of present invention, adjustment unit 206 is specifically included:Setting unit 2062, for according to rotation
Front original speed position and its threshold value of adjacent gear positions and the return difference value, are that original speed position is arranged and rationed the power supply under corresponding target
Pressure and target upper limit voltage;Judging unit 2064, for judging whether the corresponding output voltage of target gear rations the power supply under target
Between pressure and target upper limit voltage, when judged result is to be, original speed position is set to into target gear;When judged result is no
When, when the output voltage of target gear is higher than target upper limit voltage, gear more higher leveled than original speed position is set to into target
Gear, when the output voltage of target gear is less than target lower voltage limit, by the gear of one-level lower than original speed position mesh is set to
Mark gear.
Gear adjusting device according to an embodiment of the invention, when gear knob is rotated, according to the shelves at place before rotation
The threshold value and return difference value of position arranges a target voltage ranges, and the output voltage of button location is in the target after rotation
When in voltage range, the rotational steps for illustrating gear knob not up to change the degree of gear, now keep current gear constant,
And when button location after rotation output voltage not in the target voltage ranges when, illustrate the rotation width of gear knob
Degree be enough to change gear, now, the gear residing for gear knob is set to into target gear.
According to one embodiment of present invention, the second computing unit 204 is specifically included:When return difference value be arranged on two it is adjacent
When gear side relatively low in gear and the demarcation line close to two adjacent gear positions, using first time difference value equation as default return difference
Value formula, wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is arbitrary shelves
The corresponding resistance values of position n, Rn-1It is the corresponding resistance value of gear of one-level lower than any gear n;And setting unit 2062 is concrete
Including:The corresponding threshold value of gear of one-level lower than the original speed position and the difference of return difference value are set to be rationed the power supply under the target
Pressure, by the threshold value of original speed position target upper limit voltage is set to.
Gear adjusting device according to an embodiment of the invention, return difference value can be arranged on relatively low in two adjacent gear positions
Gear side and close at the demarcation line of two adjacent gear positions, the target lower voltage limit of gear n is FnWith En1Difference, target upper limit
Voltage is Fn, when the gear before rotation is n, gear knob is rotated from gear n to gear n+1, when detecting postrotational shelves
The output voltage V of positionoutMeet Fn-En1≤Vout≤FnWhen, judge that postrotational gear, still for n, works as Vout> Fn, after judging rotation
Gear be n+1.In addition, when the gear before rotation is n+1, gear knob is rotated from gear n+1 to gear n, when detecting
Fn-En1≤Vout≤FnWhen, judge that postrotational gear, still for n+1, works as Vout< Fn-En1When, judge postrotational gear for n.
For example during n=1, now gear rotates gear knob, if the output voltage V of postrotational gear at 1 gradeoutMeet F1-E11
≤Vout≤F1, then postrotational gear is judged still for 1 grade;If gear rotates gear knob at 2 grades, if postrotational gear
Output voltage VoutScope be F1-E11≤Vout≤F1, then postrotational gear is judged still for 2 grades.In addition, same calculating
During the return difference value of multiple gears of gear adjusting device, identical K is typically adoptedn, i.e., generally, K1=K2=K3=...
=KN, KnValue be typically taken between 0.1 to 0.2.
According to one embodiment of present invention, the second computing unit 204 also includes:When return difference value is arranged on two adjacent shelves
Higher gear side and during the demarcation line close to two adjacent gear positions in position, using second time difference value equation as default return difference value
Formula, wherein, second time difference value equation is:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor any gear n pair
The resistance value answered, Rn+1It is the corresponding resistance value of gear more higher leveled than any gear n;And setting unit 2062 also includes:Will
The corresponding threshold value of gear of one-level lower than the original speed position is set to the target lower voltage limit, by the threshold value of original speed position with
Corresponding return difference value and be set to target upper limit voltage.
Gear adjusting device according to an embodiment of the invention, return difference value can be arranged on higher in two adjacent gear positions
Gear side and close at the demarcation line of two adjacent gear positions, the target lower voltage limit of gear n is Fn, target upper limit voltage is Fn
With En2Sum, when the gear before rotation is n, gear knob is rotated from gear n to gear n+1, when detecting postrotational shelves
The output voltage V of positionoutMeet Fn≤Vout≤Fn+En2When, judge that postrotational gear, still for n, works as Vout> Fn+En2When, judge
Postrotational gear is n+1, works as Vout< FnWhen, judge postrotational gear for n-1.In addition, when the gear before rotation is n+1
When, gear knob is rotated from gear n+1 to gear n, when detecting Fn≤Vout≤Fn+En2When, judge that postrotational gear is still
N+1, works as Vout≤FnWhen, judge postrotational gear for n.For example during n=1, now gear rotates gear knob at 1 grade,
If the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+E12, then postrotational gear is judged still for 1 grade;
If gear rotates gear knob at 2 grades, if the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+E12,
Postrotational gear is then judged still for 2 grades, if the output voltage V of postrotational gearoutScope be Vout< Fn, then rotation is judged
Gear after turning is 1 grade.In addition, when the return difference value of multiple gears of same gear adjusting device is calculated, typically using identical
Kn, i.e., generally, K1=K2=K3=...=KN, KnValue be typically taken between 0.1 to 0.2.
According to one embodiment of present invention, the second computing unit 204 also includes:When relatively low in two adjacent gear positions
Gear side and when being provided with the first return difference value close at the demarcation line of two adjacent gear positions, and when in two adjacent gear positions compared with
High gear side and when being provided with the second return difference value close at the demarcation line of two adjacent gear positions, with first time difference value equation and
Second time difference value equation calculates the first return difference value and the second return difference value as difference value equation is preset back, wherein, the first return difference value is public
Formula is:
Wherein, En1For the first return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is arbitrary shelves
The corresponding resistance values of position n, Rn-1It is the corresponding resistance value of gear of one-level lower than any gear n;Second time difference value equation is:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance,
VccFor the input voltage, KnFor the design factor of return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor any gear n pair
The resistance value answered, Rn+1It is the corresponding resistance value of gear more higher leveled than any gear n;And setting unit 2062 also includes:Will
The corresponding threshold value of gear of one-level lower than the original speed position is set to be rationed the power supply under the target with the difference of the first return difference value
Pressure, by the threshold value of original speed position and the second return difference value and be set to target upper limit voltage.
Gear adjusting device according to an embodiment of the invention, when the return difference value for arranging crosses over demarcation line both sides, quite
In a return difference value is respectively arranged in the demarcation line both sides of two adjacent gear positions, with first time difference value equation and second time difference value equation
The first return difference value of demarcation line low-grade location side and the second return difference value of demarcation line high tap position side are calculated respectively, and before rotating
The threshold value of gear and the difference of the first return difference value be set to target lower voltage limit, by the threshold value of the gear before rotation and the second return difference
Value and be set to target upper limit voltage, then, when the gear before rotation be n when, from gear n to gear n+1 rotate gear rotation
Button, as the output voltage V for detecting postrotational gearoutMeet Fn-En1≤Vout≤Fn+En2When, judge postrotational gear
It is still n, works as Vout> Fn+En2When, judge postrotational gear for n+1.In addition, when the gear before rotation is n+1, from gear n
+ 1 to gear n rotation gear knob, when detecting Fn-En1≤Vout≤Fn+En2When, postrotational gear is judged still for n+1, when
Vout< Fn-En1When, judge postrotational gear for n.In addition, in the return difference of the multiple gears for calculating same gear adjusting device
During value, identical K is typically adoptedn, i.e., generally, K1=K2=K3=...=KN, KnValue be typically taken at 0.1 to 0.2 it
Between.
Fig. 3 shows the circuit diagram of gear adjusting device according to an embodiment of the invention.
As shown in figure 3, gear adjusting device according to an embodiment of the invention, in its voltage output sample circuit, bag
Include power supply EC101, electric capacity C101, resistance R1、R2、R3With gear regulator potentiometer Rm, wherein, R1、R2、RmMatching somebody with somebody for sample circuit
Put parameter, R1With gear regulator potentiometer RmSeries connection, resistance R3Strobe, and electric capacity C101 is together, and with gear current potential is adjusted
Device RmWith resistance R1Parallel connection, resistance R1One end ground connection, VccFor input voltage, VoutFor the output voltage of current gear, RmCan table
Show the maximum resistance of gear regulator potentiometer, when the total quantity for arranging gear is N, corresponding resistance value R of n-th gearn
Can be calculated by below equation:
Then threshold value F of n-th gearnCan be obtained by predetermined threshold value computing formula, predetermined threshold value computing formula is:
The relatively low gear side and close to the demarcation line of two adjacent gear positions in return difference value is arranged on two adjacent gear positions
When, using first time difference value equation as presetting back difference value equation, wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear n, Rn-1It is the corresponding resistance of gear of one-level lower than any gear n
Value, KnFor the design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N are calculating same gear adjusting device
During the return difference value of multiple gears, identical K is typically adoptedn, i.e., generally, K1=K2=K3=...=KN, KnValue it is general
It is taken between 0.1 to 0.2.
And work as return difference value and be arranged on gear side higher in two adjacent gear positions and close to the boundary of two adjacent gear positions
During line, using second time difference value equation as presetting back difference value equation, wherein, second time difference value equation is:
Wherein, En2For the second return difference value of any gear n, Rn+1It is the corresponding electricity of gear more higher leveled than any gear n
Resistance, KnFor the design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N are calculating same gear adjusting device
Multiple gears return difference value when, typically adopt identical Kn, i.e., generally, K1=K2=K3=...=KN, KnValue one
As be taken between 0.1 to 0.2.
Is provided with when gear side relatively low in two adjacent gear positions and close at the demarcation line of two adjacent gear positions
During one return difference value, and when higher gear side in two adjacent gear positions and the setting close at the demarcation line of two adjacent gear positions
When having the second return difference value, using first time difference value equation and second time difference value equation as difference value equation is preset back the first return difference is calculated
Value En1With the second return difference value En2。
By foregoing circuit, the threshold value and return difference value of each gear can be automatically calculated according to preset formula, to complete gear
Adjustment, without the threshold value and return difference value of each gear of manual adjustment, improves the degree of accuracy of gear regulation, save the time and
Energy.
Fig. 4 shows the schematic diagram of gear control method according to an embodiment of the invention.
As shown in figure 4, gear control method according to an embodiment of the invention, return difference value can be arranged on two phases
Gear side relatively low in adjacent gear and close at the demarcation line of two adjacent gear positions, return difference value computing formula now is:
Wherein, En1For the return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor first
The design factor of return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is the corresponding resistance value of any gear n, Rn-1It is than appointing
The corresponding resistance value of gear of the low one-levels of one gear n.
The target lower voltage limit of gear n is FnWith En1Difference, target upper limit voltage be Fn, when the gear before rotation is n,
Gear knob is rotated from gear n to gear n+1, as the output voltage V for detecting postrotational gearoutMeet Fn-En1≤Vout
≤FnWhen, judge that postrotational gear, still for n, works as Vout> Fn, judge postrotational gear for n+1.When the gear before rotation is n
When+1, gear knob is rotated from gear n+1 to gear n, when detecting Fn-En1≤Vout≤FnWhen, judge postrotational gear still
For n+1, work as Vout< Fn-En1When, judge postrotational gear for n.For example during n=1, now gear rotates gear at 1 grade
Knob, if the output voltage V of postrotational gearoutMeet F1-E11≤Vout≤F1, then postrotational gear is judged still for 1 grade;
If gear rotates gear knob at 2 grades, if the output voltage V of postrotational gearoutScope be F1-E11≤Vout≤F1,
Postrotational gear is then judged still for 2 grades.
In addition, when the return difference value of multiple gears of same gear adjusting device is calculated, typically adopting identical Kn, i.e., one
As in the case of, K1=K2=K3=...=KN, KnValue be typically taken between 0.1 to 0.2.
Fig. 5 shows the schematic diagram of gear control method according to another embodiment of the invention.
As shown in figure 5, gear control method according to another embodiment of the invention, return difference value can be arranged on two
Gear side higher in adjacent gear positions and close at the demarcation line of two adjacent gear positions, return difference value computing formula now is:
Wherein, En2For the return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor return difference
The design factor of value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor the corresponding resistance value of any gear n, Rn+1It is than arbitrary shelves
The corresponding resistance value of the higher leveled gears of position n.
The target lower voltage limit of gear n is Fn, target upper limit voltage is FnWith En2Sum, when the gear before rotation be n when,
Gear knob is rotated from gear n to gear n+1, as the output voltage V for detecting postrotational gearoutMeet Fn≤Vout≤Fn+
En2When, judge that postrotational gear, still for n, works as Vout> FnWhen, judge postrotational gear for n+1.When the gear before rotation is
During n+1, gear knob is rotated from gear n+1 to gear n, when detecting Fn≤Vout≤Fn+En2When, judge postrotational gear
It is still n+1, works as Vout< FnWhen, judge postrotational gear for n.For example during n=1, now at 1 grade, rotation gear revolves gear
Button, if the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+E12, then judge postrotational gear still for 1
Shelves;If gear rotates gear knob at 2 grades, if the output voltage V of postrotational gearoutScope be F1≤Vout≤F1+
E12, then postrotational gear is judged still for 2 grades.
In addition, when the return difference value of multiple gears of same gear adjusting device is calculated, typically adopting identical Kn, i.e., one
As in the case of, K1=K2=K3=...=KN, KnValue be typically taken between 0.1 to 0.2.
Fig. 6 shows the schematic diagram of gear control method according to still a further embodiment.
As shown in fig. 6, gear control method according to another embodiment of the invention, when in two adjacent gear positions compared with
Low gear side and when being provided with the first return difference value close at the demarcation line of two adjacent gear positions, and when in two adjacent gear positions
In higher gear side and when being provided with the second return difference value close at the demarcation line of two adjacent gear positions, it is public with the first return difference value
Formula and second time difference value equation calculate the first return difference value and the second return difference value as difference value equation is preset back, wherein, the first return difference
Value formula is:
Wherein, En1For the first return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor
The design factor of the first return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnIt is the corresponding resistance value of any gear n, Rn-1It is
The corresponding resistance value of gear of one-level lower than any gear n;Second time difference value equation is:
Wherein, En2For the second return difference value of any gear n, R1、R2For the resistance in circuit, VccFor input voltage, KnFor
The design factor of return difference value, 0<Kn<1, wherein n=1,2,3 ..., N, RnFor the corresponding resistance value of any gear n, Rn+1It is than appointing
The corresponding resistance value of the higher leveled gears of one gear n;And step 1062 also includes:By the shelves of one-level lower than the original speed position
The corresponding threshold value in position is set to the target lower voltage limit with the difference of the first return difference value, by the threshold value of original speed position and second
Return difference value and be set to target upper limit voltage.
When the gear before rotation is n, gear knob is rotated from gear n to gear n+1, when detecting postrotational gear
Output voltage VoutMeet Fn-En1≤Vout≤Fn+En2When, judge that postrotational gear, still for n, works as Vout> Fn+En2When, sentence
The postrotational gear that breaks is n+1.In addition, when the gear before rotation is n+1, gear knob is rotated from gear n+1 to gear n,
When detecting Fn-En1≤Vout≤Fn+En2When, judge that postrotational gear, still for n+1, works as Vout< Fn-En1When, after judging rotation
Gear be n.
In addition, when the return difference value of multiple gears of same gear adjusting device is calculated, typically adopting identical Kn, i.e., one
As in the case of, K1=K2=K3=...=KN, KnValue be typically taken between 0.1 to 0.2.
In the present invention, term " first ", " second " are only used for the purpose for describing, and it is not intended that indicating or implying phase
To importance.For the ordinary skill in the art, above-mentioned term can as the case may be understood in the present invention
Concrete meaning.
Technical scheme is described in detail above in association with accompanying drawing, by technical scheme, can basis
Preset formula calculates the threshold value of each gear and return difference value automatically, to complete gear adjustment, without each gear of manual adjustment
Threshold value and return difference value, improve the degree of accuracy of gear regulation, save time and efforts.
Embodiments of the invention are the foregoing is only, the present invention is not limited to, for those skilled in the art
For member, the present invention can have various modifications and variations.All any modifications within the spirit and principles in the present invention, made,
Equivalent, improvement etc., should be included within the scope of the present invention.
Claims (12)
1. a kind of gear control method based on voltage output sample circuit, for gear adjusting device, it is characterised in that bag
Include:
According to the configuration parameter and the total quantity of gear of current sample circuit, the gear is calculated with predetermined threshold value formula and is adjusted
The threshold value of each gear in multiple gears of regulating device, to determine the distribution situation of each gear;
According to the configuration parameter of the current sample circuit, to preset back the return difference value that difference value equation calculates each gear;
When the gear knob for detecting the gear adjusting device rotates, according to the corresponding output electricity of postrotational target gear
Pressure, the threshold value and the return difference value, determine postrotational target gear.
2. gear control method according to claim 1, it is characterised in that the configuration parameter of the sample circuit includes the
The resistance of one resistance, the resistance of second resistance, the magnitude of voltage of input voltage, the corresponding resistance value of any gear and the gear
The maximum resistance of regulator potentiometer, wherein, the series connection of the first resistor, the gear regulator potentiometer and the second resistance
It is connected between the input voltage and ground, voltage output is connected to the public affairs of the second resistance and the gear regulator potentiometer
Hold altogether,
The predetermined threshold value computing formula is:
Wherein, FnFor the threshold value of any gear, R1For the first resistor, R2For the second resistance, VccFor the input electricity
Pressure, RnFor the corresponding resistance value of any gear, wherein RnIt is calculated by below equation:
Wherein, N is the total quantity of the gear, RmFor the maximum resistance.
3. gear control method according to claim 2, it is characterised in that in the shelves for detecting the gear adjusting device
When position knob rotates, according to the corresponding output voltage of postrotational target gear, the threshold value and the return difference value, it is determined that rotation
Target gear afterwards, specifically includes:
It is that the original speed position is arranged according to the original speed position before rotation and its threshold value and the return difference value of adjacent gear positions
Corresponding target lower voltage limit and target upper limit voltage;And
Judge the corresponding output voltage of the target gear whether in the target lower voltage limit and target upper limit electricity
Between pressure,
When judged result is to be, the original speed position is set to into the target gear;
When judged result is no, when the output voltage of the target gear is higher than the target upper limit voltage, will compare
The higher leveled gear of the original speed position is set to the target gear, when the output voltage of the target gear is less than institute
When stating target lower voltage limit, the gear of one-level lower than the original speed position is set to into the target gear.
4. gear control method according to claim 3, it is characterised in that when the return difference value is arranged on two adjacent shelves
Relatively low gear side and during the demarcation line close to described two adjacent gear positions in position, using first time difference value equation as described pre-
If returning difference value equation, wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear, R1For the first resistor, R2For the second resistance, VccFor
The input voltage, KnFor the design factor of the first return difference value, 0<Kn<1, RnIt is the corresponding resistance value of any gear,
Rn-1It is the corresponding resistance value of gear of one-level lower than any gear;And
It is that the original speed position is arranged according to the original speed position before rotation and its threshold value and the return difference value of adjacent gear positions
Corresponding target lower voltage limit and target upper limit voltage, specifically include:
The difference of the corresponding threshold value of gear of one-level lower than the original speed position and return difference value is set to into the target lower voltage limit,
The threshold value of the original speed position is set to into the target upper limit voltage.
5. gear control method according to claim 3, it is characterised in that when the return difference value is arranged on described two phases
When gear side higher in adjacent gear and the demarcation line close to described two adjacent gear positions, using second time difference value equation as institute
State and preset back difference value equation, wherein, second time difference value equation is:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance, VccFor
The input voltage, KnFor the design factor of the return difference value, 0<Kn<1, RnFor the corresponding resistance value of any gear, Rn+1
It is the corresponding resistance value of gear more higher leveled than any gear;And
It is that the original speed position is arranged according to the original speed position before rotation and its threshold value and the return difference value of adjacent gear positions
Corresponding target lower voltage limit and target upper limit voltage, also include:
The corresponding threshold value of gear of one-level lower than the original speed position is set to into the target lower voltage limit, by the initial shelves
The threshold value and the corresponding return difference value of position and be set to the target upper limit voltage.
6. gear control method according to claim 3, it is characterised in that
When relatively low gear side in described two adjacent gear positions and the setting close at the demarcation line of described two adjacent gear positions
When having the first return difference value, and work as higher gear side in described two adjacent gear positions and close to described two adjacent gear positions
When the second return difference value is provided with demarcation line,
The first return difference value is calculated as the difference value equation of presetting back using first time difference value equation and second time difference value equation
With the second return difference value, wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear n, R1For the first resistor, R2For institute's second resistance, VccFor described defeated
Enter voltage, KnFor the design factor of the first return difference value, 0<Kn<1, RnIt is the corresponding resistance value of any gear, Rn-1It is
The corresponding resistance value of gear of one-level lower than any gear;
Second time difference value equation be:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance, VccFor
The input voltage, KnFor the design factor of the return difference value, 0<Kn<1, RnFor the corresponding resistance value of any gear, Rn+1
It is the corresponding resistance value of gear more higher leveled than any gear;And
It is that the original speed position is arranged according to the original speed position before rotation and its threshold value and the return difference value of adjacent gear positions
Corresponding target lower voltage limit and target upper limit voltage, also include:
The corresponding threshold value of gear of one-level lower than the original speed position and the difference of the first return difference value are set to into the target
Lower voltage limit, by the threshold value of the original speed position and the second return difference value and be set to the target upper limit voltage.
7. a kind of gear adjusting device based on voltage output sample circuit, it is characterised in that include:
First computing unit, it is public with predetermined threshold value for according to the total quantity of the configuration parameter of current sample circuit and gear
Formula calculates the threshold value of each gear in multiple gears of the gear adjusting device, to determine the distribution situation of each gear;
Second computing unit, for according to the configuration parameter of the current sample circuit, to preset back difference value equation institute being calculated
State the return difference value of each gear;
Adjustment unit, during for rotating in the gear knob for detecting the gear adjusting device, according to postrotational target shift
The corresponding output voltage in position, the threshold value and the return difference value, determine postrotational target gear.
8. gear adjusting device according to claim 7, it is characterised in that the configuration parameter of the sample circuit includes the
The resistance of one resistance, the resistance of second resistance, the magnitude of voltage of input voltage, the corresponding resistance value of any gear and the gear
The maximum resistance of regulator potentiometer, wherein, the series connection of the first resistor, the gear regulator potentiometer and the second resistance
It is connected between the input voltage and ground, voltage output is connected to the public affairs of the second resistance and the gear regulator potentiometer
Hold altogether,
The predetermined threshold value computing formula is:
Wherein, FnFor the threshold value of any gear, R1For the first resistor, R2For the second resistance, VccFor the input electricity
Pressure, RnFor the corresponding resistance value of any gear, wherein RnIt is calculated by below equation:
Wherein, N is the total quantity of the gear, RmFor the maximum resistance.
9. gear adjusting device according to claim 8, it is characterised in that the adjustment unit is specifically included:
Setting unit, for being institute according to the threshold value of the original speed position before rotation and its adjacent gear positions and the return difference value
State original speed position and corresponding target lower voltage limit and target upper limit voltage are set;
Judging unit, for judging the corresponding output voltage of the target gear whether in the target lower voltage limit and institute
State between target upper limit voltage, when judged result is to be, the original speed position is set to into the target gear;When judgement knot
When fruit is no, when the output voltage of the target gear is higher than the target upper limit voltage, will be than the original speed position
Higher leveled gear is set to the target gear, rations the power supply under the output voltage of the target gear is less than the target
During pressure, the gear of one-level lower than the original speed position is set to into the target gear.
10. gear adjusting device according to claim 9, it is characterised in that second computing unit specifically for:
Relatively low gear side and dividing close to described two adjacent gear positions in the return difference value is arranged on two adjacent gear positions
During boundary line, first time difference value equation is preset into back difference value equation as described, wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear, R1For the first resistor, R2For the second resistance, VccFor
The input voltage, KnFor the design factor of the first return difference value, 0<Kn<1, RnIt is the corresponding resistance value of any gear,
Rn-1It is the corresponding resistance value of gear of one-level lower than any gear;And
The setting unit specifically for:
The difference of the corresponding threshold value of gear of one-level lower than the original speed position and return difference value is set to into the target lower voltage limit,
The threshold value of the original speed position is set to into the target upper limit voltage.
11. gear adjusting devices according to claim 9, it is characterised in that second computing unit is additionally operable to:
The higher gear side and close to described two adjacent gear positions in the return difference value is arranged on described two adjacent gear positions
Demarcation line when, second time difference value equation is preset into back difference value equation as described, wherein, second time difference value equation is:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance, VccFor
The input voltage, KnFor the design factor of the return difference value, 0<Kn<1, RnFor the corresponding resistance value of any gear, Rn+1
It is the corresponding resistance value of gear more higher leveled than any gear;And
The setting unit is additionally operable to:
The corresponding threshold value of gear of one-level lower than the original speed position is set to into the target lower voltage limit, by the initial shelves
The threshold value and the corresponding return difference value of position and be set to the target upper limit voltage.
12. gear adjusting devices according to claim 9, it is characterised in that second computing unit is additionally operable to:
When relatively low gear side in described two adjacent gear positions and the setting close at the demarcation line of described two adjacent gear positions
When having the first return difference value, and work as higher gear side in described two adjacent gear positions and close to described two adjacent gear positions
When the second return difference value is provided with demarcation line,
The first return difference value is calculated as the difference value equation of presetting back using first time difference value equation and second time difference value equation
With the second return difference value, wherein, first time difference value equation is:
Wherein, En1For the first return difference value of any gear n, R1For the first resistor, R2For institute's second resistance, VccFor described defeated
Enter voltage, KnFor the design factor of the first return difference value, 0<Kn<1, RnIt is the corresponding resistance value of any gear, Rn-1It is
The corresponding resistance value of gear of one-level lower than any gear;
Second time difference value equation be:
Wherein, En2For the second return difference value of any gear, R1For the first resistor, R2For the second resistance, VccFor
The input voltage, KnFor the design factor of the return difference value, 0<Kn<1, RnFor the corresponding resistance value of any gear, Rn+1
It is the corresponding resistance value of gear more higher leveled than any gear;And
The setting unit is additionally operable to:
The corresponding threshold value of the gear of one-level lower than the original speed position and the difference of the first return difference value are set to described
Target lower voltage limit, by the threshold value of the original speed position and the second return difference value and be set to the target upper limit electricity
Pressure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410339207.1A CN104101752B (en) | 2014-07-16 | 2014-07-16 | Gear adjusting method and gear adjusting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410339207.1A CN104101752B (en) | 2014-07-16 | 2014-07-16 | Gear adjusting method and gear adjusting device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104101752A CN104101752A (en) | 2014-10-15 |
CN104101752B true CN104101752B (en) | 2017-05-17 |
Family
ID=51670068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410339207.1A Active CN104101752B (en) | 2014-07-16 | 2014-07-16 | Gear adjusting method and gear adjusting device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104101752B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108369084B (en) * | 2017-02-22 | 2020-06-23 | 深圳和而泰智能控制股份有限公司 | Potentiometer gear determining method and device |
CN108050924A (en) * | 2017-12-05 | 2018-05-18 | 厦门芯阳科技股份有限公司 | A kind of accurate judgement method of potentiometer gear |
CN108815700B (en) * | 2018-04-10 | 2022-03-11 | 西安八水健康科技有限公司 | Transcranial electrical nerve regulation and control instrument for treating tic disorder and method for preventing misoperation |
CN111442467A (en) * | 2020-04-17 | 2020-07-24 | 深圳爱思普芯科技有限公司 | Air conditioner gear detection method and detection system for detecting air conditioner gear |
CN111679105B (en) * | 2020-04-29 | 2022-11-29 | 深圳市科陆精密仪器有限公司 | Range switching method for ammeter, ammeter and storage medium |
CN112652431B (en) * | 2020-11-26 | 2022-04-12 | 杭州广安汽车电器有限公司 | Structure and method for preventing potentiometer gear judgment jitter |
CN114838468B (en) * | 2022-05-30 | 2023-09-19 | 广东开利暖通空调股份有限公司 | Control method of alternating current fan and related equipment thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5103398A (en) * | 1988-08-20 | 1992-04-07 | Nissan Motor Co., Ltd. | Shift control for slip control |
CN201331569Y (en) * | 2008-11-28 | 2009-10-21 | 郑州春泉暖通节能设备有限公司 | Novel multi-level motor shift-level detecting device |
CN101814275A (en) * | 2010-02-26 | 2010-08-25 | 天津七一二通信广播有限公司 | Automatic brightness-regulating system for CIR operation display terminal |
CN103630151A (en) * | 2012-08-20 | 2014-03-12 | 龚亚娟 | Motorcycle gear detection display method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8600633B2 (en) * | 2010-07-29 | 2013-12-03 | GM Global Technology Operations LLC | Gear preselect systems for a dual clutch transmission |
-
2014
- 2014-07-16 CN CN201410339207.1A patent/CN104101752B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5103398A (en) * | 1988-08-20 | 1992-04-07 | Nissan Motor Co., Ltd. | Shift control for slip control |
CN201331569Y (en) * | 2008-11-28 | 2009-10-21 | 郑州春泉暖通节能设备有限公司 | Novel multi-level motor shift-level detecting device |
CN101814275A (en) * | 2010-02-26 | 2010-08-25 | 天津七一二通信广播有限公司 | Automatic brightness-regulating system for CIR operation display terminal |
CN103630151A (en) * | 2012-08-20 | 2014-03-12 | 龚亚娟 | Motorcycle gear detection display method |
Non-Patent Citations (2)
Title |
---|
矿用智能降尘控制器的研究;朱文琦;《电器工业》;20100430(第4期);第49-51页 * |
自动停机电路;屈春华;《电测与仪表》;19980731;第35卷(第391期);第27-29页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104101752A (en) | 2014-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104101752B (en) | Gear adjusting method and gear adjusting device | |
CN107607851B (en) | Voltage regulation system and method | |
CN104808070B (en) | A kind of converter valve thyristor level damping circuit parameter test device and method | |
CN102435894B (en) | Digital leakage protector tester and test method thereof | |
EP2848947A1 (en) | Method and Device for Measuring Electrical Quantities | |
CN106483462A (en) | A kind of measuring method of battery charge and device | |
CN202794494U (en) | Device for four-point probe resistivity tester verification | |
CN107817374A (en) | A kind of method and device for the operating current and dump energy for detecting electric terminal | |
WO2007112725A1 (en) | Device for testing water meters | |
CN104181878B (en) | Carbon discharge process monitoring and controlling method | |
CN103574910B (en) | Water pump control method and device of heat pump water heater and heat pump water heater | |
CN103969614B (en) | A kind of calibration steps of digital multimeter | |
CN106501718B (en) | Motor calibration system, adjusting method and calibration calculation method | |
CN102081143B (en) | Estimation method and system of battery capacity | |
CN103901348B (en) | It is applicable to the method for estimation of the remaining battery loading capacity of dynamic electric current operating mode | |
CN101950010B (en) | Full-automatic measuring device of load tank | |
CN106092358A (en) | A kind for the treatment of method and apparatus of resistance sensor signal | |
TWI394972B (en) | Method and system for estimating battery percentage | |
KR101790874B1 (en) | Pump consumption power calculation method at revolution per minute in inverter controlled water supply pump | |
CN107192864A (en) | A kind of Precision digital resistor load circuit | |
CN203616374U (en) | DC potentiometer experimental device adopting constant current source | |
CN103792430B (en) | Self-adaptive range resistance test method | |
CN211373814U (en) | Precision detection device and humectant preparation system | |
CN209895195U (en) | Water pumping test groundwater water level flow regulating device | |
DE102011107442A1 (en) | Pulse-controlled gas meter for determining temperature-corrected flowing gas amount, has converter comprising electrical elements e.g. ohmic resistors, weighted such that data word corresponds to temperature-corrected gas amount |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |