CN106546315B - Weighing sensor circuit arranged on inner pot handle of electric cooker and weighing method - Google Patents

Weighing sensor circuit arranged on inner pot handle of electric cooker and weighing method Download PDF

Info

Publication number
CN106546315B
CN106546315B CN201611113455.XA CN201611113455A CN106546315B CN 106546315 B CN106546315 B CN 106546315B CN 201611113455 A CN201611113455 A CN 201611113455A CN 106546315 B CN106546315 B CN 106546315B
Authority
CN
China
Prior art keywords
value
locking
state
weighing
weight
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611113455.XA
Other languages
Chinese (zh)
Other versions
CN106546315A (en
Inventor
黄俊华
齐凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipsea Technologies Shenzhen Co Ltd
Original Assignee
Chipsea Technologies Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chipsea Technologies Shenzhen Co Ltd filed Critical Chipsea Technologies Shenzhen Co Ltd
Priority to CN201611113455.XA priority Critical patent/CN106546315B/en
Publication of CN106546315A publication Critical patent/CN106546315A/en
Application granted granted Critical
Publication of CN106546315B publication Critical patent/CN106546315B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/52Weighing apparatus combined with other objects, e.g. furniture
    • G01G19/56Weighing apparatus combined with other objects, e.g. furniture combined with handles of tools or household implements

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Cookers (AREA)

Abstract

The invention discloses a weighing sensor circuit arranged on handles of an inner pot of an electric cooker and a weighing method. The SOC mainly comprises an ADC module, a data processing module and an I/O control module, wherein the ADC module is connected with the two weighing sensors, the ADC module converts signals obtained by the weighing sensors and transmits the signals to the data processing module, and the I/O control module is connected to the data processing module. The circuit and the method can place the weighing sensor on the handle of the inner pot of the electric cooker, so that people can weigh rice and water more conveniently before cooking, and the weight of objects in the pot is weighed by utilizing a special circuit and a special processing process, so that the weighing accuracy and the anti-shake performance of the structure can be improved.

Description

Weighing sensor circuit arranged on inner pot handle of electric cooker and weighing method
Technical Field
The invention belongs to the technical field of electric cookers, and particularly relates to a weighing circuit and a weighing method of an electric cooker.
Background
At present, electric cookers have become indispensable household electrical appliances in every household. With the improvement of living standard of people, the requirements of people on the quality and taste of daily diet are also improved. Particularly, nowadays, the pace of life of people is gradually accelerated, and many people hope to eat scientifically, to cook delicious rice quickly and reasonably, and to cook rice suitable for the taste of the people. The conventional electric rice cooker does not achieve the point, the rice quantity can be added only by feeling when people cook many times, the corresponding water quantity can be added only by feeling, and the cooked rice cannot achieve the ideal state required by people in the rice quantity and the taste due to the lack of a convenient and scientific quantitative method.
At present, the electric cooker structure with the weighing function almost puts a weighing sensor at the bottom of the electric cooker body, for example, patent application 201520600391.0, the electric cooker with the weighing structure is inconvenient when the weighing function is actually used, because most people are used to hold the inner pot out for filling rice and water, if the weighing function is needed, the inner pot is required to be put into the electric cooker body, and therefore, the repeated weighing during the subsequent water quantity adjustment is inconvenient.
Disclosure of Invention
Based on the above, the primary object of the present invention is to provide a weighing sensor circuit and a weighing method for an inner pot handle of an electric rice cooker, wherein the weighing sensor circuit and the weighing method can be used for placing the weighing sensor on the inner pot handle of the electric rice cooker, so that people can weigh rice water before cooking rice more conveniently, and the weight of objects in the pot is weighed by using a special circuit and a special processing process, so that the weighing accuracy and the anti-shake performance of the structure can be improved.
The invention also aims to provide a weighing sensor circuit arranged on the handle of the inner pot of the electric cooker and a weighing method.
Research shows that when the weighing sensor is placed in the inner pot of the electric cooker with the inner pot handle, the inner pot is held by hands to carry out actual weighing, the weighing is influenced by the following two points: 1. due to small-angle inclination, a person cannot guarantee a hundred-percent horizontal state when holding the pot normally, and slight inclination exists, but the inclination can reduce the force in the gravity direction received by the sensor, so that signal information fed back by the sensor is inaccurate, and weighing is influenced; 2. the small shaking which is difficult to avoid when people hold the pot in the using process. Normally, when a person carries the pot, shaking actions can be generated, even if the shaking actions cannot be seen by naked eyes, the actions very influence the accuracy and the stability of weighing, and the factor is the largest factor influencing the stability and the accuracy of weighing of the structure.
In order to achieve the purpose, the technical scheme of the invention is as follows:
the utility model provides a set up in weighing sensor circuit of pot handle in electric rice cooker, its is including the power, SOC (system on chip), weighing sensor and display device, weighing sensor has two, sets up respectively in two handles of electric rice cooker, weighing sensor and display device connect respectively in SOC, and SOC and display device power supply are given to the power.
The SOC mainly comprises an ADC module, a data processing module and an I/O control module, wherein the ADC module is connected with the two weighing sensors, the ADC module converts signals obtained by the weighing sensors and transmits the signals to the data processing module, and the I/O control module is connected to the data processing module.
The display device can be an LCD screen or a nixie tube, and if the adopted display device is an LCD screen, the SOC comprises an LCD driving module.
The two weighing sensors are respectively connected with the two AD detection ports of the SOC, or the two weighing sensors are connected in parallel and then connected with one AD detection port of the SOC.
A weighing method through a weighing sensor arranged on a handle of a pot in an electric rice cooker comprises the steps of firstly arranging the weighing sensor at the handle of the pot, and then calculating a horizontal state AD value according to the current inclined state or shaking, so as to obtain the weight value of an object in the electric rice cooker.
If two weighing sensor access SOC's two way AD detection mouth respectively when, need do relevant algorithm to the AD of gathering and handle, according to the difference of the AD value that two way AD detection mouths gathered promptly, judge the size of pot two handle atress in to calculate the state of present slope and then calculate horizontal state AD value, concrete flow is as follows:
101. collecting signals of two paths of weighing sensors to obtain an AD value;
102. processing by adopting a correlation algorithm; according to the difference of the AD values collected by the two AD detection ports, comparing the AD values when using the specific weight calibration, and judging the stress of the handles at two positions of the inner pot;
103. calculating an inclination state;
104. and calculating and outputting the AD value of the horizontal state.
When jitter is encountered, in order to overcome the jitter problem, the overall process flow mainly includes: an initialization section; a key scanning and processing part; an AD acquisition and processing part; an anti-shake processing section; and a display section. The anti-shake problem depends on the qualitative effect of the AD acquisition and processing part and the anti-shake processing part. Specifically, the flow of the dithering process is as follows:
201. initializing, and configuring a clock, a timer, an IO port and an SD ADC;
202. collecting an AD value and carrying out filtering processing;
203. scanning a key;
204. key processing;
205. judging whether the electric cooker is calibrated or not, if so, displaying, otherwise, further judging whether the electric cooker is in a placing state or not, if so, displaying, and otherwise, carrying out the next step;
206. calculating an inner code and performing anti-shake processing;
207. and calculating and displaying the weight.
Further, in step 202, after the AD is collected, in order to cope with the jitter in the use process, a band-offset AD filtering calculation method needs to be used, and the relevant filtering value is calculated according to a filtering correlation formula.
In the step 206, the step of calculating the internal code is to convert the filtered AD value into a weight internal code value having a certain multiple relation with the actual weight, and then perform anti-shake processing on the internal code value.
In the anti-shake processing of this scheme, the process of anti-shake processing is divided into three states, do respectively: the locking state is not allowed, the locking state is allowed and the locking state is locked, wherein the weight processing result in the locking state is the result after the whole anti-shake processing process. In step 206, the anti-shaking process flow is as follows:
2061. after entering an anti-shake program entrance, judging whether the current anti-shake state is locked; if so, performing the locked operation: judging whether the weight changes to the same direction for a certain number of times, if so, releasing the locking state, and if not, continuing to finish the anti-shake processing process; if the locking is not carried out currently, the next step is executed;
2062. executing an unlocked operation, wherein the unlocked state is divided into a locking-allowed state and a locking-not-allowed state, and each state corresponds to different operations;
2063. and judging whether the locking is allowed, if the locking is allowed, executing an operation step of allowing the locking, otherwise, executing an operation step of not allowing the locking.
The procedure of the unallowed locking step is as follows: firstly, obtaining a difference value between a current internal code value and a backup value, and then performing corresponding operation according to the difference value, wherein if the difference value is smaller than a specified threshold value, relevant time parameters are accumulated, and if the time requirement is met within the threshold value change of a specified range, a permission locking mark is set, and the relevant parameters are updated; if the accumulated time of the large variation in the same direction reaches a certain time, resetting the relevant parameters.
The allowed locking step flow is as follows: calculating the difference between the current internal code value and the backup value, if the difference is smaller than a specified threshold value, updating the backup value and the related parameters, and if the operation times reach the condition, obtaining the internal code value of the locking weight and placing the internal code value into a locking mark; if the difference in the same direction is greater than or equal to the prescribed threshold number of times, the lock-related parameter is reset, and the lock-permitted state is released.
The locking is to fix the internal code value, the weight value can be obtained after the internal code value is converted, and the weight value of the object in the pot can be displayed subsequently.
The user can also stipulate whether the current state is the rice state or the rice water state according to keys or other logic operations so as to achieve better use effect.
The invention places the weighing function of the electric rice cooker on the inner pot of the electric rice cooker, can be used for weighing rice and water more conveniently after the rice is loaded and the water is loaded, and can well overcome the interference of hands on the pot due to conventional shaking and inclination, so that the weighing function is not influenced, the weighing is accurate, and the anti-shaking performance is realized.
Drawings
FIG. 1 is a schematic diagram of the structure in which the present invention is implemented.
Fig. 2 is a schematic diagram of a circuit implemented by the present invention.
FIG. 3 is a block diagram of an SOC embodying the present invention.
Fig. 4 is a flowchart of the estimated horizontal AD value routine implemented by the present invention.
Fig. 5 is a flowchart of the anti-shake process implemented by the present invention.
FIG. 6 is a flow chart of the inner code value processing implemented by the present invention.
FIG. 7 is a flow chart of locking and unlocking the inner code value of the weight according to the present invention.
Fig. 8 is a flow chart of AD filtering implemented by the present invention.
FIG. 9 is a flow chart of the disallowed lock step implemented by the present invention.
FIG. 10 is a detailed flow chart of the allowed lock step implemented by the present invention.
FIG. 11 is a detailed flow chart of the locked procedure implemented by the present invention.
FIG. 12 is a flow chart of a small variation lock acceleration procedure implemented by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic diagram showing the arrangement of a load cell and a handle of a pot in an electric rice cooker, which is realized by the invention, and it can be seen from fig. 1 that the load cell is arranged at the handle 2 of the pot in the electric rice cooker 1, two ends of the handle of the pot need to be connected with the load cells S1 and S2, when the handle is inclined, although the two handles are not uniformly stressed, the overall stress is not changed, so that the signals fed back by the load cells at the two handles together are not greatly different in the inclined and non-inclined states, and the aim of overcoming the inclination is fulfilled.
After the placement positions of the sensors S1 and S2 are determined, a related sensor detection and signal processing system is needed to be matched, a circuit block diagram adopted by the invention is shown in fig. 2, wherein the circuit mainly comprises a power supply, an SOC, a weighing sensor and a display device, and the display device can be an LCD liquid crystal screen or a nixie tube and the like.
The block diagram of the SOC module is shown in fig. 3, the SOC mainly includes an ADC module, and if the display device adopted by the data processing module and the I/O control module is an LCD screen, the SOC including an LCD driver module may also be used. The connection between the weighing sensors and the SOC may be in a manner that two weighing sensors are respectively connected to two paths of AD detection ports of the SOC as shown in fig. 2, or in a manner that two weighing sensors are connected in parallel and then connected to one AD detection port of the SOC. If the connection mode as shown in fig. 2 is adopted, two paths of AD detection ports at the SOC end need to be accessed, and the collected ADs need to be processed by a relevant algorithm, and a horizontal state AD value is calculated according to the current inclined state of the collected two paths of AD estimation positions, and the processing flow is shown in fig. 4.
The specific process is as follows:
101. collecting signals of two paths of weighing sensors to obtain an AD value;
102. processing by adopting a correlation algorithm; according to the difference of the AD values collected by the two AD detection ports, comparing the AD values when using specific weight calibration, and judging the stress of the handles at the two positions of the inner pot;
103. calculating an inclination state;
104. and calculating and outputting the AD value of the horizontal state.
Regarding the problem of jitter, the effect achieved by the conventional filtering method when the above-mentioned load cell placement method is used is not good enough. In order to overcome the problem of jitter, a weighing control flow chart is shown in fig. 5, and the general program flow mainly includes: an initialization section; a key scanning and processing part; an AD acquisition and processing part; an anti-shake processing section; and a display section. The anti-shake problem depends on the qualitative effect of the AD acquisition and processing part and the anti-shake processing part.
Specifically, the flow of the dithering process (i.e., the anti-dithering process) is as follows:
201. initializing, and configuring a clock, a timer, an IO port, an SD and an ADC;
202. collecting an AD value and carrying out filtering processing;
203. scanning a key;
204. key processing;
205. judging whether the electric cooker is calibrated or not, if so, displaying, otherwise, further judging whether the electric cooker is in a placing state or not, if so, displaying, and otherwise, carrying out the next step;
206. calculating an inner code and performing anti-shaking processing;
207. and calculating and displaying the weight.
Regarding the AD acquisition and processing section, after the acquisition of AD, in order to cope with jitter during use, it is necessary to use an AD filter of a band order and calculate a relevant filter value according to a filter correlation formula.
The method comprises the following steps of filtering an AD value, converting the AD value into a weight internal code value which is in a certain multiple relation with the actual weight, and then carrying out anti-shake processing on the AD value. The flow of the inner code value anti-jitter processing is shown in fig. 6:
in the anti-shake processing of this scheme, the process of anti-shake processing is divided into three states, do respectively: a locked state is not allowed, a locked state is allowed and a locked state is obtained, wherein the weight processing result in the locked state is the result after the whole anti-shake processing process. In step 206, the anti-shaking process flow is as follows:
2061. after entering an anti-shake program entrance, judging whether the current anti-shake state is locked; if so, then the locked operation is performed: and judging whether the weight changes in the same direction for a certain number of times, if so, releasing the locking state, and if not, continuing to finish the anti-shake processing process. If the locking is not carried out currently, the next step is executed;
2062. executing an unlocked operation, wherein the unlocked state is divided into a locking-allowed state and a locking-not-allowed state, and each state corresponds to different operations;
2063. and judging whether the locking is allowed, if the locking is allowed, executing an operation step of allowing the locking, otherwise, executing an operation step of not allowing the locking.
Wherein, the procedure of the unallowed locking step is as follows: firstly, obtaining a difference value between a current internal code value and a backup value, and then performing corresponding operation according to the difference value, wherein if the difference value is smaller than a specified threshold value, relevant time parameters are accumulated, and if the time requirement is met within the threshold value change of a specified range, a permission locking mark is set, and the relevant parameters are updated; if the accumulated time of the large variation in the same direction reaches a certain time, resetting the relevant parameters.
The allowed locking step flow is as follows: calculating the difference between the current internal code value and the backup value, if the difference is smaller than a specified threshold value, updating the backup value and the related parameters, and if the operation times reach the condition, obtaining the internal code value of the locking weight and placing the internal code value into a locking mark; if the difference in the same direction is greater than or equal to the prescribed threshold number of times, the lock-related parameter is reset, and the lock-permitted state is released.
The locking is to fix the inner code value, and the weight value can be obtained after the inner code value is converted, and the weight value of the object in the pot can be displayed subsequently.
The process of locking and unlocking the weight internal code value is shown in fig. 7, and the specific steps are as follows:
301. it is determined whether a lock has been made.
302. And executing the locked operation steps for the locked operation, and judging whether the locking is allowed or not for the unlocked operation.
303. If the locking is allowed, the operation step of allowing the locking is executed, otherwise, the operation step of not allowing the locking is executed.
304. Further executing locking judgment, judging whether the judgment of executing the locking permission meets the locking condition, and if so, locking; and judging whether the condition of locking permission is met or not when the condition of locking non-permission is executed, if so, carrying out locking permission, and if not, executing the next step.
305. Returning to the step 301, and repeating the steps.
In step 304, if the determination of performing the above-described lock permission does not satisfy the lock condition, it is determined whether to release the lock, and if so, the lock is released, and the process returns to step 301.
After the step 301 is executed, whether the condition of unlocking is met is further judged, if yes, the locking is unlocked, otherwise, the locked operation step is executed.
The two flowcharts show that the whole inner code anti-jitter process mainly has three branched operation steps, which are respectively as follows: operating the existing locked internal code value; unlocked but locked operational steps have been allowed; the locking operation step is unlocked and not allowed. A locked weight value inner code deriving step is to allow locking to lock again. In the three steps, the locked step can only jump to the unallowed locking step; the step of not allowing locking can only jump to the step of allowing locking; the locking step is allowed to jump to other two steps, wherein the jump between each step needs to satisfy a certain condition, and the change direction, the change size and the continuous change time of the internal code value need to be considered comprehensively.
The weight value can be obtained after the locked internal code value in the locked state is converted, the weight value of the object in the pot can be displayed on the display part subsequently, and a user can also specify whether the current state is the rice state or the rice water state according to keys or other logic operations, so that a better using effect is achieved.
In the circuit block diagram of fig. 1, the acquisition and data processing unit SOC of the AD may use CSU8RP1381 of the core sea, and the SOC chip has 2 channels of 24bit Sigma-Delta type high precision ADCs, 8MHz oscillator with an internal band precision of ± 2%, 4 × 32/6 × 30 LCD drive, 4 8 bit programmable prescaler timers and other resources, which can make a hardware support for the design scheme.
In overcoming the problem of shaking of the person when holding the pot, the processing part after the AD acquisition is described above. After the AD is acquired, a stepped AD filter is used to cope with jitter during use. The implementation flow is shown in fig. 8, and the steps are described as follows: and after the AD value of the calculated horizontal state is collected, calculating the filtering value of this time according to a filtering correlation formula, and then judging whether the fast refreshing is required according to the difference value of the filtering of this time and the filtering of the last time. The method comprises the following specific steps:
401. acquiring the AD value of the sampling;
402. performing filtering calculation by using a filtering formula, and calculating a current filtering value;
403. subtracting the last filtered value from the current filtered value, and judging whether the subtracted value is greater than a threshold value or not;
404. if the value is larger than the threshold value, updating the filtering value, endowing the last sampling value to the current sampling value, and endowing the last filtering value to the current sampling value; if the value is smaller than the threshold value, the last sampling value is given to the current sampling value, and the last filtering value is given to the current filtering value;
405. and outputting the sampling value and the filtering value of the time.
In the internal code value anti-shake processing, the flow of the unallowed locking step is as shown in fig. 9, and is mainly described as solving a difference value between a current internal code value and a backup value, and then performing corresponding operation according to the difference value, wherein if the difference value is smaller than a specified threshold value, a relevant time parameter is accumulated, and if a time requirement is met within a specified range of threshold value change, an allowed locking flag is set and the relevant parameter is updated; if the accumulated time of the large change amount in the same direction reaches a certain time, resetting the relevant parameters.
Specifically, the process comprises the following steps:
501. calculating the difference value of the current internal code value and the backup internal code value;
502. judging whether the difference value is within a threshold range;
503. if so, judging that the current variable quantity is smaller, and updating and backing up related parameters such as internal codes and the like; if not, judging that the current variation is large, and timing;
504. and judging whether the duration of the small variation reaches the requirement, if so, resetting the locking permission flag, updating the related parameters, and backing up.
In the internal code value anti-shake processing, the allowable locking step flow is as shown in fig. 10, the difference between the current internal code value and the backup value is obtained, if the difference is smaller than a specified threshold, the backup value and the related parameters are updated, and if the operation times reach the condition, the locked weight internal code value is obtained and enters the locking mark; if the difference in the same direction is greater than or equal to the predetermined threshold number of times, the lock-related parameter is reset, and the lock-permitted state is released.
Specifically, the process is as follows;
601. and solving the difference between the current internal code value and the backup value.
602. And judging whether the difference is smaller than a specified threshold value. If so, clearing the relevant timing of unlocking and updating the backup value and the relevant parameters. Otherwise, the next step is executed.
603. Judging whether the equidirectional change of the difference value is more than a certain number of times, if not, updating the backup value and the related parameters; if yes, resetting the relevant parameters of locking, clearing the flag of allowing locking and ending.
604. After updating the backup value and the related parameters, judging whether the operation times are reached, if so, obtaining the code value in the locking weight, and placing a locking mark.
In the internal code value anti-shake processing, the locked procedure is as shown in fig. 11, a difference between the current internal code value and the backup value is obtained, and if the difference is smaller than a predetermined threshold, the program exit is exited; if the difference is larger than the threshold value, the unlocking parameter is updated, if the unlocking parameter reaches the specified condition, the locking related parameter is reset, and the locking state is unlocked.
The specific treatment process comprises the following steps:
701. and solving the difference between the current internal code value and the backup value.
702. And judging whether the difference is smaller than a specified threshold value. If yes, further judging whether the equidirectional change of the difference value is more than a certain number of times; otherwise, resetting the unlocking related parameters, and ending.
703. If the change in the same direction is more than a certain number of times, updating the unlocking related parameters; otherwise, resetting the relevant parameters of locking, releasing the allowed locking mark and the locked mark, and ending.
704. After the unlocking related parameters are updated, whether the difference value is larger than a specified large threshold value is further judged.
705. If so, updating the unlocking related parameters and accelerating the unlocking process; otherwise, ending.
In the internal code value anti-shake processing, when locking is not performed, in order to reduce the time for allowing the locking flag to be set at a stable position, a small-change-amount step procedure of accelerated locking may be added in the step of locking operation, as shown in fig. 12, a difference between the current internal code value and the backup value is obtained, if the difference is continuously smaller than a relatively small threshold to reach a certain condition, it is determined that the current weight is relatively stable, and a lock-allowing target may be set, thereby accelerating the locking process. The specific process comprises the following steps:
801. it is determined whether a lock has been made.
802. If the current internal code value is not locked, the difference value between the current internal code value and the backup value is obtained.
803. And judging whether the difference is smaller than a specified small threshold value, wherein the small threshold value can be an error requirement value of the current scheme.
804. Otherwise, executing the unlocking operation step; if so, the acceleration lock parameter is updated.
805. And judging whether an acceleration condition is reached.
806. If the acceleration condition is met, setting a locking permission flag, and updating related parameters; otherwise, updating the relevant parameters and updating the backup value.
The invention places the weighing function of the weighing electric cooker on the inner pot of the electric cooker, can be used for weighing rice and water more conveniently after the rice is filled, and can well overcome the interference of hands on the end pot caused by conventional shaking and inclination, so that the weighing function is not influenced, the weighing is accurate, and the anti-shaking performance is realized.
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 and improvements made within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (2)

1. A method for weighing through a weighing sensor arranged on a handle of a pot in an electric rice cooker is characterized in that the method comprises the steps of firstly arranging the weighing sensor on the handle of the pot, then calculating a horizontal state AD value according to a current inclined state, and then carrying out anti-shake treatment, thereby obtaining a weight value of an object in the electric rice cooker;
if the two weighing sensors are respectively connected with the two AD detection ports of the SOC, the collected AD needs to be processed by a related algorithm, namely the stress of the handles at two positions of the inner pot is judged according to the difference of the AD values collected by the two AD detection ports, so that the current inclined state is calculated, and the AD value of the horizontal state is calculated;
the specific process is as follows:
101. collecting signals of two paths of weighing sensors to obtain an AD value;
102. processing by adopting a correlation algorithm; according to the difference of the AD values collected by the two AD detection ports, comparing the AD values when using the specific weight calibration, and judging the stress of the handles at two positions of the inner pot;
103. calculating the inclination state;
104. calculating the AD value of the horizontal state and outputting;
when jitter is encountered, the process flow of jitter is as follows:
201. initializing, and configuring a clock, a timer, an IO port and an SD ADC;
202. collecting an AD value and carrying out filtering processing;
203. scanning a key;
204. key processing;
205. judging whether the electric cooker is calibrated or not, if so, displaying, otherwise, further judging whether the electric cooker is in a placing state or not, if so, displaying, and otherwise, carrying out the next step;
206. calculating an inner code and performing anti-shaking processing;
207. calculating the weight and displaying;
in the step 206, calculating an internal code is to convert the filtered AD value into a weight internal code value having a certain multiple relation with the actual weight, and then perform anti-shake processing on the internal code value;
the anti-shake processing process is divided into three states, which are respectively: a locking disallowed state, a locking allowed state and a locked state, wherein the weight processing result in the locking state is the result after the whole anti-shake processing process, and in the step 206, the flow of the anti-shake processing is as follows:
2061. after entering an anti-shake program entrance, judging whether the current anti-shake state is locked; if so, performing the locked operation: judging whether the weight changes in the same direction for a certain number of times, if so, releasing the locking state, and if not, continuing to finish the anti-shake treatment process; if the locking is not carried out currently, the next step is executed;
2062. executing unlocked operation, wherein the unlocked state is divided into a locking allowing state and a locking not allowing state, and each state corresponds to different operations;
2063. judging whether locking is allowed, if the locking is allowed, executing an operation step of allowing the locking, otherwise, executing an operation step of not allowing the locking;
the procedure of the unallowed locking step is as follows: firstly, calculating the difference between the current internal code value and the backup value, and then performing corresponding operation according to the difference, wherein if the difference is smaller than a specified threshold, the relevant time parameter is accumulated, and if the time requirement is met within the threshold change of the specified range, an allowable locking mark is set and the relevant parameter is updated; if the accumulated time of the large variation in the same direction reaches a certain time, resetting the relevant parameters;
the allowed locking step flow is as follows: calculating the difference between the current internal code value and the backup value, if the difference is smaller than a specified threshold value, updating the backup value and the related parameters, and if the operation times reach the condition, obtaining the internal code value of the locking weight and collocating the internal code value into a locking mark; if the difference value in the same direction is larger than or equal to the specified threshold times, resetting the locking related parameters and releasing the locking permission state;
the locking is to fix the internal code value, the weight value can be obtained after the internal code value is converted, and the weight value of the object in the pot can be displayed subsequently.
2. The method as claimed in claim 1, wherein in step 202, after the step of collecting the AD, in order to cope with the shaking in the using process, a band-step AD filtering calculation method is required, and the related filtering value is calculated according to a filtering correlation formula.
CN201611113455.XA 2016-12-06 2016-12-06 Weighing sensor circuit arranged on inner pot handle of electric cooker and weighing method Active CN106546315B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611113455.XA CN106546315B (en) 2016-12-06 2016-12-06 Weighing sensor circuit arranged on inner pot handle of electric cooker and weighing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611113455.XA CN106546315B (en) 2016-12-06 2016-12-06 Weighing sensor circuit arranged on inner pot handle of electric cooker and weighing method

Publications (2)

Publication Number Publication Date
CN106546315A CN106546315A (en) 2017-03-29
CN106546315B true CN106546315B (en) 2022-07-26

Family

ID=58396165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611113455.XA Active CN106546315B (en) 2016-12-06 2016-12-06 Weighing sensor circuit arranged on inner pot handle of electric cooker and weighing method

Country Status (1)

Country Link
CN (1) CN106546315B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102018110125A1 (en) * 2018-04-26 2019-10-31 Miele & Cie. Kg Food and / or liquid preparation device with a scale

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2469823B (en) * 2009-04-28 2011-07-06 Illinois Tool Works Weighing method and apparatus
CN202404470U (en) * 2011-12-29 2012-08-29 深圳市芯海科技有限公司 Power management circuit and electronic body scale
CN203263023U (en) * 2013-05-07 2013-11-06 周鲁 Electric cooker
CN203873540U (en) * 2014-04-17 2014-10-15 广东伊莱特电器有限公司 Electric cooker with weighing function
CN105136119A (en) * 2015-04-29 2015-12-09 韦政鸿 Electronic scale tilt alarm device
CN105043519A (en) * 2015-08-24 2015-11-11 无锡伊佩克科技有限公司 Weight balance detection system for vehicle
CN206353052U (en) * 2016-12-06 2017-07-25 芯海科技(深圳)股份有限公司 A kind of weighing sensor circuit for being arranged at inner pan of electric cooker handle

Also Published As

Publication number Publication date
CN106546315A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
Moresco et al. Constraining the time evolution of dark energy, curvature and neutrino properties with cosmic chronometers
CN102334038B (en) Phase determining device and frequency determining device
CN107477617B (en) The judgment method and device of kitchen range anti-spill pot, control method and device and kitchen range
TWI260480B (en) Methods of generating periodic signals, high resolution synthesizers and related automatic test apparatus
CN106546315B (en) Weighing sensor circuit arranged on inner pot handle of electric cooker and weighing method
CN103297039B (en) Digital phase-locked loop device and method thereof
CN103445691A (en) Intelligent rice barrel
US20130121372A1 (en) High resolution temperature measurement
CN107870652A (en) Sensor clock method of estimation and its device
US8077768B2 (en) Digital signal processing apparatus
CN102055476B (en) Pipeline time digital converter
WO2014138334A1 (en) Dithering circuit for serial data transmission
CN109141594A (en) The drug metering method of intelligent medicine-chest, intelligent medicine-chest and storage medium
CN108937524B (en) Method and device for displaying cooking countdown time, storage medium and cooking appliance
CN110175095B (en) Man-machine interaction type multifunctional FPGA coincidence measurement system and measurement method thereof
KR101665903B1 (en) Signal processing apparatus
CN117442076A (en) Pot body detection method and cooking equipment
CN104833446A (en) CMOS temperature sensing chip test system
CN206353052U (en) A kind of weighing sensor circuit for being arranged at inner pan of electric cooker handle
CN104182231B (en) A kind of progress control method and system of acceleration transducer application function
Weinberg Using the adxl202 duty cycle output
RU88157U1 (en) INFORMATION-MEASURING SYSTEM FOR ELECTRIC ENERGY QUALITY CONTROL
CN103343629A (en) Device for detecting temperature of infant swimming pool and alarming
US7325153B2 (en) Obtaining configuration data for a data processing apparatus
JP5542767B2 (en) Radiation monitor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant