Potentiometer resistance value interval updating method of electrical equipment and electrical equipment

文档序号:574702 发布日期:2021-05-21 浏览:2次 中文

阅读说明:本技术 电器设备的电位器阻值区间更新方法和电器设备 (Potentiometer resistance value interval updating method of electrical equipment and electrical equipment ) 是由 李秉樵 于 2019-11-21 设计创作,主要内容包括:本发明公开一种电器设备的电位器阻值区间更新方法和电器设备,其中,电器设备的电位器阻值区间更新方法为将电位器旋转至最大临界点,上电并输出直流电源至电位器,获取电位器处于最大临界点的电压,根据电位器处于最大临界点的电压确定电位器处于最大临界点的电阻值,以得到电位器的最大阻值区间,根据多个工作指数与电位器的多个初始阻值区间的对应关系对电位器的最大阻值区间进行阻值区间划分,获得与多个工作指数对应的多个实际阻值区间,并更新替换初始配置的阻值区间,以使电器设备的工作指数与实际阻值区间保持匹配统一,解决了电器设备的电位器的误差问题,提高用户体验。(The invention discloses a potentiometer resistance interval updating method of electrical equipment and the electrical equipment, wherein the potentiometer resistance interval updating method of the electrical equipment comprises the steps of rotating a potentiometer to a maximum critical point, electrifying and outputting a direct current power supply to the potentiometer, obtaining the voltage of the potentiometer at the maximum critical point, determining the resistance value of the potentiometer at the maximum critical point according to the voltage of the potentiometer at the maximum critical point to obtain the maximum resistance interval of the potentiometer, dividing the resistance interval of the potentiometer according to the corresponding relation between a plurality of working indexes and a plurality of initial resistance intervals of the potentiometer to obtain a plurality of actual resistance intervals corresponding to the plurality of working indexes, updating and replacing the initially configured resistance intervals to keep the working indexes of the electrical equipment and the actual resistance intervals matched and uniform, and solving the error problem of the potentiometer of the electrical equipment, the user experience is improved.)

1. A method for updating a potentiometer resistance interval of electrical equipment is suitable for the electrical equipment, and is characterized in that the electrical equipment comprises the following steps:

a potentiometer having a plurality of initially configured resistance intervals;

the dial is used for representing working indexes of electrical equipment and is provided with a plurality of working indexes which are in one-to-one correspondence with a plurality of initial resistance intervals of the potentiometer;

the electric control assembly is used for correspondingly adjusting working parameters of the electrical equipment according to the resistance value of the potentiometer, wherein the potentiometer resistance value interval updating method of the electrical equipment comprises the following steps:

rotating the potentiometer to a maximum critical point, electrifying and outputting a direct current power supply to the potentiometer;

acquiring the voltage of the potentiometer at the maximum critical point;

determining the resistance value of the potentiometer at the maximum critical point according to the voltage of the potentiometer at the maximum critical point to obtain the maximum resistance value interval of the potentiometer;

and dividing the resistance value interval of the maximum resistance value interval of the potentiometer according to the corresponding relation between the plurality of working indexes and the plurality of initial resistance value intervals of the potentiometer to obtain a plurality of actual resistance value intervals corresponding to the plurality of working indexes, and updating and replacing the initially configured resistance value intervals.

2. The potentiometer resistance interval updating method of electric equipment according to claim 1, wherein the resistance interval division comprises fixed proportion interval division or table lookup division.

3. The method for updating the resistance interval of a potentiometer of electrical equipment according to claim 1, wherein the step of obtaining the voltage of the potentiometer at the maximum critical point specifically comprises:

receiving a trigger signal and executing potentiometer resistance value detection work;

acquiring the voltage of the potentiometer and starting timing;

and when the voltage of the potentiometer is kept constant for a preset time, determining the current voltage as the voltage of the potentiometer at the maximum critical point.

4. An electrical device, comprising:

a potentiometer having a plurality of initially configured resistance intervals;

the dial is used for representing the work index of the electrical equipment; the dial is provided with a plurality of working indexes which are in one-to-one correspondence with a plurality of initial resistance value intervals of the potentiometer;

the electric control assembly is used for correspondingly adjusting working parameters of the electric equipment according to the resistance value of the potentiometer, and is used for realizing the potentiometer resistance value interval updating method of the electric equipment according to any one of claims 1 to 3.

5. The electrical device of claim 4, wherein the electrical control assembly comprises:

the knob switch assembly is used for rotating the potentiometer to a maximum critical point, electrifying and outputting a direct-current power supply to the potentiometer;

the trigger switch assembly is used for outputting a trigger signal;

a control circuit for executing the resistance detection of the potentiometer according to the trigger signal to obtain the voltage of the potentiometer at the maximum critical point, and

