Voltage detection method, voltage detection circuit, food processor working circuit and food processor

文档序号:1476662 发布日期:2020-02-25 浏览:9次 中文

阅读说明:本技术 电压检测方法、电压检测电路、料理机工作电路及料理机 (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 food processor 1 according to an embodiment of the present invention. As shown in fig. 1, the food processor 1 according to one embodiment of the present invention includes a main body 11 and a cup body assembly 12. The host 11 can provide power to control and drive the food processor 1 to work. Cup body assembly 12 is detachably installed on main engine 11, can hold edible material in cup body assembly 12, can carry out processing operations such as beating, heating, grinding and/or evacuation to edible material in cup body assembly 12. Food processor 1 can also include bowl cover assembly 13. Lid assembly 13 removably covers cup assembly 12. When the food processor 1 works, the cup cover assembly 13 is covered on the cup body assembly 12 and used for sealing the cup opening of the cup body assembly 12. After the food processor 1 finishes working, the cup cover assembly 13 can be taken down from the cup body assembly 12.

Fig. 2 is a schematic block diagram of the processor operating circuit 21 according to an embodiment of the present invention. The food processor 1 may include a food processor working circuit 21, and the food processor working circuit 21 may be located in the host 11. In one embodiment, a circuit board may be disposed in the host 11, and the processor operating circuit 21 may be disposed on the circuit board in the host 11. As shown in fig. 2, the processor operating circuit 21 includes a switching power supply 22 and a controller 24, and the switching power supply 22 can supply power to the controller 24. The switching power supply 22 includes a rectifying circuit 221, and the rectifying circuit 221 may rectify an input ac voltage and output a rectified voltage VR. The controller 24 includes a voltage detection port AD, and the controller 24 may include a single chip or other microprocessor. Due to the rectified voltage V output by the rectifying circuit 221RThe voltage cannot be directly detected by the voltage detection port AD of the controller 24, so the processor operating circuit 21 further includes a rectified voltage converting circuit 23 connected between the rectifying circuit 221 and the controller 24, and the rectified voltage converting circuit 23 can receive the rectified voltage V output by the rectifying circuit 221RAnd will rectify the voltage VRConverted into a detection voltage V detectable at the voltage detection port AD of the controller 24AD

Fig. 3 is a circuit diagram of a switching power supply 22 including a rectifier circuit 221. As shown in fig. 3, the switching power supply 22 includes a live end L and a neutral end N, and the switching power supply 22 inputs an input ac voltage through the live end L and the neutral end N. In the switching power supply 22 shown in fig. 3, the rectifying circuit 221 is a full-wave rectifying circuit including a first rectifying diode D1 and a second rectifying diode D2 connected in series, an input ac voltage U of the switching power supply 22 is full-wave rectified by the first rectifying diode D1 and the second rectifying diode D2 of the rectifying circuit 221 to become a dc voltage, and a rectified voltage V output from the rectifying circuit 221RTo openThe input ac voltage U of the off-source 22 is rectified to a peak voltage.

In some embodiments, the switching power supply 22 may further include a first filter circuit 222, the first filter circuit 222 is connected to an input end of the rectifying circuit 221, and the first filter circuit 222 may filter out a differential mode high frequency interference in the input ac voltage U.

In some embodiments, the switching power supply 22 may further include a power protection circuit 223, the power protection circuit 223 being connected to the live end L and the neutral end N. The power protection circuit 223 can prevent the components in the circuit from being damaged due to the generation of an excessive instantaneous voltage caused by the influence of a lightning strike and the like.

In some embodiments, the switching power supply 22 may further include a second filter circuit 224, and the second filter circuit 224 is connected to the output terminal of the rectifying circuit 221. The second filter circuit 224 may filter a ripple signal in the dc voltage output from the rectifying circuit 221.

Fig. 4 is a circuit diagram of a rectified voltage converting circuit 23. The rectified voltage converting circuit 23 in fig. 4 is connected to the output terminal P of the rectifying circuit 221 shown in fig. 3. As shown in fig. 4, the rectified voltage converting circuit 23 is a voltage dividing circuit including a first voltage dividing resistor R1, a second voltage dividing resistor R2, and a third voltage dividing resistor R3 connected in series between the output terminal P of the rectifying circuit 221 and the ground GND, a voltage detection port AD of the controller 24 is connected between the second voltage dividing resistor R2 and the third voltage dividing resistor R3, and a detected voltage V at the voltage detection port AD is detectedADThe peak voltage is divided by the voltage dividing circuit.

In some embodiments, the rectified voltage converting circuit 23 may further include a filter capacitor C1, the filter capacitor C1 is connected in parallel with the third voltage dividing resistor R3, in one embodiment, the filter capacitor C1 may be an electrolytic capacitor, a positive terminal of the filter capacitor C1 is connected between the second voltage dividing resistor R2 and the third voltage dividing resistor R3, and a negative terminal of the filter capacitor C1 is connected to the ground GND. The filter capacitor C1 can filter the voltage divided by the voltage divider, i.e. the detection voltage V at the voltage detection port AD of the controller 24ADA ripple signal in the signal.

In some embodiments, the rectified voltage converting circuit 23 may further include a current limiting resistor R4, which may function to limit the current of the voltage detection port AD.

Detected voltage V at voltage detection port AD of controller 24ADAnd is a functional relationship with the input ac voltage U of the switching power supply 22. In some embodiments, the input ac voltage U of the switching power supply 22 and the detection voltage V at the voltage detection port ADADThe functional relationship between them is a linear proportional relationship, which can be expressed, for example, as follows:

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:

Figure BDA0002124983210000081

wherein, VccA reference voltage for supplying power to the AD acquisition circuit of the voltage detection port AD of the controller 24.

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 power supply 22, a fixed proportionality coefficient k, for example, 1.8, is usually adopted, and when the input ac voltage U of the switching power supply 22 is saved at the factory, for example, 220V, the corresponding detection voltage V at the voltage detection port AD of the controller 24 is storedADThe value of (b). When actually detecting the input ac voltage U at the switching power supply 22, the detection voltage V at the voltage detection port AD of the controller 24 is detectedADA, reading out the detection voltage V at the voltage detection port AD which is stored when the input AC voltage is 220VADThen, the following relationship is used to convert the equation:

ΔU=k×ΔVAD(3)

therefore, the current input ac voltage U of the switching power supply 22 can be calculated according to the relation conversion formula (3)0The following were used:

Figure BDA0002124983210000082

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 voltage detection circuit 25 for detecting the input ac voltage U of the switching power supply 22. Referring back to fig. 2, the embodiment of the invention provides a voltage detection circuit 25, and the voltage detection circuit 25 includes a reading module 251, a detection module 253, and a calculation module 254. The reading module 251 can read the first input ac voltage U input to the switching power supply 221The first detection voltage V at the voltage detection port AD of the time controller 24AD1And the switching power supply 22 inputs a second input alternating current voltage U2The second detection voltage V at the voltage detection port AD of the time controller 24AD2. For example, the first input AC voltage U of the switching power supply 221Can be 220V, and the second input alternating current voltage U2May be 240 volts. In some embodiments, the voltage detection circuit 25 of the embodiment of the present invention may further include a storage module 252, and the storage module 252 may store the first input ac voltage U input at the switching power supply 22, which is recorded when the circuit board leaves a factory1The first detection voltage V at the voltage detection port AD of the time controller 24AD1And the switching power supply 22 inputs a second input alternating current voltage U2The second detection voltage V at the voltage detection port AD of the time controller 24AD2. The detection module 253 can detect the current detection voltage V at the voltage detection port ADAD0. The calculation module 254 may be based on the first input ac voltage U1A first detection voltage VAD1A second input AC voltage U2A second detection voltage VAD2And the current detection voltage VAD0To obtain the current input ac voltage U of the switching power supply 220

In some embodiments, the calculation module 254 may be based on the input ac voltage U of the switching power supply 22 and the detected voltage V of the controller 24ADAccording to a functional relationship between and in accordance with the first input AC voltage U1A first detection voltage VAD1A second input AC voltage U2And a second detection voltage VAD2And calculating to obtain coefficients in the functional relation. Also, the calculation module 254 may be based on a functional relationship and based on the current detected voltage VAD0And coefficient, the current input AC voltage U of the switch power supply 22 is calculated0

By determining the input AC voltage U of the switching power supply 22 on each circuit board and the detected voltage V at the voltage detection port AD of the controller 24ADThe coefficient in the functional relationship between the two, therefore, the inherent difference caused by the components related to the coefficient in the functional relationship on each circuit board is avoided, and the accuracy of detecting the input alternating voltage of the switching power supply 22 on each circuit board during mass production is ensured.

In some embodiments, for example for the switching power supply 22 of fig. 3 and the rectified voltage converting circuit 23 shown in fig. 4 connected to the output terminal P of the rectifying circuit 221 of the switching power supply 22 of fig. 3, the input ac voltage U of the switching power supply 22 and the detected voltage V at the voltage detecting port ADADThe functional relationship therebetween is a linear proportional relationship, such as shown in formula (1), and the coefficients in the functional relationship include a proportional coefficient and a deviation coefficient in the linear proportional relationship, such as k and j in formula (1).

Specifically, the calculation module 254 may be based on the first input ac voltage U1A first detection voltage VAD1A second input AC voltage U2And a second detection voltage VAD2And based on equation (1), a proportionality coefficient k and a deviation coefficient j can be calculated respectively, and are expressed as follows:

Figure BDA0002124983210000101

Figure BDA0002124983210000102

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 controller 24 is detected at the detection module 253AD0In this case, the calculation module 254 may further calculate the current input ac voltage U of the switching power supply 22 based on equation (1)0

The above is the input ac voltage U of the switching power supply 22 and the detection voltage V at the voltage detection port ADADThe existence of linear proportional relationship between them is described in detail for the example. However, the present invention is not limited thereto, and the voltage detection circuit 25 of the present invention can be similarly generalized to be applied to the input ac voltage U of the switching power supply 22 and the detection voltage V at the voltage detection port ADADAny functional relationship existing therebetween. Similarly, the coefficients in the functional relationship can be solved by using known multiple sets of input ac voltages and corresponding multiple sets of detection voltages. Then, the obtained coefficient and the detected current detection voltage V are usedAD0By substituting into the functional relationship, the current input AC voltage U of the switching power supply 22 can be obtained0

The voltage detection circuit 25 of the embodiment of the present invention can calculate the proportionality coefficient k and the deviation coefficient j of the corresponding circuit board by using the two sets of input ac voltages of the switching power supply 22 recorded when each circuit board leaves the factory and the two sets of detection voltages at the voltage detection port AD of the controller 24 corresponding to the two sets of input ac voltages, so that the accuracy of the input ac voltage detection of the switching power supply 22 on each circuit board during mass production can be ensured, and the inaccuracy of the input ac voltage detection caused by using the existing fixed proportionality coefficient k is avoided.

Fig. 5 shows a circuit diagram of another switching power supply 22. Similarly, as shown in fig. 5, the switching power supply 22 includes a line terminal L and a neutral terminal N for inputting an input ac voltage U, and the switching power supply 22 also includes a rectified currentHowever, unlike fig. 3, the rectifier circuit 221 shown in fig. 5 is a half-wave rectifier circuit including only the first rectifier diode D1, and the rectified voltage V output from the rectifier circuit 221RIs a voltage half-wave rectified by the first rectifying diode D1.

Fig. 6 is a circuit diagram showing another rectified voltage converting circuit 23, and the rectified voltage converting circuit 23 in fig. 6 is connected to the output terminal P of the rectifying circuit 221 in fig. 5. As shown in FIG. 6, the rectified voltage converting circuit 23 is a circuit for converting the rectified voltage VRA voltage dividing rectifying circuit for voltage dividing rectification comprises a first voltage dividing resistor R1, a second voltage dividing resistor R2 and a third voltage dividing resistor R3 which are connected in series between an output end P of the rectifying circuit 221 and a ground wire GND, and a rectifying capacitor C2 which is connected with the third voltage dividing resistor R3 in parallel, wherein the positive end of the rectifying capacitor C2 is connected between the second voltage dividing resistor R2 and the third voltage dividing resistor R3, and the negative end of the rectifying capacitor C2 is connected with the ground wire GND. The rectifying capacitor C2 may rectify the voltage half-wave rectified by the rectifying circuit 221 again to output a direct current voltage. The voltage detection port AD of the controller 24 is connected between the second voltage dividing resistor R2 and the third voltage dividing resistor R3. In this case, the detection voltage V at the voltage detection port ADADIs the average value of the input ac voltage U of the switching power supply 22.

In some embodiments, the rectified voltage converting circuit 23 may further include a current limiting resistor R4, which may function to limit the current of the voltage detection port AD of the controller 24.

Similarly, for the circuits of fig. 5 and 6, the input ac voltage U of the switching power supply 22 and the detected voltage V at the voltage detection port ADADThere is also a similar linear proportional relationship between them.

Therefore, the voltage detection circuit 25 according to the embodiment of the present invention can be applied to the circuits shown in fig. 5 and 6, and the basic detection principle is similar, so that the detailed description is omitted here.

The voltage detection circuit 25 of the embodiment of the present invention can select the voltage detection point of the input ac voltage more flexibly.

The voltage detection circuit 25 of the embodiment of the present invention can accurately detect the input ac voltage of the switching power supply on each circuit board by skillfully utilizing the two sets of input ac voltages of the switching power supply recorded when each circuit board leaves the factory and the two sets of detection voltages at the voltage detection port of the controller corresponding thereto, thereby ensuring the accuracy of detecting the input ac voltage of the switching power supply on each circuit board during mass production, and further ensuring the stability of the operation of the food processor.

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.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于FPGA的频率测量系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!