Method for controlling an electric lift table based on tapping a tabletop

By combining signal parameters obtained from tapping the desktop with the hand hovering status, the automatic and coordinated adjustment of the electric height-adjustable desk is realized, solving the problems of inconvenience and susceptibility to environmental interference in traditional control methods, and improving the user experience.

CN120831918BActive Publication Date: 2026-02-03SHENZHEN YUEYAN INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511317904.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-16
Publication Date
2026-02-03
Estimated Expiration
2045-09-16

AI Technical Summary

Technical Problem

Existing methods for adjusting the height of electric height-adjustable desks, such as button control and remote control, are inconvenient and easily affected by environmental factors, resulting in a poor user experience.

Method used

By acquiring the tapping signals generated by the user tapping the desktop, extracting the signal parameters and matching them with a preset height adjustment mode database, and combining the hand hovering state and relative position relationship, the desktop height can be automatically and dynamically adjusted.

Benefits of technology

It enables convenient, precise, and user-friendly height adjustment of the electric height-adjustable desk, allowing users to control it without having to walk to the desk or look for the remote control, thus improving the convenience and accuracy of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120831918B_ABST
    Figure CN120831918B_ABST
Patent Text Reader

Abstract

The application relates to a method for controlling an electric lifting table based on knocking a table top, which comprises the following steps: acquiring a knocking signal generated by a user knocking the table top and extracting parameters of the knocking signal, matching the knocking signal with a preset height adjustment mode database to determine a target height value, detecting a hovering state of a hand of the user relative to the table top after the table top reaches the target height value, judging an initial adjustment direction according to a relative position relationship between a palm of the user and the table top, and then performing linkage adjustment according to real-time distance changes; the scheme can improve the accuracy and convenience of the electric lifting table, and further improves the use experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of intelligent control and information technology, and in particular to a method for controlling an electric height-adjustable desk based on tapping the desktop. Background Technology

[0002] In modern office and home settings, the use of power-adjustable desks is becoming increasingly widespread. With their adjustable height, power-adjustable desks can meet users' needs for desktop height in different work or usage states, such as standing or sitting, helping to alleviate physical fatigue caused by prolonged fixed postures and improving work and life comfort.

[0003] Currently, the height adjustment methods for electric height-adjustable desks on the market mainly include button control and remote control. Button control typically involves a set of physical buttons on the desk, allowing users to raise, lower, or switch between preset heights by pressing different buttons. Remote control, on the other hand, comes with a remote control, allowing users to control the desk height within a certain range by operating the buttons on the remote.

[0004] However, these traditional adjustment methods have certain limitations. Button control requires users to walk to the table to operate, which is inconvenient in some situations, such as when users are holding items and cannot easily walk to the table. Remote control increases the operating range, but the remote control is easily lost or misplaced, affecting the user experience. To solve these problems, some manufacturers have tried to introduce sensor control technology, such as infrared or touch sensors. However, these sensing methods are easily affected by external environmental factors, such as strong light and high temperature, which may cause inaccurate sensing, resulting in false triggers or failure to sense properly.

[0005] To solve these problems, a method for adjusting an electric height-adjustable desk that is accurate and convenient is needed. Summary of the Invention

[0006] The main purpose of this application is to provide a method for controlling an electric height-adjustable desk by tapping the desktop, which can improve the accuracy and convenience of the electric height-adjustable desk.

[0007] To achieve the above objectives, embodiments of the present invention provide a method for controlling an electrically adjustable desk based on tapping the desktop, the method comprising:

[0008] Acquire the tapping signal generated by the user tapping the desktop, and extract the parameters of the tapping signal, including the number of taps and the tapping interval time;

[0009] The target height value is determined by matching the parameters of the tapping signal with a preset height adjustment mode database. The height adjustment mode database stores various combinations of tapping signal parameters and their corresponding target height values.

[0010] Activate the lifting mechanism of the electric height-adjustable desk to adjust the desktop to the target height value;

[0011] After the desktop reaches the target height value, the hovering state of the user's hand relative to the desktop is detected, and the hovering state is monitored by a sensor in the rated hovering detection area;

[0012] Upon detecting the initial hovering state, the relative position of the user's palm to the desktop is determined, and the initial adjustment direction is determined based on the relative position.

[0013] Once the initial adjustment direction is confirmed, the desktop height is adjusted in conjunction with the real-time distance changes between the user's palm and the desktop. If the hovering state is detected to be interrupted, the desktop height adjustment stops. If the hovering state is detected again, the initial hovering state is re-determined and the in-process adjustment continues until the hovering state is interrupted again.

[0014] In summary, the technical solution of this application, by acquiring the tapping signal generated by the user tapping the table and extracting its parameters, can match the tapping signal with a preset height adjustment mode database to determine the target height value. This method eliminates the limitations of traditional button or remote control control. Users do not need to walk to the table or find a remote control; they can conveniently control the table height adjustment simply by tapping the table, improving operational convenience. After the table reaches the target height value, the hovering state of the user's hand relative to the table is detected, and the initial adjustment direction is determined based on the relative position of the user's palm and the table. Then, the adjustment is linked based on real-time distance changes, allowing users to precisely fine-tune the table height by hovering and moving their hands without using additional equipment, enhancing the accuracy and flexibility of height adjustment. Furthermore, the adjustment stops when the hovering state is interrupted and resumes when the hovering state is detected again, making the adjustment process more intelligent and user-friendly, further improving the user experience. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of a scenario illustrating the method for controlling an electric height-adjustable desk based on tapping the desktop, as described in an embodiment of this application.

[0016] Figure 2 A flowchart is provided for an embodiment of this application to illustrate a method for controlling an electric height-adjustable table based on tapping the tabletop.

[0017] Figure 3 A schematic diagram illustrating the process of acquiring the tapping signal according to an embodiment of this application;

[0018] Figure 4 A highly matched flowchart provided for embodiments of this application;

[0019] Figure 5A schematic diagram of the hover detection process provided in an embodiment of this application;

[0020] Figure 6 A schematic diagram of the adjustment direction determination process provided in an embodiment of this application;

[0021] Figure 7 A flowchart illustrating the linkage adjustment process is provided for embodiments of this application;

[0022] Figure 8 This is a schematic diagram illustrating the process of adjusting speed based on gesture changes, as provided in an embodiment of this application. Detailed Implementation

[0023] This application provides a method for controlling an electric height-adjustable desk by tapping the desktop, which will be described in detail below.

[0024] In this embodiment, the method for controlling an electric height-adjustable desk based on tapping the desktop is an innovative approach to adjusting the desk's height. It utilizes the tapping signals generated by the user tapping the desktop, extracts and analyzes the signal parameters, and combines this with a pre-set height adjustment pattern database to achieve initial desktop height adjustment. Subsequently, by detecting the user's hand hovering relative to the desktop and the relative position of the hand to the desktop, further fine-tuning of the desktop height is achieved. The entire process combines tapping control with hand hovering control, providing users with a more convenient, precise, and user-friendly electric height-adjustable desk experience.

[0025] Take an open-plan office area as an example. This area has multiple electrically adjustable desks, with employees working at various workstations. During daily work, employees may frequently switch between sitting and standing positions, making traditional button or remote control methods inconvenient. However, using the method of this invention, employees do not need to leave their seats or search for remote controls; they can quickly adjust the desk height simply by tapping the desktop.

[0026] For example, such as Figure 1 As shown, when an employee needs to switch from a seated to a standing work posture, they can directly tap the desktop at their workstation. At this time, a vibration sensor array installed at the bottom of the desktop collects the vibration signal generated by the tap and transmits it to the control system. The control system processes the vibration signal, extracts parameters such as the number of taps and the tap interval, and then matches it with a preset height adjustment pattern database to determine a suitable target height for standing work. Next, the lifting mechanism of the electric height-adjustable desk activates, smoothly adjusting the desktop to the target height.

[0027] After the desktop reaches the target height, employees can fine-tune the desktop height by hovering their hands. When an employee hovers their hand within the designated hover detection area on the edge of the desktop, an array of optical sensors in that area collects the position information of the user's hand. The control system calculates the distance between the center point of the hand and the edge of the desktop based on this information and determines whether it is in the initial hovering state. If the initial hovering state is detected, the control system further determines the relative position of the user's palm and the desktop, and determines the initial adjustment direction, such as upward or downward adjustment. Then, based on the real-time changes in the distance between the user's palm and the desktop, the lifting mechanism will adjust the desktop height accordingly until the user's desired height is reached.

[0028] Furthermore, this control method also offers significant advantages in some home office settings. For instance, in a home study, a user might experience discomfort from prolonged computer use and want to adjust the desktop height. In this case, the user can easily adjust the desktop height by tapping the desktop or hovering their hand over it, without needing to get up to find the control device, greatly improving convenience and comfort. Moreover, this method can adapt to the personalized needs of different users. Users can preset different height adjustment modes according to their physical condition and usage habits, making the electric height-adjustable desk more tailored to their individual needs.

[0029] refer to Figure 2 , Figure 2 This is a flowchart illustrating a method for controlling an electric height-adjustable desk based on tapping the desktop, as provided in an embodiment of this application. The executing entity of this method can be the electric height-adjustable desk or its control system. The control system can be integrated into the electric height-adjustable desk; for example, a control device, apparatus, or module can be set within the electric height-adjustable desk to achieve control based on tapping the desktop. Alternatively, the control system can be independent of the electric height-adjustable desk. The specific methods for controlling an electric height-adjustable desk based on tapping the desktop provided in this embodiment of the application include:

[0030] S10: Obtain the tapping signal generated by the user tapping the desktop, and extract the parameters of the tapping signal, including the number of taps and the tapping interval time.

[0031] In this embodiment, the tapping signal is a signal with specific characteristics generated by the vibration of the desktop caused by the user's physical action of tapping the desktop. The number of taps refers to the number of times the user taps the desktop within a certain time range; the tapping interval is the time interval between two consecutive taps. These parameters are the basis for subsequent precise adjustment of the desktop height. For example, the desktop height adjustment requirement may differ depending on whether the user taps the desktop quickly and continuously three times or taps it slowly and at intervals three times.

[0032] In this embodiment, a vibration sensor array installed on the bottom of the desktop collects vibration signals generated by tapping the desktop. Vibration sensors convert mechanical vibrations into electrical signals, with piezoelectric vibration sensors being a common choice. Piezoelectric vibration sensors operate based on the piezoelectric effect; when subjected to vibration, the piezoelectric material inside the sensor generates an electric charge, thereby outputting an electrical signal related to the vibration intensity and frequency. For example, multiple piezoelectric vibration sensors are evenly distributed on the bottom of an electric height-adjustable desk. When a user taps any part of the desktop, these sensors can promptly capture the vibration and output the corresponding electrical signal.

[0033] S20: Match the parameters of the tapping signal with a preset height adjustment mode database to determine the target height value. The height adjustment mode database stores various combinations of tapping signal parameters and their corresponding target height values.

[0034] In this embodiment, the preset height adjustment mode database is a pre-established dataset that stores various combinations of tapping signal parameters (such as different numbers of taps and tapping intervals) and their corresponding target height values. These combinations are set according to common user needs and habits. For example, two taps with an interval of 0.3-0.5 seconds might correspond to a desktop height of 80 cm, which is suitable for normal seated office work; while three taps with an interval of 0.6-0.8 seconds correspond to a desktop height of 100 cm, which is suitable for standing office work.

[0035] In this embodiment, the matching process involves comparing the extracted tap count and tap interval with pattern features in the database one by one. By comparing the specific values ​​and ranges of the parameters, the most matching pattern is found. If the database records a target height value H corresponding to a tap count of N and a tap interval within the range of T1-T2, the target height value H is determined to be the target for this adjustment when the collected tap signal parameters match. The degree of matching can be measured by similarity calculation S=(|N_collection - N_database|+|T_collection - T_database|) / (N_collection + T_collection). A successful match is considered to be achieved when S is less than the set similarity threshold S_th. This matching method can quickly and accurately determine the target height value based on the user's tapping operation, realizing automated height adjustment of the electric height-adjustable desk and meeting the diverse needs of different users in different scenarios. For example, if the database records that a desktop height of 90 cm corresponds to three taps with an interval between 0.5 seconds and 1 second, the target height value is determined to be 90 cm when the collected tap signal parameters match.

[0036] In this embodiment, the matching method can quickly and accurately determine the target height value based on the user's tapping operation, thereby achieving automated height adjustment of the electric height-adjustable desk. By establishing a rich database of height adjustment patterns, it can meet the diverse needs of different users in different scenarios and improve the user experience.

[0037] S30: Activate the lifting mechanism of the electric height-adjustable desk to adjust the desktop to the target height value.

[0038] In this embodiment, the lifting mechanism of the electric height-adjustable desk is the actuator for adjusting the desktop height, typically consisting of a motor, lead screw, and nut. The motor provides power, converting rotational motion into linear motion through the lead screw and nut, thereby raising or lowering the desktop. The target height value is determined by matching the tapping signal parameters with a preset database and is the final target of this height adjustment.

[0039] In this embodiment, once the target height is determined, the control system sends a start signal to the lifting mechanism. The motor starts running, and based on the difference ΔH between the target height and the current tabletop height, it calculates the number of rotations n and the direction required for the lead screw to rotate. The number of rotations n and ΔH are related as n = ΔH / p (where p is the lead screw pitch). If the target height is higher than the current tabletop height, the motor rotates forward, driving the lead screw to rotate and causing the nut to move upward along the lead screw, thus raising the tabletop; conversely, if the target height is lower than the current tabletop height, the motor rotates in reverse, and the tabletop descends. During the adjustment process, the control system monitors the tabletop height in real time to ensure accurate attainment of the target height.

[0040] In this embodiment, by precisely controlling the operation of the motor, the desktop can smoothly and accurately reach the target height. This method enables automated adjustment of the height of the electric height-adjustable desk, meeting users' personalized needs for desktop height and improving ease of use and comfort.

[0041] S40: After the desktop reaches the target height value, the hovering state of the user's hand relative to the desktop is detected, and the hovering state is monitored by a sensor in the rated hovering detection area.

[0042] In this embodiment, the hovering state refers to the state in which the user's hand remains relatively stationary at a certain position above the desktop. The rated hovering detection area is a specific area pre-defined on the edge of the desktop, within which a sensor is installed to detect the hand's position information. By detecting the hovering state, triggering conditions can be provided for subsequent height fine-tuning.

[0043] In this embodiment, once the desktop reaches the target height, the sensor positioned within the rated hovering detection area begins operation. The sensor continuously collects information within this area, and when it detects an object (i.e., a user's hand) entering and remaining relatively stationary for a certain period, a hovering state is determined. For example, an optical sensor detects the hand's position by emitting and receiving light. When the hand enters the detection area, it blocks some light, causing a change in the intensity of the light received by the sensor. A light intensity change threshold I_th can be set to determine whether a hand has entered; when the light intensity change ΔI is greater than I_th, the hand is considered to have entered the detection area.

[0044] In this embodiment, detecting hand hovering provides users with a more flexible height adjustment method. After the desktop reaches the target height, users can further fine-tune the height by hovering their hand, improving the accuracy and personalization of height adjustment.

[0045] S50: Upon detecting the initial hovering state, determine the relative position of the user's palm and the desktop, and determine the initial adjustment direction based on the relative position.

[0046] In this embodiment, the initial hovering state refers to the state in which the hand first enters the rated hovering detection area and remains relatively still. The relative positional relationship between the user's palm and the desktop refers to the vertical height of the palm from the desktop and its position in the horizontal direction. The initial adjustment direction is determined based on the relative positional relationship, indicating whether the desktop needs to be raised or lowered. For example, if the palm is high above the desktop, the initial adjustment direction may be determined to be upward; conversely, if the palm is low above the desktop, the initial adjustment direction may be determined to be downward.

[0047] In this embodiment, when the initial hovering state is detected, the control system calculates the vertical height difference Δh between the center point of the user's palm and the tabletop based on the hand position information collected by the sensor. This vertical height difference is then compared with a preset second threshold H_th2. If Δh is greater than H_th2, it indicates that the palm is relatively high above the tabletop, and the initial adjustment direction is determined to be upward; if Δh is less than or equal to H_th2, it indicates that the palm is relatively close to the tabletop, and the initial adjustment direction is determined to be downward. This method of judgment can intuitively determine the adjustment direction based on the user's hand position, providing a basis for subsequent fine-tuning of the height.

[0048] In this embodiment, determining the relative positional relationship and judging the initial adjustment direction provides a basis for subsequent height-linked adjustments. Users can intuitively control the adjustment direction of the desktop height by hovering their hand, making the adjustment process more in line with user operating habits and improving ease of use and comfort.

[0049] S60: After the initial adjustment direction is confirmed, the desktop height is adjusted in conjunction with the real-time distance change between the user's palm and the desktop. If the hovering state is detected to be interrupted, the desktop height adjustment is stopped. If the hovering state is detected again, the initial hovering state is re-determined and the linkage adjustment continues until the hovering state is interrupted again.

[0050] In this embodiment, real-time distance change refers to the dynamic change of the vertical distance between the user's palm and the desktop over time. Linkage adjustment refers to synchronously adjusting the desktop height based on the real-time distance change, ensuring the desktop height is relatively consistent with the user's palm height. Interruption of hovering state refers to the hand leaving the rated hovering detection area or a drastic change in hand position, no longer meeting the hovering state conditions.

[0051] In this embodiment, after determining the initial adjustment direction, the control system calculates the change in vertical distance Δd between the user's palm and the desktop based on the hand position information collected in real time by the sensor. If Δd increases, it indicates that the user wants the desktop to rise, and the control system controls the lifting mechanism to raise the desktop; if Δd decreases, it indicates that the user wants the desktop to fall, and the control system controls the lifting mechanism to fall the desktop. During the adjustment process, the rate of change of the vertical height difference R = Δd / Δt (Δt is the time interval) is monitored in real time and compared with a preset third threshold R_th3. If R exceeds R_th3, it indicates that the change in vertical height difference exceeds the normal range, possibly due to the user's accidental large hand movement. In this case, the lifting mechanism is immediately stopped and the linkage adjustment mode is exited. If the suspension state is detected to be interrupted, the control system immediately stops the operation of the lifting mechanism and stops the desktop height adjustment. When the suspension state is detected again, the control system re-determines the initial suspension state and performs linkage adjustment again based on the hand position and real-time distance change until the suspension state is interrupted again. This linkage adjustment method enables fine-tuning of the desktop height, allowing the user to precisely control the desktop height through small hand movements, improving the accuracy and personalization of the adjustment.

[0052] In this embodiment, the linkage adjustment method enables fine-tuning of the desktop height. Users can precisely control the desktop height through slight hand movements, improving the accuracy and personalization of the adjustment. Simultaneously, the pause and re-detection mechanism in the hover state makes the adjustment process more flexible and controllable, meeting the actual operational needs of users.

[0053] In one embodiment, to obtain an accurate tapping signal, reference is made to... Figure 3 Step S10 may include S101-S102, which will be described in detail below:

[0054] S101: Collects vibration signals generated when the user taps the desktop using a vibration sensor array installed at the bottom of the desktop.

[0055] In this embodiment, the vibration sensor array is a collection of multiple vibration sensors installed on the bottom of the desktop to effectively capture vibrations generated by the user tapping the desktop. The vibration signal is an electrical signal converted from the mechanical vibration of the desktop when the user taps it; it contains characteristic information about the tapping.

[0056] In this embodiment, when a user taps the tabletop, the vibration is transmitted to a vibration sensor mounted on the bottom. The vibration sensor converts the mechanical vibration into electrical signals, which are then transmitted to the control system for further processing.

[0057] In this embodiment, using a vibration sensor array to collect vibration signals improves the accuracy and reliability of signal acquisition. Multiple sensors can collect vibration information from different locations, and combining this information can more comprehensively reflect the characteristics of the impact.

[0058] S102: Perform multi-level filtering on the vibration signal to remove high-frequency noise and low-frequency interference, and extract key feature parameters of the vibration signal; the key feature parameters include the number of taps, the time interval between two adjacent taps, and the trend of the tapping intensity.

[0059] In this embodiment, multi-level filtering refers to performing multiple filtering operations of different types on the vibration signal to remove high-frequency noise and low-frequency interference. High-frequency noise may originate from electromagnetic interference in the external environment, while low-frequency interference may be due to inherent vibrations of the desktop. Key feature parameters are important parameters used to describe the characteristics of the striking signal; by extracting these parameters, the user's striking intention can be accurately analyzed.

[0060] This application's embodiment: First, the vibration signal is decomposed into multiple frequency components, which can be achieved using methods such as Fourier transform. Each frequency component corresponds to a different frequency range, thus separating different frequency components in the signal. Then, a bandpass filter is applied to each frequency component. The bandpass filter only allows signals within a specific frequency range to pass through, filtering out high-frequency noise and low-frequency interference that exceed the preset frequency range. For example, the passband of the bandpass filter is set to f_1-f_2, and low-frequency signals below f_1 and high-frequency signals above f_2 will be filtered out. Next, the frequency components after bandpass filtering are recombined to generate a pre-filtered vibration signal. To further eliminate residual random noise, an adaptive filtering algorithm is applied to the pre-filtered signal. The adaptive filtering algorithm can dynamically adjust the filtering parameters according to the real-time characteristics of the signal, better adapting to signal changes. Finally, after completing multi-stage filtering, key feature parameters of the vibration signal are extracted using a signal analysis algorithm. For example, the number of strikes is determined by detecting the peak value of the signal, the time interval between adjacent peak values ​​is recorded to obtain the time interval between two adjacent strikes, and the amplitude change of the signal is analyzed to calculate the trend number of strike intensity changes.

[0061] In one embodiment, step S102: performing multi-level filtering on the vibration signal to remove high-frequency noise and low-frequency interference, and extracting key feature parameters of the vibration signal includes the following steps:

[0062] A: The vibration signal is decomposed into multiple frequency components to achieve the separation of signal components.

[0063] In this embodiment, the decomposition of the vibration signal into multiple frequency components is based on the signal's frequency characteristics. Different frequency components may represent different signal components, such as high-frequency noise, low-frequency interference, and the characteristic frequencies of the impact signal itself. By separating these frequency components, different components can be processed more specifically, providing a foundation for subsequent filtering and feature extraction.

[0064] In this embodiment, a signal decomposition algorithm, such as Fourier transform or wavelet transform, is used to transform the acquired vibration signal from the time domain to the frequency domain, thereby decomposing it into a series of components with different frequencies. Fourier transform can represent a signal as a superposition of sine waves of different frequencies, while wavelet transform can perform local analysis of the signal in both the time and frequency domains simultaneously, making it more suitable for processing non-stationary vibration signals.

[0065] B: For each frequency component, apply a bandpass filter to remove high-frequency noise and low-frequency interference that exceed the preset frequency range.

[0066] In this embodiment, a bandpass filter is a filter that allows signals within a specific frequency range to pass through. The preset frequency range is predetermined based on the characteristic frequency of the impact signal and the frequency range of high-frequency noise and low-frequency interference. By applying a bandpass filter to each decomposed frequency component, noise and interference outside this range can be selectively removed.

[0067] In this embodiment, for each frequency component obtained from the decomposition, appropriate bandpass filter parameters are selected based on its frequency range. For example, for a frequency component with a frequency range of f_1-f_2, a bandpass filter is designed with a passband of f_1-f_2 and a stopband covering the frequency range below f_1 and above f_2. This frequency component is input into the bandpass filter, which processes the signal, allowing only signals within the passband to pass through, while filtering out high-frequency noise and low-frequency interference outside the passband. This bandpass filtering process is performed on each frequency component to remove noise and interference from the vibration signal and improve signal purity.

[0068] C: The frequency components after bandpass filtering are recombined to generate a pre-filtered vibration signal.

[0069] In this embodiment, the frequency components after bandpass filtering are those with high-frequency noise and low-frequency interference removed. Recombining these frequency components allows for the recovery of a relatively pure vibration signal, which is the vibration signal after preliminary filtering.

[0070] In this embodiment, a process opposite to signal decomposition, such as inverse wavelet transform or inverse Fourier transform, is used to recombine the frequency components after bandpass filtering. Through these transformations, the frequency domain signal is converted back to the time domain to obtain the pre-filtered vibration signal.

[0071] D: Apply an adaptive filtering algorithm to the vibration signal after preliminary filtering, and dynamically adjust the filtering parameters to eliminate residual random noise.

[0072] In this embodiment, the adaptive filtering algorithm is an algorithm that can dynamically adjust filtering parameters according to the real-time characteristics of the signal. The vibration signal after initial filtering may still contain some residual random noise, the characteristics of which may change with time and environmental variations. The adaptive filtering algorithm can automatically adjust the filtering parameters according to signal changes, thus better eliminating this random noise.

[0073] E: After completing multi-stage filtering, extract the key feature parameters of the vibration signal.

[0074] In this embodiment, after multi-stage filtering, most of the noise and interference in the vibration signal has been removed. At this point, extracting key feature parameters can more accurately reflect the characteristics of the user tapping the table. Key feature parameters include the number of taps, the time interval between two adjacent taps, and the trend of tapping intensity. These parameters are important bases for subsequent matching with the preset height adjustment pattern database.

[0075] In this embodiment, a signal analysis algorithm is used to analyze the vibration signal after multi-stage filtering. For example, the number of strikes is determined by detecting the peak value of the signal, the time difference between adjacent peak values ​​is recorded to obtain the time interval between two adjacent strikes, and the amplitude change of the signal is analyzed to calculate the trend number of the strike intensity.

[0076] In this embodiment, accurately extracting key feature parameters provides accurate input information for adjusting the height of the electric height-adjustable desk. This enables the system to quickly and accurately determine the target height value based on the user's tapping intention, improving the accuracy and efficiency of the adjustment.

[0077] In one embodiment, reference Figure 4 Step S20 can be implemented in the following way:

[0078] S201: Compare the key feature parameters with the pattern features in the preset height adjustment pattern database item by item to determine the unique target height value corresponding to the tapping signal.

[0079] In this embodiment, the preset height adjustment pattern database is an information set that stores various combinations of tapping signal parameters and their corresponding target height values. Pattern features are the key feature parameter combinations possessed by each pattern in the database. Comparing the extracted key feature parameters with the pattern features in the database item by item involves comparing parameters such as the number of taps, the time interval between two adjacent taps, and the trend of change in tapping intensity with the corresponding parameters for each pattern in the database.

[0080] In this embodiment, the control system sequentially retrieves the feature parameters of each mode from the database and compares them with the extracted key feature parameters. If all feature parameters of a certain mode completely match or match within the allowable error range of the extracted key feature parameters, then the target height value corresponding to that mode is determined to be the unique target height value corresponding to the tapping signal.

[0081] In this embodiment, determining a unique target height value through item-by-item comparison ensures the accuracy of height adjustment. This allows the electric height-adjustable desk to accurately adjust to the corresponding height based on the user's specific tapping signals, meeting the user's personalized needs.

[0082] S202: If multiple candidate target height values ​​are found during the comparison process, further screening is performed based on the trend of the impact intensity, and the target height value that best matches the trend of the impact intensity is selected first.

[0083] In this embodiment of the application, during the comparison process, multiple patterns may partially match the extracted key feature parameters, resulting in multiple candidate target height values. The trend of impact intensity refers to the change of impact intensity over time during the impact process; different trends of impact intensity may correspond to different height adjustment requirements.

[0084] In this embodiment, when multiple candidate target height values ​​appear, the control system further analyzes the tapping intensity change trend corresponding to each candidate pattern and compares it with the tapping intensity change trend of the extracted tapping signal. The similarity between the two is calculated, and the target height value corresponding to the pattern with the highest similarity is preferentially selected.

[0085] In this embodiment, further filtering based on the trend of tapping intensity can improve the accuracy of height matching. When multiple candidate target height values ​​are available, considering the trend of tapping intensity allows for a more accurate determination of the user's tapping intention, enabling the selection of the target height value that best meets the user's needs.

[0086] S203: If a unique target height value cannot be matched, a prompt message is sent to the user requesting that the tap signal be re-entered.

[0087] In this embodiment, if no pattern matching the extracted key feature parameters is found in the preset height adjustment pattern database, it indicates that the user's tapping signal may not conform to the preset pattern, or that the signal contains errors. In this case, a prompt message is sent to the user, requesting them to re-enter the tapping signal to ensure accurate determination of the target height value.

[0088] In this embodiment, after completing the comparison, if the control system does not find a unique matching target height value, it sends a prompt message to the user through the display screen or voice prompt module of the electric height-adjustable table. The prompt message may include something like "No valid tap was detected, please tap the table again."

[0089] In this embodiment, sending a prompt message to the user and requesting them to re-enter the tap signal avoids height adjustment errors caused by matching failure. This ensures the accuracy and reliability of the electric height-adjustable desk's height adjustment, providing a better user experience.

[0090] In one embodiment, reference Figure 5 The detection of the user's hand hovering relative to the desktop in step 40 can be achieved in the following way:

[0091] S401: The position information of the user's hand within the rated hover detection area is collected by an array of optical sensors located within the rated hover detection area at the edge of the desktop.

[0092] In this embodiment, the optical sensor array is a collection of multiple optical sensors evenly distributed within a designated hover detection area. The optical sensors utilize the principles of light emission and reception to detect the position of an object. When a user's hand enters the designated hover detection area, it blocks some light, causing a change in the intensity of the light received by the sensor. By analyzing these changes in light intensity, the position information of the hand within the detection area can be determined.

[0093] In this embodiment, the optical sensor continuously emits light to form a detection area. When a user's hand enters this area, the hand reflects or blocks some of the light, causing the light intensity received by the sensor to differ from that without a hand. Each sensor converts the received light intensity into an electrical signal and transmits it to the control system. Based on the changes in the electrical signals from each sensor, the control system calculates the specific position information of the hand within the rated hovering detection area, including horizontal position and vertical height, using algorithms such as triangulation. The hand position can be determined by calculating the light intensity change ratio I_ratio = (I_initial - I_current) / I_initial, where I_initial is the light intensity without a hand, and I_current is the light intensity with a hand. Accurately acquiring hand position information is fundamental for subsequent determination of the hovering state and height adjustment.

[0094] In this embodiment, accurately acquiring hand position information is fundamental for subsequent determination of hovering status and height adjustment. An optical sensor array enables precise detection of hand positions over a large area, improving the accuracy and reliability of the detection.

[0095] In one embodiment, an optical sensor array can be composed of infrared optical sensors. The infrared optical sensor emits infrared light, and when a hand enters the detection area, the infrared light is reflected back and received by the sensor. The sensor converts the intensity of the received infrared light into a voltage signal, and by processing and analyzing the voltage signal, the position information of the hand is determined. Simultaneously, filtering and amplification modules are added to the sensor's signal processing circuit to improve the signal's anti-interference capability and detection accuracy.

[0096] S402: Calculate the distance between the center point of the user's hand and the edge of the desktop based on the location information, and record the distance as the initial hovering distance.

[0097] In this embodiment, the hand center point refers to the geometric center of the hand on a two-dimensional plane. By calculating the distance between the hand center point and the edge of the table, the position of the hand relative to the table can be quantified. The initial hovering distance is the distance value recorded when the initial hovering state is detected, serving as a reference for subsequent determination of whether the hovering state is interrupted.

[0098] In this embodiment, the control system determines the position of the hand's center point using geometric calculations based on the hand position information collected by the optical sensor. Then, it measures the vertical distance between the hand's center point and the edge of the table to obtain a distance value. This distance value is recorded as the initial hovering distance.

[0099] In this embodiment, recording the initial hovering distance helps to accurately determine whether the hovering state has changed during subsequent monitoring. By comparing the difference between the real-time distance and the initial hovering distance, changes in hand position can be detected in a timely manner, providing accurate information for subsequent adjustment operations.

[0100] In one embodiment, an image processing algorithm can be used to calculate the position of the hand's center point. First, the hand image acquired by the optical sensor is preprocessed, such as through noise reduction and binarization. Then, the hand's contour is extracted using an edge detection algorithm, and the coordinates of the hand's center point are calculated based on the contour information. Finally, the distance between the center point coordinates and the edge of the table is calculated. This method improves the accuracy and efficiency of the calculation.

[0101] S403: After detecting the initial hovering state, determine whether the user's palm remains within the rated hovering detection area by continuously monitoring the change in distance between the center point of the user's hand and the edge of the table.

[0102] In this embodiment, the distance change value refers to the difference between the real-time distance between the center point of the hand and the edge of the table and the initial hovering distance. By continuously monitoring the distance change value, the changes in the hand's position can be understood in real time. If the distance change value fluctuates within a certain range, it indicates that the hand is within the rated hovering detection area; if the distance change value exceeds the preset range, it indicates that the hand may have left the detection area.

[0103] In this embodiment, after detecting the initial hovering state, the control system continuously collects hand position information and calculates the real-time distance D_real-time between the hand's center point and the edge of the table. D_real-time is subtracted from the initial hovering distance D_initial to obtain the distance change value ΔD. A reasonable first threshold D_th1 is set. When |ΔD| is less than D_th1, the hand is considered to remain within the rated hovering detection area, and monitoring continues. When |ΔD| is greater than D_th1, it is determined that the hand may have left the detection area, potentially interrupting the hovering state. This continuous monitoring and judgment method can grasp the dynamic position of the hand in real time, ensuring accurate judgment of whether the hovering state continues. This helps improve the stability and reliability of the height adjustment process and avoids adjustment errors caused by misjudgment.

[0104] In one embodiment, a moving average filtering algorithm can be used to process the distance change values. During continuous monitoring, the distance change value calculated each time is added to a sliding window, and the average value ΔD_average of the data within the window is calculated. By comparing |ΔD_average| with a preset first threshold D_th1, it is determined whether the hand remains within the rated hovering detection area. The moving average filtering algorithm can reduce noise interference, making the judgment more stable and accurate. At the same time, the data in the sliding window is continuously updated to ensure that the latest changes in the hand position can be reflected in a timely manner.

[0105] S404: If the distance change value exceeds the preset first threshold, the hovering state is determined to be interrupted.

[0106] In this embodiment, the preset first threshold is a pre-defined distance difference limit. When the distance change exceeds this threshold, it indicates that the hand position has changed significantly and no longer meets the conditions for hovering, thus the hovering state is determined to be interrupted.

[0107] In this embodiment, the control system calculates the distance change ΔD between the center point of the hand and the edge of the table in real time and compares it with a preset first threshold D_th1. If |ΔD| is greater than D_th1, it indicates that the hand has significantly deviated from the initial hovering position, possibly leaving the rated hovering detection area or undergoing violent movement. At this time, the control system determines that the hovering state is interrupted and stops the relevant height adjustment operation to avoid erroneous adjustments caused by the hand not being in the appropriate position.

[0108] In this embodiment, setting a first threshold clarifies the criteria for determining whether the hovering state is interrupted, making the adjustment process more standardized and controllable. This avoids misjudging hovering state interruption due to minor hand tremors or normal positional fluctuations, while also enabling timely detection of situations where the hand has actually left the detection area.

[0109] In one embodiment, a suitable first threshold can be determined based on a large amount of experimental data and user habits. In practical applications, the first threshold can be stored in the control system through software programming. After calculating the distance change value, the control system automatically compares it with the first threshold and makes a judgment based on the comparison result. Simultaneously, the first threshold can be dynamically adjusted according to different usage scenarios and user needs, improving the flexibility and adaptability of the judgment.

[0110] S405: If the distance change value does not exceed the first threshold, the hovering state is maintained and the real-time position of the user's palm is monitored.

[0111] In this embodiment, when the distance change value does not exceed the first threshold, it indicates that the change in hand position is within an acceptable range and still meets the conditions for hovering, thus maintaining the hovering state. The real-time position of the user's hand continues to be monitored to respond promptly to further changes in hand position and make corresponding height adjustments.

[0112] In this embodiment, if the absolute value of the distance change ΔD is less than or equal to a preset first threshold D_th1, it indicates that the hand has only experienced a slight positional fluctuation and remains within the rated hovering detection area, thus maintaining the hovering state. The control system continuously collects the hand's position information using an optical sensor array and calculates the distance change value in real time. Simultaneously, it monitors the rate of change of the distance change value, R_ΔD = ΔD / Δt (Δt being the time interval between two measurements). If R_ΔD is within a reasonable range, it indicates that the hand's position change is relatively stable, and hovering state monitoring can continue. If R_ΔD shows an abnormal increase or decrease, even if the current ΔD does not exceed the first threshold, closer attention to the hand's state is necessary, as it may indicate an impending change in the hovering state. During the maintenance of the hovering state, if the hand's position undergoes a new change, the control system can perform corresponding height adjustment operations based on the latest position information to ensure the continuity and accuracy of the adjustment.

[0113] In this embodiment, the method of maintaining a hovering state and continuously monitoring ensures the continuity and stability of the height adjustment process. Users can make minute hand movements while hovering to achieve fine-tuning of the desktop height, improving the accuracy of the adjustment and the user experience.

[0114] In one embodiment, reference Figure 6 In step S50, determining the relative position of the user's palm to the table and judging the initial adjustment direction based on the relative position can be done in the following way:

[0115] S501: When the initial hovering state is detected, record the vertical height difference between the center point of the user's palm and the desktop.

[0116] In this embodiment, the vertical height difference refers to the vertical distance between the center point of the user's palm and the desktop. Recording this difference when the initial hovering state is detected provides an important basis for subsequent determination of the initial adjustment direction.

[0117] In this embodiment, when the optical sensor detects the initial hovering state, the control system calculates the vertical height of the palm's center point relative to the tabletop based on the hand position information collected by the sensor. This height value is then compared with the height of the tabletop to obtain the vertical height difference.

[0118] In this embodiment, recording the vertical height difference helps to accurately determine the user's adjustment intention. Different vertical height differences may correspond to different initial adjustment directions. By analyzing this difference, accurate directional guidance can be provided for subsequent height adjustments.

[0119] In one embodiment, a laser rangefinder can be used to assist the optical sensor in measuring the vertical height difference. The laser rangefinder is characterized by high precision and fast measurement, enabling accurate measurement of the vertical distance between the center point of the palm and the tabletop. Upon detecting the initial hovering state, both the optical sensor and the laser rangefinder simultaneously acquire hand position information, and the data from both are fused to obtain a more accurate vertical height difference.

[0120] S502: Based on the comparison between the vertical height difference and the preset second threshold, if the vertical height difference is greater than the second threshold, the initial adjustment direction is determined to be upward adjustment; if the vertical height difference is less than or equal to the second threshold, the initial adjustment direction is determined to be downward adjustment.

[0121] In this embodiment, the preset second threshold is a pre-defined height limit. By comparing the vertical height difference with the second threshold, it can be determined whether the user wants the desktop to rise or fall, thereby determining the initial adjustment direction.

[0122] In this embodiment, the control system compares the recorded vertical height difference Δh with a preset second threshold H_th2. If Δh is greater than H_th2, it means that the palm is relatively high from the table, and the user may want the table to rise to be closer to the palm's height. Therefore, the initial adjustment direction is determined to be upward. If Δh is less than or equal to H_th2, it means that the palm is relatively close to the table, and the user may want the table to fall. Therefore, the initial adjustment direction is determined to be downward.

[0123] In this embodiment, the comparison and judgment method can easily and quickly determine the initial adjustment direction, providing clear directional guidance for subsequent linkage adjustments. This enables the electric height-adjustable desk to accurately adjust its height according to the user's intention, improving the efficiency and accuracy of adjustment.

[0124] In one embodiment, reference Figure 7 In step S60 of this application, the desktop height is adjusted in conjunction with the real-time distance change between the user's palm and the desktop, which may include the following steps:

[0125] S601: Set the operating speed of the lifting mechanism according to the initial adjustment direction, and start the lifting mechanism to drive the desktop to move at the operating speed.

[0126] In this embodiment, the initial adjustment direction is determined based on the relative position of the user's palm and the desktop, and is divided into upward adjustment and downward adjustment. The operating speed refers to the speed at which the lifting mechanism raises or lowers the desktop. Setting an appropriate operating speed based on the initial adjustment direction allows for smoother and more efficient desktop adjustment.

[0127] In this embodiment, after determining the initial adjustment direction, the control system sets the operating speed *v* of the lifting mechanism based on the adjustment direction and a preset speed rule. If the initial adjustment direction is upward, considering that a smoother operation may be needed when the table rises to avoid items falling, a relatively slow speed is usually set. If the initial adjustment direction is downward, the speed can be appropriately increased to improve adjustment efficiency, provided safety is ensured. For example, the speed is set to *v_up* for upward adjustment and *v_down* for downward adjustment, where *v_down* > *v_up*. After setting the speed, the control system sends a start signal to the lifting mechanism, driving the motor to operate at the set speed, which in turn moves the lead screw and nut, causing the table to rise or fall at the set speed.

[0128] In this embodiment, setting the operating speed according to the initial adjustment direction allows desktop adjustments to better meet user needs. Different adjustment directions may require different speeds; for example, adjusting upwards may require a slower speed to ensure a smooth ascent, while adjusting downwards can be done at a faster speed to improve efficiency. This enhances both the comfort and accuracy of the adjustment.

[0129] In one embodiment, a PID control algorithm can be used to set the operating speed of the lifting mechanism. The PID control algorithm calculates appropriate control parameters based on the initial adjustment direction and the difference between the current desktop height and the target height, thereby adjusting the operating speed of the lifting mechanism. During the adjustment process, the operating speed is dynamically adjusted continuously based on real-time height changes and error conditions, enabling the desktop to reach the target height quickly and smoothly.

[0130] S602: During desktop movement, monitor the change in vertical height difference between the center point of the user's palm and the desktop in real time.

[0131] In this embodiment, the change in vertical height difference refers to the dynamic change in the vertical distance between the center point of the user's palm and the desktop as the desktop moves. Real-time monitoring of this change allows for timely understanding of the user's adjustment intentions, providing a basis for subsequent adjustment operations.

[0132] In this embodiment, during the movement of the desktop, an optical sensor or other distance measurement sensor continuously collects information on the vertical distance between the center point of the user's palm and the desktop. The control system calculates the vertical height difference Δh_t (where t represents the current moment) in real time based on this information, and subtracts the current vertical height difference from the previous vertical height difference Δh_t-1 to obtain the change in vertical height difference ΔΔh = Δh_t - Δh_t-1. By analyzing the sign and magnitude of ΔΔh, it can be determined whether the user's palm is moving away from the desktop (ΔΔh > 0) or closer to the desktop (ΔΔh < 0), and the magnitude of the change, thereby understanding whether the user wants the desktop to rise or fall and the speed of adjustment.

[0133] In this embodiment, real-time monitoring of changes in vertical height difference enables more precise and flexible desktop height adjustment. Users can alter the vertical height difference through slight hand movements, and the control system adjusts the desktop height accordingly, achieving fine-tuning of the height.

[0134] S603: If the vertical height difference change data exceeds the preset third threshold, the lifting mechanism will be stopped immediately and the linkage adjustment mode will be exited.

[0135] In this embodiment, the preset third threshold is a pre-defined limit for vertical height difference. When the vertical height difference exceeds this threshold, it indicates that the user's hand position has changed significantly, and they may no longer wish to perform linkage adjustment. Therefore, the lifting mechanism is immediately stopped and the linkage adjustment mode is exited.

[0136] In this embodiment, the control system monitors the change in vertical height difference Δh in real time and compares it with a preset third threshold Δh_th. If |Δh| is greater than Δh_th, it indicates that the change in vertical height difference exceeds the normal range, which may cause abnormalities in desktop adjustment, such as over-adjustment or excessively fast adjustment. At this time, the control system immediately sends a stop signal to the lifting mechanism to stop the motor operation and exits the linkage adjustment mode, waiting for the user to re-input a valid adjustment signal.

[0137] In this embodiment, setting a third threshold ensures the safety and stability of the adjustment process. This prevents uncontrolled desktop height adjustment due to accidental large movements of the user's hand, protecting the safety of both the user and the device.

[0138] S604: If the change in the vertical height difference approaches zero, it is determined that the desktop height and the user's hand height have reached a state of linkage balance, and the desktop height adjustment is stopped.

[0139] In this embodiment, a change in the vertical height difference approaching zero indicates that the vertical distance between the center point of the user's palm and the desktop no longer changes significantly, signifying that the desktop height and the user's palm height have reached a relatively balanced state. At this point, a linkage balance state is determined to have been reached, and desktop height adjustment is stopped.

[0140] In this embodiment, the control system continuously monitors the change in vertical height difference Δh. When the absolute value of Δh is repeatedly less than a very small threshold ε, it is determined that the change in vertical height difference approaches zero. This indicates that the desktop height adjustment has basically met the user's needs, and the desktop height and the user's hand height have reached a state of linkage balance. At this time, the control system sends a stop signal to the lifting mechanism to stop the motor operation and end the desktop height adjustment process.

[0141] In this embodiment, determining the linkage balance state and stopping the adjustment ensures that the desktop height accurately reaches the user's desired position, avoiding over-adjustment. This improves the accuracy of adjustment and user satisfaction.

[0142] S605: If the change in vertical height difference exceeds the preset third threshold, the lifting mechanism will immediately stop operating and exit the linkage adjustment mode.

[0143] In this embodiment, when the change in vertical height difference exceeds a preset third threshold, it indicates a significant change in the user's hand movement, possibly due to accidental hand movement or an attempt to terminate the current adjustment. Immediately stopping the lifting mechanism and exiting the linkage adjustment mode at this point avoids unnecessary large adjustments to the desktop height, ensuring the safety and stability of the adjustment process.

[0144] The third threshold is a pre-set limit value used to measure the degree of change in the vertical height difference between the user's palm and the desktop. During the process of adjusting the desktop height in conjunction with the real-time changes in the distance between the user's palm and the desktop, the control system monitors the changes in the vertical height difference in real time. When this change exceeds the third threshold, it means that the user's hand movement has changed significantly, possibly due to accidental hand movement or an attempt to terminate the current adjustment. At this point, the system will immediately stop the lifting mechanism and exit the linkage adjustment mode.

[0145] In this embodiment, during the desktop height adjustment process, the control system tracks the change in vertical height difference in real time. By continuously calculating the difference between two adjacent measurements of vertical height, the change in vertical height difference, Δh, is obtained. This change is compared with a preset third threshold, Δh_th. If |Δh| is greater than Δh_th, it indicates that the user's hand may suddenly move significantly, such as accidentally waving or quickly withdrawing their hand. In this case, the control system reacts quickly, sending a stop command to the lifting mechanism to immediately stop the motor and simultaneously switching the system to non-linkage adjustment mode, waiting for the user to input a valid operation signal again. This timely response mechanism prevents unexpected large adjustments to the desktop height, ensuring the safety and stability of the adjustment process.

[0146] In this embodiment of the application, such a timely response and processing mechanism can effectively prevent the loss of control of adjustment caused by abnormal hand movements of the user, improve the safety and reliability of the electric height-adjustable desk, and provide users with a more stable and comfortable adjustment experience.

[0147] In one embodiment, a hardware comparison circuit can be set in the control system to input the vertical height difference change signal and a reference signal corresponding to a third threshold into the comparison circuit. When the vertical height difference change signal exceeds the reference signal, the comparison circuit outputs a trigger signal, which directly controls the lifting mechanism to stop operating and triggers the software program to exit the linkage adjustment mode. This combination of hardware and software enables fast and accurate judgment and response.

[0148] S606: After exiting the linkage adjustment mode, if a new initial hover state is detected, the linkage adjustment mode is restarted and the above steps are repeated.

[0149] In this embodiment, exiting the linkage adjustment mode means that the current height adjustment process is temporarily stopped. When a new initial hovering state is detected, it indicates that the user may have a new height adjustment need. At this time, restarting the linkage adjustment mode can continue to adjust the desktop height according to the user's hand movements.

[0150] In this embodiment, the rated hovering detection area can be continuously monitored by an optical sensor. When the user's hand re-enters the area and meets the conditions for the initial hovering state, the control system receives a corresponding signal and switches the system back to the linkage adjustment mode. Then, it re-executes steps such as determining the initial adjustment direction, setting the running speed, and monitoring changes in the vertical height difference to continue the linkage adjustment of the desktop height.

[0151] In this embodiment, the restart mechanism makes the adjustment process of the electric height-adjustable desk more flexible and user-friendly. Users can interrupt and restart the adjustment operation at any time, meeting diverse needs in different scenarios and improving ease of use and flexibility.

[0152] In one embodiment, a state machine can be set in the control system to manage the start, stop, and restart of the linkage adjustment mode. When a new initial hovering state is detected, the state machine receives a trigger signal, automatically switches the system state from the non-linkage adjustment mode to the linkage adjustment mode, and reinitializes the relevant adjustment parameters and variables to ensure the smooth progress of the adjustment process.

[0153] In one embodiment, reference Figure 8 To improve the accuracy of desktop height adjustment, the method in this application embodiment may further include the following steps during the process of adjusting the desktop height in conjunction with the real-time changes in the distance between the user's palm and the desktop:

[0154] S61: During the desktop height linkage adjustment process, the user's hand posture information is collected by the sensor, including whether the hand is clenched into a fist and whether the hand is rotated.

[0155] In this embodiment, posture information is a set of information describing the shape and movement characteristics of a user's hand in space, which can reflect the user's intention in adjusting the height of the desktop. Among them, whether the hand is clenched into a fist reflects the degree of hand clenching, and different clenching states may correspond to different adjustment needs; whether the hand is rotated reflects the rotation of the hand in the plane, and the rotation action may also be a specific adjustment command issued by the user.

[0156] In this embodiment, the sensor activates when the desktop height is adjusted in conjunction with the real-time distance between the user's hand and the desktop. In one embodiment, using an optical sensor as an example, the sensor can detect changes in the palm's contour and position by emitting and receiving light and detecting changes in light reflection. When the palm is clenched, the light reflection pattern differs from when it is open; when the palm rotates, the angle and intensity of the reflected light also change accordingly. By analyzing these changes in light reflection, the palm's posture information can be obtained. Accurately collecting posture information allows the system to more precisely understand the user's adjustment intentions, thereby optimizing the desktop height adjustment process. For example, if a clenched fist is detected, it may indicate that the user desires more precise adjustments, and the system can adjust the adjustment strategy accordingly.

[0157] The technical advantage of this application embodiment is that collecting hand posture information provides the system with richer user operation information, which helps to improve the intelligence and personalization of desktop height adjustment, making the adjustment process more in line with the user's actual needs.

[0158] In one embodiment, a multi-sensor fusion approach is used to acquire hand posture information. Combining an infrared sensor and a depth camera, the infrared sensor can quickly detect the approximate outline and position of the hand, while the depth camera provides three-dimensional spatial information of the hand. The data from both sensors are integrated and processed, and a data fusion algorithm is used to remove noise and interference, improving the accuracy of posture information acquisition. Simultaneously, the data acquired by the sensors is updated in real time to ensure that the system can promptly capture changes in hand posture.

[0159] In one embodiment, step S61 can be implemented as follows:

[0160] A1: Real-time image data of a user's palm is captured using an image sensor arranged within a nominal hover detection area, the real-time image data including an outline image of the palm.

[0161] In this embodiment, the image sensor is a device capable of easily acquiring images of a user's hand contour and can be positioned within a designated hovering detection area. When the user's hand enters this detection area, the image sensor immediately initiates its acquisition function. For example, when a user hovers their hand over the edge of a table to fine-tune the table height, the sensor captures an image of the hand at that instant. The image sensor uses its photosensitive element to convert the light reflected from the hand into electrical signals, which are then processed internally, such as through analog-to-digital conversion, to generate digital image data containing the hand contour. This data intuitively reflects the position and shape of the hand in space, providing raw material for subsequent posture recognition.

[0162] In one embodiment, a low-cost CMOS image sensor can be used as the image acquisition device. CMOS sensors are characterized by low power consumption and high integration, making them suitable for long-term continuous operation. Multiple CMOS sensors are evenly distributed around the rated hover detection area to ensure that images of the palm can be captured from different angles to obtain more complete palm contour information. The image data acquired by the sensors is transmitted to the microcontroller via a serial interface. The microcontroller performs preliminary preprocessing on the images, such as grayscale conversion and noise reduction, to improve image quality and prepare for subsequent edge detection and pose analysis.

[0163] A2: Perform edge detection processing on the real-time image data to extract the palm contour information.

[0164] In this embodiment, edge detection is an image processing technique used to identify the position of object edges in an image. Edge detection highlights the contour features of the palm, separating it from the background and extracting clear palm contour information, providing crucial data for subsequent pose analysis.

[0165] In this embodiment, the acquired real-time image data is input into an edge detection algorithm. The algorithm calculates the rate of change of pixel values ​​in the image to find the locations of abrupt changes in pixel values; these locations are the edges of the object. For a hand image, edge detection can accurately delineate the outline of the hand. The extracted contour information can be represented by a series of coordinate points, which describe the outer boundary of the hand. For example, edge detection can clearly determine the boundaries of the fingers and the outline of the palm.

[0166] The technical advantage of this application embodiment is that edge detection processing can effectively extract palm contour information, remove interference factors in the image, and make subsequent pose analysis more accurate and efficient.

[0167] A3: Identify the key points of the palm based on the palm contour information. The key points include the fingertips, the center of the palm, and the wrist.

[0168] In this embodiment, key point locations refer to specific, representative locations on the palm that reflect hand posture characteristics. The fingertip location is the end point of the finger, the palm center location is the approximate location of the center of the palm, and the wrist location is the part where the palm connects to the arm. Identifying these key point locations helps to analyze hand posture more accurately.

[0169] In this embodiment, after obtaining the palm contour information, the contour is analyzed using a specific algorithm. For example, the fingertip position is determined by finding points with significant curvature changes on the contour; the palm position is calculated based on the geometric center of the contour; and the wrist position is determined by analyzing the shape of the contour and its connection to the arm. The determination of these key point positions provides important reference for subsequent judgment of palm posture. For example, changes in fingertip position can reflect whether the palm is clenched or open, and movement of the wrist position may indicate the overall displacement of the palm in space.

[0170] The technical advantage of this application embodiment is that accurately identifying the key points of the palm can provide a key reference for subsequent posture analysis, thereby improving the accuracy and reliability of posture judgment.

[0171] In one embodiment, the identification of fingertip positions is first based on the geometric features of the palm contour. Since fingertips appear as points with significant curvature changes on the contour, the curvature of each point on the contour is calculated, and points with curvature values ​​exceeding a set curvature threshold are identified as potential fingertip positions. To eliminate false positives, the distance between adjacent points is also considered; if the distance between two adjacent high-curvature points is too small, only one is retained as the fingertip position.

[0172] To determine the position of the palm, the method of calculating the geometric center of the palm contour is used. The palm contour is considered as a two-dimensional plane figure. By summing the coordinates of all points on the contour and taking the average, the coordinates of the geometric center are obtained; these coordinates represent the palm position. This position reflects the central balance position of the palm.

[0173] Wrist position recognition is achieved based on the features of the connection between the palm outline and the arm. By observing the shape of the palm outline, the region where the width suddenly increases and the edges transition smoothly is identified; the connection point between this region and the main body of the palm is the wrist position. Simultaneously, the wrist position recognition result is further verified and adjusted by combining the palm's position and overall shape in the image.

[0174] This application embodiment can utilize the geometric features and shape information of the palm contour to accurately and efficiently identify the positions of key points such as fingertips, palm, and wrist. This method does not require extensive data training and complex algorithm models, reducing computational costs and system complexity. At the same time, it can obtain reliable recognition results in a short time, providing strong support for subsequent rapid and accurate determination of palm posture, thereby improving the response speed and adjustment accuracy of the entire electric height adjustment table system.

[0175] In one embodiment, the above recognition algorithm is implemented in a microcontroller. First, the acquired palm contour information is stored in memory as coordinate points. Then, the curvature, geometric center, and wrist connection region of each point are calculated sequentially according to the steps described above. For curvature calculation, the finite difference method is used to approximate the curvature value by calculating the slope change between adjacent points. When calculating the geometric center, the average coordinates are obtained using summation and division operations. To improve computational efficiency, the algorithm is optimized, such as by using segmented calculation and parallel processing to reduce computation time. Simultaneously, parameters such as the set curvature threshold and distance threshold are stored in read-only memory (ROM) for easy retrieval and comparison, ensuring the accuracy and stability of the recognition process.

[0176] A4: Analyze the hand posture state based on the changes in the positions of the key points, including the open state, the clenched fist state, and the rotated state.

[0177] In this embodiment, the posture state describes the specific shape and movement of the hand in space. In the open state, the fingers are naturally extended; in the clenched fist state, the fingers bend and gather towards the palm; and in the rotation state, the hand rotates around a certain axis. By analyzing the changes in the positions of key points, the posture state of the hand can be determined.

[0178] In this embodiment, changes in the positions of key points are continuously monitored. For example, when the fingertips gradually move closer to the palm, it may indicate that the hand is changing from an open state to a clenched fist; when the key points rotate as a whole, it may indicate that the hand is rotating. By establishing a mapping relationship between changes in key point positions and posture states, the current posture of the hand can be accurately determined. For example, the posture can be determined by calculating changes in the distance between the fingertips and the palm and changes in the angle of the key points.

[0179] The technical advantage of this application embodiment is that, based on the analysis of the posture state by the change of key point positions, the posture of the hand can be judged in real time and accurately, providing a reliable basis for subsequent adjustment of the desktop height adjustment strategy.

[0180] In one embodiment, analyzing the hand posture state based on changes in the key point positions may include the following steps:

[0181] 1. Obtain the distance change value between the fingertip position and the palm position in the palm contour information.

[0182] In this embodiment, the distance change between the fingertips and the palm refers to the dynamic change in the distance between the fingertips and the palm over time during a change in hand posture. This distance change value can intuitively reflect whether the palm is in a spread-out or clenched-fist position, and is one of the important bases for judging the hand posture state.

[0183] In this embodiment, after obtaining the key point positions of the palm (fingertip position and palm position), the system continuously calculates the distance between these two positions. As the palm posture changes, such as from open to clenched fist or vice versa, this distance changes accordingly. By recording the distance values ​​at different times and calculating the distance difference between adjacent times, the distance change is obtained. For example, as the palm gradually clenches from an open state, the distance between the fingertips and the palm gradually decreases.

[0184] The technical advantage of this application embodiment is that obtaining the distance change value between the fingertip and the palm can provide intuitive and effective information for judging the palm posture, which helps to improve the accuracy of posture judgment.

[0185] In one embodiment, the distance between the fingertip and palm positions is obtained using coordinate calculation. Assuming the coordinates of the fingertip are (x1, y1) and the palm position are (x2, y2), the distance between them is d = [(x2-x1)^2 + (y2-y1)^2]^0.5. The system calculates the distance at each sampling time and stores the distance value from the previous time step. The distance change is obtained by subtracting the previous value from the previous value. Simultaneously, the calculated distance change value is filtered to remove noise interference and improve data accuracy.

[0186] 2. If the distance change value is less than the first set distance threshold, it is determined that the palm is in a clenched fist state.

[0187] In this embodiment, the first set distance threshold is a pre-set distance limit used to distinguish whether the palm is in a clenched fist state or another state. When the change in distance between the fingertips and the palm is less than the threshold, it indicates that the fingertips are close to the palm, and the palm can be determined to be in a clenched fist state.

[0188] In this embodiment, the system compares the calculated distance change value with a first preset distance threshold in real time. If the distance change value is less than the threshold (e.g., less than 2cm), it indicates that the fingertips are moving towards the palm, and the degree of movement reaches a preset standard; at this point, the hand is determined to be in a clenched fist state. The determination result will be used for subsequent operations such as adjusting the desktop height adjustment speed. For example, if the hand is determined to be in a clenched fist state, the system can reduce the desktop height adjustment speed.

[0189] The technical advantage of this application embodiment is that by setting a distance threshold to determine the fist state, it can provide a clear posture basis for desktop height adjustment, making the adjustment strategy more in line with the user's operating intention.

[0190] In one embodiment, a comparator is included in the control system to compare the distance change value with a first preset distance threshold. When the distance change value is less than the threshold, the comparator outputs a high-level signal, triggering the system's logic to determine that the hand is in a clenched fist state. Simultaneously, to avoid false positives, a confirmation time window is set; if the distance change value remains less than the threshold within this time window, the hand is officially determined to be in a clenched fist state.

[0191] 3. If the distance change value is greater than or equal to the first set distance threshold and less than the second set distance threshold, then the palm is determined to be in an unfolded state.

[0192] In this embodiment, the second set distance threshold is another pre-set distance limit, which, together with the first set distance threshold, divides different ranges of hand posture. When the distance change value is between these two thresholds, it indicates that there is a certain distance between the fingertips and the palm, and it has not reached the degree of clenching a fist or over-extending, so it can be determined that the hand is in an open state.

[0193] In this embodiment, when comparing the distance change value with a threshold, if the system finds that the distance change value is greater than or equal to a first preset distance threshold and less than a second preset distance threshold (e.g., greater than 2cm and less than 12cm), it indicates that the fingertips and palm of the hand are maintained at a relatively moderate distance, which meets the characteristics of an unfolded state. Therefore, the system determines that the hand is in an unfolded state. This determination result will also affect the subsequent desktop height adjustment strategy. For example, if the hand is determined to be in an unfolded state, the system may maintain or increase the desktop height adjustment speed to meet the user's need for rapid adjustment.

[0194] The technical advantage of this application embodiment is that by reasonably setting two distance thresholds to determine the unfolded state of the palm, the palm posture can be identified more accurately, thereby providing a more precise control basis for desktop height adjustment, improving the adaptability of adjustment and user experience.

[0195] In one embodiment, two comparators are used to compare the distance change value with a first preset distance threshold and a second preset distance threshold, respectively. When the distance change value meets the condition of being greater than or equal to the first preset distance threshold and less than the second preset distance threshold, the two comparators output a specific logic combination signal, triggering the system to determine that the palm is in an unfolded state. Simultaneously, the determination result is monitored for stability to ensure the accuracy of the posture determination within a certain time period and avoid misjudgments caused by brief distance fluctuations.

[0196] 4. If the angle between the line connecting the fingertip position and the palm position changes and the change is greater than the set angle change threshold, then the palm is determined to be in a rotating state.

[0197] In this embodiment, the angle between the line connecting the fingertip and the palm refers to the angle between the straight line connecting the fingertip and the palm and a certain reference direction. The set angle change threshold is a predetermined angle change limit. When the change in the angle of the line exceeds this threshold (e.g., 30 degrees), it indicates that the palm has undergone significant rotation, and it can be determined that the palm is in a rotating state.

[0198] In this embodiment, the system calculates the angle between the fingertip and the palm in real time and records the angle values ​​at adjacent moments. The angle change is obtained by calculating the angle difference. When the angle change is greater than a set angle change threshold, it indicates that the palm has rotated to a certain extent around an axis, and the palm is determined to be in a rotating state. For example, when the palm is determined to be in a rotating state and the rotation angle meets specific conditions, the system can pause or exit the desktop height linkage adjustment mode to respond to possible changes in the user's operating intentions.

[0199] The technical advantage of this application embodiment is that by monitoring the change in the angle between the fingertip and the palm and comparing it with a set threshold to determine the rotation state, a smart control method based on palm posture is provided for desktop height adjustment, which enhances the flexibility and controllability of the adjustment process and can better meet the diverse operational needs of users.

[0200] In one embodiment, an angle sensor or image processing algorithm is used to calculate the angle between the fingertip and the palm. The calculated angle value is stored in a circular buffer, and the angle change is obtained by comparing the angle values ​​at adjacent time points. The angle change is compared with a set angle change threshold; if the threshold is exceeded, the hand is determined to be in a rotation state. Simultaneously, filtering and threshold adjustment methods are employed to reduce the impact of external interference and measurement errors on the angle change calculation, improving the accuracy and reliability of rotation state determination. For example, a moving average filtering algorithm is used to smooth the angle change, avoiding misjudgments caused by instantaneous angle fluctuations.

[0201] A5: Match the stated posture state with a preset hand posture classification model and output the current hand posture information.

[0202] In this embodiment, the preset hand posture classification model is a pre-trained model used to classify hand postures. This model includes various known hand posture features and corresponding classification labels. Matching the analyzed posture states with the model can further confirm and refine the hand posture information.

[0203] In this embodiment, the posture state obtained based on key point position change analysis is input into a preset hand posture classification model. The model compares the input features with its stored posture features to find the best matching classification label. The output posture information is more accurate and detailed, such as the specific degree of fist clenching, rotation direction and angle, providing a more precise basis for subsequent desktop height adjustment strategies. For example, if the model determines that the hand is in a slightly clenched fist state, the system can adjust the adjustment speed based on this more precise information.

[0204] The technical effect of this application embodiment is that by matching with a preset model to output more accurate posture information, the desktop height adjustment strategy can more accurately adapt to the user's actual needs and improve the level of intelligence of the adjustment.

[0205] In one embodiment, a Support Vector Machine (SVM) classification model is used for pose matching. The SVM model has good classification performance and generalization ability. During the model training phase, a large amount of labeled hand pose data is used to train the model and obtain its parameters. In practical applications, the feature vectors of the pose states are input into the trained SVM model, and the model outputs the corresponding pose classification labels, thereby obtaining accurate hand pose information.

[0206] S62: If the user's palm is detected to switch from an open state to a clenched fist state, the desktop height adjustment speed is reduced according to the preset speed adjustment rules.

[0207] In this embodiment, the preset speed adjustment rules are a series of pre-defined conditions and corresponding adjustment strategies used to adjust the desktop height adjustment speed according to different hand posture changes. When the hand switches from an open state to a clenched fist state, it means that the user may want to reduce the adjustment speed to achieve more precise height adjustment.

[0208] In this embodiment, while continuously monitoring hand posture information, the system immediately triggers a speed adjustment mechanism once it detects that the hand changes from an open state to a clenched fist. A new adjustment speed is calculated based on preset rules. For example, if the original adjustment speed is V1, and the rule is set to reduce the speed to 50% when the hand is clenched, then the new adjustment speed becomes V2 = V1 * 50%. Reducing the adjustment speed avoids excessively rapid adjustments to the desktop height, allowing users more time for fine-tuning and improving adjustment accuracy. For instance, when a user wants to make a small adjustment to the desktop height, reducing the speed makes the change in desktop height smoother, facilitating accurate control by the user.

[0209] The technical advantage of this application embodiment is that by adjusting the adjustment speed according to changes in hand posture, it can meet the needs of users at different adjustment stages and improve the accuracy of desktop height adjustment and user experience.

[0210] In one embodiment, a speed adjustment module is provided in the control system, which stores preset speed adjustment rules. When a hand state change is detected, the current adjustment speed and hand state information are input into the speed adjustment module. The module calculates a new speed value according to the rules and sends this value to the drive system of the lifting mechanism. The drive system adjusts the motor speed according to the new speed value, thereby reducing the desktop height adjustment speed.

[0211] S63: If the user's hand is detected to switch from a clenched fist to an open state, the desktop height adjustment speed is increased according to the preset speed adjustment rules.

[0212] In this embodiment of the application, also based on the preset speed adjustment rules, when the palm switches from a clenched fist state to an open state, it indicates that the user may want to speed up the adjustment process of the desktop height in order to reach the desired height more quickly.

[0213] In this embodiment, the system monitors hand posture in real time. When the system detects that the hand changes from a clenched fist to an open state, the speed adjustment mechanism is activated. A new adjustment speed is calculated according to preset rules. For example, if the original speed is V2, and the rule sets the speed to increase to 150% of the original speed in the open state, then the new speed V3 = V2 * 150%. Increasing the adjustment speed can improve adjustment efficiency, reduce adjustment time, and meet the user's need for quickly adjusting the desktop height. For example, when a user wants to quickly raise the desktop to a certain approximate height, increasing the speed can make the adjustment process faster.

[0214] The technical advantage of this application embodiment is that it can dynamically adjust the adjustment speed according to the changes in the user's hand posture, improve the efficiency of desktop height adjustment, and at the same time take into account the usage needs of different users in different scenarios.

[0215] In one embodiment, similar to reducing speed, a new speed value corresponding to the unfolded state is looked up using a speed adjustment table. The motor speed is increased by increasing the strength of the motor's drive signal, such as by increasing the duty cycle of the pulse width modulation (PWM) signal, thereby increasing the desktop height adjustment speed. Simultaneously, a closed-loop control strategy is employed to provide real-time feedback on the actual operating speed of the motor, dynamically adjusting the adjustment process to ensure the accuracy and stability of the speed increase.

[0216] S64: If the user's palm is detected to rotate clockwise or counterclockwise at an angle greater than or equal to the first set angle threshold and less than the second set angle threshold, the lifting mechanism is paused and enters standby mode.

[0217] In this embodiment, the first set angle threshold and the second set angle threshold are two predetermined angle boundaries used to divide different ranges of hand rotation angle. When the hand rotation angle is between these two thresholds, it indicates that the user may want to temporarily stop adjusting the desktop height and enter a standby state to wait for further operation.

[0218] In this embodiment, the system calculates the rotation angle of the hand in real time. When the detected rotation angle meets the condition of being greater than or equal to a first preset angle threshold and less than a second preset angle threshold, the control system sends a pause command to the lifting mechanism. The motor stops operating, the desktop height adjustment pauses, and the system enters a standby state. In the standby state, the system continues to monitor the hand posture, waiting for subsequent user operations to decide whether to continue adjustment. For example, the user may need to consider the next adjustment direction during the adjustment process; rotating the hand pauses the system to allow time to make a decision.

[0219] The technical advantage of this application embodiment is that it increases the controllability and flexibility of the adjustment process. Users can pause the adjustment at any time according to their own needs, avoiding the loss of control due to misoperation or the need to adjust the adjustment strategy.

[0220] In one embodiment, the rotation angle of the hand is calculated using an image processing algorithm. The image captured by the camera is analyzed to extract feature points of the hand, and the rotation angle is calculated based on the changes in the position of these feature points. When the calculated rotation angle is within a specified range, the control system cuts off the power supply to the motor via a relay, thus pausing the lifting mechanism. Simultaneously, a status flag is set to mark the system status as standby.

[0221] S65: If the user's hand rotation angle is detected to be greater than or equal to the second set angle threshold, the lifting mechanism will be stopped immediately and the linkage adjustment mode will be exited.

[0222] In this embodiment, the second set angle threshold is a large angle limit. When the palm rotation angle reaches or exceeds this threshold, it indicates that the user may want to completely terminate the current desktop height adjustment process.

[0223] In this embodiment, during continuous monitoring of the hand rotation angle, once the rotation angle is found to be greater than or equal to a second preset angle threshold, the control system immediately takes emergency stop measures. The power to the motor is quickly cut off, causing the lifting mechanism to stop immediately. Simultaneously, the relevant parameters and settings in the linkage adjustment mode are cleared, and the system state is switched to non-linkage adjustment mode, awaiting the user's next tap or other operation to restart the adjustment process. For example, the user may have already completed adjusting the desktop height or no longer wish to continue adjusting, and can terminate the current adjustment by significantly rotating their hand.

[0224] The technical advantage of this application embodiment is that it provides users with a way to quickly terminate the adjustment process, avoids unnecessary adjustment operations, and improves the system's efficiency and security.

[0225] In one embodiment, an angle sensor or image processing algorithm is used to accurately measure the rotation angle of the palm. When the angle reaches or exceeds a second preset angle threshold, the control system quickly cuts off the motor drive signal through hardware circuitry, ensuring the motor stops immediately. Simultaneously, the software program executes an operation to exit the linkage adjustment mode, including releasing relevant system resources and resetting status flags, preparing for the next adjustment.

[0226] In summary, the technical solution of this application overcomes the limitations of traditional electric height-adjusting desks in terms of ease of control. Traditional button and remote control controls either require the user to walk to the desk or search for the remote, making them inflexible. This solution, however, controls the electric height-adjusting desk by tapping the desktop. The user simply taps the desktop, and the system determines the target height value based on the tap signal parameters, thus adjusting the desktop height. This method eliminates the limitations of space and equipment searching, allowing users to easily complete the operation while seated. The subsequent hand-hover fine-tuning function further enhances convenience; users can finely adjust the desktop height simply by hovering and moving their hand along the edge of the desktop without needing to operate any additional equipment, greatly improving ease of use and efficiency.

[0227] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A method for controlling an electrically adjustable height desk based on tapping the desktop, characterized in that, Includes the following steps: Acquire the tapping signal generated by the user tapping the desktop, and extract the parameters of the tapping signal, including the number of taps and the tapping interval time; The target height value is determined by matching the parameters of the tapping signal with a preset height adjustment mode database. The height adjustment mode database stores various combinations of tapping signal parameters and their corresponding target height values. Activate the lifting mechanism of the electric height-adjustable desk to adjust the desktop to the target height value; After the desktop reaches the target height value, the hovering state of the user's hand relative to the desktop is detected, and the hovering state is monitored by a sensor in the rated hovering detection area; Upon detecting the initial hovering state, the relative position of the user's palm to the desktop is determined, and the initial adjustment direction is determined based on the relative position. Once the initial adjustment direction is confirmed, the desktop height is adjusted in conjunction with the real-time changes in the distance between the user's palm and the desktop. If the hovering state is detected to be interrupted, the desktop height adjustment stops. If the hovering state is detected again, the initial hovering state is re-determined and the linkage adjustment continues until the hovering state is interrupted again. Determining the relative position of the user's palm to the tabletop, and determining the initial adjustment direction based on the relative position, includes the following steps: When the initial hovering state is detected, the vertical height difference between the center point of the user's palm and the desktop is recorded; The vertical height difference is compared with a preset second threshold. If the vertical height difference is greater than the second threshold, the initial adjustment direction is determined to be upward; if the vertical height difference is less than or equal to the second threshold, the initial adjustment direction is determined to be downward. The desktop height is adjusted in conjunction with the real-time changes in the distance between the user's palm and the desktop, including the following steps: The operating speed of the lifting mechanism is set according to the initial adjustment direction, and the lifting mechanism is started to drive the desktop to move at the said operating speed; During desktop movement, the vertical height difference between the center point of the user's palm and the desktop is monitored in real time. If the change in the vertical height difference exceeds the preset third threshold, the lifting mechanism will immediately stop operating and exit the linkage adjustment mode. If the change in the vertical height difference approaches zero, it is determined that the desktop height and the user's hand height have reached a state of linkage balance, and the desktop height adjustment is stopped.

2. The method according to claim 1, characterized in that, Detecting the hovering state of a user's hand relative to the desktop includes the following steps: An array of optical sensors is used to collect the position information of the user's hand within the rated hover detection area, which is set at the edge of the desktop. Calculate the distance between the center point of the user's hand and the edge of the desktop based on the location information, and record the distance as the initial hovering distance; After detecting the initial hovering state, the system continuously monitors the change in distance between the center point of the user's hand and the edge of the table to determine whether the user's hand remains within the rated hovering detection area. If the distance change value exceeds a preset first threshold, the hovering state is determined to be interrupted. If the distance change value does not exceed the first threshold, the hovering state is maintained and the real-time position of the user's palm is monitored.

3. The method according to claim 1, characterized in that, Adjusting the desktop height in tandem with real-time changes in the distance between the user's palm and the desktop also includes the following steps: If the change in vertical height difference exceeds the preset third threshold, the lifting mechanism will immediately stop operating and exit the linkage adjustment mode. After exiting the linkage adjustment mode, if a new initial hover state is detected, the linkage adjustment mode will be restarted and the above steps will be repeated.

4. The method according to claim 1, characterized in that, The method further includes the following steps: During the desktop height adjustment process, the user's hand posture information is collected by the sensor, including whether the hand is clenched into a fist and whether the hand is rotated. If the system detects that the user's palm has changed from an open state to a clenched fist state, the system will reduce the desktop height adjustment speed according to the preset speed adjustment rules. If the system detects that the user's hand has changed from a clenched fist to an open hand, the system will increase the speed of desktop height adjustment according to the preset speed adjustment rules. If the user's palm is detected to rotate clockwise or counterclockwise at an angle greater than or equal to the first set angle threshold and less than the second set angle threshold, the lifting mechanism will be paused and put into standby mode. If the angle of rotation of the user's palm is detected to be greater than or equal to the second set angle threshold, the lifting mechanism will stop operating immediately and exit the linkage adjustment mode.

5. The method according to claim 4, characterized in that, Collecting user hand posture information using sensors includes the following steps: Real-time image data of a user's palm is captured using an image sensor positioned within a rated hover detection area; the real-time image data includes an outline image of the palm. Edge detection processing is performed on the real-time image data to extract the palm contour information; Identify key points on the palm based on palm contour information, including fingertip positions, palm positions, and wrist positions. The hand posture is analyzed based on the changes in the positions of the key points, including the open state, the clenched fist state, and the rotated state. The posture state is matched with a preset hand posture classification model to output the current hand posture information.

6. The method according to claim 5, characterized in that, Analyzing the hand's posture based on changes in the positions of the key points includes the following steps: Obtain the distance change value between the fingertip position and the palm position in the palm contour information; If the distance change value is less than the first set distance threshold, it is determined that the palm is in a clenched fist state; If the distance change value is greater than or equal to the first set distance threshold and less than the second set distance threshold, then the palm is determined to be in an open state; If the angle between the line connecting the fingertip position and the palm position changes and the change is greater than the set angle change threshold, then the palm is determined to be in a rotating state.

7. The method according to claim 5, characterized in that, Matching the parameters of the tapping signal with a preset height adjustment pattern database includes the following steps: The key feature parameters are compared item by item with the pattern features in the preset height adjustment pattern database to determine the unique target height value corresponding to the tapping signal. If multiple candidate target height values ​​are found during the comparison process, further screening is performed based on the trend of the impact intensity, and the target height value that best matches the trend of the impact intensity is selected first.

8. The method according to claim 7, characterized in that, Matching the parameters of the tapping signal with a preset height adjustment pattern database includes the following steps: If a unique target height value cannot be matched, a prompt message is sent to the user requesting that the tap signal be re-entered.

Citation Information

Patent Citations

  • Office desk with lifting desk board and hand guard board

    CN104257102A

  • Gesture recognition and position adjustment device for automatic lifting tables

    CN109343422A