and dividing the resistance value interval of the maximum resistance value interval of the potentiometer according to the corresponding relation between the plurality of working indexes and the plurality of initial resistance value intervals of the potentiometer to obtain a plurality of actual resistance value intervals corresponding to the plurality of working indexes, and updating and replacing the initially configured resistance value intervals.

6. The electrical device of claim 5, wherein the trigger switch assembly comprises a key switch or a jumper cap.

7. The electrical device of claim 5, wherein the control circuit comprises a control chip, a first resistor, a second resistor, and a first capacitor;

the first end of the first resistor, the first end of the second resistor and the first end of the first capacitor are all connected with the signal end of the potentiometer, the second end of the first resistor and the first end of the first capacitor are all grounded, and the second end of the second resistor is connected with the signal end of the control chip.

8. The electrical equipment according to claim 5, further comprising an indicating component, wherein the indicating component is connected with the control circuit, and the electronic control component controls the indicating component to send an indicating signal after the method for updating the potentiometer resistance interval of the electrical equipment is realized.

9. The electrical device of claim 5, wherein the electrical device is a water heater comprising:

a water heater body;

a potentiometer having a plurality of initially configured resistance intervals;

the dial is used for representing the temperature indexes of the water heater body, and is provided with a plurality of temperature indexes which are in one-to-one correspondence with a plurality of initial resistance intervals of the potentiometer;

the electric control assembly is used for correspondingly adjusting the temperature index of the water heater body according to the resistance value of the potentiometer, and is used for realizing the potentiometer resistance value interval updating method of the electric equipment as claimed in any one of claims 1 to 3.

10. The electrical apparatus of claim 9, wherein the water heater body comprises:

a water tank;

the temperature sensor is inserted on the water tank, and a signal end of the temperature sensor is connected with a first signal end of the electric control assembly;

the heating device is arranged in the water tank, and a power supply end of the heating device is connected with a power supply end of the electric control assembly; wherein the content of the first and second substances,

and the electric control assembly adjusts the temperature of the water heater body to a corresponding temperature index according to the resistance value interval of the potentiometer.

Technical Field

The invention relates to the technical field of electrical equipment, in particular to a potentiometer resistance interval updating method of electrical equipment and the electrical equipment.

Background

In the electrical equipment with the dial, the dial is used for representing the working index of the electrical equipment, such as temperature, voltage, current and the like, when the working index of the electrical equipment needs to be adjusted, a potentiometer arranged in the electrical equipment is generally adjusted correspondingly, the potentiometer is a device which is low in cost and very wide in use, the potentiometer is used for parameter setting, and the set parameter range can be directly observed and known through the direction of a knob. However, due to the error problem of the manufacturing process and the like, when the angle is required to be unified with the scale (or the scale indication mark class), an error is caused, and the user experience is influenced.

Disclosure of Invention

The invention mainly aims to provide a method for updating a resistance value interval of a potentiometer of electrical equipment, and aims to solve the problem that errors are caused when the potentiometer of the electrical equipment needs to be unified with a scale angle due to errors of manufacturing processes and the like.

In order to achieve the above object, the method for updating the potentiometer resistance interval of the electrical equipment according to the present invention is applicable to the electrical equipment, and the electrical equipment includes:

a potentiometer having a plurality of initially configured resistance intervals;

the dial is used for representing working indexes of electrical equipment and is provided with a plurality of working indexes which are in one-to-one correspondence with a plurality of initial resistance intervals of the potentiometer;

the electric control assembly is used for correspondingly adjusting working parameters of the electrical equipment according to the resistance value of the potentiometer, wherein the potentiometer resistance value interval updating method of the electrical equipment comprises the following steps:

rotating the potentiometer to a maximum critical point, electrifying and outputting a direct current power supply to the potentiometer;

acquiring the voltage of the potentiometer at the maximum critical point;

determining the resistance value of the potentiometer at the maximum critical point according to the voltage of the potentiometer at the maximum critical point to obtain the maximum resistance value interval of the potentiometer;

and dividing the resistance value interval of the maximum resistance value interval of the potentiometer according to the corresponding relation between the plurality of working indexes and the plurality of initial resistance value intervals of the potentiometer to obtain a plurality of actual resistance value intervals corresponding to the plurality of working indexes, and updating and replacing the initially configured resistance value intervals.

Preferably, the resistance value interval division includes a fixed proportion interval division or a table lookup division.

Preferably, the step of acquiring the voltage of the potentiometer at the maximum critical point specifically includes:

receiving a trigger signal and executing potentiometer resistance value detection work;

acquiring the voltage of the potentiometer and starting timing;

and when the voltage of the potentiometer is kept constant for a preset time, determining the current voltage as the voltage of the potentiometer at the maximum critical point.

The invention also proposes an electrical apparatus comprising:

a potentiometer having a plurality of initially configured resistance intervals;

the dial is used for representing the work index of the electrical equipment; the dial is provided with a plurality of working indexes which are in one-to-one correspondence with a plurality of initial resistance value intervals of the potentiometer;

and the electric control assembly is used for correspondingly adjusting the working parameters of the electrical equipment according to the resistance value of the potentiometer and realizing the potentiometer resistance value interval updating method of the electrical equipment.

Preferably, the electronic control assembly comprises:

the knob switch assembly is used for rotating the potentiometer to a maximum critical point, electrifying and outputting a direct-current power supply to the potentiometer;

the trigger switch assembly is used for outputting a trigger signal;

a control circuit for executing the resistance detection of the potentiometer according to the trigger signal to obtain the voltage of the potentiometer at the maximum critical point, and

and dividing the resistance value interval of the maximum resistance value interval of the potentiometer according to the corresponding relation between the plurality of working indexes and the plurality of initial resistance value intervals of the potentiometer to obtain a plurality of actual resistance value intervals corresponding to the plurality of working indexes, and updating and replacing the initially configured resistance value intervals.

Preferably, the trigger switch assembly comprises a key switch or a jumper cap.

Preferably, the control circuit comprises a control chip, a first resistor, a second resistor and a first capacitor;

the first end of the first resistor, the first end of the second resistor and the first end of the first capacitor are all connected with the signal end of the potentiometer, the second end of the first resistor and the first end of the first capacitor are all grounded, and the second end of the second resistor is connected with the signal end of the control chip.

Preferably, the electrical equipment further comprises an indicating component, the indicating component is connected with the control circuit, and the electric control component controls the indicating component to send an indicating signal after the method for updating the resistance interval of the potentiometer of the electrical equipment is realized.

Preferably, the electrical device is a water heater, the water heater comprising:

a water heater body;

a potentiometer having a plurality of initially configured resistance intervals;

the dial is used for representing the temperature indexes of the water heater body, and is provided with a plurality of temperature indexes which are in one-to-one correspondence with a plurality of initial resistance intervals of the potentiometer;

and the electric control assembly is used for correspondingly adjusting the temperature index of the water heater body according to the resistance value of the potentiometer and realizing the potentiometer resistance value interval updating method of the electrical equipment.

Preferably, the water heater body includes:

a water tank;

the temperature sensor is inserted on the water tank, and a signal end of the temperature sensor is connected with a first signal end of the electric control assembly;

the heating device is arranged in the water tank, and a power supply end of the heating device is connected with a power supply end of the electric control assembly; wherein the content of the first and second substances,

and the electric control assembly adjusts the temperature of the water heater body to a corresponding temperature index according to the resistance value interval of the potentiometer.

The potentiometer resistance interval updating method of the electrical equipment updates the resistance interval of the potentiometer before the electrical equipment is put into use, namely, the potentiometer is rotated to the maximum critical point, and is electrified and outputs a direct current power supply to the potentiometer to obtain the voltage of the potentiometer at the maximum critical point, determining the resistance value of the potentiometer at the maximum critical point according to the voltage of the potentiometer at the maximum critical point to obtain the maximum resistance value interval of the potentiometer, dividing the resistance value interval of the potentiometer according to the corresponding relation between the working indexes and the initial resistance value intervals of the potentiometer to obtain actual resistance value intervals corresponding to the working indexes, updating and replacing the initially configured resistance value interval, the working index of the electrical equipment keeps being matched and unified with the actual resistance value interval, the error problem of the potentiometer of the electrical equipment is solved, and the user experience is improved.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.

FIG. 1 is a schematic structural diagram of an electrical apparatus according to an embodiment of the present invention;

FIG. 2 is an enlarged view of a portion of the dial of the electrical apparatus of the present invention;

FIG. 3 is a schematic flow chart illustrating an embodiment of a method for updating a potentiometer resistance interval of an electrical device according to the present invention;

FIG. 4 is a detailed flowchart of step S20 in the method for updating the resistance interval of the potentiometer of the electrical equipment according to the present invention;

FIG. 5 is a schematic block diagram of an embodiment of an electrical control assembly of the electrical apparatus of the present invention;

FIG. 6 is a schematic circuit diagram of an embodiment of a control circuit in an electrical device according to the present invention;

fig. 7 is a schematic structural diagram of an embodiment of an electrical apparatus according to the present invention.

Reference numerals Name (R) Reference numerals Name (R)
100 Electric control assembly 30 Trigger switch assembly
200 Potentiometer with adjustable voltage R1 A first resistor
300 Dial scale R2 Second resistance
10 Control circuit C1 First capacitor
20 Knob switch assembly U1 Control chip

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be noted that the descriptions relating to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the meaning of "and/or" appearing throughout is: the method comprises three parallel schemes, wherein the scheme is taken as an A/B (A/B) as an example, the scheme comprises the scheme A, the scheme B or the scheme A and the scheme B simultaneously satisfy, in addition, the technical schemes between the various embodiments can be combined with each other, but the technical schemes must be based on the realization of the technical schemes by a person skilled in the art, and when the technical schemes are mutually contradictory or can not be realized, the combination of the technical schemes is not considered to exist, and the protection scope of the invention is not within the protection scope of the invention.

