Control method and control device of a press induction device

By using pressure sensors in home appliances to acquire and update baseline pressure values ​​in real time, the problem of signal insensitivity of touch or voice sensors is solved, enabling accurate door opening signal recognition and adaptation to different users' pressing pressure.

CN117134763BActive Publication Date: 2026-08-25NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311278917.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2026-08-25
Estimated Expiration
2043-09-28

AI Technical Summary

Technical Problem

Existing home appliances' touch or voice sensors are prone to signal insensitivity or interference when recognizing door opening signals, resulting in inaccurate and ineffective recognition.

Method used

A pressure sensing device is adopted to acquire pressure signal values ​​in real time through a pressure sensor. The reference values ​​are acquired and updated using the first and second preset time periods, respectively. The pressure signal and the door closing signal are combined to determine whether to output the door opening signal and optimize the update strategy of the reference pressure value.

Benefits of technology

It enables rapid updating of the reference pressure value under stable conditions, accurately determines the amount of pressure applied in a short time, avoids misoperation, adapts to the pressure applied by different users, and improves the accuracy of the door opening signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117134763B_ABST
    Figure CN117134763B_ABST
Patent Text Reader

Abstract

The application discloses a control method and a control device of a pressing sensing device, the pressing sensing device is installed on a door body, and comprises a pressure sensor; a pressure signal value of the pressure sensor is acquired in real time; when the door body is in a closed state, a plurality of first reference values are acquired with a first preset period as a cycle according to the pressure signal value of the pressure sensor acquired in real time; a reference pressure value is updated in real time based on the plurality of first reference values; whether an open door signal is output is determined according to a current pressure signal value and a current reference pressure value in response to a pressing signal; a plurality of second reference values are acquired with a second preset period as a cycle according to the pressure signal value of the pressure sensor acquired in real time in response to a close door signal; the reference pressure value is updated in real time based on the plurality of second reference values; and the first preset period is greater than the second preset period. The method and the device can update the reference pressure value in real time, and then accurately determine the size of the pressing pressure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a control method and control device for a sensing device, and particularly to a control method and control device for a pressure sensing device. Background Technology

[0002] Automatic sensor-activated door opening is a growing trend in home appliance technology, especially for built-in or handleless door systems, where the question of how to open the door is a pressing issue. A common solution for built-in appliances is to install sensors within the door to detect when the user wants to open it, and then use an electric push rod to open the door. This method effectively improves the user experience and makes the appliance's appearance more streamlined and aesthetically pleasing. Currently, touch or voice sensors are commonly used on appliance doors to detect door opening and closing signals. However, these sensors often suffer from insensitivity to signals or excessive interference, making it difficult to accurately and effectively recognize the opening signal. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to overcome the defects in the prior art and provide a control method and control device for a pressure sensing device that controls the opening and closing of a household appliance door by pressing.

[0004] This invention solves the above-mentioned technical problems through the following technical solution: a control method for a pressure sensing device, characterized in that the pressure sensing device is installed on a door body, and the pressure sensing device includes a pressure sensor; the control method includes...

[0005] Real-time acquisition of pressure signal values ​​from pressure sensors;

[0006] When the door is closed, multiple first reference values ​​are acquired based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the cycle.

[0007] The reference pressure value is updated in real time based on the plurality of first reference values;

[0008] In response to a pressing signal, determine whether to output a door opening signal based on the current pressure signal value and the current reference pressure value;

[0009] In response to the door closing signal, multiple second reference values ​​are acquired based on the pressure signal value of the pressure sensor acquired in real time, with a second preset time period as the cycle.

[0010] The reference pressure value is updated in real time based on the plurality of second reference values;

[0011] The first preset time period is longer than the second preset time period.

[0012] Preferably, it also includes,

[0013] In response to the door closing signal, and based on the pressure signal value of the pressure sensor acquired in real time, a plurality of first reference values ​​are acquired at a first preset time period.

[0014] Once the first benchmark value is obtained, the acquisition of the second benchmark value is stopped, and the benchmark pressure value is updated in real time based on the first benchmark value.

[0015] Preferably, the pressing signal is a current pressure signal value that is greater than a preset pressing threshold.

[0016] Preferably, determining whether to output a door opening signal based on the current pressure signal value and the current reference pressure value includes:

[0017] Obtain the difference between the current pressure signal value and the current reference pressure value;

[0018] In response to the difference falling within a preset door opening threshold range and the pressing duration being greater than the preset pressing duration corresponding to the preset door opening threshold range, a door opening signal is determined to be output.

[0019] Preferably, the step of acquiring multiple first reference values ​​based on the pressure signal values ​​from the pressure sensor acquired in real time, with a first preset time period as the cycle, includes:

[0020] Multiple pressure signal values ​​within the aforementioned period prior to the current moment are acquired at intervals of the first time duration.

[0021] When the difference between the multiple pressure signal values ​​is less than a first preset difference, the average value of the multiple pressure signal values ​​within the period is determined as the first reference value.

[0022] And / or,

[0023] The step of acquiring multiple second reference values ​​based on the pressure signal value from the real-time acquired pressure sensor, with a second preset time period as the cycle, includes:

[0024] Using the second time interval, acquire multiple pressure signal values ​​within the period prior to the current moment;

[0025] When the difference between the multiple pressure signal values ​​is less than a second preset difference, the average value of the multiple pressure signal values ​​within the period is determined as the second reference value.

[0026] Preferably, the step of updating the reference pressure value in real time based on the plurality of first reference values ​​specifically involves replacing the latest first reference value with the reference pressure value;

[0027] And / or,

[0028] The reference pressure value is updated in real time based on the plurality of second reference values; specifically, it is determined whether the difference between the latest second reference value and the previous second reference value is less than a third preset difference. If so, the latest second reference value is updated as the reference pressure value; otherwise, the reference pressure value is not updated.

[0029] Preferably, it also includes stopping the output of the pressing signal in response to the door opening signal.

[0030] Preferably, after the step of stopping the output of the pressing signal in response to the door opening signal, the method further includes:

[0031] Based on the pressure signal value of the pressure sensor acquired in real time, multiple second reference values ​​are acquired at a second preset time period.

[0032] The door opening reference pressure value is updated in real time based on the multiple second reference values.

[0033] Preferably, the real-time acquisition of the pressure signal value from the pressure sensor includes,

[0034] Multiple signal values ​​within the sampling time period prior to the current moment are obtained according to the sampling interval, and the average value is taken as the pressure signal value corresponding to the current moment.

[0035] In another aspect, the present invention provides a control device for a pressure sensing device, characterized in that it includes:

[0036] The real-time acquisition unit is used to acquire the pressure signal value of the pressure sensor in real time.

[0037] The first acquisition unit is used to acquire multiple first reference values ​​based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the cycle.

[0038] The first update unit is used to update the reference pressure value in real time based on the plurality of first reference values;

[0039] The first response unit is used to respond to the pressing signal and determine whether to output the door opening signal based on the current pressure signal value and the current reference pressure value.

[0040] The second acquisition unit is used to acquire multiple second reference values ​​in response to the door closing signal, based on the pressure signal value of the pressure sensor acquired in real time, with a second preset time period as the cycle.

[0041] The second update unit is used to update the reference pressure value in real time based on the plurality of second reference values.

[0042] The positive and progressive effects of the present invention are as follows: the control method and control device of the pressure sensing device of the present invention can update the reference pressure value in real time according to a longer period when the pressure is stable, and update the reference pressure value in real time according to a shorter period after the reference pressure value fluctuates for a short time, so as to quickly obtain the update of the reference pressure value and accurately determine the magnitude of the pressing force based on the reference pressure value. Attached Figure Description

[0043] Figure 1 This is a schematic diagram of the pressure sensing device according to Embodiment 1 of the present invention;

[0044] Figure 2 This is a flowchart illustrating the control method of the pressure sensing device according to Embodiment 1 of the present invention;

[0045] Figure 3 This is a schematic diagram of the specific process of step S104 of the control method of the pressure sensing device in Embodiment 1 of the present invention;

[0046] Figure 4 This is a flowchart illustrating the control method of the pressure sensing device according to Embodiment 2 of the present invention;

[0047] Figure 5 This is a flowchart illustrating the control method of the pressure sensing device according to Embodiment 3 of the present invention;

[0048] Figure 6 This is a schematic block diagram of the control device of the pressure sensing device in Embodiment 4 of the present invention;

[0049] Figure 7 This is a schematic block diagram of an example electronic device 500 provided in Embodiment 5 of the present invention. Detailed Implementation

[0050] The present invention will be further illustrated by way of embodiments below, but the present invention is not limited to the scope of the embodiments described herein.

[0051] Example 1

[0052] The control method of the pressure sensing device in Embodiment 1 of the present invention, as follows: Figure 1 As shown, the pressure sensor is installed inside the cabinet 10 of the appliance or furniture via a mounting box 20, opposite to the door 11. The door 11 is subjected to pressure as it is opened and closed. When there is a pressing action outside the door, the pressure sensor can also detect the pressure and determine the magnitude of the pressing force.

[0053] The pressure sensing device includes a pressure sensor, which is a micro-pressure strain gauge based on a pressure-sensitive material. Preferably, the micro-pressure strain gauge is a pressure sensing chip 30, which is patch-soldered onto a PCB board 40. The PCB board 40 is attached to a pressure sensing panel, which is made of plastic or metal and is capable of producing slight deformation under pressure.

[0054] Alternatively, instead of using an additional plastic or metal pressure-sensing panel, the PCB board 40 can be used directly as the pressure-sensing panel, with pressure applied directly to the PCB board. The bottom perimeter of the pressure-sensing panel is supported by support pillars, and the surface of the pressure-sensing panel corresponding to the pressure sensor position is the pressing area.

[0055] The pressure sensing panel is also equipped with a triggering device 60, which is installed inside the door of furniture or home appliance to receive external pressure. The triggering device 60 is aligned with the pressing area of ​​the pressure sensing panel and the pressure sensor, and then as the user presses the door, it generates micro-movement. The triggering device 60 is aligned with the pressure sensor, which can cause the pressure sensor to generate a sensing signal that matches the pressure.

[0056] Preferably, the triggering device 60 includes a button 61 and a spring 62. When subjected to external pressure, the button 61 compresses the spring 62, and the pressure is transmitted to the pressing area on the pressure sensing panel 50 through the spring 62, causing the pressure sensor to generate a corresponding sensing signal. Within the elastic limit, the pressure on the spring is proportional to the compression length of the spring, i.e., F = kx, where F is the magnitude of the elastic force, i.e., the pressure, k is the spring constant in N / m, and x is the compression length of the spring. The pressing stroke of the spring is structurally limited, and the spring can only extend and retract within the movable gap range. The maximum extension and retraction length of the spring after the limit is defined as ΔDmax, and the maximum pressing force after the spring is limited is: Fmax = k × ΔDmax. In this case, k = 5600 N / m, Dmax = 6 mm, and Fmax = 5600 N / m × 0.006 m = 33.6 N. Since the user's pressing force is transmitted to the pressure sensing chip through a spring, the user's pressing force is buffered by the spring on the one hand, and the maximum pressing stroke of the spring limits the user's pressing force, thus protecting the pressure sensing chip from damage.

[0057] When the door needs to be opened, pressure is applied, causing the pressing area to be compressed. The pressure sensing chip 30 deforms, and the internal resistance value of the pressure sensing chip changes. This change is converted into a voltage change by the pressure detection circuit. The change in voltage is used to determine whether there is a pressing action. When a pressing action is detected, the electric door opening mechanism is driven to push the door open.

[0058] However, those skilled in the art should also note that the pressure on the pressure sensor differs between the open and closed states. Even without external pressure, it retains an initial pressure. For example, when the door is closed, especially in refrigerators, the pressure sensor maintains an initial pressing force due to the engagement of the hinges and door seals between the door and the refrigerator body. This initial pressing force generates a downward stroke of D0. When the user presses the door, the door seal undergoes elastic deformation under the pressure, causing the door to shift towards the refrigerator body. This reduces the gap between the door and the refrigerator body, thus pressing the button of the pressure sensor. The button's pressing stroke, based on the pre-pressing stroke, generates a further downward stroke ΔD. Adding the pre-pressing stroke D0, the total pressing stroke D1 = D0 + ΔD.

[0059] Furthermore, due to the consistency of the overall assembly, changes in the overall condition of the machine during user use, and the influence of external temperature and residual deformation on the pressure sensor, the initial pressing force (D0) varies each time the door is opened and closed. Therefore, directly using the pressure value to determine whether a press has occurred or the magnitude of the press is not necessarily accurate, especially when the pressing force is already relatively small. Thus, it is necessary to subtract the pre-pressing stroke D0, which corresponds to the baseline pressure value—the average value of the pressure sensor under conditions of no external pressing force or pre-pressing force that remains relatively stable. Therefore, this baseline pressure value needs to be updated in real time to meet the needs of accurate measurement. When external pressing force occurs, subtracting this baseline pressure value from the pressure sensor signal value yields the correct increment of the pressing force.

[0060] like Figure 2 The diagram shown illustrates the control method for the pressure sensing device. This control method specifically includes:

[0061] S101, real-time acquisition of pressure signal value from pressure sensor;

[0062] S102, when the door is closed, multiple first reference values ​​are acquired based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the cycle.

[0063] S103, update the reference pressure value in real time based on the plurality of first reference values;

[0064] S104, in response to the pressing signal, determines whether to output an opening signal based on the current pressure signal value and the current reference pressure value;

[0065] S105, in response to the door closing signal, based on the pressure signal value of the pressure sensor acquired in real time, acquire multiple second reference values ​​with a second preset time period as the cycle;

[0066] S106, Update the reference pressure value in real time based on the plurality of second reference values;

[0067] The first preset time period is longer than the second preset time period, and the reference pressure value is the pressure signal value of the pressure sensor in the state of no external force pressing, or in the state of pre-pressing pressure and stable pre-pressing pressure.

[0068] In step S101, the pressure signal value of the pressure sensor is acquired in real time. This can be achieved by directly using the current pressure sensor signal value as the current pressure signal value, as one optional implementation. Alternatively, the pressure signal value can be determined by averaging the values ​​based on a certain sampling duration and sampling interval. Specifically, multiple signal values ​​within the sampling duration preceding the current moment are acquired at a sampling interval, and the average value is taken as the pressure signal value for the current moment. The sampling interval is 10ms, and the sampling duration is 300ms. Alternatively, these settings can be adjusted as needed. Therefore, all subsequent real-time acquired pressure signal values ​​can be obtained using the same method described in this step.

[0069] In step S102, when the door is closed, multiple first reference values ​​are acquired based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the cycle.

[0070] The first baseline value is obtained within a first preset time period. This can be achieved by averaging multiple measurements within the first preset time period, averaging measurements at irregular intervals, or periodically measuring once per cycle to obtain the first baseline value, which can be set as needed. Once multiple first baseline values ​​are obtained, the baseline pressure value is updated in real time.

[0071] Preferably, multiple pressure signal values ​​within the period prior to the current moment are acquired at intervals of a first duration.

[0072] When the difference between the multiple pressure signal values ​​is less than a first preset difference, the average value of the multiple pressure signal values ​​within the period is determined as the first reference value.

[0073] The first duration can be 300ms. Since the pressure value is relatively stable when the door is closed, it is only necessary to acquire multiple pressure signal values ​​within a first preset time period before the current moment. If the difference between these multiple pressure signal values ​​is less than a first preset difference, the measured pressure value is considered relatively stable, and the average value of these multiple pressure signal values ​​is determined as the first reference value. Updating the reference pressure value based on this first reference value allows for real-time updates; that is, once the first reference value is acquired, the reference pressure value is updated. This first reference value can also be called a long-period reference pressure value. The first preset difference is a threshold set to allow for a certain margin in the fluctuation of the pressure signal value within a pre-measured or pre-determined first preset time period.

[0074] If the difference between the multiple pressure signal values ​​is greater than the first preset difference, the pressure value fluctuates. At this time, the pressure value is not suitable as the first reference value. Therefore, the first reference value should be obtained as the current reference pressure value only when the pressure value is relatively stable.

[0075] In step S103, the reference pressure value is updated in real time based on the plurality of first reference values; since the first reference values ​​are relatively stable long-term reference pressure values, the reference pressure value can be updated synchronously in real time.

[0076] In step S104, in response to the pressing signal, the pressing signal is defined as a current signal pressure value greater than a preset pressing threshold. When the current signal pressure value is greater than the preset pressing threshold, it is determined that a pressing has occurred, and a pressing signal is generated.

[0077] The system responds to the pressing signal and determines whether to output an opening signal based on the current pressure signal value and the current reference pressure value.

[0078] Specifically, such as Figure 3 As shown,

[0079] S1041, Obtain the difference between the current pressure signal value and the current reference pressure value;

[0080] S1042, in response to the difference falling within a preset door opening threshold range and the pressing duration being greater than the preset pressing duration corresponding to the preset door opening threshold range, determine to output a door opening signal.

[0081] That is, an opening signal is output only when the difference falls within the preset opening threshold range and the pressing time is also greater than the preset pressing time corresponding to the preset opening threshold range. Even if the difference falls within the preset opening threshold range, but the pressing time is not greater than the preset pressing time corresponding to the preset opening threshold range, no opening signal is output.

[0082] The reference pressure value is updated in real time. Therefore, when the current pressure signal value is greater than the preset pressing threshold, it is determined that there is a pressing action. The current pressure signal value is subtracted from the current reference pressure value, and the difference is used to determine whether an opening signal needs to be output.

[0083] Preferably, due to different user habits, some people prefer to press harder to open the door, while others prefer a lighter press for an immediate opening action. Therefore, the force after subtracting a baseline value from the pressing force can be divided into multiple force ranges. Users can then select the corresponding force range as a preset opening threshold range, and this preset threshold range has a corresponding preset pressing duration. An opening signal is only output when the difference falls within the preset threshold range and the pressing duration also meets the preset pressing duration corresponding to the threshold range. This setting aims to eliminate accidental touches after a pressing signal is generated, and to comprehensively determine whether to output an opening signal by combining the pressing force and pressing duration. This avoids accidental touches caused by momentary collisions and accommodates users with different pressing force levels for pressing to open the door.

[0084] For example, as mentioned above, the pressure sensor can measure a pressing force ranging from 0-6N after subtracting a reference value. This pressing force can be divided into three ranges: 0-2N, 2-4N, and 4-6N, corresponding to low, medium, and high pressure ranges for the user to choose from. The pressure range selected by the user is the preset door opening threshold range. Of course, more pressure ranges can be set as needed for the user to choose from. Simultaneously, preset pressing durations can be set for low, medium, and high pressure.

[0085] For example, if the user selects a low force range, the preset door opening threshold range is 0-2N and the preset pressing time is 600ms. When the user's pressing force falls within the low force range and the pressing time is greater than the preset pressing time, an opening signal will be output.

[0086] For example, if the user selects a high force range, the preset door opening threshold range is 4-6N and the preset pressing time is 200ms. Only when a force within the high force range is detected and the pressing time is greater than 200ms can the door opening signal be driven to be output.

[0087] The difference between the pressure signal value and the current reference value is used to determine whether it falls within the preset door opening threshold range, and whether the pressing time is greater than the preset pressing time corresponding to the preset door opening threshold range, in order to determine whether an door opening signal needs to be output. If the user selects a high force range, the preset door opening threshold range is 4-6N. Therefore, when there is only a pressing force of 2N, it does not fall within the preset door opening threshold range, and no door opening signal is output.

[0088] S105, in response to the door closing signal, based on the pressure signal value of the pressure sensor acquired in real time, multiple second reference values ​​are acquired in a second preset time period. The method of acquiring the second reference values ​​can also be to acquire one value in each period, or to acquire multiple values ​​at random intervals within each period and calculate the average, or to extract multiple values ​​at fixed intervals within each period and calculate the average, which can be determined as needed.

[0089] The door closing signal is a signal detected by other sensors, or a signal determined based on the pressure signal value obtained in real time by the pressure sensor.

[0090] Preferably, based on the pressure signal value from the pressure sensor acquired in real time, multiple second reference values ​​are acquired at a second preset time period; specifically...

[0091] Using the second time interval, acquire multiple pressure signal values ​​within the period prior to the current moment;

[0092] When the difference between the multiple pressure signal values ​​is less than a second preset difference, the average value of the multiple pressure signal values ​​within that period is determined as the second reference value. The second preset difference is obtained by pre-measuring or storing the fluctuation of the pressure signal values ​​within a second preset time period, while retaining a certain margin.

[0093] The second duration can be 10ms. Based on the second duration, multiple pressure signal values ​​within the second preset time period before the current moment are obtained. If the difference between the pressure signal values ​​is less than the second preset difference, the pressure value is considered to be relatively stable at this time. The average value of the multiple pressure signal values ​​is used as the second reference value. The second reference value can also be considered as the short-term reference pressure value.

[0094] This is used to obtain a baseline pressure value in a short time when the pressure value fluctuates after the door is closed, for example, when the baseline pressure value needs to be updated quickly after the door is closed, so that it can be used as a reference to judge the amount of pressure when someone opens the door again.

[0095] In step S106, the reference pressure value is updated in real time based on the plurality of second reference values. Because the second reference values ​​are short-term reference pressure values, their stability and accuracy are not high, so they can only be used temporarily. Or, more caution is needed when using the second reference values ​​to update the reference pressure value. Therefore, when updating the reference pressure value based on the plurality of second reference values, it is necessary to determine whether the difference between the latest second reference value and the previous second reference value is less than a third preset difference. If so, the latest second reference value is updated as the reference pressure value. If not, it indicates that there is a short-term fluctuation, and the reference pressure value is not updated.

[0096] The first preset time period is longer than the second preset time period, and the first duration is also longer than the second duration. Because the pressure sensor remains stable for a long time when the door is closed, even if real-time updates to the reference pressure value are needed, they only need to be updated based on a longer period and a smaller frequency. Therefore, the first reference value obtained above can also be called a long-period pressure value. The first preset time period can be 20 seconds.

[0097] When the door is closed, the pressure value of the pressure sensor chip will experience a brief fluctuation before stabilizing. However, the reference pressure value of the pressure sensor chip after each door closure is not exactly the same as the reference pressure value after the previous closure. This is due to factors such as assembly structure deformation during use, residual deformation of the pressure sensor after being pressed, and temperature drift of the pressure sensor after each closure. Therefore, the most recent reference pressure value in the closed state before the door was opened cannot be directly retrieved. Instead, the reference pressure value after the door is closed must be combined with the stable pressure value of the pressure sensor in the closed state, as well as the fluctuation range of the reference pressure value, to quickly obtain the reference pressure value after the door is closed. Moreover, in order to quickly obtain a new reference pressure value, the update time needs to be reduced to quickly determine an accurate reference pressure value. The second preset time period can be 1 second or 2 seconds.

[0098] The control method of the pressure sensing device in this invention can update the reference pressure value in real time according to a longer period when the device is stable. This allows for accurate determination of the pressure applied when pressure is applied, based on the reference pressure value, to determine whether an opening signal needs to be output. After the door is closed, because the reference pressure value fluctuates briefly, updating the reference pressure value in real time according to a short period ensures rapid access to the updated reference pressure value, facilitating accurate subsequent pressure determination.

[0099] Furthermore, the control method of the pressure sensing device in this embodiment needs to comprehensively consider whether the pressing force and pressing duration are met simultaneously to determine whether to output the door opening signal. This avoids misoperation caused by instantaneous collisions and can adapt to the pressing force of different users to achieve door opening by pressing.

[0100] Example 2

[0101] The control method for the pressure sensing device disclosed in Example 2, such as Figure 4 As shown, the specific steps include:

[0102] S201, real-time acquisition of pressure signal value from pressure sensor;

[0103] S202, when the door is closed, multiple first reference values ​​are acquired based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the cycle;

[0104] S203, update the reference pressure value in real time based on the plurality of first reference values;

[0105] S204, in response to a pressing signal, determines whether to output a door opening signal based on the current pressure signal value and the current reference pressure value;

[0106] S205, in response to the door closing signal, based on the pressure signal value of the pressure sensor acquired in real time, acquire multiple second reference values ​​with a second preset time period as the cycle;

[0107] S206, The reference pressure value is updated in real time based on the plurality of second reference values;

[0108] The first preset time period is longer than the second preset time period, and the reference pressure value is the pressure signal value of the pressure sensor in the state of no external force pressing, or in the state of pre-pressing pressure and stable pre-pressing pressure. The above steps are the same as those in the first embodiment.

[0109] The method also includes the following steps:

[0110] S207, in response to the door closing signal, and based on the pressure signal value of the pressure sensor acquired in real time, acquire multiple first reference values ​​with a first preset time period as the cycle;

[0111] S208, after obtaining the first reference value, stop obtaining the second reference value, and update the reference pressure value in real time based on the first reference value.

[0112] In step S205, in response to the door closing signal, multiple second reference values ​​are acquired based on the real-time pressure signal value, with a shorter second preset time period as the cycle. At the same time, multiple first reference values ​​are acquired with a first preset time period as the cycle. Since the first preset time period is longer than the second preset time period, the second reference values ​​must be acquired before the first reference values ​​can be acquired. When the first reference value is acquired, it indicates that the door is relatively stable and the pressure value has also tended to be stable. Therefore, the acquisition of short-cycle reference pressure values ​​can be stopped, and long-cycle pressure values, i.e., the first reference values, can be continuously acquired to update the reference pressure values.

[0113] The control method of this embodiment updates the reference pressure value in a short period of time after the door is closed, and stops acquiring and updating the second reference value after obtaining a stable long-term reference pressure value. It continues to acquire the first reference value to update the reference pressure value. This not only ensures that the reference pressure value is obtained as soon as possible in a short period of time after the door is closed, but also allows for continuous updating of the reference pressure value in a long period of time after the door is stable, so that subsequent pressure measurement and pressing judgment are accurate.

[0114] Example 3

[0115] The other steps in this embodiment are the same as in embodiments 1 and 2, such as... Figure 5 As shown, the method in this embodiment differs from the previous one by including step S309, which stops outputting the pressing signal in response to the door opening signal.

[0116] The door opening signal can be detected by other door opening and closing sensors, or it can be determined by a sudden pressure change in the pressure sensor in the pressing device.

[0117] After the step of stopping the output of the pressing signal in response to the door opening signal, the method further includes:

[0118] Step S310: Based on the pressure signal value of the pressure sensor acquired in real time, acquire multiple second reference values ​​with a second preset time period as the cycle;

[0119] S311, the door opening reference pressure value is updated in real time based on the plurality of second reference values.

[0120] That is, consistent with the method for obtaining the second reference value when the door is closed, in the open state, multiple second reference values ​​are obtained in a second preset time period, and the door opening reference pressure value is updated in real time based on the multiple reference pressure values. The door opening reference pressure value is the reference pressure value in the open state.

[0121] The same method can be used to obtain the data by sampling at regular intervals with a second preset time period, or by sampling multiple times within each second period and averaging the results.

[0122] Preferably, based on the pressure signal value of the pressure sensor acquired in real time, multiple second reference values ​​are acquired with a second preset time period as the cycle; similar to the methods in the aforementioned Embodiments 1 and 2, multiple pressure signal values ​​within the cycle before the current time are acquired with a second time interval; when the difference between the multiple pressure signal values ​​is less than a second preset difference, the average value of the multiple pressure signal values ​​within the cycle is determined as the second reference value.

[0123] The door opening reference pressure value is updated in real time based on the plurality of second reference values; or...

[0124] Preferably, it is determined whether the difference between the latest second reference value and the previous second reference value is less than a third preset difference. If so, the latest second reference value is updated as the reference pressure value; otherwise, the reference pressure value is not updated. If the second reference value is being obtained for the first time, it can be directly set as the reference pressure value.

[0125] Preferably, as another optional implementation, in S309, after stopping the output of the pressing signal in response to the door opening signal, multiple first reference values ​​can also be acquired simultaneously based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the cycle.

[0126] Once the first reference value is obtained, the acquisition of the second reference value is stopped, and the door opening reference pressure value is updated in real time based on the first reference value.

[0127] Preferably, the step of acquiring multiple first reference values ​​based on the pressure signal value from the real-time acquired pressure sensor, with a first preset time period as the cycle, includes:

[0128] Multiple pressure signal values ​​within the aforementioned period prior to the current moment are acquired at intervals of the first time duration.

[0129] When the difference between the multiple pressure signal values ​​is less than a first preset difference, the average value of the multiple pressure signal values ​​within the period is determined as the first reference value.

[0130] This method obtains a second reference value using a second preset time period as a cycle while closing the door, and then updates the reference pressure value based on the second reference value. After opening the door, the same method is used to obtain the door opening reference pressure value.

[0131] As another optional method, a first reference value is also obtained with a first preset time period as the cycle, and then the pressure signal is judged based on the first reference value as the reference pressure value after stabilization.

[0132] The reference pressure value is updated not only when the door is closed, but also in real time when the door is opened, serving as a benchmark for subsequent pressing to close the door or other operations.

[0133] Example 4

[0134] like Figure 6 As shown, this is a control device for a pressure sensing device provided in Embodiment 4 of the present invention, specifically including...

[0135] Real-time acquisition unit 1 is used to acquire the pressure signal value of the pressure sensor in real time.

[0136] Specifically, the real-time acquisition unit 1 is used to acquire multiple signal values ​​within the sampling time before the current moment according to the sampling interval, and take the average value as the pressure signal value corresponding to the current moment.

