Voltage detection method, voltage detection circuit, food processor working circuit and food processor
阅读说明:本技术 电压检测方法、电压检测电路、料理机工作电路及料理机 (Voltage detection method, voltage detection circuit, food processor working circuit and food processor ) 是由 丁永刚 代松 于 2019-07-10 设计创作,主要内容包括:本发明实施例提供一种电压检测方法、电压检测电路、料理机工作电路及料理机。该方法包括:获得在开关电源输入第一输入交流电压时控制器的电压检测端口处的第一检测电压;获得在开关电源输入第二输入交流电压时电压检测端口处的第二检测电压;检测电压检测端口处的当前检测电压;以及基于第一输入交流电压、第一检测电压、第二输入交流电压、第二检测电压及当前检测电压来得到开关电源的当前输入交流电压。本发明实施例的电压检测方法及其检测电路能够准确地检测批量生产时每块电路板上的开关电源的输入交流电压,从而能够确保料理机及其工作电路的稳定性。(The embodiment of the invention provides a voltage detection method, a voltage detection circuit, a processing machine working circuit and a processing machine. The method comprises the following steps: obtaining a first detection voltage at a voltage detection port of a controller when the switching power supply inputs a first input alternating-current voltage; obtaining a second detection voltage at the voltage detection port when the switching power supply inputs a second input alternating-current voltage; detecting a current detection voltage at a voltage detection port; and obtaining the current input alternating voltage of the switching power supply based on the first input alternating voltage, the first detection voltage, the second input alternating voltage, the second detection voltage and the current detection voltage. The voltage detection method and the detection circuit thereof of the embodiment of the invention can accurately detect the input alternating voltage of the switching power supply on each circuit board during batch production, thereby ensuring the stability of the food processor and the working circuit thereof.)
1. A voltage detection method is applied to a food processor (1), wherein the food processor (1) comprises a switching power supply (22) and a controller (24), and is characterized in that: the voltage detection method comprises the following steps:
obtaining a first detection voltage at a voltage detection port (AD) of the controller (24) when a first input alternating voltage is input to the switching power supply (22);
obtaining a second detection voltage at the voltage detection port (AD) when a second input alternating voltage is input to the switching power supply (22);
-detecting a current detection voltage at the voltage detection port (AD); and
deriving a current input alternating voltage of the switching power supply (22) based on the first input alternating voltage, the first detection voltage, the second input alternating voltage, the second detection voltage, and the current detection voltage.
2. The voltage detection method according to claim 1, characterized in that: the deriving a current input alternating voltage of the switching power supply (22) based on the first input alternating voltage, the first detected voltage, the second input alternating voltage, the second detected voltage, and the current detected voltage includes:
based on an input alternating voltage (U) of the switching power supply (22) and a detection voltage (V) at the voltage detection port (AD)AD) According to the first input alternating voltage, the first detection voltage, the second input alternating voltage and the second detection voltage, calculating to obtain a coefficient in the functional relation; and
and calculating the current input alternating voltage of the switching power supply (22) based on the functional relation and according to the current detection voltage and the coefficient.
3. The voltage detection method according to claim 2, characterized in that: an input alternating voltage (U) of the switching power supply (22) and a detection voltage (V) at the voltage detection port (AD)AD) The functional relationship between the two is a linear proportional relationship, and the coefficients comprise a proportional coefficient and a deviation coefficient.
4. A voltage detection method according to claim 3, characterized in that: a detection voltage (V) at the voltage detection port (AD)AD) The voltage is the rectified peak voltage and the divided voltage of the input alternating current voltage (U) of the switching power supply (22).
5. A voltage detection method according to claim 3, characterized in that: a detection voltage (V) at the voltage detection port (AD)AD) Is the average value of the input alternating voltage (U) of the switching power supply (22).
6. The utility model provides a voltage detection circuit, its is applied to in cooking machine (1), cooking machine (1) includes switching power supply (22) and controller (24), its characterized in that: it includes:
a reading module (251) configured to read a first detection voltage and a second detection voltage at a voltage detection port (AD) of the controller (24) when the switching power supply (22) inputs a first input alternating-current voltage and a second input alternating-current voltage, respectively;
a detection module (253) configured to detect a current detected voltage at the voltage detection port (AD); and
a calculation module (254) configured to derive a present input alternating voltage of the switching power supply (22) based on the first input alternating voltage, the first detected voltage, the second input alternating voltage, the second detected voltage, and the present detected voltage.
7. The voltage detection circuit of claim 6, wherein: it still includes:
a storage module (252) configured to hold the first detection voltage at a voltage detection port (AD) of the controller (24) when a first input AC voltage is input by the switching power supply (22) and the second detection voltage at a voltage detection port (AD) of the controller (24) when a second input AC voltage is input by the switching power supply (22).
8. The voltage detection circuit of claim 6, wherein: the calculation module (254) is further configured to:
based on an input alternating voltage (U) of the switching power supply (22) and a detection voltage (V) of the controller (24)AD) According to the first input alternating voltage, the first detection voltage, the second input alternating voltage and the second detection voltage, calculating to obtain a coefficient in the functional relation; and
and calculating the current input alternating voltage of the switching power supply (22) based on the functional relation and according to the current detection voltage and the coefficient.
9. The voltage detection circuit of claim 8The method is characterized in that: an input alternating voltage (U) of the switching power supply (22) and a detection voltage (V) at the voltage detection port (AD)AD) The functional relationship between the two is a linear proportional relationship, and the coefficients comprise a proportional coefficient and a deviation coefficient.
10. The voltage detection circuit of claim 9, wherein: a detection voltage (V) at the voltage detection port (AD)AD) The voltage is the rectified peak voltage and the divided voltage of the input alternating current voltage (U) of the switching power supply (22).
11. The voltage detection circuit of claim 9, wherein: a detection voltage (V) at the voltage detection port (AD)AD) Is the average value of the input alternating voltage (U) of the switching power supply (22).
12. The utility model provides a reason machine working circuit which characterized in that: it includes:
a switching power supply (22) including a rectifier circuit (221), the rectifier circuit (221) rectifying an input alternating-current voltage and outputting a rectified voltage;
a controller (24) comprising a voltage detection port (AD);
a rectified voltage conversion circuit (23) connected between the rectification circuit (221) and the controller (24) and configured to receive the rectified voltage (VR) And applying said rectified voltage (V)R) Is converted into a detection voltage (V) detectable at said voltage detection port (AD)AD) (ii) a And
the voltage detection circuit (25) of any of claims 6 to 9.
13. The processor operating circuit of claim 12, wherein: the rectified voltage is a peak voltage of an input alternating voltage of the switching power supply (22) after rectification, the rectified voltage conversion circuit comprises a voltage division circuit, and a detection voltage at the voltage detection port (AD) is a voltage of the peak voltage after voltage division by the voltage division circuit.
14. The processor operating circuit of claim 12, wherein: the rectified voltage is half-wave rectified voltage by the rectifying circuit (221), the rectified voltage conversion circuit comprises a voltage dividing rectifying circuit (221) for dividing and rectifying the rectified voltage, and the detection voltage at the voltage detection port (AD) is an average value of input alternating voltage of the switching power supply (22).
15. A cooking machine, its characterized in that: it includes:
a host (11) comprising the processor operating circuit (21) of any one of claims 12 to 14; and
a cup body assembly (12) detachably mounted on the main body (11).
Technical Field
The embodiment of the invention relates to the technical field of household appliances, in particular to a voltage detection method, a voltage detection circuit, a food processor working circuit and a food processor.
Background
With the increasing living standard of people, many different types of food processors appear on the market. The functions of the food processor mainly include, but are not limited to, functions of making soybean milk, grinding dry powder, squeezing juice, making minced meat, shaving ice, making coffee, preparing beauty mask for women and the like. The food processor can comprise a soybean milk machine, a stirrer, a wall breaking machine and the like. The different kinds of functions enrich the life of people.
Due to the fluctuation of the power grid, the voltage of some regions is higher and the voltage of some regions is lower, or the voltage of some time periods is higher and the voltage of some time periods is lower, which causes the variation of the input alternating voltage of the switching power supply of the food processor, and further causes the instability of the normal working voltage of the food processor. Therefore, the input ac voltage of the switching power supply of the food processor needs to be detected in real time to ensure that the food processor can operate normally.
Disclosure of Invention
The embodiment of the invention aims to provide a voltage detection method, a voltage detection circuit, a processing machine working circuit and a processing machine, which can accurately detect an input alternating voltage.
One aspect of the embodiments of the present invention provides a voltage detection method, which is applied to a food processor, where the food processor includes a switching power supply and a controller. The method comprises the following steps: obtaining a first detection voltage at a voltage detection port of the controller when the switching power supply inputs a first input alternating-current voltage; obtaining a second detection voltage at the voltage detection port when a second input alternating-current voltage is input to the switching power supply; detecting a current detection voltage at the voltage detection port; and obtaining a current input alternating-current voltage of the switching power supply based on the first input alternating-current voltage, the first detection voltage, the second input alternating-current voltage, the second detection voltage and the current detection voltage.
The voltage detection method of the embodiment of the invention can accurately detect the input alternating-current voltage of the switching power supply on each circuit board by skillfully utilizing the two groups of input alternating-current voltages of the switching power supply recorded when each circuit board leaves the factory and the two groups of detection voltages at the voltage detection port of the controller corresponding to the two groups of input alternating-current voltages, thereby ensuring the accuracy of the detection of the input alternating-current voltage of the switching power supply on each circuit board during batch production and further ensuring the working stability of the food processor. Moreover, the method is simple and easy to implement.
Further, the deriving a current input ac voltage of the switching power supply based on the first input ac voltage, the first detected voltage, the second input ac voltage, the second detected voltage, and the current detected voltage includes: calculating a coefficient in a functional relation based on the functional relation between the input alternating-current voltage of the switching power supply and the detection voltage at the voltage detection port according to the first input alternating-current voltage, the first detection voltage, the second input alternating-current voltage and the second detection voltage; and calculating to obtain the current input alternating voltage of the switching power supply according to the current detection voltage and the coefficient based on the functional relation. The coefficient in the functional relation between the input alternating voltage of the switching power supply on each circuit board and the detection voltage at the voltage detection port of the controller is determined, so that inherent differences caused by components related to the coefficient in the functional relation on each circuit board are avoided, and the accuracy of detecting the input alternating voltage of the switching power supply on each circuit board during batch production is ensured.
Further, the functional relationship between the input alternating voltage of the switching power supply and the detected voltage at the voltage detection port is a linear proportional relationship, and the coefficients include a proportionality coefficient and a deviation coefficient. By calculating the proportionality coefficient and the deviation coefficient of the corresponding circuit board, the accuracy of detecting the input alternating voltage of the switching power supply on each circuit board during batch production can be ensured, and the inaccuracy of detecting the input alternating voltage caused by the adoption of the existing fixed proportionality coefficient is avoided.
Further, the detection voltage at the voltage detection port is a peak voltage obtained by rectifying and dividing the input alternating-current voltage of the switching power supply.
Further, the detection voltage at the voltage detection port is an average value of the input alternating-current voltage of the switching power supply.
Therefore, the voltage detection point of the input alternating voltage can be selected flexibly.
Another aspect of the embodiment of the present invention further provides a voltage detection circuit, which is applied to a food processor, where the food processor includes a switching power supply and a controller. The voltage detection circuit includes: the device comprises a reading module, a detection module and a calculation module. The reading module is configured to read a first detection voltage and a second detection voltage at a voltage detection port of the controller when the switching power supply inputs a first input alternating-current voltage and a second input alternating-current voltage, respectively. The detection module is configured to detect a current detected voltage at the voltage detection port. The calculation module is configured to obtain a current input alternating-current voltage of the switching power supply based on the first input alternating-current voltage, the first detection voltage, the second input alternating-current voltage, the second detection voltage, and the current detection voltage.
The voltage detection circuit of the embodiment of the invention can accurately detect the input alternating-current voltage of the switching power supply on each circuit board by skillfully utilizing the two groups of input alternating-current voltages of the switching power supply recorded when each circuit board leaves the factory and the two groups of detection voltages at the voltage detection port of the controller corresponding to the two groups of input alternating-current voltages, thereby ensuring the accuracy of the detection of the input alternating-current voltage of the switching power supply on each circuit board during batch production and further ensuring the working stability of the food processor.
Further, the voltage detection circuit further includes a storage module configured to store the first detection voltage at the voltage detection port of the controller when the switching power supply inputs a first input ac voltage and the second detection voltage at the voltage detection port of the controller when the switching power supply inputs a second input ac voltage.
Further, the computing module is further configured to: calculating a coefficient in a functional relation based on the functional relation between the input alternating-current voltage of the switching power supply and the detection voltage of the controller and according to the first input alternating-current voltage, the first detection voltage, the second input alternating-current voltage and the second detection voltage; and calculating to obtain the current input alternating voltage of the switching power supply according to the current detection voltage and the coefficient based on the functional relation. The coefficient in the functional relation between the input alternating voltage of the switching power supply on each circuit board and the detection voltage at the voltage detection port of the controller is determined, so that inherent differences caused by components related to the coefficient in the functional relation on each circuit board are avoided, and the accuracy of detecting the input alternating voltage of the switching power supply on each circuit board during batch production is ensured.
Another aspect of the embodiments of the present invention further provides a material handling machine working circuit, which includes a switching power supply, a controller, a rectified voltage converting circuit connected between the rectifying circuit and the controller, and the voltage detecting circuit described above. The switching power supply includes a rectifier circuit for rectifying an input alternating-current voltage and outputting a rectified voltage. The controller includes a voltage detection port. The rectified voltage conversion circuit is configured to receive the rectified voltage and convert the rectified voltage to a detected voltage detectable at the voltage detection port.
Further, the rectified voltage is a peak voltage of the input alternating voltage of the switching power supply after rectification, the rectified voltage conversion circuit comprises a voltage dividing circuit, and the detection voltage at the voltage detection port is a voltage obtained by dividing the peak voltage by the voltage dividing circuit.
Further, the rectified voltage is half-wave rectified voltage of the rectifying circuit, the rectified voltage conversion circuit comprises a voltage dividing and rectifying circuit for dividing and rectifying the rectified voltage, and the detection voltage at the voltage detection port is an average value of input alternating-current voltage of the switching power supply.
Therefore, the voltage detection point of the input alternating voltage can be selected flexibly.
Another aspect of the embodiment of the present invention further provides a food processor, which includes a main machine and a cup body assembly detachably mounted on the main machine. The host comprises the processing machine working circuit.
The embodiment of the invention can ensure the accuracy of the detection of the input alternating voltage of the switching power supply on each circuit board during batch production, and ensure the stability of the food processor and the working circuit thereof.
Drawings
Fig. 1 is a schematic perspective view of a food processor according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of an operating circuit of the food processor according to an embodiment of the present invention;
fig. 3 is a circuit diagram of a switching power supply;
FIG. 4 is a circuit diagram of a rectified voltage converting circuit;
fig. 5 is a circuit diagram of another switching power supply;
FIG. 6 is a circuit diagram of another rectified voltage converting circuit;
FIG. 7 is a flowchart of a voltage detection method according to an embodiment of the invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the description and in the claims does not indicate any order, quantity, or importance, but rather is used to distinguish one element from another. Also, the use of the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one. "plurality" or "a number" means two or more. Unless otherwise indicated, "front", "rear", "lower" and/or "upper" and the like are for convenience of description and are not limited to one position or one spatial orientation. The word "comprising" or "comprises", and the like, means that the element or item listed as preceding "comprising" or "includes" covers the element or item listed as following "comprising" or "includes" and its equivalents, and does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be noted that, in order to better embody the innovation of the present invention, only the structural features closely related to the creation point of the present invention are shown and described in the drawings and the description of the present invention, and other structural features which are less related or other existing structural features are omitted or outlined. However, this does not mean that the processor operating circuit or the processor of the present invention does not necessarily include these other structural features, and those structural features necessary to achieve the basic functions of the processor may still be included in the processor operating circuit or the processor of the present invention.
Fig. 1 is a schematic perspective view of a
Fig. 2 is a schematic block diagram of the
Fig. 3 is a circuit diagram of a switching
In some embodiments, the switching
In some embodiments, the switching
In some embodiments, the switching
Fig. 4 is a circuit diagram of a rectified
In some embodiments, the rectified
In some embodiments, the rectified
Detected voltage V at voltage detection port AD of
U=k×VAD+j (1)
where k is a scaling factor and j is a deviation factor.
For the circuits shown in fig. 3 and 4, the scaling factor k can be expressed as follows:
wherein, VccA reference voltage for supplying power to the AD acquisition circuit of the voltage detection port AD of the
In one embodiment, at VccWhen R1 is 330k Ω, R2 is 330k Ω, and R3 is 5.1k Ω, 5.8 k can be calculated.
In the conventional detection scheme of the input ac voltage U of the switching
ΔU=k×ΔVAD(3)
therefore, the current input ac voltage U of the switching
due to the V used in the formula of the proportionality coefficient k in the batch production of the circuit boardccR1, R2 and R3 may have inherent errors, and thus, this may result in the fact that the scaling factor k may be different on each board. However, the existing detection scheme for the input ac voltage adopts a fixed proportionality coefficient k, which undoubtedly results in inaccuracy in detection of the input ac voltage.
In view of this, the embodiment of the invention provides a new
In some embodiments, the
By determining the input AC voltage U of the switching
In some embodiments, for example for the switching
Specifically, the
after the proportional coefficient k and the deviation coefficient j are calculated according to the equations (5) and (6), and the current detection voltage V at the voltage detection port AD of the
The above is the input ac voltage U of the switching
The
Fig. 5 shows a circuit diagram of another switching
Fig. 6 is a circuit diagram showing another rectified
In some embodiments, the rectified
Similarly, for the circuits of fig. 5 and 6, the input ac voltage U of the switching
Therefore, the
The
The
The embodiment of the invention also provides a voltage detection method. FIG. 7 is a flowchart of a voltage detection method according to an embodiment of the invention. As shown in fig. 7, the voltage detection method of the embodiment of the present invention may include steps S11 to S14.
In step S11, a first detected voltage at the voltage detection port of the controller when the switching power supply inputs the first input alternating-current voltage is obtained.
In step S12, a second detected voltage at the voltage detection port at the time when the switching power supply inputs the second input alternating-current voltage is obtained.
In step S13, the current detected voltage at the voltage detection port of the controller is detected.
In step S14, the current input ac voltage of the switching power supply is obtained based on the first input ac voltage, the first detected voltage, the second input ac voltage, the second detected voltage, and the current detected voltage.
In some embodiments, step S14 may further include step S141 and step S142.
In step S141, based on the functional relationship between the input ac voltage of the switching power supply and the detection voltage at the voltage detection port, a coefficient in the functional relationship is calculated according to the first input ac voltage, the first detection voltage, the second input ac voltage, and the second detection voltage. In some embodiments, the functional relationship between the input ac voltage of the switching power supply and the detected voltage at the voltage detection port is a linear proportional relationship, and the coefficients include a scaling coefficient and a deviation coefficient.
In step S142, the current input ac voltage of the switching power supply is calculated based on the functional relationship and according to the current detection voltage and the coefficient.
In one embodiment, the detection voltage at the voltage detection port is a rectified peak voltage and a divided voltage of the input ac voltage of the switching power supply.
In another embodiment, the detected voltage at the voltage detection port is an average value of the input ac voltage of the switching power supply.
The voltage detection method of the embodiment of the invention can accurately detect the input alternating-current voltage of the switching power supply on each circuit board by skillfully utilizing the two groups of input alternating-current voltages of the switching power supply recorded when each circuit board leaves the factory and the two groups of detection voltages at the voltage detection port of the controller corresponding to the two groups of input alternating-current voltages, thereby ensuring the accuracy of the detection of the input alternating-current voltage of the switching power supply on each circuit board during batch production and further ensuring the working stability of the food processor. Moreover, the method is simple and easy to implement.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:基于FPGA的频率测量系统