The invention provides a potentiometer resistance value interval updating method of electrical equipment, which is suitable for the electrical equipment.

As shown in fig. 1, fig. 1 is a schematic block diagram of an electrical device according to an embodiment of the present invention, where the electrical device includes:

a potentiometer 200, wherein the potentiometer 200 has a plurality of initially configured resistance intervals;

the dial 300 is used for representing working indexes of electrical equipment, and the dial 300 is provided with a plurality of working indexes which are in one-to-one correspondence with a plurality of initial resistance intervals of the potentiometer 200;

and the electric control component 100 is used for correspondingly adjusting the working parameters of the electrical equipment according to the resistance value of the potentiometer 200.

In this embodiment, the electrical apparatus is a type of electrical apparatus with a potentiometer 200 and a dial 300, such as a water heater, a water dispenser, etc., and the electrical control component 100 has a voltage detection and data processing function, the dial 300 is used to represent working indexes of the electrical apparatus, such as temperature, voltage, current, etc., the dial 300 is provided with continuous or preset numbers with regular changes, such as 0, 5, 10, 15, and the dial 300 may be circular, semicircular, or linear, and the specific shape is not limited, meanwhile, the potentiometer 200 is provided with a plurality of resistance ranges, and respectively corresponds to a working index, such as a hot water heater, the resistance range of 300K respectively corresponds to a heating temperature of 30-50 degrees, after adjusting the resistance of the potentiometer 200 to the corresponding resistance range, the electrical control component 100 controls the dial 300 to shift to the corresponding working index, as shown in fig. 1 and table 1, the initial resistance range and the temperature mapping table are table 1,

TABLE 1

When the potentiometer 200 has a negative deviation of-10%, the maximum resistance of the potentiometer 200 is only 270K ohms, so that when a user modulates the potentiometer 200 to the maximum resistance, the water heater can only set 39 degrees and cannot reach the heating temperature of 40 degrees, and at this time, the resistance interval of the potentiometer 200 in the water heater needs to be updated and corrected to be matched with the temperature value again, so that the optimal temperature regulation effect is achieved.

As shown in fig. 2 and 3, the potentiometer resistance interval updating method for electrical equipment includes:

s10, rotating the potentiometer 200 to a maximum critical point, powering up and outputting a dc power to the potentiometer 200;

s20, acquiring the voltage of the potentiometer 200 at the maximum critical point;

s30, determining the resistance value of the potentiometer 200 at the maximum critical point according to the voltage of the potentiometer 200 at the maximum critical point, so as to obtain a maximum resistance value interval of the potentiometer 200;

and S40, dividing the resistance value interval of the maximum resistance value interval of the potentiometer 200 according to the corresponding relation between the plurality of working indexes and the plurality of initial resistance value intervals of the potentiometer 200, obtaining a plurality of actual resistance value intervals corresponding to the plurality of working indexes, and updating and replacing the initially configured resistance value intervals.

According to the characteristics of the potentiometer 200, the resistance value varies as a linear function, such as a proportional or inverse proportional change, with the voltage of the potentiometer 200, and the formula is:

Vout=f(Rx);

wherein, Rx is the output resistance of the potentiometer 200, and the maximum resistance range is 0 to Rmax. Rx and Vout are in a one-to-one correspondence relationship, and the two relationships are in an increasing or decreasing relationship, so that the resistance value of the potentiometer 200 can be obtained when the voltage of the potentiometer 200 is detected.

It should be noted that, the potentiometer 200 of the electrical equipment should be updated before being put into use, for example, before being shipped or replaced, at this time, the potentiometer 200 has the best working performance, and the need of repeated debugging due to a new error caused by contact wear is avoided.

When the resistance interval of the potentiometer 200 is updated, the resistance of the potentiometer 200 is rotated to the maximum critical point, it should be noted that the maximum critical point of the potentiometer 200 is the maximum resistance position of the potentiometer 200, the specific direction and the rotating direction of the potentiometer are known before the potentiometer is shipped, the potentiometer 200 is rotated to the maximum critical point in advance, and the test updating time is favorably shortened, because the electric control component 100 connected with the potentiometer 200 is generally provided with a capacitor for filtering, the potentiometer 200 is adjusted after being electrified, the voltage can be stabilized only by waiting for a long time, and the potentiometer 200 is electrified at the same time, at the moment, the voltage of the potentiometer 200 changes along with the resistance value, when the current voltage of the potentiometer 200 is acquired, the resistance value of the potentiometer 200 at the maximum critical point can be known, the maximum resistance interval of the potentiometer 200 is obtained from 0 to Rmax, after the maximum resistance interval is determined, the resistance interval division is performed again according to the corresponding relationship between the original resistance interval and the working index, for example, as shown in table 1 above, 11 temperature values are originally respectively corresponding to 11 value intervals according to 11 value intervals, after correction and update, the resistance interval is still divided according to 11 resistance intervals, and if the maximum resistance of the potentiometer 200 of the original water heater is measured to be 270K ohms, the new resistance interval is divided into 11 intervals, the difference value of the resistance of each interval is 24.5, that is, the mapping table of the actual resistance interval and the original temperature is table 2:

interval(s) Resistance (K ohm) Temperature (. degree.C.)
1 0≤Rx<24.5 30
2 24.5≤Rx<49 31
3 49≤Rx<73.5 32
4 73.5≤Rx<98 33
5 98≤Rx<122.5 34
6 122.5≤Rx<147 35
7 147≤Rx<171.5 36
8 171.5≤Rx<196 37
9 196≤Rx<220.5 38
10 220.5≤Rx<245 39
11 245≤Rx 40

TABLE 2

It can be known from table 1 and table 2 that according to table 1 mapping relation, when the user adjusts the temperature to 270K ohm, the water heater temperature can not be set to 40 degrees, the table 2 mapping table is obtained through resistance interval division and updating, and when the user adjusts the temperature to 270K ohm, the water heater temperature can be set to 40 degrees, so that the error problem of the potentiometer 200 of the electrical equipment is solved, and the user experience is improved.

The method for updating the resistance interval of the potentiometer 200 of the electrical equipment updates the resistance interval of the potentiometer 200 before the electrical equipment is put into use, namely, the potentiometer 200 is rotated to a maximum critical point, is electrified and outputs a direct current power supply to the potentiometer 200, obtains the voltage of the potentiometer 200 at the maximum critical point, determines the resistance value of the potentiometer 200 at the maximum critical point according to the voltage of the potentiometer 200 at the maximum critical point to obtain the maximum resistance interval of the potentiometer 200, divides the resistance interval of the maximum resistance interval of the potentiometer 200 according to the corresponding relation between a plurality of working indexes and a plurality of initial resistance intervals of the potentiometer 200 to obtain a plurality of actual resistance intervals corresponding to the plurality of working indexes, updates and replaces the initially configured resistance interval to keep the working indexes of the electrical equipment and the actual resistance intervals matched and unified, and solves the error problem of the potentiometer 200 of the electrical equipment, the user experience is improved.

In one embodiment, the resistance value interval division includes a fixed proportion interval division or a table lookup division.

In this embodiment, after the maximum resistance range of the potentiometer 200 is determined, the electronic control component 100 is subdivided according to the original resistance range, in order to realize continuous change of the resistance value interval and the working index and improve the adaptability of users, the resistance value interval division can adopt fixed proportion division or table lookup division, the fixed proportion division equally divides the actually measured maximum resistance value interval according to the original interval number, the resistance value range of each resistance value interval is equal, when dividing according to the lookup table, a plurality of mapping tables are set in the electronic control component 100, each mapping table corresponds to a different maximum resistance value interval, when the actual maximum resistance value interval is measured, the actual maximum resistance value interval is matched with the built-in mapping table, and when one of the mapping tables is successfully matched with the other mapping table, dividing the resistance range by adopting the resistance range in the mapping table and the working index mapping relation.

As shown in fig. 4, in an embodiment, the step of obtaining the voltage of the potentiometer 200 at the maximum critical point includes:

s21, receiving a trigger signal and executing the resistance detection work of the potentiometer 200;

s22, acquiring the voltage of the potentiometer 200 and starting timing;

s23, when the voltage of the potentiometer 200 is kept constant for a preset time, determining that the current voltage is the voltage of the potentiometer 200 at the maximum critical point.

In this embodiment, the output states of the trigger signal and the potentiometer 200 both correspond to the system power-on state: when the system is powered on and a dc power supply is normally turned on, the control circuit 10 can normally obtain the trigger signal output by the trigger switch assembly 30 and the output voltage of the potentiometer 200, and when the system is powered on abnormally, the trigger switch assembly 30 does not act and no trigger signal is output, and meanwhile, it is not necessary to detect the output state of the potentiometer 200. After the system is normally powered on, a trigger signal can be sent out manually or in a mode of interlocking control with a power-on device, the specific control mode is not limited, and meanwhile, in order to improve the detection accuracy, the voltage of the potentiometer 200 received after the potentiometer 200 rotates to the maximum critical point is required to be kept constant within a preset time, so that the current voltage can be determined to be the voltage when the potentiometer 200 is at the maximum critical point, and the detection error caused by the influence of an energy storage element or an interference signal is avoided.

The invention also proposes an electrical apparatus comprising:

a potentiometer 200, wherein the potentiometer 200 has a plurality of initially configured resistance intervals;

