Self-adaptive full stroke detection electromagnetic induction type potentiometer

文档序号:21732 发布日期:2021-09-21 浏览:34次 中文

阅读说明:本技术 一种自适应满行程检测电磁感应式电位器 (Self-adaptive full stroke detection electromagnetic induction type potentiometer ) 是由 于红勇 于 2021-06-18 设计创作,主要内容包括:本发明提出一种自适应满行程检测电磁感应式电位器,包括:活动部,用于获取位置变化输入;永磁体,附着于活动部;磁感应传感器,用于感应永磁体的位置,并产生初始电位信号;以及,自适应满行程输出调节单元,用于采集初始电位信号并自适应地将初始电位信号调整为对应于活动部完整位置变化行程的实际电位信号。本发明可以实现对磁感应传感器采样范围的动态调整,在采样值超过预设范围值时,仍然能够实时自适应地更新预设采样范围,即电位器可根据实际使用情况动态地、自适应地修正输出特性,从而确保能够对满量程范围内的位置进行检测,提升了用户的使用体验,该设置方式无需对每一电位器进行单独校准,提高了生产效率。(The invention provides a self-adaptive full stroke detection electromagnetic induction potentiometer, which comprises: a movable section for acquiring a position change input; a permanent magnet attached to the movable part; the magnetic induction sensor is used for sensing the position of the permanent magnet and generating an initial potential signal; and the self-adaptive full stroke output adjusting unit is used for acquiring the initial potential signal and self-adaptively adjusting the initial potential signal into an actual potential signal corresponding to the complete position change stroke of the movable part. The invention can realize the dynamic adjustment of the sampling range of the magnetic induction sensor, and can still adaptively update the preset sampling range in real time when the sampling value exceeds the preset range value, namely, the potentiometer can dynamically and adaptively modify the output characteristic according to the actual use condition, thereby ensuring that the position in the full range can be detected, improving the use experience of users, and improving the production efficiency because each potentiometer does not need to be calibrated independently in the setting mode.)

1. An adaptive full stroke detection electromagnetic induction potentiometer, comprising:

a movable section for acquiring a position change input;

a permanent magnet attached to the movable part;

the magnetic induction sensor is used for sensing the position of the permanent magnet and generating an initial potential signal; and the number of the first and second groups,

and the self-adaptive full-stroke output adjusting unit is used for acquiring the initial potential signal and adaptively adjusting the initial potential signal into an actual potential signal corresponding to the complete position change stroke of the movable part.

2. The adaptive full stroke detection electromagnetic induction type potentiometer according to claim 1, wherein the adaptive full stroke output adjusting unit comprises:

the information acquisition module is used for acquiring the initial potential signal to obtain an initial potential sampling value;

the signal output module is used for outputting the actual potential signal;

the control module is used for executing the following operation steps:

s1: reading a preset potential sampling range, taking the minimum value of the preset potential sampling range as the minimum value of an actual potential sampling range, and taking the maximum value of the preset potential sampling range as the maximum value of the actual potential sampling range;

s2: controlling the information acquisition module to sample the output of the magnetic induction sensor to obtain an initial potential sampling value;

s3: obtaining an actual potential output value according to a comparison result of the initial potential sampling value and the actual potential sampling range, and controlling the signal output module to output the actual potential signal;

s4: adjusting the actual potential sampling range according to the comparison result of the initial potential sampling value and the actual potential sampling range;

s5: the execution returns to step S2.

3. The adaptive full stroke detection electromagnetic induction type potentiometer according to claim 2, wherein the operation step S3 is specifically:

comparing the initial potential sampling value with the maximum value and the minimum value of the actual potential sampling range respectively, and if the initial potential sampling value is within the actual potential sampling range, taking the initial potential sampling value as the actual potential sampling value; if the initial potential sampling value is smaller than the minimum value of the actual potential sampling range, taking the minimum value of the actual potential sampling range as the actual potential sampling value; if the initial potential sampling value is larger than the maximum value of the actual potential sampling range, taking the maximum value of the actual potential sampling range as the actual potential sampling value; and determining an actual potential output value through the actual potential sampling value, the actual potential sampling range and the actual potential output range, and controlling the signal output module to output the actual potential signal according to the actual potential output value.

