Sensor regulation and control method and contact type equipment
Through the sensor regulation method of adaptive range determination and dynamic calibration, the problem of sensor response program solidification is solved, the personalized adaptability and detection accuracy of the massager are improved, and the consistency of the user experience is ensured.
Patent Information
- Application Number
- CN202510664896.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-08-22
AI Technical Summary
The sensor response program on existing massagers is solidified, making it difficult to adapt to the individual needs of different consumers, resulting in poor user experience and factory consistency problems, resulting in the same type of product bringing different usage experiences to users.
Through the adaptive range determination program, the sensor detection data during use is obtained, the data maximum value is determined as the current range maximum value of the sensor, and the contact device is regulated based on this, including dynamic update and calibration of the adaptive range to ensure that the sensor response interval meets user needs.
It realizes personalized adaptation of sensor response intervals, improves measurement resolution and detection accuracy, and ensures a consistent experience of different products to users.
Smart Images

Figure CN120523015A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of detection and control, and relates to a sensor control method and a contact device. Background Art
[0002] A massager is a tool that massages and stimulates the muscles, meridians and other parts of the human body through mechanical vibration, electric current simulation and other methods.
[0003] Structurally, different sensors are usually set in the massager to detect different data of the user during the use of the massager, thereby achieving more precise massage control.
[0004] However, the research found that most of the sensor response programs currently installed on massagers are fixed, but different users have different response requirements for massagers. If the sensor response program is fixed, it will be difficult to adapt to different individual consumers, affecting the user experience.
[0005] At the same time, sensors also have factory consistency issues. Due to assembly processes, individual errors, and other reasons, the basic data detected by the sensors after each product is assembled may be different, so that different products of the same type may bring different usage experiences to users. Summary of the Invention
[0006] In order to solve the above-mentioned problems in the prior art, the present invention provides a sensor control method and a contact device.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is: In a first aspect, the present application provides a sensor control method, comprising: performing an adaptive range determination procedure in response to a first trigger instruction from a user; obtaining detection data of a sensor when a user is using a contact device; wherein the sensor is loaded in the contact device; obtaining a maximum value of the data in the detection data within a preset time; determining the maximum value of the data in the detection data as a current range maximum value of the sensor; wherein the current range maximum value of the sensor is not greater than the actual range maximum value of the sensor; and controlling the contact device based on the current range maximum value of the sensor.
[0008] Optionally, the preset time includes N usage cycles; wherein N is a positive integer; obtaining the maximum value of the data in the detection data within the preset time includes: collecting the maximum value of the data in each of the N usage cycles; averaging the N maximum values of the data to obtain the maximum value of the data in the detection data.
[0009] Optionally, determining the maximum value of the data in the detection data as the current maximum value of the sensor includes: increasing the maximum value of the data in the detection data by a set ratio, and determining the increased value as the current maximum value of the sensor; wherein, the increased value is less than the actual maximum value of the sensor, or when the increased value is greater than the actual maximum value of the sensor, the actual maximum value of the sensor is determined as the increased value.
[0010] Optionally, determining the maximum value of the data in the detection data as the current maximum value of the sensor's range includes: reducing the maximum value of the data in the detection data by a set ratio, and determining the reduced value as the current maximum value of the sensor's range.
[0011] Optionally, the method further includes: obtaining the maximum value of the detection data in each of M operating cycles; wherein each of the operating cycles uses the power on and power off of the contact device as a cycle node; M is a positive integer; and dynamically updating the current maximum value of the sensor's range based on the maximum value of the detection data in each of the M operating cycles.
[0012] Optionally, the current range maximum value of the sensor is dynamically updated based on the data maximum value of the detection data in each of the M operating cycles, including: in response to the data maximum value of the detection data in each of the M operating cycles showing a steady upward trend, the current range maximum value of the sensor is increased by a first preset value; in response to the data maximum value of the detection data in each of the M operating cycles showing a steady downward trend, the current range maximum value of the sensor is reduced by a second preset value.
[0013] Optionally, the method further includes: performing a range self-calibration procedure in response to a second trigger instruction from the user or a correction instruction from the staff; obtaining a first detection value of the sensor after the clamp is pressed on the contact device; wherein, under standard conditions, the force applied by the clamp corresponds to a set fixed value; mapping the first detection value with the set fixed value, and using the set fixed value as the actual range maximum value of the sensor.
[0014] Optionally, the method further includes: performing a zero point detection calibration procedure in response to a third trigger instruction from the user, or after the contact device is turned on, or after the contact device has been used for a set time; obtaining a second detection value of the sensor of the contact device in a stable state; storing the second detection value in a memory, and using the second detection value as the zero point value.
[0015] Optionally, the method further includes: in response to a fourth trigger instruction from the user, performing an initialization procedure to re-update the current maximum value of the range of the sensor.
[0016] In a second aspect, the present application provides a contact device, comprising: a main body, a controller arranged inside the main body, and a sensor arranged on the main body; the controller is connected to the sensor; the controller is used to execute the sensor control method as described in any one of the above-mentioned first aspects.
[0017] The beneficial effects of the embodiments of the present application include: This application proposes an adaptive range determination process for a sensor. This method is based on the user's actual experience data. When the user triggers the first trigger instruction, the detection data of the sensor when the user is on the contact device is obtained, and the maximum value of the data within a preset time is used as the current range maximum value of the sensor. Subsequently, the contact device is regulated based on the current range maximum value of the sensor.
[0018] This approach, first, allows for adaptive user needs, ensuring the sensor's response range matches the user's usage (not fixed). Even different products of the same type can achieve consistent user needs through this control, effectively adapting the contactless device to individual consumers and achieving product consistency based on individual users.
[0019] Second, the above-mentioned adaptive range determination is equivalent to reducing the actual maximum value of the range, so that the subsequent sensor will measure in a narrower working range, which can relatively improve the measurement resolution. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A flowchart of the steps of a first sensor control method provided by an embodiment of the present invention; Figure 2 A flowchart of the steps of a second sensor control method provided by an embodiment of the present invention; Figure 3 A flowchart of the steps of a third sensor control method provided by an embodiment of the present invention; Figure 4 A flowchart of the steps of a fourth sensor control method provided by an embodiment of the present invention; Figure 5 A flowchart of the steps of a fifth sensor control method provided by an embodiment of the present invention; Figure 6 A module block diagram of a contact device provided by an embodiment of the present invention; Figure 7 A schematic structural diagram of a contact device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0022] Research has found that most current massager sensors have fixed response programs. However, different users have different expectations for massager responses. If sensor response programs are fixed, they will be difficult to adapt to different consumers, affecting the user experience. Sensors also have factory consistency issues. Due to factors such as assembly processes and individual errors, the basic data detected by the sensors may vary from product to product after assembly. This can result in different user experiences for the same product type.
[0023] In view of the above problems, this application provides the following embodiments to solve them: See also Figure 1 , an embodiment of the present application provides a sensor control method, including: steps 101 to 105.
[0024] Step 101: In response to a first trigger instruction from a user, an adaptive range determination procedure is performed.
[0025] It should be noted that when using a contact device, the user can actively trigger the contact device to perform an adaptive range determination procedure. The adaptive range determination procedure here is mainly used to perform adaptive range determination on the sensor.
[0026] A button can be provided in the contact device, and when the user clicks the button multiple times in a row, the first trigger instruction is indicated. The number of clicks can be freely set, such as 2, 3, 5, etc.
[0027] In the embodiment of the present application, the contact device may be a massage device. The specific structure and description of the contact device will be described in detail in the subsequent embodiments.
[0028] It should be noted that the above adaptive range determination procedure corresponds to the following steps 102 to 104.
[0029] Step 102: Acquire detection data from a sensor when a user uses a contact device.
[0030] The sensor is installed in the contact device, and the detection data of the sensor is continuously obtained while the user is using the contact device.
[0031] In an embodiment of the application, the sensor provided in the contact device may be a pressure sensor.
[0032] Of course, the sensors provided in the contact device may also include but are not limited to vibration sensors, inertial measurement units, etc., which are not limited here.
[0033] Step 103: Obtain the maximum value of the detection data within a preset time.
[0034] Next, the preset time is detected. The preset time may be the user's first use cycle. For example, when the user takes the contact device and triggers the first trigger instruction, the preset time in step 103 may be used before the contact device is turned off.
[0035] Typically, a user will attempt to use various functions of a contact device when using the device for the first time. During this process, detection data from the sensor is continuously acquired, and the maximum value in the detection data is filtered out.
[0036] Of course, the preset time can also be customized to multiple days or hours, for example, the preset time can be 3 days, 5 days, 10 hours, 20 hours, etc. Assuming the preset time is 3 days, starting from triggering the first trigger instruction, the sensor detection data within 3 days is obtained, and the maximum value in the detection data is filtered out.
[0037] It's important to note that the maximum value in the detection data typically represents the maximum force a user can accept during use. For example, during first-time use, if a user increases the massage intensity of a contact device to a certain point and then stops increasing it, and the pressure sensor currently detects 80N, then the maximum force range the user can accept is 80N (increasing the intensity further may cause discomfort).
[0038] Step 104: Determine the maximum value of the data in the detection data as the current maximum value of the sensor's range.
[0039] The current maximum value of the sensor's range is not greater than the actual maximum value of the sensor's range.
[0040] For example, if the sensor is a pressure sensor, the actual measuring range of the pressure sensor is 100N. If the maximum value of the detection data is 80N, 80N is determined as the current maximum measuring range of the sensor.
[0041] Step 105: Based on the current maximum value of the sensor's range, the contact device is regulated.
[0042] In the subsequent control of the contact device, the current maximum value of the sensor's range is used as the boundary for control.
[0043] Taking the above example as an example, the current maximum value of the sensor's range, 80N, is used as the boundary for regulation.
[0044] Considering that current contact devices have fixed sensor response procedures and factory consistency issues (for example, similar products may have a range of 0~90N and some 0~100N, which will produce different interactive experiences for users), the embodiments of the present application propose an adaptive range determination process for sensors. This method uses the user's actual experience data as a benchmark. When the user triggers the first trigger instruction, the sensor's detection data when the user is in the contact device is obtained, and the maximum value of the data within a preset time is used as the current maximum value of the sensor's range. Subsequently, the contact device is regulated based on the current maximum value of the sensor's range. Through this method, first, it can adapt to user needs so that the sensor's response range fits the user's usage status (non-fixed). Even different products of the same type can achieve the user's consistency needs through the above-mentioned regulation, thereby enabling the contact device to effectively adapt to different consumer individuals and achieve product consistency based on individual users.
[0045] Second, the adaptive range setting described above reduces the actual maximum range, allowing subsequent sensor measurements to occur within a narrower operating range, which can improve measurement resolution. For example, if the sensor operates within a range of 0-80N, compared to the actual 0-100N range, this can improve detection accuracy and more accurately capture subtle changes.
[0046] Optionally, the preset time includes N usage cycles; where N is a positive integer.
[0047] For example, N can be specifically 3, 5, 7, etc. The usage cycle can count one time a user uses the contact device to perform massage as a usage cycle. For example, if the user uses the contact device to massage continuously for 5 minutes, these 5 minutes are counted as one usage cycle. If the user pauses for a while and then uses the contact device to massage continuously for 7 minutes, these 7 minutes are counted as another usage cycle.
[0048] Accordingly, the above step 103 obtains the maximum value of the data in the detection data within a preset time, which may specifically include: collecting the maximum value of the data in each of N usage cycles; averaging the N maximum values of the data to obtain the maximum value of the data in the detection data.
[0049] That is, in this embodiment, the maximum value of the data in each of the N usage cycles is averaged, and then the average value is determined as the maximum value of the data in the detection data within the preset time.
[0050] It should be noted that, considering that determining the maximum value of data using only one usage cycle may result in accidental data, which could affect the accuracy and rationality of subsequent adjustments, this embodiment of the application uses the average of the maximum values of data from N usage cycles as the result. Furthermore, after averaging over N usage cycles, the upper limit of the range can be closer to the user's desired usage status, further improving the accuracy of subsequent adjustments.
[0051] On this basis, we average the N maximum values of the data to obtain the maximum value in the detection data. A weighted average strategy can be used. Specifically, different weights are assigned based on the distance between the usage period and the current time node. The closer the usage period is to the current time node, the higher the weight assigned. Conversely, the farther the usage period is from the current time node, the lower the weight assigned.
[0052] For example, four usage cycles are collected, namely usage cycle A, usage cycle B, usage cycle C and usage cycle D. The four usage cycles from far to near are usage cycle D, usage cycle C, usage cycle B and usage cycle A, and the weights assigned in sequence are: usage cycle D is 0.3, usage cycle C is 0.27, usage cycle B is 0.23, and usage cycle A is 0.2.
[0053] It should be noted that the above-mentioned weighted average strategy can improve the user's personalized adaptation accuracy. This is because when using contact devices, users will become more and more adapted to and use the force range that is most comfortable for them. Therefore, the closer the usage cycle is to the current time node, the higher the weight it is assigned, so as to better adapt to user needs and usage status.
[0054] Optionally, the above step 104 determines the maximum value of the data in the detection data as the current maximum value of the sensor's range, which may specifically include: increasing the maximum value of the data in the detection data by a set ratio, and determining the increased value as the current maximum value of the sensor's range.
[0055] Wherein, when the value after the increase is smaller than the actual maximum value of the sensor's range, or when the value after the increase is larger than the actual maximum value of the sensor's range, the actual maximum value of the sensor's range is determined as the value after the increase.
[0056] The set ratio can be set as needed, for example, 10%, 20%, etc. The purpose of the above setting is to dynamically reserve a certain buffer space and improve the control accuracy of the contact device near the peak value.
[0057] In one embodiment, when the increased value exceeds the actual maximum range of the sensor, the set ratio can be adaptively reduced. For example, the initial default set ratio is 10%. When the value after the 10% increase exceeds the actual maximum range of the sensor, the set ratio can be adaptively reduced to 5%. If the value after the 5% increase is still greater than the actual maximum range of the sensor, the set ratio can be adaptively reduced to 2%, and so on.
[0058] Optionally, the above step 104 determines the maximum value of the data in the detection data as the current maximum value of the sensor's range, which may specifically include: reducing the maximum value of the data in the detection data by a set ratio, and determining the reduced value as the current maximum value of the sensor's range.
[0059] The setting ratio can be set according to needs, for example, the setting ratio can be 10%, 20%, etc.
[0060] It should be noted that the maximum value of the data is usually not the actual value required by the user, but only serves as the maximum pressure value that the user can accept. The pressure range commonly used by the user is inevitably lower than the maximum pressure value. Therefore, in this embodiment, the maximum value of the data in the detection data is reduced by a set ratio, and the reduced value is determined as the maximum value of the current range of the sensor, in order to provide higher accuracy detection.
[0061] It should be noted that the above-mentioned different usage strategies can be determined according to user portraits of different ages, or set according to different user groups, and this application does not limit this.
[0062] Optionally, see Figure 2 In one embodiment, the method further includes: step 201 to step 202.
[0063] Step 201: Obtain the maximum value of the detection data in each of the M operation cycles.
[0064] Each operation cycle uses the power-on and power-off of the contact device as a cycle node; M is a positive integer.
[0065] The value of M can be 5, 10, 20, etc.
[0066] It should be noted that the difference between the M operating cycles and the preset time in the aforementioned embodiment is that the preset time represents short-term use, while the M operating cycles represent long-term use.
[0067] Step 202: Based on the maximum value of the detection data in each of the M operating cycles, the current maximum value of the sensor's range is dynamically updated.
[0068] This embodiment represents that during long-term use by a user, the current maximum value of the sensor range is dynamically fine-tuned based on data from the long-term use process to ensure adaptation to the long-term use of the user.
[0069] In other words, the present application proposes a dynamic range update mechanism based on a complete operating cycle, which can track the long-term data of the contact device to continuously optimize and adapt to the user's usage status.
[0070] Optionally, the above step 202 dynamically updates the current maximum value of the sensor's range based on the maximum value of the detection data in each of the M operating cycles, which may specifically include the following two situations: The first case: in response to the fact that the maximum value of the detection data in each of the M operating cycles shows a stable upward trend, the current maximum value of the sensor's range is increased by a first preset value.
[0071] The above-mentioned stable upward trend may refer to a situation where the maximum value of the detection data in each operation cycle increases successively, indicating that the user is applying increasing pressure when using the contact device. In this case, the current maximum value of the sensor's range is increased by a first preset value. The first preset value can be set as needed, such as 5N, 10N, etc.
[0072] That is, in this embodiment, according to the continuous increase in the user's pressure demand, the current range of the sensor is actively expanded to follow the user's usage process, and the response range of the sensor is dynamically adjusted to achieve follow-up adaptation.
[0073] Second scenario: in response to the fact that the maximum value of the detection data in each of the M operating cycles shows a steady downward trend, the current maximum value of the sensor's range is reduced by a second preset value.
[0074] The above-mentioned steady downward trend may refer to a sequential decrease in the maximum value of the detection data in each operating cycle, indicating that the user's pressure on the contact device is decreasing. In this case, the current maximum value of the sensor's range is reduced by a second preset value. This second preset value can be set as needed, such as 5N, 10N, etc. The second preset value may be the same as or different from the first preset value, and this is not limited here.
[0075] That is, in this embodiment, according to the continuous decrease in the user's pressure demand, the current range of the sensor is actively reduced to follow the user's usage process, and the response range of the sensor is dynamically adjusted to achieve follow-up adaptation, while further improving the detection accuracy.
[0076] Optionally, see Figure 3 The method also includes: steps 301 to 303.
[0077] Step 301: In response to a second trigger instruction from the user, perform a range self-calibration procedure.
[0078] It should be noted that when using a contact device, the user can actively trigger the contact device to perform a range self-calibration procedure. The range self-calibration procedure here is mainly used to initialize or calibrate the range of the sensor.
[0079] A button can be provided in the contact device, and when the user clicks the button multiple times in a row, the second trigger instruction is indicated. The number of clicks can be freely set, such as 2, 3, 5, etc.
[0080] It should be noted that the second trigger instruction is triggered differently from the first trigger instruction. For example, when the user clicks the button twice in a row, it corresponds to the first trigger instruction, and when the user clicks the button three times in a row, it corresponds to the second trigger instruction.
[0081] Step 302: Obtain a first detection value of a sensor after the fixture presses on the contact device.
[0082] In a standard situation, the force applied by the clamp corresponds to a set fixed value. For example, in a standard situation, the force applied by the clamp is 100 N, and the 100 N is the set fixed value.
[0083] The clamp may be a device with an elastic structure, and the user needs to clamp the clamp at the sensor position of the contact device. After the clamp is clamped and stabilized, the first detection value collected by the sensor is obtained.
[0084] Step 303: Map the first detected value to the set fixed value, and use the set fixed value as the actual maximum value of the sensor's range.
[0085] Then, the first detected value is mapped to the set fixed value, and the set fixed value is used as the actual maximum value of the sensor's range.
[0086] For example, assuming the set fixed value is 100N and the first detection value is 90N, the first detection value 90N is mapped to the set fixed value 100N to ensure product consistency. The new reading is then calculated based on the above mapping relationship.
[0087] That is, taking into account the drift that may occur during the use of the sensor, product aging, or inconsistency in the product production process when the sensor is initialized, in the embodiment of the present application, a fixed value is set by applying a fixture and comparing the readings actually detected by the sensor to re-establish the mapping relationship, so as to correct the nonlinear error of the sensor and avoid the occurrence of subsequent control inaccuracies and other problems.
[0088] Optionally, see Figure 4 The method also includes: steps 401 to 403.
[0089] Step 401: In response to a calibration instruction from a staff member, a range self-calibration procedure is performed.
[0090] Step 402: Obtain a first detection value of a sensor after the fixture presses on the contact device.
[0091] In standard conditions, the force applied by the fixture corresponds to a set fixed value.
[0092] Step 403: Map the first detected value to the set fixed value, and use the set fixed value as the actual maximum value of the sensor's range.
[0093] It should be noted that steps 301-303 are essentially the same as steps 403-403. The difference between the two is that step 301 is triggered by the user, i.e., the user performs the range self-calibration during use or upon initial use. Step 401, on the other hand, uses the range self-calibration performed by the staff when the product leaves the factory. In other words, the range self-calibration in this application can be applied to different stages of the product, including before and after shipment.
[0094] Optionally, see Figure 5 The method also includes: steps 501 to 503.
[0095] Step 501: In response to a third trigger instruction from the user, or after the contact device is turned on, or after the contact device has been used for a set time, a zero point detection calibration procedure is performed.
[0096] It should be noted that when using a contact device, the user can actively trigger the contact device to perform a zero-point detection and calibration procedure. The zero-point detection and calibration procedure here is mainly used to correct the zero point of the sensor.
[0097] A button can be provided in the contact device, and when the user clicks the button multiple times in a row, the third trigger instruction is indicated. The number of clicks can be freely set, such as 2, 3, 5, etc.
[0098] It should be noted that the triggering of the third trigger instruction is different from that of the first trigger instruction. For example, when the user clicks the button twice in succession, it corresponds to the first trigger instruction, and when the user clicks the button four times in succession, it corresponds to the third trigger instruction.
[0099] Of course, the zero point detection and calibration procedure can also be automatically triggered after the contact device is turned on, or it can be automatically triggered periodically according to a set time. For example, the set time can be one month, three months, etc.
[0100] Step 502: Acquire a second detection value of a sensor of the contact device in a stable state.
[0101] Then, a sensor reading of the contact device in a stable state (i.e., a second detection value) is obtained. The stable state may refer to a state in which the contact device is at rest after being powered on, such as when the user powers on the device but is not in use.
[0102] Step 503: Store the second detection value in the memory, and use the second detection value as the zero point value.
[0103] Considering that sensors may experience zero-point drift due to temperature, mechanical stress, and product aging, for example, when there is no contact, the sensor output should be 0N, but the sensor's detection value is 3N. Therefore, zero-point detection calibration is necessary. This involves collecting the sensor's second detection value when the contact device is in a stable state and using this value as the new zero point. This method corrects detection errors caused by zero-point inaccuracy and effectively maintains sensor accuracy.
[0104] Optionally, the method further includes: in response to a fourth trigger instruction from the user, performing an initialization procedure to re-update the current maximum value of the sensor's range.
[0105] It should be noted that when using a contact device, the user can actively trigger the contact device to re-update the current maximum value of the sensor's range.
[0106] A button can be provided in the contact device, and when the user clicks the button multiple times in a row, the fourth trigger instruction is indicated. The number of clicks can be freely set, such as 2, 3, 5, etc.
[0107] It should be noted that the fourth trigger instruction is triggered differently from the first trigger instruction. No, when the user clicks the button twice in a row, it corresponds to the first trigger instruction, and when the user clicks the button five times in a row, it corresponds to the fourth trigger instruction.
[0108] See also Figure 6 and Figure 7Based on the same inventive concept, an embodiment of the present application further provides a contact device 100 , including: a main body 10 , a controller 20 and a sensor 30 .
[0109] The controller 20 is disposed inside the main body 10, and the sensor 30 is disposed on the main body 10. The controller 20 is connected to the sensor 30, and the controller 20 is used to execute the above-mentioned sensor control method.
[0110] In the embodiment of the present application, the contact device 100 can be specifically a massager, which can be used to massage different parts of the human body, such as physiological parts, head, neck, waist, etc.
[0111] The sensor 30 may be, but is not limited to, a pressure sensor, a vibration sensor, an inertial measurement unit, or the like.
[0112] The controller 20 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or any conventional processor.
[0113] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0114] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0115] In describing the embodiments of the present invention, it should be understood that "-" and "~" represent a range between two values, and the range includes the endpoints. For example, "AB" represents a range greater than or equal to A and less than or equal to B. "A~B" represents a range greater than or equal to A and less than or equal to B.
[0116] In describing the embodiments of the present invention, the term "and / or" is used herein to describe a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. Furthermore, the character " / " is generally used herein to indicate that the associated objects are in an "or" relationship.
[0117] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.
Claims
1. A sensor control method, characterized in that: include: In response to a first trigger instruction from a user, performing an adaptive range determination procedure; Acquiring detection data of a sensor when a user uses a contact-type device; wherein the sensor is loaded in the contact-type device; Obtaining the maximum value of the detection data within a preset time; Determining a maximum value of the data in the detection data as a current range maximum value of the sensor; wherein the current range maximum value of the sensor is not greater than an actual range maximum value of the sensor; The contact device is regulated based on the current maximum value of the sensor's range.
2. The sensor control method according to claim 1, characterized in that: The preset time includes N usage cycles; wherein N is a positive integer; The step of obtaining the maximum value of the detection data within a preset time period includes: Collecting the maximum value of data in each of the N usage cycles; The average of the N maximum data values is taken to obtain the maximum data value in the detection data.
3. The sensor control method according to claim 1, characterized in that: Determining the maximum value of the detection data as the current maximum value of the sensor's range includes: Increasing the maximum value of the detection data by a set ratio, and determining the increased value as the current maximum value of the sensor range; The boosted value is smaller than the actual maximum range value of the sensor, or when the boosted value is larger than the actual maximum range value of the sensor, the actual maximum range value of the sensor is determined as the boosted value.
4. The sensor control method according to claim 1, characterized in that: Determining the maximum value of the detection data as the current maximum value of the sensor's range includes: The maximum value of the detection data is reduced by a set ratio, and the reduced value is determined as the current maximum value of the sensor range.
5. The sensor control method according to claim 1, characterized in that: The method further comprises: Obtaining a maximum value of the detection data in each of M operating cycles; wherein each operating cycle uses the power on and power off of the contact device as a cycle node; and M is a positive integer; Based on the data maximum value of the detection data in each of the M operation cycles, the current range maximum value of the sensor is dynamically updated.
6. The sensor control method according to claim 5, characterized in that: The dynamically updating the current maximum value of the range of the sensor based on the maximum value of the detection data in each of the M operating cycles includes: In response to a data maximum value of the detection data in each of the M operating cycles showing a stable upward trend, increasing the current range maximum value of the sensor by a first preset value; In response to the fact that the maximum value of the detection data in each of the M operating cycles shows a stable downward trend, the current maximum value of the sensor's range is reduced by a second preset value.
7. The sensor control method according to claim 1, characterized in that: The method further comprises: In response to a second trigger instruction from the user or a calibration instruction from a staff member, a range self-calibration procedure is performed; Obtaining a first detection value of the sensor after the clamp is pressed on the contact device; wherein, under standard conditions, the force applied by the clamp corresponds to a set fixed value; The first detection value is mapped to the set fixed value, and the set fixed value is used as the actual maximum value of the sensor's range.
8. The sensor control method according to claim 1, characterized in that: The method further comprises: In response to a third trigger instruction from the user, or after the contact device is turned on, or after the contact device has been used for a set time, performing a zero point detection calibration procedure; Acquire a second detection value of the sensor of the contact device in a stable state; The second detection value is stored in a memory, and the second detection value is used as a zero point value.
9. The sensor control method according to claim 1, characterized in that: The method further comprises: In response to the fourth trigger instruction from the user, an initialization procedure is performed to re-update the current maximum value of the sensor's range.
10. A contact device, characterized in that: include: a main body, a controller disposed inside the main body, and a sensor disposed on the main body; The controller is connected to the sensor; The controller is used to execute the sensor control method according to any one of claims 1 to 9.
Citation Information
Cited By
Sensor data processing method, system, equipment and medium
CN120722833A