a dial 300 for characterizing the operating index of the electrical device; the dial 300 is provided with a plurality of working indexes corresponding to a plurality of initial resistance intervals of the potentiometer 200 one to one;

the electric control component 100 is used for correspondingly adjusting working parameters of the electrical equipment according to the resistance value of the potentiometer 200 and realizing the updating method of the resistance value interval of the potentiometer 200 of the electrical equipment.

In this embodiment, the electrical apparatus is a type of electrical apparatus with a potentiometer 200 and a dial 300, such as a water heater, a water dispenser, etc., and the electrical control component 100 has a voltage detection and data processing function, the dial 300 is used to represent working indexes of the electrical apparatus, such as temperature, voltage, current, etc., the dial 300 is provided with continuous or preset numbers with regular changes, such as 0, 5, 10, 15, and the dial 300 may be circular, semicircular, or linear, and the specific shape is not limited, meanwhile, the potentiometer 200 is provided with a plurality of resistance ranges, and respectively corresponds to a working index, such as a hot water heater, the resistance range of 300K respectively corresponds to a heating temperature of 30-50 degrees, after adjusting the resistance of the potentiometer 200 to the corresponding resistance range, the electrical control component 100 controls the dial 300 to shift to the corresponding working index, as shown in fig. 1 and table 1, the initial resistance range and the temperature mapping table are table 1,

TABLE 1

When the potentiometer 200 has a negative deviation of-10%, the maximum resistance of the potentiometer 200 is only 270K ohms, so that when a user modulates the potentiometer 200 to the maximum resistance, the water heater can only set 39 degrees and cannot reach the heating temperature of 40 degrees, and at this time, the resistance interval of the potentiometer 200 in the water heater needs to be updated and corrected to be matched with the temperature value again, so that the optimal temperature regulation effect is achieved.

According to the characteristics of the potentiometer 200, the resistance value varies as a linear function, such as a proportional or inverse proportional change, with the voltage of the potentiometer 200, and the formula is:

Vout=f(Rx);

wherein, Rx is the output resistance of the potentiometer 200, and the maximum resistance range is 0 to Rmax. Rx and Vout are in a one-to-one correspondence relationship, and the two relationships are in an increasing or decreasing relationship, so that the resistance value of the potentiometer 200 can be obtained when the voltage of the potentiometer 200 is detected.

It should be noted that, the potentiometer 200 of the electrical apparatus should be updated before being put into use, for example, before being shipped from a factory or during replacement, at this time, the potentiometer 200 has an optimal working performance, so as to avoid the need of repeated debugging due to a new error caused by contact abrasion, when testing, the electrical apparatus is connected to the utility power through a power line or a socket, the electronic control component 100 in the electrical apparatus automatically tests, and a tester determines the update state of the resistance value interval of the potentiometer 200 according to the display result or the prompt signal of the electronic control component 100.

When the resistance interval of the potentiometer 200 is updated, the electronic control component 100 rotates the resistance of the potentiometer 200 to the maximum critical point, and rotates the potentiometer 200 to the maximum critical point in advance, which is beneficial to shortening the test updating time, because the electronic control component 100 connected with the potentiometer 200 is generally provided with a capacitor for filtering, the potentiometer 200 is adjusted after being electrified, the voltage is stable only after the charging time of a longer capacitor is waited, and the potentiometer 200 is electrified, at the same time, the voltage of the potentiometer 200 changes along with the resistance value, when the voltage of the current potentiometer 200 is acquired, the resistance value of the potentiometer 200 at the maximum critical point can be known, the maximum resistance interval of the potentiometer 200 is obtained from 0 to Rmax, after the maximum resistance interval is determined, the resistance interval is divided again according to the corresponding relationship between the original resistance and the working index, for example, as shown in the table 1, the original 11 temperature values respectively correspond to 11 value intervals, after correction and update, the resistance interval is still divided according to 11 resistance intervals, and if the maximum resistance of the potentiometer 200 of the original water heater is measured to be 270K ohms, the new resistance interval is divided into 11 intervals, the difference value of the resistance of each interval is 24.5, namely, the mapping table of the actual resistance interval and the original temperature is shown as table 2:

interval(s) Resistance (K ohm) Temperature (. degree.C.)
1 0≤Rx<24.5 30
2 24.5≤Rx<49 31
3 49≤Rx<73.5 32
4 73.5≤Rx<98 33
5 98≤Rx<122.5 34
6 122.5≤Rx<147 35
7 147≤Rx<171.5 36
8 171.5≤Rx<196 37
9 196≤Rx<220.5 38
10 220.5≤Rx<245 39
11 245≤Rx 40

TABLE 2

