A method and system for directional gesture recognition of a millimeter wave radar
By constructing candidate blocks and candidate pairs, performing cross-gap physical evidence calibration and attention gating, the problem of low accuracy in millimeter-wave radar gesture recognition is solved, and higher accuracy in directional gesture recognition is achieved.
Patent Information
- Application Number
- CN202611709843.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-11-02
- Publication Date
- 2026-11-27
AI Technical Summary
Existing millimeter-wave radar gesture recognition methods suffer from low accuracy in real-world applications. In particular, they are affected by factors such as the user's initial distance, radar angle zero bias, propagation attenuation, differences in hand reflection, and changes in detection points when continuously outputting time series, making it difficult to effectively recognize directional gestures.
By acquiring continuous physical time series of millimeter-wave radar, candidate blocks and candidate pairs are constructed, cross-gap physical evidence is constructed based on the channel reference scale, candidate pair relationship calibration and attention gating are performed, frame quality status is determined, coordinate trajectory is updated, and directional gesture categories are identified.
It improves the accuracy of directional gesture recognition, reduces the risk of fragmenting the same gesture and incorrectly merging multiple independent actions, and maintains the integrity of short-term directional information.
Smart Images

Figure CN123176715A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of millimeter-wave radar signal processing, and specifically relates to a method and system for directional gesture recognition using millimeter-wave radar. Background Technology
[0002] Current research on millimeter-wave radar gesture recognition typically uses a single, pre-captured gesture segment as input, then classifies actions such as waving left, waving right, or pushing forward. However, in real-world applications, radar continuously outputs time series sequences, which may contain static backgrounds, people passing by, natural arm swings, undefined actions, multiple consecutive gestures, and brief loss of target echoes.
[0003] Furthermore, in contactless human-computer interaction, users can perform paired directional gestures such as waving left or right in front of the radar. The radar output of distance, radial velocity, angle, and echo intensity can describe hand movements from different physical dimensions. However, the actual acquisition sequence may be affected by the user's initial distance, radar angle zero bias, propagation attenuation, differences in hand reflection, and detection point jumps. Therefore, the above method suffers from the technical problem of low accuracy in directional gesture recognition. Summary of the Invention
[0004] To address the aforementioned problems in the prior art, this invention provides a method and system for directional gesture recognition using millimeter-wave radar. The technical problem to be solved by this invention is achieved through the following technical solution: In a first aspect, the present invention provides a method for directional gesture recognition using millimeter-wave radar. The method includes: acquiring a continuous physical time series of the millimeter-wave radar, wherein the continuous physical time series includes distance information, radial velocity information, angle information, and echo intensity information, and each frame of the continuous physical time series stores at least a missing channel marker and a valid state; based on the valid state marker indicating a valid or invalid frame, creating candidate blocks when consecutive valid frames in the continuous physical time series meet the establishment conditions, and constructing candidate pairs for two temporally adjacent candidate blocks whose gap is within the target comparison range; constructing cross-gap physical evidence based on the channel reference scale of the candidate pairs, wherein the cross-gap physical evidence includes multiple of the following: gap structure evidence, boundary difference evidence, trend continuation evidence, power recovery evidence, and candidate quality evidence; concatenating the cross-gap physical evidence with the missing channel marker to obtain an evidence vector for the candidate pairs; and mapping the evidence vector. The process involves obtaining relation scores for candidate pairs and normalizing these scores to obtain confidence levels. Candidate pairs include relationships involving fragments of the same gesture, relationships involving different events, and relationships with insufficient evidence. Based on the confidence levels, candidate pairs are converted into attention-gated values using a gating model. These attention-gated values are then aggregated to obtain target confidence levels, and gesture fragments are extracted based on these target confidence levels. The echo confidence level of each gesture fragment is determined, and based on this echo confidence level, velocity symbol calibration, velocity scale calibration, and relative delay calibration are determined. The frame quality state is determined based on these calibrations, including reliable, transitional, and unreliable states. The coordinate trajectory of the millimeter-wave radar is updated according to the frame quality state, and the coordinate geometric feature set of the millimeter-wave radar is determined based on the updated coordinate trajectory. Finally, the directional gesture category is identified based on the coordinate geometric feature set.
[0005] In one embodiment of the present invention, the method further includes: determining a first robust change scale based on the adjacent valid frame changes of the previous candidate block in the candidate pair, and determining a second robust change scale based on the adjacent valid frame changes of the next candidate block in the candidate pair, wherein the first robust change scale and the second robust change scale adopt the median absolute deviation or a predetermined quantile; merging the first robust change scale and the second robust change scale to obtain the channel reference scale of the candidate pair.
[0006] In one embodiment of the present invention, constructing cross-gap physical evidence based on the channel reference scale of candidate pairs includes: judging candidate pairs based on the channel reference scale to obtain a judgment result; and constructing cross-gap physical evidence if the judgment result indicates that the candidate pairs are valid.
[0007] In one embodiment of the present invention, updating the coordinate trajectory of a millimeter-wave radar according to the frame quality state includes: when the frame quality state is reliable, incorporating the current coordinates of the millimeter-wave radar as a valid trajectory point into the coordinate trajectory to obtain the updated coordinate trajectory; when the frame quality state is transitional, performing length-limited interpolation, previous value preservation, or weighted update on the current coordinates of the millimeter-wave radar to obtain the updated coordinate trajectory; when the frame quality state is unreliable, not accumulating the displacement increment of the current coordinates of the millimeter-wave radar relative to the previous valid trajectory point into the coordinate trajectory to obtain the updated coordinate trajectory.
[0008] In one embodiment of the present invention, the directional gesture category is output based on the coordinate geometric feature group, including: adjusting the coordinate geometric feature group, the basic temporal feature group and the cross-channel consistency feature group respectively using the physical quality state which is of the same origin as the frame quality state to generate a quality co-explicit mapping vector; and using a kernel classifier to output the directional gesture category in the mapped feature space based on the quality co-explicit mapping vector.
[0009] In one embodiment of the present invention, determining the echo confidence of a gesture segment includes: determining echo intensity information after compensation based on distance information of the gesture segment; and constructing echo confidence based on the compensated echo intensity information.
[0010] In one embodiment of the present invention, the method further includes: closing the candidate block when the candidate block reaches the target length or the consecutive invalid frames reach the closure condition.
[0011] In one embodiment of the present invention, the gesture segment includes a compound gesture segment or an independent gesture segment.
[0012] Secondly, the present invention provides a direction gesture recognition system for millimeter-wave radar. The system includes: a radar feature acquisition module for acquiring a continuous physical time series of the millimeter-wave radar, wherein the continuous physical time series includes distance information, velocity information, angle information, and echo intensity information, and each frame of the continuous physical time series stores at least a missing channel marker and a valid state; a candidate block management module for marking valid or invalid frames according to the valid state, creating candidate blocks when consecutive valid frames in the continuous physical time series meet the establishment conditions, and constructing candidate pairs for two temporally adjacent candidate blocks whose gap is within the target comparison range; a cross-gap physical evidence module for constructing cross-gap physical evidence based on the channel reference scale of the candidate pair, wherein the cross-gap physical evidence includes multiple of the following: gap structure evidence, boundary difference evidence, trend continuation evidence, power recovery evidence, and candidate quality evidence; and a candidate pair relationship calibration module for concatenating the cross-gap physical evidence with the missing channel marker to obtain an evidence vector for the candidate pair; mapping the evidence vector to obtain a relationship score corresponding to the candidate pair relationship; and normalizing the relationship score. The system is divided into several modules: a confidence level module for candidate pair relationships, a candidate block scoring and event management module for dynamic relationship gating and attention, a distance compensation and echo confidence level module for determining the echo confidence level of a gesture segment, a joint calibration module for determining the velocity symbol calibration, velocity scale calibration, and relative delay calibration based on the echo confidence level, a frame quality status module for determining the frame quality status based on the velocity symbol calibration, velocity scale calibration, and relative delay calibration, which includes reliable, transitional, and unreliable states, a device coordinate trajectory module for updating the coordinate trajectory of the millimeter-wave radar according to the frame quality status, a grouping feature and sample quality module for determining the coordinate geometric feature group of the millimeter-wave radar based on the coordinate trajectory, and a kernel classification and parameter storage module for identifying the directional gesture category based on the coordinate geometric feature group.
[0013] Thirdly, the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory is used to store computer programs; and the processor is used to execute the computer programs stored in the memory to implement the steps of the above-mentioned millimeter-wave radar direction gesture recognition method.
[0014] Fourthly, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described millimeter-wave radar directional gesture recognition method.
[0015] Compared with existing technologies, the beneficial effects of this invention are as follows: It acquires continuous physical time series data from millimeter-wave radar; creates candidate blocks when consecutive valid frames in the continuous physical time series meet the establishment conditions; and constructs candidate pairs for two temporally adjacent candidate blocks whose gaps are within the target comparison range. It constructs cross-gap physical evidence based on the channel reference scale of the candidate pairs. The cross-gap physical evidence is concatenated with missing channel markers to obtain the evidence vector of the candidate pair. The evidence vector is mapped to obtain the relationship score corresponding to the candidate pair relationship, and the relationship score is normalized to obtain three types of relationship confidence. Then, the candidate pair relationship is converted into attention-gated values through a gating model. The attention-gated values are aggregated to obtain the target confidence, and then gesture segments are extracted. The echo confidence of the gesture segments is determined, and then the velocity symbol calibration, velocity scale calibration, and relative delay calibration are determined, as well as the frame quality state. The coordinate trajectory of the millimeter-wave radar is updated according to the frame quality state, and then the coordinate geometric feature group of the millimeter-wave radar is determined to identify the directional gesture category, thereby achieving the technical effect of improving the accuracy of directional gesture recognition.
[0016] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0017] Figure 1 This is a flowchart of a millimeter-wave radar directional gesture recognition method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a cross-gap evidence construction and relationship calibration structure provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of a candidate pair dynamic relationship gating temporal attention structure provided in an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the relationship between training and continuous flow reasoning provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of a millimeter-wave radar gesture segment extraction process provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of a radar direction gesture recognition structure provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of a radar directional gesture recognition process provided in an embodiment of the present invention; Figure 8 This is a schematic diagram of a millimeter-wave radar direction gesture recognition system provided in an embodiment of the present invention. Detailed Implementation
[0018] The present invention will be further described in detail below with reference to specific embodiments, but the implementation of the present invention is not limited thereto.
[0019] In real-world applications, the continuous output time series of radar may contain static backgrounds, passing human figures, undefined actions, multiple consecutive gestures, and brief loss of target echoes. Therefore, it is necessary to determine which time regions belong to valid gestures from the continuous data and then pass the valid segments to the classification or control module.
[0020] In a continuous radar stream, adjacent candidate blocks may conflict. For example, when several invalid frames appear between two candidate blocks, the gap could be a detection break caused by weak echoes, missed detection points, or short pauses in the same gesture, or it could be a genuine pause between two independent actions. These two situations are identical in their surface structure—different candidate identities and no valid detection within the gap—but require opposite processing. That is, the former requires preserving the cross-block motion context, while the latter requires suppressing cross-block information propagation and maintaining action independence.
[0021] Fixed-interval merging incorrectly merges adjacent independent actions; completely isolating different candidate blocks cuts off effective information between fragments of the same gesture; applying the same global soft attenuation to all different candidate blocks only allows for a uniform compromise and cannot process the physical state of each candidate pair separately. Therefore, it is necessary to establish a candidate pair relationship layer between the regular candidate segmentation and the temporal model, so that radar physical evidence at the gaps and boundaries can directly control subsequent information propagation and event output.
[0022] In related technologies, a gesture segmentation and recognition algorithm based on millimeter-wave radar is proposed. This algorithm processes real-time action streams using a sliding window, outputs gesture label probabilities via a neural network, and determines action intervals based on continuous output and probability changes. This scheme can handle continuous radar streams containing idle states and multiple actions. A method is also proposed that detects the start and end of gestures based on the amplitude of the dynamic range-angle map of millimeter-wave radar and background statistics, and then uses convolutional and recurrent neural networks to recognize the gestures. A continuous vehicle trajectory tracking method based on millimeter-wave radar is also proposed. This method uses position and velocity to form short trajectory segments, calculates the correlation degree of the segments based on spatiotemporal and motion characteristics, and connects and reconstructs gaps in interrupted trajectories that meet the correlation conditions. Finally, a multi-target tracking and anti-interference collaborative method based on millimeter-wave radar is proposed. This method establishes strong or weak connections based on the endpoint positions, direction differences, and signal strength changes of preceding and following trajectory segments, and then forms path chains from the connected trajectory segments. A method for frequency-modulated continuous wave (FMCW) radar gesture recognition using convolutional networks, attention mechanisms, and long short-term memory networks is also proposed, along with a method that incorporates the relative position or relationship labels between elements into self-attention computation.
[0023] However, the above methods have the following problems: continuous gesture segmentation and amplitude start / end detection usually directly output the action interval, without further determining whether two adjacent candidate blocks belong to the same gesture fragment or two independent events. The goal of trajectory fragment association technology is usually to maintain the same target identity and reconstruct continuous trajectories, tending to connect or interpolate to complete interrupted regions; gesture fragment extraction cannot directly rewrite gaps lacking reliable echoes into valid gesture frames, otherwise false action boundaries and false durations will be generated. General relation-aware attention only states that relations can change attention calculations, without explaining how to generate candidate-by-candidate pairs of relations based on the internal scale, gap state, and RVAP (R represents distance, V represents radial velocity, A represents angle, P represents echo intensity) boundary changes of gesture candidate blocks, nor does it address the backpropagation requirement between the same gesture fragment and adjacent independent gestures. Simply concatenating physical continuity features to the model input, with physical features only participating in learning as ordinary data, cannot guarantee that they directly change cross-candidate information propagation. Rule segmentation, physical continuity, attention, and output decision may still be loosely connected. Existing training methods typically use frame-by-frame or whole-segment labels, which fail to maintain the same semantics for candidate pair relations in training supervision, cross-block gating, and event combination. As a result, the relations learned during the training phase are often inconsistent with the merging rules used during the inference phase.
[0024] Furthermore, both the rate of change of distance over time and radial velocity reflect the radial motion of the target and are theoretically correlated. However, different devices or acquisition interfaces may have different conventions regarding the positive direction of velocity, unit conversions, and channel timing differences. If these systematic differences are not eliminated before comparing two channels, normal motion frames may be misjudged as abnormal frames. On the other hand, if the entire segment is deleted directly after channel mismatch is detected, the directional information of short-term gestures will be lost; if all frames cannot be retained, local jumps will contaminate geometric quantities such as net displacement, path length, and directional consistency.
[0025] Existing methods primarily extract statistics and dynamics from each channel of the RVAP (Radial Radial Basis Function) radar, standardize them, and input them into a standard radial basis function (RBF) kernel support vector classifier. This method can convert variable-length sequences into fixed-length features. However, this method does not establish a continuous control relationship between equipment calibration status, frame quality status, trajectory formation, and classification space, and is easily evaluated as a combination of conventional features and conventional classifiers. Therefore, it is necessary to design a physical state transfer chain that cannot be arbitrarily separated, specifically addressing the observation relationship of multiple radar channels on the same moving target.
[0026] In related technologies, trajectory geometry is used for millimeter-wave radar directional gesture recognition. The slope and amplitude of the coordinate direction fitting are calculated based on the hand trajectory points detected by the radar to distinguish left, right, up, and down gestures. Distance, velocity, and joint features are used for gesture classification, forming joint features from distance-time, velocity-time, and distance-velocity relationships. Fixed-window radar features are combined with an RBF kernel support vector machine. The distance and velocity vectors are normalized and input into the RBF support vector machine (SVM), and classifier parameters are selected through parameter search. Compatibility assessment of distance change rate and Doppler velocity is performed by differentiating the distance signal and comparing it with the Doppler velocity. Tracking is adjusted when incompatible, or weights are set based on the differences between position differential velocity, Doppler velocity, and previous velocities. Radar scale calibration based on radial velocity and measured change rate is performed, using the ratio between radial velocity and measured change rate to determine the radar ranging correlation constant. Quality or confidence processing of radar gesture features is performed by filtering and classifying radar gestures based on parameters such as peak error and ambient noise, or adjusting the radar gesture feature weights based on context or confidence. Sample-dependent local multi-kernel learning generates non-negative gated weights for different samples and maintains the combined kernel positive semi-definite by using a gate function on both input sides of the kernel.
[0027] However, the above methods have the following problems: trajectory features, RV consistency, quality weighting, and kernel classification usually solve local problems separately, lacking a processing structure for transferring the same physical state across stages. The comparison between distance change rate and Doppler velocity is known in radar tracking, but directly using incompatible methods (i.e., resetting or simple velocity fusion) will lose local motion information in short-term directional gestures. Normalizing only R and V separately or freely selecting symbols on a sample-by-sample basis may mask inherent device scale issues or dynamically absorb the true class into the calibration parameters. Simply reducing the weights of low-quality features at the end of the classification process cannot recover displacement, path length, and orientation consistency contaminated by outliers. The sample correlation weights and positive semidefinite kernel construction are already publicly available; if the weights are only generated from ordinary classification confidence or training loss, they can easily become the choice for conventional machine learning. In summary, the above methods do not provide the following complete relationship: calibration frames are selected by compensating echo confidence, frame states are generated by joint calibration results, frame states first control the formation of device coordinate trajectories, and then the classification feature space is controlled by the same source states.
[0028] To address the aforementioned issues, this invention, in a continuous millimeter-wave radar time series containing multiple actions, non-gesture movements, real pauses, and brief detection failures, determines whether adjacent candidate blocks belong to the same gesture without directly equating the regular candidate identity with the real action identity or creating gap valid frames. Based on this determination, it controls the information propagation and event output of the timing model on a candidate-by-candidate basis, thereby simultaneously reducing the risk of the same gesture being fragmented and multiple independent actions being incorrectly merged. Furthermore, under the condition that radar RVAP time series may have differences in device symbol conventions, velocity scale differences, channel relative time delays, and local low-confidence detection points, this invention first distinguishes between device system differences and actual detection anomalies. Then, while retaining short-term directional information, it suppresses the contamination of trajectory features by anomalies and allows physical quality to participate in classification without degrading to ordinary end-point confidence weighting. This forms the following technical chain: echo confidence participates in calibration frame selection; device-level RV calibration parameters determine alignment residuals; alignment residuals and echo confidence jointly determine the frame state with time continuity constraints; frame state controls device coordinate trajectory before geometric features are formed; the same frame state and calibration confidence then control the way different feature groups enter the classification space.
[0029] In a first aspect, embodiments of the present invention provide a method for directional gesture recognition using millimeter-wave radar.
[0030] Please see Figure 1 , Figure 1 This is a flowchart of a directional gesture recognition method for millimeter-wave radar provided by an embodiment of the present invention. The flowchart of the directional gesture recognition method for millimeter-wave radar may include the following steps: Step S1: Obtain the continuous physical time series of the millimeter-wave radar.
[0031] The continuous physical time series includes range information, radial velocity information, angle information, and echo intensity information. Each frame of the continuous physical time series stores at least a missing channel marker and a valid state. The missing channel marker can also be called a missing marker. The continuous physical time series can also be called a continuous radar physical time series or a frame-by-frame RVAP feature.
[0032] For example, the RC2412FR radar can be used to continuously acquire data, and the acquired raw data can be processed in terms of range dimension, velocity dimension, target detection, and angle estimation. Alternatively, the output of the radar processing chain can be directly read to form frame-by-frame RVAP features. Each frame simultaneously stores the valid state and missing channel markers.
[0033] Step S2: Based on the valid status, mark the valid frame or invalid frame, create candidate blocks when the establishment conditions are met for consecutive valid frames in the continuous physical time series, and construct candidate pairs for two candidate blocks that are temporally adjacent and whose gap is within the target comparison range.
[0034] The target comparison range can be the maximum comparison range.
[0035] In one embodiment of the present invention, the method further includes: closing the candidate block when the candidate block reaches the target length or the consecutive invalid frames reach the closure condition.
[0036] The target length can be the maximum length.
[0037] For example, each frame can also save a candidate state. The candidate state can be updated chronologically using a processing platform (such as a GD32W51 MCU). A candidate block is created when consecutive valid frames meet the establishment conditions; a candidate block is closed when it reaches its maximum length or consecutive invalid frames exceed the closure conditions. A small number of invalid frames are allowed within a candidate block, but adjacent candidate blocks are not directly merged at this stage due to short intervals.
[0038] Optionally, each candidate block should at least store the candidate identity, start frame, end frame, core valid frames, boundary protection frames, valid frame ratio, and invalid frame arrangement. The candidate identity only represents the fragment identity obtained by rule detection, not the identity of the actual action instance.
[0039] In this embodiment, candidate pairs can be constructed from two candidate blocks that are temporally adjacent and whose gap is within the maximum comparison range. The last few frames of the preceding candidate block form the front boundary region, the first few frames of the following candidate block form the back boundary region, and the frames in between not covered by the candidate core form the gap region. Candidate blocks that are too far apart are directly considered as different events and are not included in the complex relationship calculation.
[0040] In one embodiment of the present invention, the method further includes: determining a first robust change scale based on the adjacent valid frame changes of the preceding candidate block in the candidate pair, and determining a second robust change scale based on the adjacent valid frame changes of the following candidate block in the candidate pair; merging the first robust change scale and the second robust change scale to obtain the channel reference scale of the candidate pair.
[0041] The first and second robust change scales use the median absolute deviation or a predetermined quantile.
[0042] In this embodiment, the changes in distance, velocity, angle, and power within adjacent valid frames of consecutive candidate blocks can be statistically analyzed. Each channel preferably uses the median absolute deviation or a predetermined quantile as a robust change scale. The scales of the same channel in consecutive candidate blocks are merged and used as the channel reference scale for that candidate pair.
[0043] For example, when there are too few candidate valid frames, missing channels, or the scale is close to zero, a backtracking can be performed sequentially using the background robust scale of the sequence and a preset minimum scale. Missing channels are marked with independent missing tags, and zero values are not used to masquerade as real measurements.
[0044] Step S3: Construct physical evidence across the gap based on the channel reference scale of the candidate pair.
[0045] The physical evidence across gaps includes multiple aspects of gap structure evidence, boundary difference evidence, trend continuation evidence, power recovery evidence, and candidate quality evidence. Gap structure evidence includes gap length, the number of consecutive invalid frames, the arrangement of valid and invalid states, and the proportion of valid frames on both sides of the gap. Boundary difference evidence includes the differences in distance, velocity, angle, and power statistics between the front and rear boundary regions, calibrated using corresponding robust internal scales within the candidates. Trend continuation evidence includes whether the velocity direction, angle change direction, and distance change direction continue on both sides of the gap. Power recovery evidence includes whether the power attenuation at the end of the preceding candidate, the gap power state, and the power recovery at the beginning of the following candidate constitute a continuous change. Candidate quality evidence includes candidate length, the proportion of valid frames, internal continuity, valid boundary states, and the proportion of missing channels. Physical evidence across gaps can also be referred to as candidate pair evidence.
[0046] In one embodiment of the present invention, constructing cross-gap physical evidence based on the channel reference scale of candidate pairs includes: judging candidate pairs based on the channel reference scale to obtain a judgment result; and constructing cross-gap physical evidence if the judgment result indicates that the candidate pairs are valid.
[0047] In this embodiment, the validity of candidate pairs is determined based on the channel reference scale. If the candidate pairs are valid, multiple types of physical evidence across the gap are selected from the above categories.
[0048] Step S4: Concatenate the physical evidence across the gap with the missing channel marker to obtain the evidence vector of the candidate pair.
[0049] In this embodiment, a lightweight linear relationship calibrator can be used to calibrate the constructed cross-gap physical evidence, and then the calibrated cross-gap physical evidence and missing markers can be spliced together to obtain the evidence vector of the candidate pair.
[0050] Step S5: Map the evidence vector to obtain the relation score corresponding to the candidate relation, and normalize the relation score to obtain the confidence level.
[0051] The candidate pair relationships include the same gesture fragment relationship, the different event relationship, and the insufficient evidence relationship. The same gesture fragment relationship indicates that two candidate blocks are more likely to originate from the same target gesture, resulting from a brief detection failure. The different event relationship indicates that two candidate blocks belong to different gestures, a combination of a target gesture and a non-target movement, or two independent non-target movements. The insufficient evidence relationship indicates missing boundary data, uncertain label boundaries, or conflicting physical evidence, meaning the current evidence cannot support reliable merging or complete isolation.
[0052] In this embodiment, the evidence vector is linearly mapped to obtain three relation scores, and then bounded normalization is performed to obtain three confidence levels (i.e., confidence level of the same gesture fragment, confidence level of insufficient evidence, and confidence level of different events).
[0053] It should be noted that non-gesture relationships are not the fourth type of candidate pair relation. Whether a candidate belongs to the target gesture is determined separately by the candidate block scoring task. Candidate pair relations only describe whether two candidate blocks belong to the same event. This definition keeps the three types of outputs, training labels, and inference states of the relation calibrator consistent.
[0054] It should be noted that the aforementioned lightweight linear relationship calibrator can be implemented on a GD32W51 MCU using matrix multiplication and bounded normalization. Furthermore, regular calibration tables or small feedforward networks can be used as alternative implementations, but both should maintain the semantics of the three types of relationships described above, as well as the processing relationship where candidate pair evidence directly controls subsequent gating.
[0055] Figure 2 This is a schematic diagram of a cross-gap evidence construction and relationship calibration structure provided by an embodiment of the present invention, as shown below. Figure 2As shown, continuous physical time series of millimeter-wave radar is obtained, and candidate pairs are constructed. Several frames from the end of the previous candidate block constitute the boundary region of the previous candidate block, and several frames from the beginning of the next candidate block constitute the boundary region of the next candidate block. The frames in between that are not covered by the candidate core constitute the gap region between candidate blocks. Furthermore, physical evidence across the gap is constructed based on the scale of change within the candidate blocks, and the relationship between the candidate pairs is calibrated to determine whether the two candidate blocks belong to the same moving debris, independent actions, or insufficient evidence.
[0056] Step S6: Based on confidence, convert candidate pair relationships into attention gating values using a gating model.
[0057] Among them, the gating model can also be called the relation calibration and dynamic gating model.
[0058] In this embodiment, frame representations can be formed from frame-by-frame RVAP, candidate core state, boundary protection state, intra-block phase, and local motion continuity. Frame pair propagation is handled as follows: if two frames belong to the same candidate block, the gating value is set to the full propagation value; if two frames belong to adjacent candidate blocks, a dedicated gating is used for the candidate pair; a restricted connection is maintained between the candidate block and the local boundary protection zone; stronger suppression or no connection is established for distant backgrounds.
[0059] For example, candidate pair gating can be calculated using bounded continuity. First, a lower gating limit greater than 0 and less than the full propagation value is set. Then, the propagation strength is increased based on the confidence level of the same gesture fragment, partially propagated based on the insufficient evidence confidence level, and decreased based on the non-same event confidence level. The retention ratio for insufficient evidence is set between 0 and 1. Therefore, candidate pair gating always lies between the lower gating limit and the full propagation value, preventing infinite values from being formed due to a single misjudgment of a relationship, and also preventing the connection from being permanently severed due to insufficient evidence.
[0060] In an optional example, the logarithmic value of the candidate pair gating can be added to the Attention relevance score of the corresponding frame pair before normalization. This reduces cross-block decay for fragments of the same gesture, increases cross-block decay for fragments of different events, and maintains restricted propagation for relationships with insufficient evidence. Gating does not alter propagation within the same candidate block.
[0061] For example, the same candidate pair can reuse the same relation state and gating value within an overlapping temporal window, avoiding inconsistent control of the same physical gap due to different window starting points. Multiple attention heads can share candidate pair gating to reduce the number of parameters; they can also use head-level scaling factors while maintaining the semantics of the three types of relations.
[0062] Furthermore, during the training phase, continuous radar data collected and annotated internally can be used. In the frame-by-frame labels, zero values represent non-gesture frames, and non-zero values represent gesture frames. Initial true gesture ranges can be formed based on continuous non-zero label ranges. For regions with short zero gaps, conflicting label boundaries, or where it is uncertain whether they belong to the same instance, the same relation label is not directly generated; instead, they are marked as insufficient evidence, and the relation supervision weight is reduced or ignored from the relation loss.
[0063] For example, candidate pair training labels can be formed according to the following rules: if two candidate blocks overlap with the same reliable real gesture interval, they are labeled as the same gesture fragment relationship; if two candidate blocks overlap with different real gesture intervals, or if one of the candidate blocks reliably corresponds to a non-target motion, they are labeled as different event relationships; if a candidate block spans multiple real intervals, is located at the label edge, has an inexplicable short zero gap inside the label, or has a severely missing physical channel, it is labeled as an insufficient evidence relationship and the supervision weight is reduced or the relationship classification loss of the candidate pair is ignored.
[0064] For example, training objectives include frame-by-frame gesture supervision, candidate block target or non-target supervision, candidate pair three-class relationship supervision, and rating continuity supervision within the same candidate block. For the same gesture fragment relationship, a consistency constraint on the event confidence of two candidate blocks can be added; for different event relationships, no cross-block consistency constraint is imposed.
[0065] It should be noted that candidate pair relation supervision gives the relation calibrator explicit semantics; candidate pair gating uses this relation to control attention; and event management continues to use the same relation to determine whether to combine candidate blocks. Thus, training labels, model propagation, and inference output all use the same candidate pair relation definition.
[0066] Step S7: Aggregate the attention gating values to obtain the target confidence, and extract the gesture fragment based on the target confidence.
[0067] The gesture segments include compound gesture segments or independent gesture segments.
[0068] In this embodiment, the frame-by-frame scores (attention gating values) within the core region of the candidate block can be aggregated to obtain the target confidence of the candidate block. Candidate blocks below the candidate block retention criteria are rejected as non-gesture candidates, and only candidate blocks that meet the candidate block retention criteria are included in the composite event determination, thereby avoiding the inclusion of non-target candidates into the target gesture simply because of physical continuity similarity.
[0069] For example, when the confidence of the same gesture fragment in two adjacent reserved candidate blocks reaches the relationship preservation condition, they can be assigned the same composite event identity, but the intermediate gap frame is not rewritten as a valid frame. The composite event at least stores the unified event identity, external time range, candidate sub-block list, original start and end boundaries of each sub-block, internal gap list, candidate block confidence, and candidate pair relationship confidence.
[0070] For example, when candidate pairs are not related to the same event, the preceding and following candidate blocks are output as independent events. When candidate pairs are related to insufficient evidence, independent events are maintained by default, and an uncertain relationship marker is saved; subsequent classification modules can read this marker, but must not fill the internal gaps by default.
[0071] For example, when three or more candidate blocks appear consecutively, a conservative chain expansion can be performed in chronological order. A new candidate block is added to the current composite event only if it simultaneously meets the following conditions: the candidate block passes the block-level preservation condition; its confidence in the same gesture fragment as the previous candidate block reaches the relation preservation condition; all adjacent relations in the current event are not judged as non-identical events or lack sufficient evidence; and the total duration of the event after addition does not exceed the maximum gesture event duration. If any of the above conditions are not met, the current event is closed and a new event begins from that candidate block. A candidate block belongs to only one event at a time, thus avoiding overlapping composite events and unrestricted chain merging.
[0072] Finally, the processing results are output. The output may include event identity, external start and end frames of the event, start and end frames of candidate sub-blocks, gap positions, block-level confidence, candidate pair relationships, and corresponding RVAP sub-sequences. Subsequent modules can either feed the composite event as a whole into the gesture classifier or encode each sub-block separately and then fuse them according to event identity. Regardless of the method used, internal gaps are always retained as missing or without reliable echoes.
[0073] Figure 3 This is a schematic diagram of a candidate pair dynamic relationship gating temporal attention structure provided in an embodiment of the present invention, such as... Figure 3 As shown, the physical and candidate structure representations are obtained frame by frame. Then, the temporal attention features are fused by combining the complete temporal interaction within the candidate block and the dynamic soft gating mechanism across the candidate block with the restricted interaction between the background and the protected area. Subsequently, the frame-by-frame gesture score and the candidate block aggregation score are output. Based on these scores, the relationship and independence of candidate pairs are determined, and non-target candidates are rejected. Finally, the composite events that retain the boundaries of the sub-blocks and the mutually independent gesture fragments are extracted.
[0074] Figure 4 This is a schematic diagram illustrating the relationship between training and continuous flow reasoning provided in an embodiment of the present invention, such as... Figure 4As shown, during the training phase, radar time series with frame-by-frame labels are used to generate regular candidate blocks and candidate pairs, as well as candidate pair relationship labels, thereby conducting joint training of candidate blocks and candidate pairs frame by frame to obtain a relationship calibration and dynamic gating model. During the inference phase, continuous radar time series to be processed are input to construct online candidate blocks and cross-gap evidence. The model obtained in the training phase is used to perform dynamic relationship inference of candidate pairs, and finally, independent segments and compound events are identified and output.
[0075] Figure 5 This is a schematic diagram of a millimeter-wave radar gesture segment extraction process provided in an embodiment of the present invention, as shown below. Figure 5 As shown, firstly, a time series of range, velocity, angle, and power data is constructed based on continuous millimeter-wave radar data. Then, candidate block extraction and independent identity management, boundary and gap region localization, and robust scale calculation within candidate blocks are performed sequentially. Next, cross-gap physical evidence construction and candidate pair relationship calibration are conducted, and a candidate pair dynamic relationship gating temporal attention mechanism is introduced for deep feature analysis. Finally, after candidate block scoring and composite event determination, independent fragments or composite gesture events are output. Notably, the regular candidate blocks, candidate pair relationships, and composite events are not parallel modules. Candidate blocks determine the scope of candidate pair construction, cross-gap evidence generates candidate pair relationships, candidate pair relationships alter attention propagation, and further determine whether events are combined.
[0076] This embodiment involves continuous time series analysis and human-computer interaction. It generates candidate blocks using rules, calibrates candidate pair relationships based on distance, velocity, angle, and power evidence within the sides and gaps of adjacent candidate blocks, and controls the propagation of temporal attention information pairwise. Multiple detected fragments of the same gesture are expressed as composite events that preserve the boundaries and internal gaps of candidate sub-blocks. Data is acquired using an RC2412FR radar, and candidate extraction, relationship calibration, temporal inference, and event output are performed on a GD32W51 MCU platform.
[0077] This embodiment constructs candidate pairs only for candidate blocks that are temporally adjacent and whose gaps are within the comparison range, without performing pairwise comparisons of all candidate blocks. Assume there are several candidate blocks within a consecutive window; the number of candidate pairs increases linearly with the number of candidate blocks.
[0078] Optionally, the relation calibrator employs a single-layer linear mapping and bounded normalization; candidate pair gating is multiplexed across frame pairs covered by the same candidate pair; the timing model only processes candidate blocks and their boundary protection zones. This structure is suitable for execution triggered by candidate events on the GD32W51 MCU platform. Specific model width, quantization bit width, memory usage, runtime latency, and power consumption can be determined based on actual firmware and hardware testing, without specific limitations.
[0079] This embodiment does not simply concatenate rule candidates, physical features, and attention in parallel. Instead, it establishes a control chain of the same candidate pair relationship object throughout the entire process: candidate identity is not equal to action identity, and adjacent candidate blocks must first form candidate pairs; the difference across gaps is calibrated relative to the robust motion scale of the preceding and following candidates themselves, rather than using only absolute differences or fixed intervals; physical evidence of candidate pairs generates three types of relationship confidence, and this relationship changes the attention propagation strength on a candidate pair-by-candidate basis; the same relationship semantics is used simultaneously for training supervision and event combination, avoiding the use of different merging standards for training, propagation, and output; the same gesture fragment is associated through event identity, but the internal gaps and original sub-block boundaries remain unchanged, without using trajectory interpolation or effective frame filling; non-gesture candidates are rejected by block-level scoring, and the candidate pair relationship only answers whether the two candidates belong to the same event, avoiding confusion between relationship category and target category.
[0080] In summary, this embodiment proposes a three-level data organization method for continuous millimeter-wave radar gesture streams: candidate blocks, candidate pairs, and composite events. Candidate blocks retain regular boundaries, candidate pairs store cross-gap evidence and relationship states, and composite events store candidate sub-blocks sharing event identities and their internal gaps. Cross-gap physical evidence is constructed based on adjacent candidate block boundaries, gap structure, distance, velocity, angle, power, candidate quality, and missing states. Robust scaling within consecutive candidate blocks is used to calibrate cross-gap physical differences, and background scale, minimum scale, and missing markers are applied when the scale approaches zero, there are insufficient effective frames, or channels are missing. Three types of candidate pair relationship calibration are proposed, uniformly outputting relationships of the same gesture fragment, different events, and insufficient evidence. Different candidate identities are not directly equated with independent actions, nor are non-gesture relationships set as a fourth type of candidate pair relationship. Dynamic relationship gating for candidate pairs is proposed, where candidate pair relationships are set... The confidence level is converted into a bounded gating specific to the candidate pair, and the gating is applied to the attention relevance of the corresponding cross-candidate frame pair, maintaining complete propagation within the same candidate block. A shared candidate pair relation semantic is proposed for training, propagation, and output, where frame-by-frame label generation of candidate blocks and candidate pairs is supervised, candidate pair relations supervise the relation calibrator, the relation calibrator controls cross-block propagation, and the same relation determines whether events are combined. Composite event outputs retain candidate sub-block boundaries and internal gaps, where multiple fragments of the same gesture share event identity, but gap frames are not reconstructed or marked as valid gesture frames. A multi-candidate conservative chain expansion is proposed, restricting candidate addition through block-level preservation, adjacency relations, intra-chain relation states, and maximum event duration, ensuring that a candidate block belongs to only one event at a time. Conservative handling in cases of insufficient evidence is proposed, maintaining restricted information propagation and independent event boundaries, and outputting uncertain relation labels.
[0081] The above scheme addresses the issue that different personnel, movement speeds, distances, and signal strengths can lead to varying RVAP channel changes. This invention compares the gap differences relative to the candidate's own motion scale; it utilizes a low-complexity relation calibrator to generate meaningful candidate pair relations instead of adding a high-complexity network; it allows candidate pair relations to directly enter the Attention propagation calculation and maintains consistency during training and inference phases; it avoids unrestricted chain merging caused by a single erroneous relation when multiple candidate blocks are continuously associated; and it expresses multiple fragments of the same gesture as composite events while completely preserving the original candidate boundaries and internal gaps without reliable echoes.
[0082] Step S8: Determine the echo confidence of the gesture segment, and based on the echo confidence, determine the velocity symbol calibration, velocity scale calibration, and relative time delay calibration.
[0083] Among them, gesture fragments can also be called RVAP gesture sequences or RVAP gesture samples.
[0084] In this embodiment, L A frame RVAP gesture sample can be represented as:
[0085] in, Indicates the first i Frame distance, Indicates the first i Radial velocity of the frame, Indicates the first i The angle of the frame Indicates the first i The echo intensity of the frame. The timestamp of each frame can be read. If the device (millimeter-wave radar) only provides a fixed frame period, the fixed sampling period in the device configuration is used to perform median filtering or other robust edge-preserving smoothing on each channel. The smoothing operation does not change the time correspondence of the channels.
[0086] In one embodiment of the present invention, determining the echo confidence of a gesture segment includes: determining echo intensity information after compensation based on distance information of the gesture segment; and constructing echo confidence based on the compensated echo intensity information.
[0087] In this embodiment, in P In the embodiment for logarithmic domain intensity, the echo intensity after distance compensation can be expressed by the following formula. (depending on P Channel definition):
[0088] in, This represents the distance attenuation compensation coefficient. This represents the lower limit of the minimum effective distance. The reference distance can be determined by equipment calibration. If P For linear power, amplitude, signal-to-noise ratio (SNR), or device quality, a compensation or normalization method consistent with its physical definition is used instead. The robust center and scale of the compensation intensity are used to construct the first... i Frame echo reliability (Values are [0, 1]). P The meaning of the channel and the form of compensation can be confirmed based on the device interface.
[0089] For example, the device uses a fixed reference distance to compensate for absolute distance differences across samples; using the robust center of sample distance as a reference distance is only a subordinate implementation when absolute calibration cannot be obtained, mainly to compensate for relative distance changes within the sample, and the two are not considered to have exactly the same effect.
[0090] Furthermore, a set of calibration frames is first formed from the device calibration sequence with reliable echoes and sufficient motion. Then calculate the velocity sign calibration value. Speed scale calibration quantity and relative time delay calibration amount :
[0091] in, This indicates selecting parameters that minimize the function. T Represents the candidate set of relative time delay. This represents a loss function, penalty function, cost function, or robust residual processing function used to measure the impact of calibration errors or limit the impact of outlier frames on calibration results. Candidate values representing the velocity symbol calibration amount, Candidate values representing velocity scale calibration quantities. Candidate values for relative delay calibration. This represents a numerically stable term, used to avoid division by zero, divergence, or numerical instability during division, normalization, logarithmic, or scaling calculations. Indicates the first i The rate of change of distance between frames can be expressed as:
[0092] in, Indicates the first i The frame after the first frame, i.e. the first frame i The distance value corresponding to +1 frame Indicates the first i The frame preceding the first frame, i.e., the first frame i The distance value corresponding to frame -1 Indicates the time interval between adjacent frames. Indicates the first i -1 frame and the i The time interval between frames. The velocity sign calibration amount can preferably be determined using a device calibration sequence independent of the samples to be classified. Speed scale calibration quantity and relative time delay calibration amount This avoids each gesture to be classified freely searching for parameters and absorbing category information. If sample-level fine-tuning is allowed, adjustments can only be made near device-level parameters within preset boundaries.
[0093] For example, latency identifiability is determined by the following information: the number of calibration frames, the length of continuous coverage, the sufficiency of motion variation, the separation between the best and second-best candidate target values, and the stability of calibration parameters across multiple calibration sequences. If these conditions are insufficient, device-level parameters are used, and free-sample calibration is not performed.
[0094] Step S9: Determine the frame quality status based on the velocity symbol calibration, velocity scale calibration, and relative delay calibration.
[0095] The frame quality status includes reliable status, transitional status, and unreliable status.
[0096] In this embodiment, the calibrated normalized RV residual can be calculated using device-level parameters. (Non-negative):
[0097] in, This represents the normalized scale for RV residuals, used to convert RV differences under different equipment, motion amplitudes, and dimensions to a comparable scale. This further yields the reliability of motion consistency. and joint frame quality (i.e., the first) i The joint physical quality of the frame, with a value of [0, 1] :
[0098]
[0099] in, This represents the motion sufficiency threshold or minimum motion threshold, used to determine whether the current frame has sufficient motion to make the RV consistency between the distance change rate and radial velocity meaningful. This represents the motion consistency weight.
[0100] Further according to , The positions of adjacent reliable frames and the maximum allowable gap form three states: reliable state, transitional state, and unreliable state.
[0101] For example, device-level calibration reliability (Values are [0, 1]) and the support of the current sample for the calibration parameters. (Values are [0, 1]) They are saved separately. The former indicates whether the calibration parameter itself is stable, and the latter indicates whether the current sample contains enough information to support the calibration relationship. This split avoids erroneously rejecting existing high-confidence device parameters when there are insufficient sample calibration frames.
[0102] Step S10: Update the coordinate trajectory of the millimeter-wave radar according to the frame quality status, and determine the coordinate geometric feature group of the millimeter-wave radar based on the updated coordinate trajectory.
[0103] In one embodiment of the present invention, updating the coordinate trajectory of a millimeter-wave radar according to the frame quality state includes: when the frame quality state is reliable, incorporating the current coordinates of the millimeter-wave radar as a valid trajectory point into the coordinate trajectory to obtain the updated coordinate trajectory; when the frame quality state is transitional, performing length-limited interpolation, previous value preservation, or weighted update on the current coordinates of the millimeter-wave radar to obtain the updated coordinate trajectory; when the frame quality state is unreliable, not accumulating the displacement increment of the current coordinates of the millimeter-wave radar relative to the previous valid trajectory point into the coordinate trajectory to obtain the updated coordinate trajectory.
[0104] In this embodiment, under reliable conditions, the current device coordinates are used normally; under transitional conditions, the current frame is located between reliable frames and the continuous length does not exceed the preset upper limit, so length-limited interpolation, previous value preservation, or weighted update are used; under unreliable conditions, the displacement increment of the current frame is not directly accumulated to the trajectory.
[0105] In this embodiment, the zero-bias configuration is based on distance and device angle:
[0106]
[0107] in, This indicates that the device angle is zero offset. Indicates the original horizontal coordinate of the device. Represents the original device depth coordinates. Frame state is determined before geometric features are formed. Whether to become directly Alternatively, a transitional process may be adopted, or the displacement may not be accumulated. This represents the device coordinates after frame quality status control, i.e., the processed coordinates used to form the controlled coordinate trajectory. The controlled coordinate trajectory extracts the net lateral displacement, net longitudinal displacement, lateral span, longitudinal span, path length, straightness, directional consistency, and turning characteristics.
[0108] For example, this processing order differs from first calculating the complete trajectory features and then reducing the weights at the end of the classifier. The latter cannot recover the path length and net displacement that have been contaminated by outliers.
[0109] Step S11: Identify directional gesture categories based on coordinate geometric feature groups.
[0110] In one embodiment of the present invention, the directional gesture category is output based on the coordinate geometric feature group, including: adjusting the representations of the coordinate geometric feature group, the basic temporal feature group, and the cross-channel consistency feature group respectively using the physical quality state which is of the same origin as the frame quality state, to generate a quality co-explicit mapping vector; and using a kernel classifier to output the directional gesture category in the mapped feature space based on the quality co-explicit mapping vector.
[0111] Among them, the basic time series feature group Used to describe the robustness center, dispersion, range, and dynamic changes of each channel in RVAP. Coordinate geometric feature set Trajectory formed solely by state control. Cross-channel consistency feature group. Used to describe RV residuals, reliable frame ratio, transition frame ratio, and calibration stability.
[0112] In this embodiment, the design of a sample physical quality can be expressed as:
[0113] in, Q This represents the physical quality of the sample used for trajectory and mapping, with a value of [0, 1]. This function represents the selection or fusion of device-level confidence and sample support based on the calibration source. The specific form, boundaries, and triggering conditions of this function need to be verified based on calibration data, and no fixed values that have not been experimentally supported are preset. This represents the truncation function.
[0114] Furthermore, the three sets of features are standardized using parameters fitted only from the training data. Then, the usability of the non-negative groups is determined using homogeneous physical quality states, for example:
[0115]
[0116]
[0117] in, This indicates the availability of the basic time series feature group. Indicates the availability of the coordinate geometric feature set. This represents the numerical stability term of the coordinate geometric feature set. Indicates the availability of cross-channel consistency feature groups. This represents the numerical stability term of the cross-channel consistency feature group. Further, after normalizing the group availability, a quality collaboration explicit mapping vector is constructed. :
[0118] in, This represents the availability of the normalized base time series feature set. This represents the availability of the normalized coordinate geometric feature set. This represents the availability of the normalized cross-channel consistency feature group. This represents the dimension of the basic time series feature set. This represents the dimension of the coordinate geometric feature set. The dimension of the cross-channel consistency feature group is represented by positive integers.
[0119] It should be noted that the above mapping is not an independent ordinary attention weight: the quality state has already changed the trajectory points and geometric features upstream, and then the same state changes the classification space again. Therefore, the upstream trajectory formation and the downstream feature mapping have a common state source.
[0120] Furthermore, an RBF kernel is used in the explicit mapping space:
[0121] in, Indicates the RBF kernel width parameter (positive number). Indicates direction category x Corresponding samples The quality-coordinated explicit mapping vector. Indicates direction category y Corresponding samples The quality co-explicit mapping vector. Gesture samples Gesture samples The standard RBF kernel similarity between them. Since each sample first forms a definite... Using a standard RBF kernel can preserve the symmetry and positive semi-definiteness of the kernel matrix. The positive semi-definite mapping is a realization constraint.
[0122] For example, the model package should at least save the RVAP channel order and unit, time processing method, P channel compensation configuration, device-level RV calibration parameters, calibration confidence, frame state conditions, device angle zero bias, feature definition, each group of standardized parameters, quality mapping parameters, category coding and classifier parameters.
[0123] Figure 6 This is a schematic diagram of a radar direction gesture recognition structure provided in an embodiment of the present invention, as shown below. Figure 6 As shown, it includes an RVAP sequence acquisition module for data acquisition and processing, a robust preprocessing module, a distance compensation and echo reliability module, a device-level RV joint calibration module, a frame quality status module, and a device coordinate trajectory module. In terms of feature and status expression, it involves basic temporal feature groups, device coordinate geometric feature groups, cross-channel consistency feature groups, and homogeneous physical quality status. Finally, it determines and outputs the directional gesture category through quality collaborative explicit mapping and kernel classification modules.
[0124] Figure 7 This is a schematic diagram of a radar directional gesture recognition process provided in an embodiment of the present invention, as shown below. Figure 7 As shown, firstly, the RVAP sequence with time information is acquired and channel robust preprocessing is performed. Then, the distance compensation strength and echo confidence are calculated, the device-level RV calibration parameters are loaded, and then the calibrated RV residual is calculated. The echo confidence is fused to form the frame state. Subsequently, the device coordinate trajectory is updated according to the state to form the device coordinate geometric feature group. At the same time, the same source physical quality states are summarized to form the cross-channel consistency feature group and the basic temporal feature group. Finally, the feature space is organized according to the quality state and kernel classification is performed to assist in the direction gesture category.
[0125] This embodiment involves pattern recognition technology, which uses RV symbols, scale and time delay joint calibration to form cross-channel physical quality state, and the coordinate trajectory of the control device is formed and classified feature space is formed by the same physical quality state.
[0126] This embodiment first performs device-level joint calibration to ensure that the RV residual reflects detection anomalies rather than interface convention differences as much as possible; it processes low-confidence frames before forming geometric quantities to reduce irreversible contamination of trajectory quantities by local jumps; it controls trajectory formation and classification space simultaneously through homogeneous quality states to form a functional coupling that is different from simple feature splicing; it is compatible with standard kernel classifiers through explicit mapping and restricts high-dimensional feature groups from dominating kernel distance only because of their higher dimensionality.
[0127] In summary, this embodiment selects frames for joint RV calibration or residual calculation based on echo confidence and obtains velocity sign, scale, and relative delay parameters from device calibration data independent of the samples to be classified. A frame state with temporally continuous constraints is formed based on the calibrated RV residual and echo confidence, and the device coordinate trajectory is controlled by the frame state before geometric feature formation. Device-level calibration confidence is separated from current sample support, avoiding erroneous rejection of existing device calibration parameters due to insufficient information from a single sample. The same physical quality state simultaneously controls upstream trajectory formation and downstream classification feature space, ensuring data dependency between the two stages, rather than parallel feature addition or end-point confidence weighting. A kernel classifier is used after explicit quality co-mapping, and the complete configuration from device calibration, state processing, feature mapping to the classifier is stored in the model package.
[0128] Secondly, embodiments of the present invention provide a millimeter-wave radar-based directional gesture recognition system. Please refer to... Figure 8 , Figure 8 This is a schematic diagram of a millimeter-wave radar direction and gesture recognition system provided in an embodiment of the present invention. The millimeter-wave radar direction and gesture recognition system may include: a radar feature acquisition module 801, a candidate block management module 802, a cross-gap physical evidence module 803, a candidate pair relationship calibration module 804, a candidate pair dynamic relationship gating temporal attention module 805, a candidate block scoring and event management module 806, a distance compensation and echo credibility module 807, a joint calibration module 808, a frame quality status module 809, a device coordinate trajectory module 810, a grouping feature and sample quality module 811, and a kernel classification and parameter storage module 812.
[0129] The radar feature acquisition module 801 is used to acquire the continuous physical time series of the millimeter-wave radar. The continuous physical time series includes range information, velocity information, angle information and echo intensity information, and each frame of the continuous physical time series saves at least the missing channel marker and the valid state.
[0130] For example, the radar feature acquisition module is used to form time-ordered RVAP features and frame-by-frame valid states from radar data. Valid states can be obtained based on power detection, target detection results, number of valid points, or a combination thereof.
[0131] The candidate block management module 802 is used to mark valid frames or invalid frames according to their valid status, create candidate blocks when the establishment conditions are met for consecutive valid frames in a continuous physical time series, and construct candidate pairs for two candidate blocks that are temporally adjacent and whose gap is within the target comparison range.
[0132] For example, the candidate block management module is used to accumulate valid and invalid frames in chronological order, and form candidate blocks based on the minimum number of valid frames, the maximum candidate length, the tolerance for invalid frames within a block, and the candidate end interval. Each candidate block stores an independent identity, start and end frames, the proportion of valid frames, and the arrangement of invalid frames.
[0133] The cross-gap physical evidence module 803 is used to construct cross-gap physical evidence based on the channel reference scale of the candidate pair. The cross-gap physical evidence includes multiple evidences such as gap structure evidence, boundary difference evidence, trend continuation evidence, power recovery evidence, and candidate quality evidence.
[0134] For example, the cross-gap physical evidence module is used to locate the front boundary region, gap region and back boundary region of adjacent candidate blocks, calculate the robust change scale inside the candidate, and construct scale-calibrated distance, velocity, angle, power and effective state evidence.
[0135] The candidate pair relationship calibration module 804 is used to concatenate the cross-gap physical evidence with the missing channel marker to obtain the evidence vector of the candidate pair; map the evidence vector to obtain the relationship score corresponding to the candidate pair relationship; and normalize the relationship score to obtain the confidence level. The candidate pair relationship includes the same gesture fragment relationship, the non-same event relationship, and the insufficient evidence relationship.
[0136] For example, the candidate pair relationship calibration module is used to map the physical evidence of each candidate pair to the confidence level of the same gesture fragment relationship, the non-same event relationship, and the insufficient evidence relationship.
[0137] The candidate pair dynamic relationship gating time-series attention module 805 is used to convert candidate pair relationships into attention gating values based on confidence and through a gating model.
[0138] For example, the candidate pair dynamic relationship gating temporal attention module is used to generate a bounded gating specific to the candidate pair based on the candidate pair relationship confidence, thereby changing the attention propagation intensity of frame pairs between two candidate blocks; and maintaining complete propagation within the same candidate block.
[0139] The candidate block scoring and event management module 806 aggregates attention gating values to obtain target confidence and extracts gesture fragments based on target confidence.
[0140] For example, the candidate block scoring and event management module is used to generate target confidence scores for candidate blocks, reject non-gesture candidates, and output independent events or composite gesture events that retain internal gaps based on the candidate pair relationship.
[0141] The distance compensation and echo confidence module 807 is used to determine the echo confidence of gesture segments.
[0142] For example, the distance compensation and echo confidence module is used to obtain frame-by-frame echo confidence based on the distance and P-channel definition.
[0143] The joint calibration module 808 is used to determine the velocity symbol calibration, velocity scale calibration, and relative time delay calibration based on echo confidence.
[0144] For example, the joint calibration module can also be called the RV joint calibration module, which is used to jointly determine the velocity symbol calibration amount, the velocity scale calibration amount, and the RV relative time delay.
[0145] The frame quality status module 809 is used to determine the frame quality status based on the velocity symbol calibration amount, velocity scale calibration amount, and relative delay calibration amount. The frame quality status includes reliable status, transitional status, and unreliable status.
[0146] For example, the frame quality status module is used to generate reliable, transitional, and unreliable statuses based on the calibrated RV residual and echo confidence.
[0147] The device coordinate trajectory module 810 is used to update the coordinate trajectory of the millimeter-wave radar according to the frame quality status.
[0148] For example, the device coordinate trajectory module is used to convert distance and angle into device coordinates and update the trajectory according to frame status.
[0149] The grouping feature and sample quality module 811 is used to determine the coordinate geometric feature group of millimeter-wave radar based on the coordinate trajectory.
[0150] For example, the grouping features and sample quality module is used to form basic timing, device coordinate geometry and cross-channel consistency feature groups, and summarize the sample physical quality.
[0151] The kernel classification and parameter storage module 812 is used to output the direction gesture category based on the coordinate geometric feature group.
[0152] For example, the kernel classification and parameter storage module is used to output the directional gesture category in the mapped feature space and save all calibration, state, normalization and classification parameters.
[0153] The system may also include an RC2412FR radar for acquiring continuous millimeter-wave radar echo data. The radar outputs raw data or detection data after basic signal processing. Frame-by-frame range, velocity, angle, and power information can be obtained from the radar data, which can be referred to as RVAP time series.
[0154] The system may also include a GD32W51 MCU processing platform for receiving radar data, performing valid frame determination, candidate block state management, candidate pair evidence calculation, relation calibration, lightweight temporal attention inference, and event output. Specific storage capacity, operating frequency, inference latency, and power consumption should be based on actual product configuration and test results.
[0155] The system may also include a storage and output module for saving model parameters, rule parameters and event data, and outputting event identity, sub-block boundaries, gap positions and corresponding RVAP sequences to subsequent gesture classification, unknown action rejection or control modules.
[0156] The system may also include an RVAP sequence acquisition module for acquiring a gesture sample that already has time boundaries and its frame-by-frame time information.
[0157] The system may also include a mass co-mapping module for adjusting the representation of each feature group using physical mass states that are homologous to the trajectory formation.
[0158] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0159] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, those skilled in the art can combine and integrate the different embodiments or examples described in this specification.
[0160] The above description, in conjunction with specific preferred embodiments, provides a further detailed explanation of the present invention. It should not be construed that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art, various simple deductions or substitutions can be made without departing from the concept of the present invention, and all such modifications and substitutions should be considered within the scope of protection of the present invention.
Claims
1. A method for directional gesture recognition using millimeter-wave radar, characterized in that, include: Acquire a continuous physical time series of millimeter-wave radar, wherein the continuous physical time series includes range information, radial velocity information, angle information and echo intensity information, and each frame of the continuous physical time series at least saves the missing channel marker and the valid state; Based on the valid status marker, valid frames or invalid frames are marked. When the establishment conditions are met for consecutive valid frames in the continuous physical time series, candidate blocks are created, and candidate pairs are constructed for two candidate blocks that are temporally adjacent and whose gap is within the target comparison range. Based on the channel reference scale of the candidate pair, cross-gap physical evidence is constructed, wherein the cross-gap physical evidence includes multiple of the following: gap structure evidence, boundary difference evidence, trend continuation evidence, power recovery evidence, and candidate quality evidence. The physical evidence across the gap is concatenated with the missing channel marker to obtain the evidence vector of the candidate pair; The evidence vector is mapped to obtain the relationship score corresponding to the candidate pair relationship, and the relationship score is normalized to obtain the confidence level. The candidate pair relationship includes the same gesture fragment relationship, the different event relationship, and the insufficient evidence relationship. Based on the confidence level, the candidate pair relationship is converted into an attention gating value using a gating model; The attention gating values are aggregated to obtain the target confidence score, and gesture fragments are extracted based on the target confidence score; Determine the echo confidence of the gesture segment, and based on the echo confidence, determine the velocity symbol calibration amount, velocity scale calibration amount, and relative time delay calibration amount; Based on the velocity symbol calibration amount, the velocity scale calibration amount, and the relative delay calibration amount, the frame quality state is determined, wherein the frame quality state includes a reliable state, a transitional state, and an unreliable state. The coordinate trajectory of the millimeter-wave radar is updated according to the frame quality status, and the coordinate geometric feature group of the millimeter-wave radar is determined based on the updated coordinate trajectory. The directional gesture category is identified based on the coordinate geometric feature set.
2. The millimeter-wave radar direction and gesture recognition method according to claim 1, characterized in that, The method further includes: Based on the changes in adjacent valid frames of the preceding candidate block in the candidate pair, a first robust change scale is determined, and based on the changes in adjacent valid frames of the following candidate block in the candidate pair, a second robust change scale is determined, wherein the first robust change scale and the second robust change scale adopt the median absolute deviation or a predetermined quantile. The first robust change scale and the second robust change scale are merged to obtain the channel reference scale of the candidate pair.
3. The millimeter-wave radar direction and gesture recognition method according to claim 1, characterized in that, The construction of cross-gap physical evidence based on the channel reference scale of the candidate pairs includes: Based on the aforementioned channel reference scale, the candidate pairs are judged to obtain the judgment result; If the determination result indicates that the candidate pair is valid, the physical evidence across the gap is constructed.
4. The millimeter-wave radar direction and gesture recognition method according to claim 1, characterized in that, Updating the coordinate trajectory of the millimeter-wave radar according to the frame quality status includes: When the frame quality state is the reliable state, the current coordinates of the millimeter-wave radar are included as valid trajectory points in the coordinate trajectory to obtain the updated coordinate trajectory; When the frame quality state is in the transition state, the current coordinates of the millimeter-wave radar are subjected to length-limited interpolation, previous value preservation, or weighted update to obtain the updated coordinate trajectory. When the frame quality state is unreliable, the displacement increment of the current coordinates of the millimeter-wave radar relative to the previous valid trajectory point is not added to the coordinate trajectory, thus obtaining the updated coordinate trajectory.
5. The millimeter-wave radar direction gesture recognition method according to claim 1, characterized in that, The method of identifying directional gesture categories based on the coordinate geometric feature set includes: The coordinate geometric feature group, the basic temporal feature group, and the cross-channel consistency feature group are adjusted respectively using the physical quality state that is of the same origin as the frame quality state to generate a quality co-explicit mapping vector; Based on the aforementioned quality-cooperative explicit mapping vector, a kernel classifier is used in the mapped feature space to output the directional gesture category.
6. The millimeter-wave radar direction and gesture recognition method according to claim 1, characterized in that, Determining the echo reliability of the gesture segment includes: Determine the echo intensity information after compensation based on the distance information of the gesture segment; The echo confidence level is constructed based on the compensated echo intensity information.
7. The millimeter-wave radar direction gesture recognition method according to claim 1, characterized in that, The method further includes: If the candidate block reaches the target length or the consecutive invalid frames meet the closure condition, the candidate block is closed.
8. The millimeter-wave radar direction gesture recognition method according to claim 1, characterized in that, The gesture segments include compound gesture segments or independent gesture segments.
9. A millimeter-wave radar-based directional gesture recognition system, characterized in that, include: The radar feature acquisition module is used to acquire the continuous physical time series of the millimeter-wave radar. The continuous physical time series includes range information, velocity information, angle information and echo intensity information, and each frame of the continuous physical time series saves at least the missing channel marker and the valid state. The candidate block management module is used to mark valid frames or invalid frames according to the valid status, create candidate blocks when the consecutive valid frames in the continuous physical time series meet the establishment conditions, and construct candidate pairs for two candidate blocks that are temporally adjacent and whose gap is within the target comparison range. A cross-gap physical evidence module is used to construct cross-gap physical evidence based on the channel reference scale of the candidate pair, wherein the cross-gap physical evidence includes multiple of the following: gap structure evidence, boundary difference evidence, trend continuation evidence, power recovery evidence, and candidate quality evidence. The candidate pair relationship calibration module is used to concatenate the cross-gap physical evidence with the missing channel marker to obtain the evidence vector of the candidate pair; map the evidence vector to obtain the relationship score corresponding to the candidate pair relationship; and normalize the relationship score to obtain the confidence level. The candidate pair relationship includes the same gesture fragment relationship, the different event relationship, and the insufficient evidence relationship. The candidate pair dynamic relationship gating time-series attention module is used to convert the candidate pair relationship into attention gating values through a gating model based on the confidence level. The candidate block scoring and event management module aggregates the attention gating values to obtain the target confidence score, and extracts gesture fragments based on the target confidence score; A distance compensation and echo confidence module is used to determine the echo confidence of the gesture segment; The joint calibration module is used to determine the velocity symbol calibration amount, velocity scale calibration amount, and relative time delay calibration amount based on the echo confidence level. The frame quality status module is used to determine the frame quality status based on the velocity symbol calibration amount, the velocity scale calibration amount, and the relative delay calibration amount, wherein the frame quality status includes a reliable status, a transitional status, and an unreliable status. The device coordinate trajectory module is used to update the coordinate trajectory of the millimeter-wave radar according to the frame quality status; The grouping feature and sample quality module is used to determine the coordinate geometric feature group of the millimeter-wave radar based on the coordinate trajectory. The kernel classification and parameter storage module is used to identify the directional gesture category based on the coordinate geometric feature group.