4. An adaptive full-stroke detecting electromagnetic induction type potentiometer according to claim 3, characterized in that the difference between the maximum value of the actual potential sampling range minus the minimum value of the actual potential sampling range is used as the actual potential sampling range amplitude, the difference between the maximum value of the actual potential output range minus the minimum value of the actual potential output range is used as the actual potential output range amplitude, and the ratio of the actual potential sampling value to the actual potential sampling range amplitude is equal to the ratio of the actual potential output value to the actual potential output range amplitude.

5. The adaptive full stroke detection electromagnetic induction type potentiometer according to claim 2, wherein the operation step S4 is specifically:

comparing the initial potential sampling value with the maximum value and the minimum value of an actual potential sampling range respectively, and if the initial potential sampling value is within the actual potential sampling range, not adjusting the actual potential sampling range; if the initial potential sampling value is smaller than the minimum value of the actual potential sampling range, updating the minimum value of the actual potential sampling range by the initial potential sampling value; and if the initial potential sampling value is larger than the maximum value of the actual potential sampling range, updating the maximum value of the actual potential sampling range by using the initial potential sampling value.

6. The adaptive full stroke sensing electromagnetic induction potentiometer according to claim 1, wherein the movable portion is a rotating member for obtaining a rotational angle position change input.

7. The adaptive full stroke sensing electromagnetic induction potentiometer according to claim 1, wherein the movable portion is a slider for obtaining linear displacement position change input.

8. The adaptive full stroke sensing electromagnetic induction potentiometer according to claim 6, further comprising a housing, wherein the rotating member rotates relative to the housing.

9. The adaptive full stroke detection electromagnetic induction type potentiometer according to claim 8, further comprising an output port, wherein the magnetic induction sensor and the adaptive full stroke output adjustment unit are both embedded in the housing, the output port is connected with the adaptive full stroke output adjustment unit and embedded in the housing, and the actual potential signal is output from the output port.

10. The adaptive full stroke detection electromagnetic induction type potentiometer according to claim 2, wherein the actual potential signal is an analog signal or a digital signal.

Technical Field

The invention relates to the technical field of electronics, in particular to a self-adaptive full-stroke output electromagnetic induction potentiometer.

Background

A potentiometer is a type of variable resistor, and is generally composed of a resistor body and a rotating or sliding system, i.e., a moving contact moves on the resistor body to obtain a partial voltage output. Most of traditional potentiometers use carbon films or resistance wire structures, and a contact is required to be in contact with the carbon films for friction, so that detection of different positions of the potentiometers is achieved. The contact structure of the traditional potentiometer has the following defects: (1) the carbon film has short abrasion life and large production error; (2) due to the friction of the connecting points, the position of the connecting points is changed, and the connecting points generate contact interference noise, and if the connecting points are used as a sound box and the like for adjusting the volume, the connecting points have the noise of hula.

The electromagnetic induction type potentiometer overcomes the defects, uses the permanent magnet as a rotating or sliding part assembly, and uses the linear Hall sensor to detect the position of the permanent magnet in real time. The electromagnetic induction potentiometer has no contact, no abrasion and no noise interference during adjustment when the position is adjusted. The chinese patent with application number CN201320158412.9 and the chinese patent with application number CN201721701957.4 both disclose solutions of electromagnetic induction potentiometers.

However, since the permanent magnet has poor magnetic consistency during generation, there is a problem that the output ranges are not consistent when the permanent magnet is applied to an electromagnetic induction type potentiometer, and if the outputs of the electromagnetic induction type potentiometer are calibrated one by one, extra time, labor and equipment costs are required, which is inconvenient for mass production. To solve this problem, the current solution is: a relatively small and safe fixed value range is set to detect the output value of the Hall sensor. As shown in fig. 1, the output ranges of the hall sensors are different individually for the same potentiometer stroke, a relatively conservative detection range is adopted during detection, the potentiometer output range is limited by the detection range according to the output characteristics, and the maximum value or the minimum value is directly output at the stroke position beyond the detection range. The mode brings a new problem that the output range of the potentiometer only can correspond to partial stroke of the potentiometer, when the output of the sensor is not in the detection range, the stroke position is difficult to effectively detect, full stroke detection cannot be realized, and the use experience is influenced.

Therefore, how to overcome the difference in output range caused by the magnetic inconsistency of the permanent magnet in the electromagnetic induction type potentiometer and realize the full stroke detection of the electromagnetic induction type potentiometer becomes an urgent technical problem to be solved.

Disclosure of Invention

In order to solve the above problems, the present invention provides an adaptive full stroke detection electromagnetic induction potentiometer, including:

a movable section for acquiring a position change input;

a permanent magnet attached to the movable part;

the magnetic induction sensor is used for sensing the position of the permanent magnet and generating an initial potential signal; and the number of the first and second groups,

and the self-adaptive full-stroke output adjusting unit is used for acquiring the initial potential signal and adaptively adjusting the initial potential signal into an actual potential signal corresponding to the complete position change stroke of the movable part.

Optionally, the adaptive full stroke output adjusting unit includes:

the information acquisition module is used for acquiring the initial potential signal to obtain an initial potential sampling value;

the signal output module is used for outputting the actual potential signal;

the control module is used for executing the following operation steps:

s1: reading a preset potential sampling range, taking the minimum value of the preset potential sampling range as the minimum value of an actual potential sampling range, and taking the maximum value of the preset potential sampling range as the maximum value of the actual potential sampling range;

s2: controlling the information acquisition module to sample the output of the magnetic induction sensor to obtain an initial potential sampling value;

s3: obtaining an actual potential output value according to a comparison result of the initial potential sampling value and the actual potential sampling range, and controlling the signal output module to output the actual potential signal;

s4: adjusting the actual potential sampling range according to the comparison result of the initial potential sampling value and the actual potential sampling range;

s5: the execution returns to step S2.

Optionally, the operation step S3 specifically includes:

comparing the initial potential sampling value with the maximum value and the minimum value of the actual potential sampling range respectively, and if the initial potential sampling value is within the actual potential sampling range, taking the initial potential sampling value as the actual potential sampling value; if the initial potential sampling value is smaller than the minimum value of the actual potential sampling range, taking the minimum value of the actual potential sampling range as the actual potential sampling value; if the initial potential sampling value is larger than the maximum value of the actual potential sampling range, taking the maximum value of the actual potential sampling range as the actual potential sampling value; and determining an actual potential output value through the actual potential sampling value, the actual potential sampling range and the actual potential output range, and controlling the signal output module to output the actual potential signal according to the actual potential output value.

Optionally, a difference obtained by subtracting the minimum value of the actual potential sampling range from the maximum value of the actual potential sampling range is used as an actual potential sampling range amplitude, a difference obtained by subtracting the minimum value of the actual potential output range from the maximum value of the actual potential output range is used as an actual potential output range amplitude, and a ratio of the actual potential sampling value to the actual potential sampling range amplitude is equal to a ratio of the actual potential output value to the actual potential output range amplitude.

Optionally, the operation step S4 specifically includes:

comparing the initial potential sampling value with the maximum value and the minimum value of an actual potential sampling range respectively, and if the initial potential sampling value is within the actual potential sampling range, not adjusting the actual potential sampling range; if the initial potential sampling value is smaller than the minimum value of the actual potential sampling range, updating the minimum value of the actual potential sampling range by the initial potential sampling value; and if the initial potential sampling value is larger than the maximum value of the actual potential sampling range, updating the maximum value of the actual potential sampling range by using the initial potential sampling value.

Optionally, the movable part is a rotating part for obtaining a rotation angle position change input.

Optionally, the movable part is a slider for acquiring a linear displacement position change input.

Optionally, the self-adaptive full stroke detection electromagnetic induction type potentiometer further comprises a housing, and the rotating piece rotates relative to the housing.

Optionally, an adaptation full stroke detects electromagnetic induction formula potentiometre still includes output port, magnetic induction sensor and adaptation full stroke output regulating unit all inlay the design in the shell, output port connects adaptation full stroke output regulating unit inlays and locates the shell, actual potential signal follows output port department exports.