It can be known from table 1 and table 2 that according to table 1 mapping relation, when the user adjusts the temperature to 270K ohm, the water heater temperature can not be set to 40 degrees, the table 2 mapping table is obtained through resistance interval division and updating, and when the user adjusts the temperature to 270K ohm, the water heater temperature can be set to 40 degrees, so that the error problem of the potentiometer 200 of the electrical equipment is solved, and the user experience is improved.

As shown in fig. 5, in an embodiment, the electronic control assembly 100 includes:

a knob switch assembly 20 for rotating the potentiometer 200 to a maximum critical point, and for powering up and outputting a dc power to the potentiometer 200;

a trigger switch assembly 30 for outputting a trigger signal;

a control circuit 10 for executing the resistance detection of the potentiometer 200 according to the trigger signal, obtaining the voltage of the potentiometer 200 at the maximum threshold point, and

dividing the resistance value interval of the maximum resistance value interval of the potentiometer 200 according to the corresponding relation between the plurality of working indexes and the plurality of initial resistance value intervals of the potentiometer 200, obtaining a plurality of actual resistance value intervals corresponding to the plurality of working indexes, and updating and replacing the initially configured resistance value intervals.

In this embodiment, the trigger switch assembly 30 and the knob switch assembly 20 are respectively connected to the control circuit 10, the knob switch assembly 20 is mechanically connected to the potentiometer 200, and along with the change of the resistance value of the rotary potentiometer 200 of the knob switch assembly 20, when the resistance value interval of the potentiometer 200 is updated, the rotary switch assembly can be controlled to rotate by a manual or mechanical structure, meanwhile, a switch device connected to the potentiometer 200 is further disposed in the knob switch assembly 20, one end of the switch device is connected to a dc power supply, when the knob switch assembly 20 starts to rotate from an initial position, the switch device in the knob switch assembly 20 is closed and outputs the dc power supply to the potentiometer 200, the trigger switch assembly 30 is configured to operate according to the output state of the dc power supply, when the dc power supply is normally output, the trigger switch assembly 30 is operable, when the dc power supply is abnormally output, the trigger switch assembly 30 does not act, wherein the trigger switch assembly 30 can be a key switch or a jumper cap, also called a short cap and a short terminal, which are arranged on the electrical equipment, the circuit combination can be achieved at different positions between the double rows of pins, the change between the electronic circuits with different specifications is convenient to achieve, for example, the jumper cap is inserted at different positions of the electronic board, the A, B point can be short-circuited or disconnected, so as to provide a trigger signal to the control circuit 10, the control circuit 10 performs updating control of the resistance value interval of the potentiometer 200 when receiving the trigger signal, when the resistance value interval of the potentiometer 200 is updated, the electric control assembly 100 rotates the resistance value of the potentiometer 200 to the maximum critical point, the potentiometer 200 is rotated to the maximum critical point in advance, the test updating time is favorably shortened, because the electric control assembly 100 connected with the potentiometer 200 is generally provided with a capacitor for filtering, after power-on, the potentiometer 200 is adjusted, voltage stabilization can be achieved only after long capacitor charging time, meanwhile, the potentiometer 200 is powered on, at the moment, the voltage of the potentiometer 200 changes along with the resistance value, when the current voltage of the potentiometer 200 is collected, the resistance value of the potentiometer 200 at the maximum critical point can be known, the maximum resistance value interval of 0-Rmax of the potentiometer 200 is obtained, after the maximum resistance value interval is determined, resistance value interval division is carried out again according to the corresponding relation between the original resistance value interval and the working index, for example, as shown in the table 1, 11 temperature values are respectively corresponding to 11 original value intervals, and after correction and update, the resistance value interval division is still carried out according to 11 resistance value intervals.

In one embodiment, as shown in fig. 6, the control circuit 10 includes a control chip U1, a first resistor R1, a second resistor R2, and a first capacitor C1;

the first end of the first resistor R1, the first end of the second resistor R2 and the first end of the first capacitor C1 are all connected with the signal end of the potentiometer 200, the second end of the first resistor R1 and the first end of the first capacitor C1 are all grounded, and the second end of the second resistor R2 is connected with the signal end of the control chip U1.

In this embodiment, the dc power is output to the potentiometer 200 after the knob switch assembly 20 rotates, the potentiometer 200 and the first resistor R1 divide the dc power, the second resistor R2 limits the current, the control chip U1 receives the voltage of the potentiometer 200 in real time, when the potentiometer 200 rotates to the maximum critical point, the control chip U1 waits for a preset time until the voltage of the signal end is stable, thereby avoiding an abnormality of the dc power when the potentiometer 200 rotates or an error of the detected voltage of the signal end of the control circuit 10 caused by the charging of the first capacitor C1, after the voltage of the potentiometer 200 at the maximum critical point is obtained, the actual maximum resistance interval of the potentiometer 200 is reversely deduced according to the function relationship between the resistance of the potentiometer 200 and the voltage, and the actual maximum resistance interval is divided according to the original mapping table or the corresponding relationship, so as to obtain a plurality of actual resistance intervals, and update and replace the original initial resistance interval, meanwhile, after the test is updated, the knob switch assembly 20 can be rotated to the initial position to be powered off, and the test is completed.