[0137] The first acquisition unit 2 is used to acquire multiple first reference values ​​based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the cycle. The first acquisition unit 2 can acquire multiple first reference values ​​based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the cycle, when the door is closed.

[0138] Preferably, the first acquisition unit 2 may also acquire multiple first reference values ​​in response to a door closing signal, based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the cycle.

[0139] In a preferred embodiment, the first acquisition unit 2 acquires multiple first reference values ​​with a first preset time period as the cycle, specifically including acquiring multiple pressure signal values ​​within the cycle before the current time with a first duration as the interval;

[0140] When the difference between the plurality of pressure signal values ​​is less than a first preset difference, the average value of the plurality of pressure signal values ​​within the period is determined as the first reference value.

[0141] The first updating unit 3 is used to update the reference pressure value in real time based on the plurality of first reference values; specifically, the real-time updating of the reference pressure value based on the plurality of first reference values ​​is to replace the latest first reference value with the reference pressure value.

[0142] The first response unit 4 is used to respond to the pressing signal and determine whether to output an opening signal based on the current pressure signal value, the current reference pressure value, and the pressing duration.

[0143] The second acquisition unit 5 is used to acquire multiple second reference values ​​in response to the door closing signal, based on the pressure signal value of the pressure sensor acquired in real time, with a second preset time period as the cycle.

[0144] Preferably, the first acquisition unit 2 can also respond to the door closing signal, and at the same time, based on the pressure signal value of the pressure sensor acquired in real time, acquire multiple first reference values ​​in a first preset time period. When the first acquisition unit 5 acquires the first reference value, the second acquisition unit stops acquiring multiple second reference values ​​in a second preset time period.

[0145] The second update unit 6 is used to update the reference pressure value in real time based on the plurality of second reference values. Specifically, the second update unit 6 includes a judgment unit used to determine whether the difference between the latest second reference value and the previous second reference value is less than a third preset difference.

[0146] If yes, then the latest second reference value is updated to the reference pressure value; otherwise, the reference pressure value is not updated.

[0147] Preferably, as a preferred embodiment, the second acquisition unit acquires multiple second reference values ​​at a second preset time period; specifically including,

[0148] Using the second time interval, acquire multiple pressure signal values ​​within the period prior to the current moment;

[0149] When the difference between the multiple pressure signal values ​​is less than a second preset difference, the average value of the multiple pressure signal values ​​within the period is determined as the second reference value.

[0150] As another implementation, the control device for the pressure sensor...

[0151] It may also include a second response unit 7, which is used to respond to the door opening signal and stop outputting the pressing signal.

[0152] It may also include a third acquisition unit 8, used to acquire multiple second reference values ​​and simultaneously acquire multiple first reference values ​​after responding to the door opening signal.

[0153] It also includes a third update unit 9, which is used to update the door opening reference pressure value based on the plurality of second reference values ​​or the plurality of first reference values.

[0154] As another optional implementation of this embodiment, the first response unit 4 is used to respond to the pressing signal and determine whether to output an opening signal based on the current pressure signal value and the current reference pressure value;

[0155] It also includes a difference calculation unit, used to obtain the difference between the current pressure signal value and the current reference pressure value;

[0156] The determining unit is configured to determine and output an opening signal in response to the difference falling within a preset door opening threshold range and the pressing duration being greater than a preset pressing duration corresponding to the preset door opening threshold range.

[0157] The control device of this pressure sensor acquires a first reference value according to a first preset time period when the state is stable, and updates the reference pressure value based on the first reference value. After the door closes, it acquires a second reference value according to a second preset time period, and updates the reference pressure value based on the second reference value. This allows for a reduction in the update frequency when the state is stable, ensuring real-time updates of the reference pressure value. When there are changes, it quickly acquires the updated reference pressure value within a short period of time, ensuring real-time updates of the reference pressure value and facilitating accurate subsequent pressure judgment.

[0158] Example 5

[0159] According to Embodiment 5 of the present invention, the present invention also provides an electronic device, a readable storage medium, and a computer program product. Figure 7A schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present invention is shown. Device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in ROM (Read-Only Memory) 502 or loaded from storage unit 508 into RAM (Random Access Memory) 503. Various programs and data required for the operation of device 500 may also be stored in RAM 503. The computing unit 501, ROM 502, and RAM 503 are interconnected via bus 504. An I / O (Input / Output) interface 505 is also connected to bus 504.

[0160] Multiple components in device 500 are connected to I / O interface 505, including: input unit 506, such as keyboard, mouse, etc.; output unit 507, such as various types of monitors, speakers, etc.; storage unit 508, such as disk, optical disk, etc.; and communication unit 509, such as network card, modem, wireless transceiver, etc. Communication unit 509 allows device 500 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0161] The computing unit 501 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, CPUs (Central Processing Units), GPUs (Graphics Processing Units), various special-purpose AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, DSPs (Digital Signal Processors), and any suitable processor, controller, microcontroller, etc. The computing unit 501 performs the various methods and processes described above, such as the control method for a pressure-sensitive device. For example, in some embodiments, the control method for a pressure-sensitive device may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of the methods described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the aforementioned control method of the pressure sensing device by any other suitable means (e.g., by means of firmware).

[0162] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0163] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0164] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0165] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.

Claims

1. A control method for a pressure sensing device, characterized in that, The pressure sensing device is installed on the door body, and the pressure sensing device includes a pressure sensor; the control method includes... Real-time acquisition of pressure signal values ​​from pressure sensors; When the door is closed, multiple first reference values ​​are acquired based on the pressure signal value of the pressure sensor in real time, with a first preset time period as the first cycle. The reference pressure value is updated in real time based on the plurality of first reference values; In response to a pressing signal, determine whether to output a door opening signal based on the current pressure signal value and the current reference pressure value; In response to a door closing signal, multiple second reference values ​​are acquired based on the pressure signal value of the pressure sensor acquired in real time, with a second preset time period as the second cycle; at the same time, multiple first reference values ​​are acquired based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the first cycle. The reference pressure value is updated in real time based on the plurality of second reference values; The first preset time period is longer than the second preset time period; Once the first benchmark value is obtained, the acquisition of the second benchmark value is stopped, and the benchmark pressure value is updated in real time based on the first benchmark value. In response to the door opening signal, the output of the pressing signal stops.

2. The control method for the pressure sensing device according to claim 1, characterized in that, The pressing signal is defined as the current pressure signal value being greater than a preset pressing threshold.

3. The control method for the pressure sensing device according to claim 2, characterized in that, The system determines whether to output a door opening signal based on the current pressure signal value and the current reference pressure value. include, Obtain the difference between the current pressure signal value and the current reference pressure value; In response to the difference falling within a preset door opening threshold range and the pressing duration being greater than the preset pressing duration corresponding to the preset door opening threshold range, a door opening signal is determined to be output.

4. The control method for the pressure sensing device according to claim 1, characterized in that, The first reference value is obtained based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the first cycle; include, Multiple pressure signal values ​​within the first cycle before the current moment are obtained at intervals of a first duration. When the difference between the multiple pressure signal values ​​is less than a first preset difference, the average value of the multiple pressure signal values ​​within the first period is determined as the first reference value. And / or, The second reference value is obtained based on the pressure signal value of the pressure sensor acquired in real time, with a second preset time period as the second cycle; include, Using the second time interval, acquire multiple pressure signal values ​​within the second cycle prior to the current moment; When the difference between the multiple pressure signal values ​​is less than a second preset difference, the average value of the multiple pressure signal values ​​within the second period is determined as the second reference value.

5. The control method for the pressure sensing device according to claim 1, characterized in that, The step of updating the reference pressure value in real time based on the plurality of first reference values ​​specifically involves replacing the latest first reference value with the reference pressure value. And / or, The reference pressure value is updated in real time based on the plurality of second reference values; specifically, it is determined whether the difference between the latest second reference value and the previous second reference value is less than a third preset difference. If so, the latest second reference value is updated as the reference pressure value; otherwise, the reference pressure value is not updated.

6. The control method for the pressure sensing device according to claim 1, characterized in that, After the step of stopping the output of the pressing signal in response to the door opening signal, the method further includes: Based on the pressure signal value of the pressure sensor acquired in real time, multiple second reference values ​​are acquired with a second preset time period as the second cycle. The door opening reference pressure value is updated in real time based on the multiple second reference values.

7. The control method for the pressure sensing device according to claim 1, characterized in that, The real-time acquisition of pressure signal values ​​from the pressure sensor includes, Multiple signal values ​​within the sampling time period prior to the current moment are obtained according to the sampling interval, and the average value is taken as the pressure signal value corresponding to the current moment.

8. A control device for a pressure-sensing device, characterized in that, The pressure sensing device is installed on the door body, and the pressure sensing device includes a pressure sensor; the control device includes: The real-time acquisition unit is used to acquire the pressure signal value of the pressure sensor in real time. The first acquisition unit is used to acquire multiple first reference values ​​based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the first cycle. The first update unit is used to update the reference pressure value in real time based on the plurality of first reference values; The first response unit is used to respond to the pressing signal and determine whether to output the door opening signal based on the current pressure signal value and the current reference pressure value. The second acquisition unit is used to, in response to the door closing signal, acquire multiple second reference values ​​based on the pressure signal value of the pressure sensor acquired in real time, with a second preset time period as the second cycle; and simultaneously acquire multiple first reference values ​​based on the pressure signal value of the pressure sensor acquired in real time, with a first preset time period as the first cycle. Once the first benchmark value is obtained, the acquisition of the second benchmark value is stopped, and the benchmark pressure value is updated in real time based on the first benchmark value. The second update unit is used to update the reference pressure value in real time based on the plurality of second reference values; It also includes a second response unit, which is used to stop outputting the pressing signal in response to the door opening signal; The first preset time period is longer than the second preset time period.

Citation Information

Patent Citations

  • Method and device for determining pressure reference value, chip and electronic equipment

    CN112507994A

  • Pressure sensing switch control method and device, electronic equipment and readable storage medium

    CN115694464A