Optionally, the actual potential signal is an analog signal or a digital signal.

The invention has the beneficial effects that:

the invention sets the preset sampling range through the self-adaptive full-stroke output adjusting unit, obtains the actual potential output value according to the comparison result of the initial potential sampling value and the actual potential sampling range, and adjusts the actual potential sampling range according to the comparison result of the initial potential sampling value and the actual potential sampling range after obtaining the actual potential output value, thereby realizing the dynamic adjustment of the sampling range of the magnetic induction sensor. According to the invention, through the steps of presetting the sampling range, comparing parameters, outputting the current value and adaptively adjusting the sampling range, when the sampling value exceeds the preset range value, the preset sampling range can still be adaptively updated in real time, namely, the potentiometer can dynamically and adaptively correct the output characteristic according to the actual use condition, so that the position in the full range can be detected, the use experience of a user is improved, the setting mode does not need to independently calibrate each potentiometer, and the production efficiency is improved.

Drawings

Fig. 1 is a schematic diagram illustrating an output range adjustment principle of a conventional electromagnetic induction type potentiometer.

Fig. 2 is a schematic structural diagram of an embodiment of the present invention.

Fig. 3 is a schematic structural diagram of a second embodiment of the present invention.

FIG. 4 is an exploded view of an embodiment of the present invention.

FIG. 5 is a schematic diagram of a third structure according to an embodiment of the present invention.

FIG. 6 is an exploded view of the embodiment of the present invention.

Fig. 7 is a schematic structural diagram of a fourth embodiment of the present invention.

Detailed Description

In order to more clearly and completely explain the technical scheme of the invention, the invention is further explained with reference to the attached drawings.

Example one

Referring to fig. 1, the present invention provides an adaptive full stroke detection electromagnetic induction potentiometer 100, including: a rotor 101, a permanent magnet 102, a magnetic induction sensor 103 and an adaptive full stroke output adjustment unit 104. The rotating member 101 rotates around the center when receiving an external force, the rotating member 101 is used for receiving an external rotation input, and the output of the potentiometer can reflect the input rotation angle position change. The permanent magnet 102 is attached to the rotation member 101 to rotate following the rotation member 101. The magnetic induction sensor 103 is used for sensing the position of the permanent magnet 102 and generating an initial potential signal. The adaptive full stroke output adjusting unit 104 is configured to collect an initial potential signal and adaptively adjust the initial potential signal to an actual potential signal corresponding to a complete position change stroke of the rotating member 101.

The self-adaptive full-stroke detection electromagnetic induction type potentiometer 100 provided by the embodiment of the invention can overcome the defects of short service life and large interference of the traditional potentiometer caused by friction of a contact point, and can realize the full-stroke position detection of the potentiometer through the arrangement of the self-adaptive full-stroke output adjusting unit.

Further, as a preferred embodiment, the adaptive full stroke output adjusting unit 104 includes: the device comprises an information acquisition module, a signal output module and a control module. The information acquisition module is used for acquiring the initial potential signal and obtaining an initial potential sampling value. The signal output module is used for outputting an actual potential signal.

The control module is used for executing the following operation steps:

s1: reading a preset potential sampling range, taking the minimum value of the preset potential sampling range as the minimum value of the actual potential sampling range, and taking the maximum value of the preset potential sampling range as the maximum value of the actual potential sampling range;

s2: the control information acquisition module samples the output of the magnetic induction sensor to obtain an initial potential sampling value;

s3: obtaining an actual potential output value according to a comparison result of the initial potential sampling value and the actual potential sampling range, and controlling a signal output module to output an actual potential signal;

s4: adjusting the actual potential sampling range according to the comparison result of the initial potential sampling value and the actual potential sampling range;

s5: the execution returns to step S2.

It should be noted that, in this embodiment, the preset sampling range may be stored in the nonvolatile storage device, that is, the data may be retained in the case of power failure. The preset sampling range is a relatively safe parameter range, and can adapt to the output range difference of the magnetic induction sensor 103 caused by individual difference. As an example, the boundary of the preset sampling range may be set within the boundary of the output values of the plurality of magnetic induction sensors 103.

According to the embodiment of the invention, the self-adaptive full-stroke output adjusting unit 104 is used for setting the preset sampling range, the actual potential output value is obtained according to the comparison result of the initial potential sampling value and the actual potential sampling range, the actual potential sampling range is adjusted according to the comparison result of the initial potential sampling value and the actual potential sampling range after the actual potential output value is obtained, the dynamic adjustment of the sampling range of the magnetic induction sensor 103 can be realized, when the initial potential sampling value exceeds the preset potential sampling range, the sampling range can be self-adaptively and dynamically updated, the numerical value in the output range of the magnetic induction sensor 103 can be ensured to be acquired, and the potentiometer can be ensured to be detected at any position in the whole stroke range.

In an alternative embodiment, the operation step S3 specifically includes:

comparing the initial potential sampling value with the maximum value and the minimum value of the actual potential sampling range respectively, and if the initial potential sampling value is within the actual potential sampling range, taking the initial potential sampling value as the actual potential sampling value; if the initial potential sampling value is smaller than the minimum value of the actual potential sampling range, taking the minimum value of the actual potential sampling range as the actual potential sampling value; if the initial potential sampling value is larger than the maximum value of the actual potential sampling range, taking the maximum value of the actual potential sampling range as the actual potential sampling value; and determining an actual potential output value through the actual potential sampling value, the actual potential sampling range and the actual potential output range, and controlling the signal output module to output an actual potential signal according to the actual potential output value.

In an alternative embodiment, a difference between a maximum value of the actual potential sampling range and a minimum value of the actual potential sampling range is used as an actual potential sampling range amplitude, a difference between a maximum value of the actual potential output range and a minimum value of the actual potential output range is used as an actual potential output range amplitude, and a ratio of the actual potential sampling value to the actual potential sampling range amplitude is equal to a ratio of the actual potential output value to the actual potential output range amplitude. Through the constraint relation, the actual potential output value can be calculated according to the actual potential sampling value, the actual potential sampling range and the actual potential output range.

In an alternative embodiment, the operation step S4 specifically includes:

comparing the initial potential sampling value with the maximum value and the minimum value of the actual potential sampling range respectively, and if the initial potential sampling value is within the actual potential sampling range, not adjusting the actual potential sampling range; if the initial potential sampling value is smaller than the minimum value of the actual potential sampling range, updating the minimum value of the actual potential sampling range by the initial potential sampling value; and if the initial potential sampling value is larger than the maximum value of the actual potential sampling range, updating the maximum value of the actual potential sampling range by using the initial potential sampling value.

The adjustment effect of the present embodiment is explained below by an example. Taking sampling of a magnetic induction potentiometer applied to a joystick rocker as an example, the default setting of the preset potential sampling range of the magnetic induction sensor is 0.7V-2.5V, when the range of the initial potential sampling value of the magnetic induction sensor is found to be 0.5V-3V in use, the actual potential sampling range can be dynamically adjusted to 0.5V-3V until power is off, and the default range is restored to 0.7V-2.5V after power is on again; if the range of the initial potential sampling value of the magnetic induction sensor is 0.8V-2.4V when in use, the default preset potential sampling range of 0.7V-2.5V is still used; if the range of the initial potential sampling value of the magnetic induction sensor is 0.8V-2.8V when in use, the actual potential sampling range can be dynamically adjusted to 0.7-2.8V; if the sampling voltage range of the initial potential sampling value of the magnetic induction sensor is 0.5V-2.4V when the magnetic induction sensor is used, the actual potential sampling range can be dynamically adjusted to 0.5V-2.5V.

According to the embodiment of the invention, through the steps of presetting the sampling range, comparing the parameters, outputting the current value and adaptively adjusting the sampling range, when the sampling value exceeds the preset range value, the preset sampling range can still be adaptively updated in real time, namely, the potentiometer can dynamically and adaptively correct the output characteristic according to the actual use condition, so that the position in the full range can be detected, the use experience of a user is improved, the setting mode does not need to independently calibrate each potentiometer, and the production efficiency is improved.

In alternative embodiments, the actual potential signal is an analog signal or a digital signal. The signal output module in the self-adaptive full-stroke output adjusting unit can adjust the actual potential signal into an analog signal or a digital signal for output.

In an alternative embodiment, the magnetic induction sensor 103 is a hall sensor.

Example two

Referring to fig. 3 and 4, the invention provides an adaptive full stroke detection electromagnetic induction type potentiometer 200, which comprises a housing 201, a rotating member 202, a permanent magnet 203, a magnetic induction sensor and an adaptive full stroke output adjusting unit. The rotor 202 rotates relative to the housing 201, the rotor 202 is fastened to the housing 201, and the permanent magnet 203 is embedded in the rotor 202. The magnetic induction sensor and the adaptive full stroke output adjusting unit may be additionally disposed in an external circuit outside the housing 201, and the adaptive full stroke output adjusting unit may be a cell machine, a microprocessor, or a DSP. The magnetic induction sensor is used for sensing the position of the permanent magnet 203 and generating an initial potential signal. The self-adaptive full-stroke output adjusting unit is used for acquiring an initial potential signal and self-adaptively adjusting the initial potential signal into an actual potential signal corresponding to the complete position change stroke of the rotating member 202.

In this embodiment, the internal configuration of the adaptive full stroke output adjusting unit is the same as that of the adaptive full stroke output adjusting unit 104 in the first embodiment, and details thereof are not repeated here.

EXAMPLE III

Referring to fig. 5 and 6, the present invention provides an adaptive full stroke detection electromagnetic induction type potentiometer 300, which includes a housing 301, a rotating member 302, a permanent magnet 303, a magnetic induction sensor, an adaptive full stroke output adjusting unit, and an output port 304. The rotating part 302 rotates relative to the outer shell 301, the rotating part 302 is buckled on the outer shell 301, and the permanent magnet 303 is embedded in the rotating part 302. The magnetic induction sensor and the self-adaptive full-stroke output adjusting unit are both embedded in the shell 301, and the output port 304 is connected with the self-adaptive full-stroke output adjusting unit and embedded in the shell. The magnetic induction sensor is used for sensing the position of the permanent magnet 303 and generating an initial potential signal. The self-adaptive full stroke output adjusting unit is used for acquiring an initial potential signal and self-adaptively adjusting the initial potential signal into an actual potential signal corresponding to the complete position change stroke of the rotating member 302, and the actual potential signal is output from the output port 304.

As a preferred embodiment, referring to fig. 6, the magnetic induction sensor and the adaptive full stroke output adjustment unit are packaged as an integrated circuit chip 305.

In this embodiment, the internal configuration of the adaptive full stroke output adjusting unit is the same as that of the adaptive full stroke output adjusting unit 104 in the first embodiment, and details thereof are not repeated here.

Example four

Referring to fig. 7, the present invention provides an adaptive full stroke detection electromagnetic induction type potentiometer 400, which includes a sliding member 401, a permanent magnet 402, a magnetic induction sensor 403, and an adaptive full stroke output adjusting unit 404. The sliding member 401 slides linearly in a certain area when receiving an external force, the sliding member 401 receives a linear displacement change inputted from the outside, and the output of the potentiometer reflects the inputted linear displacement change. Permanent magnet 402 is attached to slider 401 and is movable with slider 401. The magnetic induction sensor 403 is used to sense the position of the permanent magnet 402 and generate an initial potential signal. The adaptive full stroke output adjusting unit 404 is configured to collect an initial potential signal and adaptively adjust the initial potential signal to an actual potential signal corresponding to a complete position change stroke of the slider 401.

In this embodiment, the internal configuration of the adaptive full stroke output adjusting unit 404 is the same as that of the adaptive full stroke output adjusting unit 104 in the first embodiment, and details thereof are not repeated here.

Of course, the present invention may have other embodiments, and based on the embodiments, those skilled in the art can obtain other embodiments without any creative effort, and all of them are within the protection scope of the present invention.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:磁粉芯用复合粉末及其磁粉芯制备方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!