In an embodiment, the electrical equipment further includes an indication component (not shown), the indication component is connected to the control circuit 10, the electronic control component 100 controls the indication component to send an indication signal after implementing the method for updating the resistance interval of the potentiometer 200 of the electrical equipment, the indication component may be an indication lamp, a voice module or a buzzer, when different indication signals are sent, a tester can know the update state of the resistance interval of the potentiometer 200, for example, when the dc power supply is suddenly powered off during testing, the indication signal can send a buzzer alarm to prompt the tester to check the power supply condition or the power circuit state inside the potentiometer 200, or after the update test is completed, the indication lamp is displayed as a green lamp, and the specific structure and the prompting mode of the indication component are not specifically limited.

As shown in fig. 6, in an embodiment, the electrical device is a water heater, and the water heater includes:

a water heater body;

a potentiometer 200, wherein the potentiometer 200 has a plurality of initially configured resistance intervals;

the dial 300 is used for representing the temperature index of the water heater body, and the dial 300 is provided with a plurality of temperature indexes which are in one-to-one correspondence with a plurality of initial resistance intervals of the potentiometer 200;

the electric control component 100 is used for correspondingly adjusting the temperature index of the water heater body according to the resistance value of the potentiometer 200 and realizing the updating method of the resistance value interval of the potentiometer 200 of the electrical equipment.

In this embodiment, an electric control board is disposed in the water heater body, the potentiometer 200 and the electric control assembly 100 are disposed on the electric control board and connected to the dial 300, the dial 300 is disposed on the surface of the water heater, the knob switch assembly 20 of the electric control assembly 100 is installed in a manner of being adapted to the dial 300, the dial 300 is provided with a plurality of temperature indexes and indication arrows for indicating the temperature indexes, when the knob switch assembly 20 rotates, the indication arrows indicate the corresponding temperature indexes, the electric control assembly 100 controls the water heater body to be heated to the temperature indexes according to a set temperature, when the resistance interval of the potentiometer 200 is updated, a tester rotates the potentiometer 200 to a maximum critical point, and powers on the potentiometer 200, at this time, the voltage of the potentiometer 200 changes along with the resistance value, when the current voltage of the potentiometer 200 is collected, the resistance value of the potentiometer 200 at the maximum critical point can be known, and the maximum resistance interval of the potentiometer 200 is 0 to Rmax, after the maximum resistance value interval is determined, dividing the resistance value interval again according to the corresponding relation between the original resistance value interval and the work index, for example, as shown in table 1 above, the original resistance value interval is respectively corresponding to 11 temperature values according to 11 value intervals, and after correction and update, the resistance value interval is still divided according to 11 resistance value intervals.

Specifically, the water heater body includes:

a water tank;

the temperature sensor is inserted on the water tank, and a signal end of the temperature sensor is connected with a first signal end of the electronic control assembly 100;

the heating device is arranged in the water tank, and a power end of the heating device is connected with a power end of the electric control assembly 100; wherein the content of the first and second substances,

the electric control component 100 adjusts the temperature of the water heater body to a corresponding temperature index according to the resistance value interval of the potentiometer 200.

In this embodiment, the temperature sensor may be an MF58 series NTC thermistor temperature sensor, the resistance value decreases with the temperature increase, and when the water temperature is in the range of 1 ℃ to 99 ℃, the resistance value range of the NTC thermistor temperature sensor is as follows: 3.9376 KQ-154.8355 KQ, the heating device is used for heating the water stored in the water tank, the heating device can be an electric heating rod or a heating pipe, and the electric control component 100 correspondingly controls the heating device to work according to the temperature detection value of the temperature sensor and the temperature set value after updating the resistance value interval of the potentiometer 200 until the temperature detection value is consistent with the temperature set value.

The trigger switch assembly 30 in the electronic control assembly 100 may be a temperature sensor, when the temperature sensor is not connected to the control chip U1 in the control circuit 10, the control chip U1 determines to enter a resistance value interval update detection mode of the potentiometer 200, and when the temperature sensor is connected to the control circuit 10, the control chip U1 normally operates, and correspondingly controls the heating device to operate according to the temperature setting value of the dial 300 and the temperature detection value output by the temperature sensor.

And the trigger signal can also be output by a jumper wire or a jumper cap in the control assembly, after the potentiometer 200 is normally powered on, a tester can short-circuit or disconnect the jumper wire or the jumper cap to a certain two pins in the control chip U1, so as to output the trigger signal, the control chip U1 determines to enter a potentiometer 200 resistance value interval updating detection mode, and the specific output mode of the trigger signal can be set according to requirements, which is not limited herein.

The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:渐进式全球定位系统及其方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!