A method, system and device for active intervention of fatigue driving

By collecting driver status data, dynamically determining response task parameters and judging alertness, the problem of lacking intermediate judgment criteria in existing fatigue driving intervention methods is solved, achieving more accurate fatigue driving intervention and reducing driving risks.

CN123169946APending Publication Date: 2026-11-27SUZHOU VOCATIONAL UNIVERSITY (SUZHOU OPEN UNIVERSITY)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611668432.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-27
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing fatigue driving intervention methods lack intermediate criteria for directly measuring the driver's alertness level, which leads to habitual reflex responses being misjudged as intervention effectiveness, resulting in missed or incorrect escalation and increasing driving risks.

Method used

By collecting driver status data, response task parameters are dynamically determined, operation response data is collected, arousal level is judged based on task completion quality, and corresponding escalation intervention instructions are output, including response delay, operation error, and no-response interval components, to distinguish arousal levels.

Benefits of technology

It reduces missed and incorrect upgrades, decreases interference with normal driving and the risk of rear-end collisions, and improves the accuracy of fatigue driving intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169946A_ABST
    Figure CN123169946A_ABST
Patent Text Reader

Abstract

The application discloses a kind of fatigue driving active intervention method, system and equipment, fatigue driving active intervention method, comprising the following steps: collection driver state data, and fatigue characteristic quantity is obtained according to driver state data;When fatigue characteristic quantity meets intervention trigger condition, output response task instruction, response task instruction is used to indicate that driver completes response task in limited response window, and the task parameter of response task is dynamically determined at the moment of output response task instruction;Operation response data of driver to response task instruction is collected, and task completion quality is obtained according to operation response data, and task completion quality includes at least two quality components respectively indicating different fatigue mechanism.Compared with prior art, the beneficial effects of the present application are: leakage upgrade and misupgrade are reduced simultaneously, and it is not necessary to choose between loosening criterion and tightening criterion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of fatigue driving intervention, specifically relating to a method, system, and device for active intervention in fatigue driving. Background Technology

[0002] Active intervention for fatigued driving typically consists of a detection phase and an intervention phase: the detection phase uses facial and posture images collected by onboard cameras and steering and driving trajectory data from the vehicle bus to determine the fatigue level; the intervention phase outputs acoustic, visual, or vibration cues with increasing intensity according to the fatigue level.

[0003] To prevent the prompt from failing to rouse the driver, if no confirmation action from the driver is detected within a preset waiting time after the prompt is issued, it is determined that the driver has lost the ability to respond, thereby triggering the vehicle to automatically decelerate and pull over to the side of the road, or handing over longitudinal control to the driver assistance system.

[0004] However, all the aforementioned solutions share the same criterion for determining the effectiveness of the intervention: whether the driver responds to the prompt is used as the basis for determining whether the intervention has restored the driver's alertness. This criterion presupposes that "the existence of a response" is equivalent to "the level of arousal has been restored." However, in a fatigued state close to microsleep, the driver's habitual reflexes can still perform fixed-location and fixed-form confirmation operations, which are not significantly different from those performed in a conscious state in terms of timing and form. Therefore, the above premise does not hold. Furthermore, existing solutions lack an intermediate criterion that can directly measure the driver's level of arousal and distinguish between "a response completed but insufficient arousal" and "an interruption of consciousness during the response process" after the prompt is output and before the control is upgraded.

[0005] This leads to two types of consequences stemming from the same criterion but in opposite directions: When a habitual reflex response is deemed an effective intervention, the intervention ends, but the driver's actual level of alertness has not recovered, and the necessary deceleration, pulling over, or takeover control is missed, resulting in a missed escalation. Conversely, when escalation conditions are tightened to avoid missed escalations, the driver may delay response simply because their operation does not conform to the system's preset parameters or their attention is briefly diverted by road conditions, causing the vehicle to decelerate or take over unexpectedly, interfering with normal driving and increasing the risk of rear-end collisions, resulting in a false escalation. Relaxing the criteria increases missed escalations, while tightening them increases false escalations; neither can be improved simultaneously. Summary of the Invention

[0006] The purpose of this invention is to provide a method, system, and device for active intervention in fatigued driving, so as to solve the technical problems mentioned in the background above.

[0007] To achieve the above objectives, this invention provides a method for active intervention in fatigued driving, comprising the following steps: collecting driver state data and obtaining a fatigue characterization quantity based on the driver state data; when the fatigue characterization quantity meets the intervention triggering conditions, outputting a response task instruction, the response task instruction being used to instruct the driver to complete a response task within a limited response window, the task parameters of the response task being dynamically determined at the moment the response task instruction is output; collecting the driver's operational response data to the response task instruction and obtaining a task completion quality based on the operational response data, the task completion quality including at least two quality components that respectively characterize different fatigue mechanisms; obtaining an arousal level determination result based on the task completion quality, the arousal level determination result being one of a first state, a second state, and a third state, the first state being a state where the response task has been completed but the arousal level is insufficient, the second state being a state where the response task has not been completed and there is a no-response interval within the limited response window, the third state being a state where the response task has been completed and the arousal level meets preset requirements, the no-response interval being a time interval during which operational response data has not been collected; when the arousal level determination result is the first state or the second state, outputting an escalation intervention instruction, and when the arousal level determination result is the third state, ending the current intervention.

[0008] In one or more embodiments of the present invention, obtaining the fatigue characterization quantity based on driver state data includes: establishing an individual baseline for the driver based on the driver state data collected within a preset time period after the start of the current driving; calculating the deviation of the currently collected driver state data from the individual baseline; and obtaining the fatigue characterization quantity based on the deviation.

[0009] In one or more embodiments of the present invention, the step of outputting a response task instruction when the fatigue characterization quantity meets the intervention triggering condition includes: estimating the changing trend parameter of the fatigue characterization quantity based on the time series of the fatigue characterization quantity; predicting the remaining time required for the fatigue characterization quantity to reach a preset risk threshold based on the changing trend parameter; and determining that the intervention triggering condition is met when the remaining time is less than a preset lead time and greater than zero, and outputting the response task instruction.

[0010] In one or more embodiments of the present invention, the task parameters include task difficulty parameters and task duration parameters. The output of the response task instruction includes: determining the task difficulty parameter based on the fatigue characterization quantity, wherein the higher the fatigue characterization quantity represents, the greater the task difficulty parameter, and the task difficulty parameter is not greater than the upper limit of difficulty corresponding to the fatigue characterization quantity, wherein the upper limit of difficulty is the difficulty value corresponding to ensuring that the task completion rate of a driver in a conscious state is not lower than a preset completion rate threshold; determining the task duration parameter based on the remaining time, such that the task duration parameter is not greater than the product of the remaining time and a preset time ratio; and generating and outputting the response task instruction according to the determined task difficulty parameter and task duration parameter.

[0011] In one or more embodiments of the present invention, the at least two quality components include a response delay component, an operation error component, and a no-response interval component; the response delay component characterizes the timing offset of the operation response data relative to the output time of the response task instruction; the operation error component characterizes the degree of inconsistency between the operation response data and the target operation sequence required by the response task instruction, the degree of inconsistency including the number of erroneous operations and the number of corrections for erroneous operations; the no-response interval component characterizes the duration of the no-response interval within a defined response window.

[0012] In one or more embodiments of the present invention, the no-response interval component is obtained as follows: within a defined response window, time segments in which no operation response data is continuously collected are detected as candidate no-response segments; vehicle control data within the candidate no-response segments is collected, the vehicle control data representing the control operations performed by the driver on the vehicle within the candidate no-response segments; when the vehicle control data within the candidate no-response segments meets a preset control activity condition, the candidate no-response segments are determined as attention-occupied intervals, and the attention-occupied intervals are not included in the no-response interval, the preset control activity condition representing that the driver actively controls the vehicle within the candidate no-response segments; when the vehicle control data within the candidate no-response segments does not meet the preset control activity condition, the candidate no-response segments are determined as no-response intervals, and the duration of the no-response intervals is included in the no-response interval component.

[0013] In one or more embodiments of the present invention, obtaining the alertness determination result based on the task completion quality includes: determining the alertness determination result as a second state when the no-response interval component is greater than a preset no-response threshold; determining the alertness determination result as a first state when the no-response interval component is not greater than the preset no-response threshold, and at least one of the response delay component and the operation error component exceeds the corresponding preset quality threshold; determining the alertness determination result as a third state when the no-response interval component is not greater than the preset no-response threshold, and neither the response delay component nor the operation error component exceeds the corresponding preset quality threshold; the step of outputting an upgraded intervention command when the alertness determination result is in the first state or the second state, and ending the current intervention when the alertness determination result is in the third state, includes: outputting the upgraded intervention command for causing the vehicle to perform deceleration and parking control when the second state is determined; outputting an upgraded intervention command for increasing the task difficulty of the response task when the first state is determined, and outputting an upgraded intervention command for causing the vehicle to enter a driving assistance takeover state when the response task command re-output according to the increased task difficulty is still determined as the first state.

[0014] In one or more embodiments of the present invention, the step of outputting an upgrade intervention command to increase the task difficulty of the response task when the first state is determined includes: when the first state is determined, determining the task difficulty increase method as follows: when the response delay component exceeds the corresponding preset quality threshold, shortening the output time interval between two adjacent target operations in the target operation sequence is determined as the increase method; when the operation error component exceeds the corresponding preset quality threshold, increasing the number of target operations in the target operation sequence is determined as the increase method; when both the response delay component and the operation error component exceed the corresponding preset quality threshold, simultaneously shortening the output time interval and increasing the number of target operations is determined as the increase method; increasing the task difficulty according to the determined increase method, and ensuring that the difference between the increased task difficulty and the unincreased task difficulty is not greater than a preset amplitude step, wherein the task difficulty is characterized by the operation rate required by the response task, and the operation rate is the number of target operations required for the driver to complete per unit time; re-outputting the response task command under the increased task difficulty, and when the number of times the response task command is re-outputted reaches a preset number of retests and the arousal determination result is still in the first state, outputting an upgrade intervention command to put the vehicle into a driver assistance takeover state.

[0015] Furthermore, this invention also provides a fatigue driving active intervention system, including a state perception module, a response task generation module, a response acquisition module, an alertness determination module, and an intervention execution module. The state perception module is used to collect driver state data and obtain a fatigue characterization value based on the driver state data. The response task generation module is used to output a response task instruction when the fatigue characterization value meets the intervention triggering condition. The response task instruction instructs the driver to complete the response task within a limited response window, and the task parameters of the response task are dynamically determined at the time the response task instruction is output. The response acquisition module is used to collect the driver's operation response data in response to the response task instruction. The alertness determination module is used to obtain the task completion quality based on the operation response data. The arousal level is determined based on the task completion quality, which includes at least two quality components representing different fatigue mechanisms. The arousal level determination result is one of a first state, a second state, and a third state. The first state is when the response task is completed but the arousal level is insufficient. The second state is when the response task is not completed and there is a no-response interval within the limited response window. The third state is when the response task is completed and the arousal level meets the preset requirements. The no-response interval is the time interval during which no operation response data is continuously collected. The intervention execution module is used to output an upgrade intervention command when the arousal level determination result is the first state or the second state, and to end the current intervention when the arousal level determination result is the third state.

[0016] In addition, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a method for active intervention in fatigue driving.

[0017] Compared with the prior art, the beneficial effects of the present invention are: the task parameters of the response task are dynamically determined at the time of outputting the response task instruction and are different each time. The driver cannot establish a fixed action pattern in advance, and habitual reflexes are insufficient to complete the response task within the limited response window. Thus, the obtained operation response data can reflect not only whether the driver responds, but also his level of arousal, and it is no longer necessary to use whether or not a response is made as the criterion for the intervention to be effective.

[0018] The quality of task completion consists of response delay, operational error, and no-response interval components, which can distinguish between a completed response but insufficient arousal and a loss of consciousness during the response process, and reduce the situation where deceleration, sidelining, or takeover control that should have been performed is missed.

[0019] The attention-occupied interval is eliminated based on whether the vehicle control data in the candidate unresponsive segment meets the preset control activity conditions. This prevents drivers whose operation does not conform to the system preset or whose attention is temporarily occupied by road conditions and whose response is delayed from the above reasons from being judged as the second state. The situation of the vehicle decelerating or taking over unexpectedly is reduced, and the interference with normal driving and the risk of rear-end collisions are reduced accordingly.

[0020] As a result, both false escalation and false escalation are reduced, eliminating the need to choose between relaxing and tightening the criteria. Attached Figure Description

[0021] Figure 1 This is a flowchart of an active intervention method for fatigued driving according to an embodiment of the present invention;

[0022] Figure 2 This is a detailed flowchart of the intervention trigger condition determination and task parameter determination in one embodiment of the present invention;

[0023] Figure 3 This is a detailed flowchart of the process for obtaining the non-response interval component in one embodiment of the present invention;

[0024] Figure 4 This is a schematic diagram illustrating the mapping between arousal level determination and escalation intervention instructions in one embodiment of the present invention;

[0025] Figure 5 This is a detailed flowchart of the process for increasing task difficulty and retesting in one embodiment of the present invention;

[0026] Figure 6 This is a block diagram of a fatigue driving active intervention system according to an embodiment of the present invention;

[0027] Figure 7 This is a data flow diagram of an active intervention system for fatigued driving according to an embodiment of the present invention;

[0028] Figure 8 This is a structural block diagram of an electronic device according to an embodiment of the present invention;

[0029] Figure 9 This is a schematic diagram illustrating the response task and its operation in one embodiment of the present invention.

[0030] Explanation of key figure labels:

[0031] 1. Status Perception Module; 101. Vehicle Camera; 102. Vehicle Bus Interface; 2. Response Task Generation Module; 201. Vehicle Display Device; 202. Vehicle Acoustic Device; 3. Response Acquisition Module; 301. Vehicle Touch Input Device; 302. Steering Wheel Buttons; 303. Toggle Stalk; 304. Pedal Position Sensor; 4. Arousal Level Determination Module; 5. Intervention Execution Module; 501. Vehicle Longitudinal Control Interface; 503. Driver Assistance System Takeover Interface; 6. Vehicle Processor; 12. Electronic Devices; 1201. Memory; 1202. Bus; 1203. Input / Output Interface. Detailed Implementation

[0032] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings, but it should be understood that the scope of protection of the present invention is not limited to the specific embodiments.

[0033] like Figure 1 As shown, this embodiment provides a method for active intervention in fatigued driving, which is executed in a vehicle. The hardware it relies on includes an on-board camera 101, a vehicle bus interface 102, an on-board processor 6, an on-board display device 201 and an on-board acoustic device 202 included in the response task generation module 2, an operation acquisition device included in the response acquisition module 3, and a vehicle longitudinal control interface 501 and a vehicle lateral control interface included in the intervention execution module 5.

[0034] The active intervention method for fatigued driving includes steps S1 to S8: Step S1 obtains a fatigue characterization quantity from driver state data; Step S2 outputs a response task instruction when the fatigue characterization quantity meets the intervention triggering condition; Step S3 collects the driver's operational response data to the response task instruction; Step S4 obtains the task completion quality, including response delay component, operational error component, and no-response interval component, from the operational response data; Step S5 obtains the arousal level determination result of the first state, second state, or third state from the task completion quality; Step S6 outputs an upgraded intervention instruction or terminates the current intervention according to the arousal level determination result; Step S7 corrects the preset advance amount according to the arousal level determination result and makes it available for the next trigger determination; Step S8 generates an intervention record for this intervention based on the arousal level determination result and the task completion quality, and determines whether the individual baseline is updated or locked.

[0035] In this process, steps S7 and S8 take the arousal level determination result as input, and their outputs are respectively fed back to the trigger determination in step S2 and the fatigue characterization calculation in step S1.

[0036] In step S1, driver status data is collected, and fatigue characterization is obtained from the driver status data. An onboard camera 101 is positioned above the steering wheel or dashboard, with its optical axis pointing towards the driver's head. It collects images of the driver's face and posture at a frame rate of 25 to 60 frames per second, with a resolution of 640×480 pixels or higher. The vehicle bus interface 102 connects to the vehicle's controller area network and reads steering and driving trajectory data, such as steering wheel angle, vehicle speed, yaw rate, and lateral position within the lane, at a message cycle of 10 to 20 milliseconds. The facial and posture images collected by the onboard camera 101 and the steering and driving trajectory data read by the vehicle bus interface 102 together constitute the driver status data. The collection of these two sets of data continues continuously from vehicle ignition, and their collection and processing are independent of the limited response window of the response task, thus covering the entire driving process.

[0037] In addition, the vehicle-mounted camera 101 uses a near-infrared camera, which allows the eyelid area to still be imaged when the driver is wearing sunglasses. An infrared supplementary light unit is provided on one side of the vehicle-mounted camera 101. The infrared supplementary light unit is turned on when the ambient light is lower than the preset light threshold and illuminates the driver's face along the optical axis, so that the imaging signal-to-noise ratio at night and in the tunnel is kept within the usable range, thereby reducing the failure of eyelid feature extraction caused by fluctuations in imaging quality.

[0038] After the driver's status data is normalized and time-aligned by the onboard processor 6, six representative quantities are obtained according to the preset set of representative quantities, which are as follows: the percentage of time during which the eyelid closure exceeds a preset proportion per unit time, in percentage; the number of blinks per unit time, in times per minute; the number of yawns per unit time, in times per minute; the low-frequency drift of the head pitch angle, in degrees; the steering wheel angle entropy, dimensionless; and the lateral position drift within the lane, in meters.

[0039] Among them, eyelid closure degree is obtained by the ratio of the pixel distance between the upper and lower eyelids in the facial image to the pixel distance when the eyelids are fully open. The proportion of time when the eyelid closure degree exceeds the preset ratio is obtained by the frame-by-frame judgment results within a preset statistical time period (30 to 60 seconds). The head pitch angle is calculated by solving the relative position of the two eye midpoints and the tip of the nose in the image coordinate system in the facial image. The steering wheel angle entropy is obtained by the Shannon entropy of the probability distribution of the steering wheel angle read by the vehicle bus interface 102 within the preset statistical time period after dividing it into angle intervals. The above six characterization quantities come from two sources: facial and posture images and steering and driving trajectory data, and their physical causes are different.

[0040] The process of obtaining fatigue characteristics from driver status data uses the driver's own alertness as a reference. An individual baseline is established using driver status data collected within a preset timeframe after the start of the current drive. This preset timeframe ranges from 3 to 10 minutes, preferably 5 minutes. The rationale for this timeframe is that the driver is typically not yet fatigued in the first few minutes after the start of the drive, and the data during this period reflects their alertness; furthermore, this timeframe is sufficient to ensure that the mean and standard deviation of each characteristic measure reach statistical stability within the baseline timeframe. The individual baseline consists of the baseline values ​​of each of the six characteristics measure and the standard deviation of each characteristic measure within the baseline timeframe. The deviation of the currently collected driver status data from the individual baseline is calculated, and the standardized deviation of each characteristic measure is obtained through standardization.

[0041]

[0042] in, For the first The standardized deviation of a characteristic quantity is dimensionless. The first result obtained from the currently collected driver status data The current value of each representation quantity; For the first The mean of a characteristic quantity during the individual's baseline period, i.e., the baseline value of that characteristic quantity; For the first The standard deviation of each characteristic measure within the individual baseline time period; The values ​​1 to 6 correspond to the percentage of time the eyelid closure exceeds a preset proportion, the number of blinks, the number of yawns, the low-frequency drift of the head pitch angle, the steering wheel angle entropy, and the drift of the lateral position within the lane, respectively. Fatigue characterization parameters are the weighted sum of each standardized deviation.

[0043]

[0044] in, It is a dimensionless quantity that characterizes fatigue. For the first The weights of the six characterization quantities are dimensionless and are assigned according to the indicative strength of the characterization quantity for fatigue. The sum of the six weights is 1. The higher the value, the higher the driver's current level of fatigue.

[0045] In one implementation, the weights of each representation can also be obtained by training a machine learning model with data, instead of having to specify them manually one by one: using sample data containing each representation as model input, using fatigue level labels corresponding to the samples as supervision signals, training a neural network model, taking the connection weights corresponding to each representation in the model and normalizing them so that the sum of each weight is 1, and using this as the weight of each representation.

[0046] In another implementation, a gradient boosting tree model or a support vector regression model can be used. The importance of each representation in the model is taken and normalized before being used as weights. The weights obtained in this way also satisfy the relationship that the higher the indication strength of the representation, the greater the weight.

[0047] The combined effect of individual baseline and standardized deviation is that the criterion for judging fatigue characteristics is the driver's own state of alertness, rather than a pre-set population statistical threshold. If the absolute value of the characteristic is directly compared with the population statistical threshold, drivers with naturally smaller eyelid openings will be judged as fatigued even when awake, while drivers with naturally larger eyelid openings will still be judged as awake even when actually fatigued. Both types of misjudgments stem from individual differences.

[0048] By using relative deviation, the two types of misjudgments mentioned above are reduced, thus making the fatigue characterization quantities comparable among different drivers and reducing the intervention timing bias caused by individual differences. Preferably, when it is not possible to establish an individual baseline, such as when the driver is already fatigued when getting into the vehicle, or when the data collection conditions at the start of the driving session do not meet the requirements, an individual baseline can be omitted, and the percentage of time during which the eyelid closure exceeds a preset proportion can be directly used as the fatigue characterization quantity. This alternative method has less computation and starts up faster, but at the cost of using a group statistical value as the judgment benchmark, and the bias caused by individual differences is greater than that of the previous method. The fatigue characterization quantities obtained by both methods are quantities that characterize the degree of fatigue obtained from driver state data, and the subsequent steps S2 to S8 use the same method for obtaining the fatigue characterization quantities.

[0049] In step S2, when the fatigue characterization quantity meets the intervention triggering condition, a response task instruction is output. The processing flow of this step is as follows: Figure 2 As shown. The onboard processor 6 retrieves fatigue characterization data according to a preset judgment period, which ranges from 100 milliseconds to 500 milliseconds. To allow sufficient time for completing the response task and executing escalation control before the driver enters a fatigue risk state, the triggering criterion is not whether the fatigue characterization data has reached the preset risk threshold, but rather by extrapolating the remaining time required for the fatigue characterization data to reach the preset risk threshold from its time series. The changing trend parameter of the fatigue characterization data is estimated based on its time series, and the time series of the fatigue characterization data within the most recent preset estimation window is used for least-squares quadratic fitting.

[0050]

[0051] in, This refers to the time taken to look back from the current moment, expressed in seconds. The value of the fitted curve at the current moment is dimensionless; The coefficient of the first-order term of the fitted curve represents the rate of change of the fatigue characteristic quantity with time, in units of one second. The coefficient of the quadratic term of the fitted curve represents the acceleration of the change of the fatigue characteristic quantity with time, and the unit is per square second; the preset estimation window is taken from the most recent 60 seconds to 180 seconds, preferably 120 seconds. and This is also considered as a parameter of the changing trend. By linearly extrapolating the current fatigue characteristic value and the current rate of change, the remaining time required for the fatigue characteristic value to reach the preset risk threshold is obtained:

[0052]

[0053] in, The remaining time is in seconds. This is the current fatigue characteristic quantity, which is dimensionless; The preset risk threshold, i.e. the fatigue characteristic value corresponding to the driver entering severe fatigue, is dimensionless and is set to 1.0; The rate of change is expressed in seconds. If the remaining time is not greater than zero, the remaining time is considered infinite, and the intervention trigger condition is not met. If the remaining time is less than the preset lead time but greater than zero, the intervention trigger condition is met, and a response task instruction is output; if the remaining time is not less than the preset lead time, the intervention trigger condition is not met, and no response task instruction is output.

[0054] In addition, to improve the extrapolation accuracy, the moment when the first risk threshold is reached can be calculated according to the fitted curve, and the difference between that moment and the current moment can be used as the remaining time. At this time, the changing acceleration a2 participates in the calculation. During the period when the fatigue process accelerates, the remaining time obtained by the fitted curve is more conservative than the result of linear extrapolation. The cost is that the dispersion of the extrapolation result increases when the quadratic term coefficient is not accurately estimated.

[0055] The preset lead time is determined based on the time margin required from the output of the response task instruction to the completion of the upgraded intervention instruction. This margin includes the duration of the limited response window, the processing time required for alertness determination and instruction generation, and the travel time required for the vehicle to perform deceleration and sidewalk control.

[0056] The preset advance time is calculated by multiplying the sum of the three time segments mentioned above by a preset safety factor, which is between 1.2 and 1.5. In one embodiment, the response window duration is set to 5 seconds, the processing time required for alertness determination and command generation is set to 0.2 seconds, the driving time required for the vehicle to perform deceleration and pull over to the side of the road is set to 5 seconds, the preset safety factor is set to 1.4, and the preset advance time is set to 14.3 seconds.

[0057] The reasons for the values ​​of the above-mentioned durations and safety factors are as follows: the duration of the response window is set to 5 seconds, which is compatible with the length of the target operation sequence and the time interval of the target presentation, allowing the driver to complete the sequence operation without taking their eyes off the road for an extended period; the processing time required for alertness determination and command generation is set to 0.2 seconds, which is compatible with the preset determination period of 100 milliseconds to 500 milliseconds, covering the computational overhead of one alertness determination and command generation; the travel time required for the vehicle to perform deceleration and sidewalk control is set to 5 seconds, estimated based on common driving speeds and a preset deceleration of 2.0 m / s² to 3.0 m / s²; the preset safety factor is set to 1.2 to 1.5 to cover the estimation errors and link jitter of the above three durations. The above values ​​are specific values ​​for this embodiment and can be adaptively adjusted according to vehicle type and usage scenario.

[0058] The purpose of comparing the remaining time with the preset lead time, rather than using whether the fatigue level has reached the preset risk threshold as the triggering basis, is that if the response task is issued only when the fatigue level has already reached the preset risk threshold, there is no time left before the driver enters a micro-sleep state. Even if the second state is immediately determined, the vehicle will not have enough time to complete the deceleration and steering actions required to slow down and pull over. Issuing the response task when there is still enough time ensures that the measurement and escalation control of the arousal level can be completed before the risk window is reached.

[0059] Task parameters include task difficulty and task duration, both of which are determined at the moment the task command is output. The task difficulty parameter is determined based on fatigue characteristics; the higher the fatigue level indicated by the fatigue characteristics, the greater the task difficulty parameter. The purpose of this correspondence is not to make the task too difficult for the driver, but rather to ensure that habitual reflexes are insufficient to complete the task within the defined response window: the higher the fatigue level, the more significant the decline in arousal level. If the task is still issued at a lower difficulty level, habitual reflexes can complete it, and the operational response data will not reflect the true state of arousal level. By increasing the difficulty, the task can only be completed by the current level of consciousness, and the operational response data thus becomes an effective measurement input of arousal level.

[0060] To ensure that drivers in a conscious state can complete tasks and reduce erroneous escalation due to excessively difficult tasks, the task difficulty parameter should not exceed the upper limit of difficulty corresponding to the fatigue index. The upper limit of difficulty is the difficulty value corresponding to the task completion rate of drivers in a conscious state not being lower than the preset completion rate threshold, which is set between 0.9 and 0.99.

[0061] In one implementation, a calibration data table is used to establish a correspondence between fatigue characteristics and upper limits of difficulty. The calibration method involves taking a value for each fatigue characteristic and selecting the difficulty value that results in a conscious driver achieving a task completion rate at a preset completion rate threshold. This value is then used as the upper limit of difficulty corresponding to that fatigue characteristic. Therefore, the upper limit of difficulty increases with the increase in fatigue characteristics, while each difficulty value corresponds to a lower limit of the completion rate achievable by a conscious driver. Increasing the task difficulty parameter will not prevent a conscious driver from completing the task.

[0062] Table 1 is an exemplary calibration data table, recording the correspondence between fatigue characterization quantities and the upper limit of difficulty. The upper limit of difficulty is based on the operating speed required to answer the task. The values ​​in Table 1 are only examples; the actual values ​​are calibrated according to vehicle type and population. Adjacent fatigue characterization quantity values ​​are interpolated to obtain the corresponding upper limit of difficulty.

[0063] Fatigue characterization quantity Difficulty cap (operation rate, times per second) 0.6 1.0 0.7 1.2 0.8 1.4 0.9 1.6 1.0 1.8

[0064] In one implementation, the task difficulty parameter consists of two components: the length of the target operation sequence, i.e., the number of target operations the driver must complete, ranging from 2 to 8; and the random distribution range of the target positions, i.e., the range of the set of positions where the target can appear within a preset display area, characterized by the proportion of the preset display area covered by this set of positions, ranging from 50% to 90%. In another implementation, the task difficulty parameter consists of the target presentation time interval and the target recognizability: the target presentation time interval is the interval between the presentation of two adjacent targets, ranging from 0.6 seconds to 1.5 seconds; the target recognizability is characterized by the contrast between the target and the background, ranging from 0.3 to 0.9. Both implementations ensure that the task difficulty parameter is determined only at the moment of outputting the response task instruction and is different between two interventions. The task duration parameter is determined based on the remaining time, ensuring that the task duration parameter is not greater than the product of the remaining time and the preset time ratio, i.e., satisfying the condition... .

[0065] in, This is the task duration parameter, in seconds; The remaining time is in seconds. The preset time ratio is dimensionless and ranges from 0.3 to 0.6. The remaining time not occupied by the response task is reserved for the arousal level determination and the execution of the escalation intervention command. The response task command is generated and output according to the determined task difficulty parameters and task duration parameters: the vehicle display device 201 presents the targets sequentially according to the task difficulty parameters in the preset display area, and the vehicle acoustic device 202 outputs a prompt tone at the same time as each target is presented. The response window is limited to the time of output of the response task command, and its duration is equal to the task duration parameter.

[0066] Task parameters are determined at the moment the task instruction is output, and their function is to disrupt the predictability upon which habitual reflexes depend. The formation of habitual reflex responses presupposes that the form and location of the stimulus can be familiarized in advance and repeatedly executed. For confirmation operations with fixed locations and forms, drivers in a state of moderate to severe fatigue can complete them through habitual reflexes, and their operations are not significantly different from those in a conscious state in terms of timing and form. Since task parameters are only determined at the moment the task instruction is output and are different each time, drivers cannot establish fixed action patterns in advance. Their operational responses can only be driven by their current level of consciousness, thus making operational response data an effective measurement input for arousal levels.

[0067] It should be noted that the response task in this scheme is not a calibration test accepted by the driver before driving or while parked. Its task parameters are issued in real time during driving by intervention triggering conditions. This scheme does not rely on the driver knowing the form of the task in advance. The unpredictability of the task parameters is a necessary condition for the response task to play its measurement role.

[0068] When the computing power of the onboard processor 6 is limited, trend extrapolation can be skipped, and intervention triggering conditions can be directly determined and response task instructions can be output when the fatigue characterization exceeds the preset fatigue threshold. This method has simpler logic and lower computational overhead, but the cost is that the intervention time is later than the method of extrapolating based on the remaining time, leaving less time margin for deceleration and pulling over.

[0069] In step S3, the driver's operational response data to the response task command is collected. The display and operation method of the response task are as follows: Figure 9 As shown. The vehicle-mounted display device 201 presents the target sequentially according to the task parameters within a preset display area. The preset display area is located on the dashboard or in the head-up display unit, with an area ranging from 150 square centimeters to 400 square centimeters, allowing the driver to identify the target within their peripheral vision while looking at the road ahead, without having to shift their gaze for an extended period. The vehicle-mounted touch input device 301 in the response acquisition module 3 is located on the steering wheel or center armrest, and the driver operates the target by clicking on the touch surface. The steering wheel buttons 302 are located on the spokes of the steering wheel, the lever 303 is located on the steering column, and the pedal position sensor 304 is located at the accelerator pedal and brake pedal. The driver can also press the steering wheel buttons 302, move the lever 303, or depress the accelerator pedal in the direction indicated by the prompt sound, and the pedal position sensor 304 collects the pedal position signal. The operation response data includes the time when each target is presented, the time when the driver responds to or does not respond to each target, the type of response, and the target corresponding to the response. The operation response data and the output time of the response task instruction are overlaid with the same time base and written into the cache area of ​​the memory 1201 connected to the vehicle processor 6, so that the subsequent calculation of the timing offset is not easily affected by the time base difference of each acquisition device.

[0070] In step S4, the task completion quality is obtained from the operation response data. The task completion quality includes a response delay component, an operation error component, and a no-response interval component. The response delay component represents the temporal offset of the operation response data relative to the output time of the response task instruction. For each target being responded to, the difference between the time the driver responds to the target and the time the target is presented is calculated to obtain a single response delay; the response delay component is the median of all single response delays. The reason for using the median instead of the mean is that the distribution of single response delays has a long tail, and individual abnormal responses can raise the mean; the median provides a more stable representation of the overall trend of psychomotor speed.

[0071] The fatigue mechanism characterized by the response delay component is a decrease in psychomotor speed. Fatigue increases the time consumed by neural conduction and motor planning, which manifests as an overall increase in single response delay.

[0072] In addition, the response delay component can also be taken as the average of all single response delays, or as the proportion of the number of targets whose single response delay exceeds a preset delay threshold to the total number of responded targets; the former requires less computation, while the latter has stronger suppression of long tails, at the cost of discarding specific numerical information of the delay.

[0073] The operational error component characterizes the degree of inconsistency between the operational response data and the target operational sequence required by the response task instruction. This inconsistency includes the number of erroneous operations and the number of corrections required for those erroneous operations. An erroneous operation refers to a misoperation to a non-target action, a response type to a target that does not match the requirement, or a response order that does not conform to the target operational sequence. Corrective operations refer to the additional actions taken by the driver to correct an erroneous operation. The operational error component is obtained using the following formula:

[0074]

[0075] in, The component representing the operational error is dimensionless. This represents the number of erroneous operations, expressed in times. The number of corrections for erroneous operations is given, in units of times. This is the weight of the number of erroneous operations, dimensionless, and set to 1; The weight of the number of corrections is dimensionless and set to 2. The weight of the number of corrections is higher than that of the number of erroneous operations because the extra actions expended to correct errors directly represent the degree of decline in executive function and error suppression ability, and contain more information than the error itself. The fatigue mechanism represented by the operational error component is a decrease in executive function and error suppression ability. Fatigue weakens the error monitoring and suppression functions mediated by the prefrontal cortex, manifested as an increase in operational misordering and corrective actions expended to correct misordering.

[0076] In addition, the operation error component can also be taken as the ratio of the sum of the number of erroneous operations and the number of corrections to the length of the target operation sequence, so that this component is comparable for response tasks of different lengths.

[0077] The no-response interval component represents the duration of the no-response interval within a defined response window. For example... Figure 3 As shown, the no-response interval component is obtained in the following way. Within the limited response window, time segments in which no operation response data is collected are detected as candidate no-response segments. The detection method is to use the start point of the limited response window as the scanning start point and determine whether operation response data is collected time by time. The time segment in which no data is collected is considered as a candidate no-response segment. There may be zero, one, or more candidate no-response segments within the limited response window.

[0078] Vehicle control data is collected within the candidate no-response segment. The vehicle control data represents the control operations performed by the driver on the vehicle within the candidate no-response segment, including at least one of the following: steering wheel angle, accelerator pedal opening, brake pedal opening, and gear position. The steering wheel angle and pedal opening are read by the vehicle bus interface 102, and the gear position is obtained from the gear position message read by the vehicle bus interface 102.

[0079] To distinguish between the two causes of candidate unresponsive segments—disruption of consciousness due to microsleep and delayed response due to brief distraction by road conditions—the presence of vehicle control data within the segment is not used as the criterion; instead, whether the vehicle control data constitutes active control is used. When attention is distracted by road conditions, the driver must continuously correct the vehicle's trajectory to follow or avoid obstacles, resulting in active and frequent changes in the steering wheel angle. The accelerator and brake pedal openings also adjust according to vehicle speed control needs. In this case, the vehicle control data meets the preset active control conditions. During microsleep, although the driver's hands may still be on the steering wheel, the steering wheel angle tends to be constant, with only passive changes caused by road curvature. The vehicle travels along its original trajectory. In this case, although vehicle control data exists, it does not constitute active control and does not meet the preset active control conditions. The preset active control conditions are determined as follows:

[0080]

[0081] in, The manipulation activity within the candidate unresponsive segment is dimensionless. The absolute value of the maximum change in steering wheel angle relative to the start time of the candidate unresponsive segment, in degrees; The preset turning angle change threshold is in degrees, ranging from 3 to 8 degrees; The number of times the steering wheel angle changes within a candidate unresponsive segment, i.e., the number of times the angle change exceeds the preset minimum change, is expressed in times. The preset threshold for the number of changes is specified in times, ranging from 3 to 6. When the value is not less than 1, the vehicle control data within the candidate unresponsive segment is determined to meet the preset control activity condition. This candidate unresponsive segment is then classified as an attention-occupied interval and is not included in the unresponsive interval. When the value is less than 1, the vehicle control data within the candidate unresponsive segment is determined to not meet the preset control activity condition. This candidate unresponsive segment is then classified as an unresponsive interval, and its duration is included in the unresponsive interval component. The unresponsive interval component is obtained by summing the durations of each unresponsive interval.

[0082]

[0083] in, For the no-response interval component, the unit is seconds; For the first The duration of each candidate unresponsive segment that is determined to be an unresponsive interval, in seconds; The value ranges from 1 to the number of candidate unresponsive segments identified as unresponsive intervals. The fatigue mechanism represented by the unresponsive interval component is microsleep, which is a continuous interruption of consciousness. Within this interval, no operational response data can be collected. Therefore, the value of this component independently reflects the loss of consciousness continuity, separate from the other two components.

[0084] Using preset control activity conditions, rather than the presence or absence of vehicle control data, as the discrimination criterion is particularly effective in the early stages of microsleep: at this time, the driver is no longer responsive to tasks, but residual signals of vehicle control may still exist, such as a constant steering wheel angle or the vehicle following its original trajectory; if the segment is eliminated simply because control data exists, the unresponsive interval component will be too small, and the second state will be missed; using control activity... Subsequently, the residual signal is included in the non-response interval because it does not constitute active control, and the basis for determining the second state changes from the form of response behavior to the mechanism of fatigue.

[0085] Preferably, the preset control activity condition is set in stages according to the duration of candidate unresponsive segments, so as to take into account two opposite types of distortion: when the duration of candidate unresponsive segments is not greater than the first duration threshold, a more lenient preset control activity condition is adopted, that is, a larger one is selected. With smaller The first duration threshold is set between 1.0 and 2.0 seconds. The reasoning is that short segments are often caused by brief periods of attention being diverted due to road conditions. If this attention diversion is mistakenly identified as a non-responsive segment and triggers deceleration and a pullover, the consequences would be more severe. When the duration of a candidate non-responsive segment exceeds the first duration threshold but is not greater than the duration of the limited response window, a stricter preset control activity condition is applied, i.e., a smaller value is used. With larger The reason is that the probability of microsleep increases in long segments. If the unresponsive interval is misjudged as the attention-occupied interval, the second state will be missed.

[0086] Preferably, when vehicle control data is missing or fails to be collected within a candidate unresponsive segment, the candidate unresponsive segment is not classified as an attention-occupied interval, but rather as an unresponsive interval and included in the unresponsive interval component, thereby reducing the possibility of missed detection of the second state due to data loss. The above-mentioned hierarchical setting and data loss handling rules are optional implementation methods in this embodiment.

[0087] The differences between vehicle control data, driver status data, and operation response data are as follows: Driver status data is used to obtain fatigue characterization parameters; its acquisition and processing are independent of the defined response window of the response task and cover the entire driving process. Operation response data represents the driver's actions in response to response task instructions, generated only within the defined response window, and used to obtain task completion quality. Vehicle control data characterizes the driver's control operations on the vehicle during candidate no-response segments; it is only used within these segments and is only used to determine whether a candidate no-response segment belongs to the attention-occupied region. It does not participate in the calculation of fatigue characterization parameters, nor in the calculation of response delay components and operation error components. Even though all three originate from the vehicle bus, they differ in purpose, time range, and data stream location.

[0088] The three mass components mentioned above correspond to three mechanisms: decreased psychomotor speed, decreased executive function and error inhibition, and microsleep. These three mechanisms are not equivalent in their physical causes: the response delay component does not imply the operational error component, nor does it imply the non-response interval component; any two of the three components do not imply the third. Therefore, the mass vector composed of these three mass components carries more information than the binary criterion of whether or not to respond, and the arousal level determination no longer depends on the performance of a single dimension.

[0089] In step S5, the arousal level is determined based on the quality of task completion. The determination process for this step is as follows: Figure 4As shown. The arousal level determination result is obtained through a three-level bifurcation: the first level bifurcation compares the no-response interval component with a preset no-response threshold; the second level bifurcation compares the response delay component and the operation error component with their respective preset quality thresholds when the no-response interval component is not greater than the preset no-response threshold. When the no-response interval component is greater than the preset no-response threshold, the arousal level determination result is determined to be in the second state, which is the state where the response task is not completed and there is a no-response interval within the limited response window. When the no-response interval component is not greater than the preset no-response threshold, and at least one of the response delay component and the operation error component exceeds the corresponding preset quality threshold, the arousal level determination result is determined to be in the first state, which is the state where the response task is completed but the arousal level is insufficient.

[0090] When the no-response interval component is not greater than the preset no-response threshold, and the response delay component and the operation error component do not exceed the corresponding preset quality threshold, the arousal level is determined to be in the third state. The third state is the state where the response task has been completed and the arousal level meets the preset requirements. The three branches are mutually exclusive and exhaustive, and the arousal level determination result must be one of the first, second, and third states. There are no undefined branches.

[0091] In one implementation, the preset no-response threshold is set to 0, meaning that any period of no response with a duration greater than zero within the defined response window is considered to be in the second state. Preferably, the preset no-response threshold is a small value greater than zero, such as 0.3 seconds to 0.8 seconds. Its purpose is to tolerate inherent jitter in the acquisition and transmission links, preventing millisecond-level data loss from escalating to a false judgment of the second state. The preset quality thresholds include a response delay threshold corresponding to the response delay component and an operation error threshold corresponding to the operation error component, both of which are calibrated separately.

[0092] In one implementation, the response delay threshold is taken as the high quantile of the response delay distribution when a driver in a conscious state completes a similar response task, such as the 95th percentile. The operational error threshold is taken as the high quantile of the error rate distribution when a driver in a conscious state completes a similar response task. The calibrated thresholds are stored in a calibration data table along with the task parameters of the response task. When the task parameters change, the corresponding threshold is used by interpolation. The preset no-response threshold and the preset quality threshold correspond to three mutually exclusive fatigue mechanisms, and their values ​​are independent of each other. The other thresholds cannot be derived from any one of the thresholds.

[0093] In step S6, an escalation intervention command is output when the arousal level determination result is in the first or second state. The intervention ends and no escalation intervention command is output when the arousal level determination result is in the third state. The third state corresponds to the completion of the response task and the arousal level meeting the preset requirements, indicating that the intervention has restored the driver to a state where they can continue driving, and the intervention ends thereafter.

[0094] When the vehicle is determined to be in the second state, an upgraded intervention command is output to enable the vehicle to perform deceleration and pull over to the side of the road. This command is issued via the vehicle longitudinal control interface 501 and the vehicle lateral control interface of the intervention execution module 5: The vehicle longitudinal control interface 501 is connected to the braking system and the drive system. First, the drive system disengages its driving force output, and then the braking system brakes at a preset deceleration rate, which is between 2.0 m / s² and 3.0 m / s², taking into account both braking distance and passenger comfort; The vehicle lateral control interface is connected to the steering system. When the vehicle speed drops to a preset pull-over speed and the lateral distance between the vehicle and the right lane edge is less than a preset pull-over distance, the steering system steers the vehicle to the side of the road. The preset pull-over speed is between 5 km / h and 10 km / h, and the preset pull-over distance is 0.5 m; Simultaneously, the onboard processor 6 illuminates the hazard warning lights located at the rear of the vehicle and the turn signals. The second state indicates a micro-sleep state, which represents a substantial loss of alertness. At this time, the driver no longer has the ability to complete subsequent operations, so deceleration and pulling over to the side of the road are directly executed.

[0095] When the situation is determined to be in the first state, an escalation intervention command is output to increase the difficulty of the response task. For example... Figure 5 As shown, the enhancement method is determined according to the type of quality component exceeding the preset quality threshold. When the response delay component exceeds the corresponding preset quality threshold, shortening the output time interval between two adjacent target operations in the target operation sequence is determined as the enhancement method. The mechanism is that the response delay component exceeding the threshold indicates a decrease in psychomotor speed. At this time, the effective way to apply stronger stimulation is to increase the time pressure of the task. Shortening the output time interval requires the driver to complete the response within a shorter time margin, and the loose timing on which habitual reflexes depend is compressed. Increasing the number of operations has a less direct effect on exposing this functional decline than compressing the time margin. When the operation error component exceeds the corresponding preset quality threshold, increasing the number of target operations in the target operation sequence is determined as the enhancement method. The mechanism is that the operation error component exceeding the threshold indicates a decrease in executive function and error inhibition ability. At this time, the effective way to apply stronger stimulation is to increase the sequence maintenance load of the task. Increasing the number of target operations requires the driver to maintain attention allocation and error monitoring in a longer sequence. When both the response delay component and the operation error component exceed the corresponding preset quality threshold, simultaneously shortening the output time interval and increasing the number of target operations is determined as the enhancement method.

[0096] The purpose of targeted enhancement is to ensure that the stimulus intensity acts on the functional dimension that is actually declining. If the output time interval is shortened and the number of target operations is increased simultaneously for the first state indiscriminately, the stimulus applied when the driver has only a single dimension of functional decline will exceed the necessary intensity, exacerbating the driver's agitation and operational interference, and prolonging the time that occupies their attention during driving.

[0097] When increasing task difficulty according to the determined enhancement method, the operation rate is used as a uniform measure of task difficulty, allowing for comparison of the difficulty increments brought about by different enhancement methods. The operation rate is the number of target operations required for the driver to complete per unit time, obtained as follows:

[0098]

[0099] in, The operation rate is expressed in times per second. The number of target operations in the target operation sequence, expressed in units of individual operations. The output time interval between two adjacent target operations, in seconds; The time required to complete the response task is expressed in seconds. As can be seen from this formula, shortening the output time interval decreases the denominator and increases the operation rate; increasing the number of target operations increases both the numerator and denominator simultaneously, but the numerator increases faster, and the operation rate also increases. Both types of adjustments monotonically increase the operation rate. It should also be noted that task difficulty cannot be measured by a quantity that represents completion time: shortening the output time interval increases task difficulty but shortens completion time; the two are in opposite directions. If completion time is used as a measure, it will be impossible to constrain the magnitude of the increase achieved by shortening the output time interval. Since the operation rate monotonically increases with both types of adjustments, it can be used as a unified measure.

[0100] The task difficulty is increased according to the determined method, ensuring that the difference between the increased and unincreased task difficulty is no greater than a preset step size. The preset step size is represented by the increment of the operation rate, ranging from 10% to 30% of the unincreased operation rate, preferably 20%. Alternatively, the operation rate can be obtained from a pre-stored calibration data table, which records calibrated operation rate values ​​for different combinations of task parameters. Retrieving values ​​from the table using the current task parameters requires less computation, but at the cost of interpolating task parameters outside the scope of the calibration data table.

[0101] When both the upper limit of difficulty and the preset amplitude step size constraint are used simultaneously, the order of application is as follows: first, calculate the increased task difficulty according to the determined increase method; then, subject it to the upper limit of difficulty corresponding to the fatigue characterization quantity, and simultaneously constrain the single change amount by the preset amplitude step size constraint, that is, take the smaller value between the converted value of the upper limit of difficulty and the sum of the task difficulty before the increase and the preset amplitude step size, according to the following formula:

[0102]

[0103] in, To increase the allowable upper limit of the post-operation rate, the unit is times per second; The operation rate is calculated from the upper limit of difficulty corresponding to the current fatigue characterization, and the unit is operations per second; To improve the current operation rate, the unit is times per second; The preset amplitude step size is measured in times per second. The smaller of the two values ​​is chosen to ensure that the upper limit of difficulty constrains the absolute level of difficulty, while the preset amplitude step size constrains the single change in difficulty, and the two sets of constraints do not conflict with each other.

[0104] Under the increased task difficulty, the response task command is re-outputted, and steps S3, S4, and S5 are re-executed to obtain a new arousal level determination result. When the number of times the response task command is re-outputted reaches the preset retest number, and the arousal level determination result is still in the first state, an upgraded intervention command is output to put the vehicle into a driver assistance takeover state. This command is sent to the driver assistance system connected to the intervention execution module 5 via the driver assistance system takeover interface 503, and the driver assistance system takes over the longitudinal and lateral control of the vehicle. The preset retest number is 1 to 3 times.

[0105] The retesting process has three mutually exclusive and exhaustive exits: the intervention ends when the retest transitions to the third state; an upgraded intervention command is output when the retest transitions to the second state to enable the vehicle to perform deceleration and pull over; and an upgraded intervention command is output to enable the vehicle to enter driver assistance takeover mode when the preset number of retests is reached and the vehicle is still in the first state. The purpose of the preset maximum number of retests is to ensure that the first state's handling path ends within a bounded number of retests: without this limit, the retest will repeatedly occupy the driver's attention during driving and will not end indefinitely; with the limit on the number of retests, the driver assistance takeover mode will be entered no later than this number, and the driver will always be under control and can take over at any time during the retest.

[0106] The second state and the first state correspond to two different types of fatigue mechanisms, so their upgrade intensities are different: the second state is related to microsleep, at which point the driver no longer has the ability to complete subsequent operations, so the driver directly performs deceleration and pulls over to the side of the road; the first state is related to a decline in arousal level but not yet interruption of consciousness, at which point the driver still has the ability to respond, so the task difficulty is increased first to apply stronger stimulation and retest, and only when the retest is still in the first state will the driver take over the driving assistance.

[0107] The aforementioned grading applies to two types of distortion in opposite directions. The second state is determined directly by the no-response interval component, not based on whether the form or timing of the response matches the system preset. Therefore, if the driver delays their response solely because their operation method does not conform to the system preset or their attention is briefly diverted by road conditions, they will not be judged as being in the second state, thus reducing unintended deceleration and pulling over. The identification of preset active control conditions in step S4 further provides a mechanistic basis for this reduction, rather than relying on the randomness of threshold settings. The first state is identified separately and given a chance for retesting. Therefore, if the driver completes the response through habitual reflexes without actually recovering their arousal level, they will not be judged as being in the third state and the intervention will end simply because a response exists. This reduces the situation where deceleration and pulling over or takeover control that should have been performed is missed.

[0108] In step S7, the effectiveness of the intervention is determined based on the arousal level assessment result, and the preset lead time is adjusted accordingly. If the arousal level assessment result is in the first or second state, the intervention effectiveness indicates that the intervention is ineffective; if the arousal level assessment result is in the third state, the intervention effectiveness indicates that the intervention is effective. When the intervention effectiveness indicates that the intervention is ineffective, the preset lead time is increased by a preset correction step size, ranging from 0.5 seconds to 2 seconds, and the increased preset lead time is not greater than the upper limit of the preset lead time, which is 20 seconds. When the intervention effectiveness indicates that the intervention is effective, the preset lead time is decreased by a preset correction step size, and the decreased preset lead time is not less than the lower limit of the preset lead time, which is 4 seconds. The increased or decreased preset lead time is used in the next intervention trigger condition assessment.

[0109] An ineffective intervention indicates that the intervention was triggered too late, meaning the driver was already in a state of insufficient alertness or loss of consciousness when the response task was issued. Increasing the preset lead time allows the next intervention to be triggered when there is more remaining time, providing more leeway for the response task and escalation control. An effective intervention indicates that the intervention was triggered too early, meaning the driver's alertness level still meets the preset requirements. Decreasing the preset lead time delays the next intervention, thus reducing the likelihood of premature intervention interfering with normal driving. The upper limit of the preset lead time limits the cumulative increase of the preset lead time when consecutive ineffective interventions occur, reducing the possibility of intervention being triggered when fatigue levels are still low.

[0110] Preferably, the increase or decrease of the preset lead time is based on the statistical results of the intervention effectiveness of a series of consecutive interventions. That is, the preset lead time is only increased when the intervention is deemed ineffective after a preset number of consecutive interventions, in order to suppress fluctuations caused by a single accidental result. In this embodiment, step S7 is not limited to the appended claims, but is disclosed as an optional feedback branch.

[0111] In step S8, an intervention record is generated based on the task completion quality and arousal level assessment results of this intervention. The intervention record includes the trigger time of the intervention, the time of outputting the response task instruction and the determined task parameters, the three quality components of the task completion quality, the arousal level assessment results, the type of the output upgrade intervention instruction, and the number of retests and the upgrade method in the implementation of increasing task difficulty in an enhanced manner. The intervention record is sequentially written to the recording area of ​​memory 1201 for subsequent querying and tracing.

[0112] When the arousal level assessment result is in the third state, the individual baseline is updated using driver state data collected within a preset time period after the end of this intervention, with the preset time period ranging from 1 to 3 minutes. The third state indicates that the intervention has restored the driver's arousal level to meet the preset requirements, and the driver state data during this period reflects their alertness and can be used as the new baseline. After the update, the individual baseline follows the changes in the driver's state during this driving process, such as the drift in alertness level caused by circadian rhythm, cabin temperature, and driving duration.

[0113] When the arousal level assessment result is in state one or state two, the individual baseline is locked to the individual baseline established before this intervention, and updating the individual baseline during this driving process is prohibited. Both state one and state two indicate that the driver is in a fatigued state, and the driver's state data in this state reflects their fatigue level. If the individual baseline is updated with this data, the fatigue state data is absorbed into the baseline, and the individual baseline drifts as fatigue deepens. The deviation calculated subsequently becomes smaller, and the fatigue representation is systematically underestimated, which may lead to a situation where fatigue has significantly deepened but the intervention trigger condition is never met.

[0114] The above processing method ensures that the individual baseline is updated only after the driver is confirmed to be awake. Fatigue state data is not included in the baseline, fatigue characterization remains stable during long-term driving, and systematic missed detections are reduced. This processing works in conjunction with the adaptive triggering timing in step S7; the former stabilizes the value of the fatigue characterization itself, while the latter matches the triggering time with the driver's actual response capability. In this embodiment, step S8 is not limited to the appended claims and is disclosed as an optional feedback branch.

[0115] The following provides the timeline of a complete intervention process, using specific numerical values ​​to illustrate the data flow between each step. Assume a preset lead time of 12 seconds, a preset risk threshold of 1.0, a preset no-response threshold of 0, a preset number of retests of 1, a preset statistical duration of 30 seconds, and a preset time ratio of 0.5.

[0116] At time t0, the vehicle is ignited, and driver status data begins to be collected by the onboard camera 101 and the vehicle bus interface 102. From time t0 to t0 plus 5 minutes, the onboard processor 6 establishes individual baselines using the data from this period, obtaining the baseline values ​​and standard deviations of the six characterization quantities for each baseline period.

[0117] At time t1, the on-board processor 6 obtains a fatigue characterization value of 0.72 from the current driver status data. It performs a second fitting on the time series of the most recent 120 seconds to obtain a change rate of 0.0044 seconds per second. According to the formula for calculating the remaining time, the remaining time is 64 seconds, which is not less than the preset advance amount of 12 seconds. The intervention trigger condition is not met, and no response task instruction is output.

[0118] At time t2, the fatigue characterization value is 0.95, the rate of change is 0.0045 seconds per second, and the remaining time is 11 seconds, which is less than the preset lead time of 12 seconds and greater than zero, thus the intervention trigger condition is met. The response task generation module 2 determines the task parameters: based on the fatigue characterization value of 0.95, the upper limit of difficulty is obtained from the calibration data table; the number of target operations is set to 6; the output time interval between two adjacent target operations is 0.9 seconds; and the random distribution range of the target positions covers 80% of the preset display area. The task duration parameter is determined by the ratio of the remaining time of 11 seconds to the preset time of 0.5, which is no greater than 5.5 seconds; therefore, 5.0 seconds is chosen. The time required to complete the response task is 5 multiplied by 0.9 seconds, which is 4.5 seconds, not greater than the task duration parameter of 5.0 seconds. The determined task parameters are self-consistent. The response task command is output through the vehicle display device 201 and the vehicle acoustic device 202, limiting the response window to a duration of 5.0 seconds from the output time.

[0119] From time t2 to t2+5.0 seconds, response acquisition module 3 collects operation response data. The driver responds to 4 out of 6 targets, with single response delays of 1.6 seconds, 1.9 seconds, 2.2 seconds, and 2.5 seconds respectively. The response type for the second target does not meet the requirements, constituting an erroneous operation, and the driver subsequently performs a corrective operation; the remaining 2 targets are not responded to.

[0120] Time t2 plus 5.0 seconds, the response window ends. Press Figure 3 The process shown detects a candidate unresponsive segment: If no operation response data is continuously collected within the time period after the presentation of the last two targets, a candidate unresponsive segment is detected, lasting 1.4 seconds. Vehicle control data within this segment is collected, revealing a maximum steering wheel angle change of 0.8 degrees and a change frequency of 1. Using the preset angle change threshold of 4 degrees and the preset change frequency threshold of 4, the control activity is calculated as 0.2, which is less than 1 and does not meet the preset control activity condition. Therefore, this candidate unresponsive segment is judged as an unresponsive interval, and its duration of 1.4 seconds is included in the unresponsive interval component.

[0121] Adding 5.0 seconds to time t2, the task completion quality is obtained: the response delay component is the median of the individual response delays, 2.05 seconds, exceeding the response delay threshold of 1.3 seconds; the operation error component is the weighted sum of the number of erroneous operations (1) and the number of corrections (1), 3, exceeding the operation error threshold of 2; the no-response interval component is 1.4 seconds. In the third-level bifurcation determination, the no-response interval component of 1.4 seconds is greater than the preset no-response threshold of 0, therefore the alertness determination result is the second state.

[0122] At time t2 plus 5.1 seconds, the intervention execution module 5 outputs an upgraded intervention command via the vehicle longitudinal control interface 501 and the vehicle lateral control interface to enable the vehicle to decelerate and pull over: the drive system disengages its drive force output, the braking system brakes at 2.5 meters per second squared, and when the vehicle speed drops to 8 kilometers per hour and the lateral distance between the vehicle and the right lane edge is less than 0.5 meters, the steering system steers the vehicle to the roadside, and the hazard warning lights illuminate. Simultaneously, the intervention record is written to the recording area; the individual baseline is locked to the baseline prior to this intervention and cannot be updated during this driving process; the preset lead time, due to the ineffective intervention, is increased from 12 seconds to 14 seconds for use in the next intervention trigger condition determination.

[0123] Another scenario in the above timing sequence is: if the unresponsive interval component obtained by adding 5.0 seconds to time t2 is 0, for example, if the maximum change in steering wheel angle within the candidate unresponsive segment is 6 degrees and the number of changes is 5, then the control activity is 1.5, which is not less than 1, satisfying the preset control activity condition. The candidate unresponsive segment is judged as an attention-occupied interval and is eliminated; while the response delay component still exceeds the response delay threshold, the arousal determination result is the first state.

[0124] Intervention execution module 5 outputs an upgrade intervention instruction to increase the difficulty of the response task: because the response delay component exceeds the threshold, the improvement method is to shorten the output time interval. The operation rate before improvement is the number of target operations (6) divided by the time required to complete the response task (4.5 seconds), which equals 1.33 times per second; with a preset amplitude step size of 20% of the operation rate before improvement, the operation rate after improvement is no greater than 1.6 times per second; after shortening the output time interval from 0.9 seconds to 0.75 seconds, the time required to complete the response task is 3.75 seconds, and the operation rate is 6 divided by 3.75 seconds, which is 1.6 times per second, equal to the upper limit, satisfying the amplitude constraint; the time required to complete the response task (3.75 seconds) is also no greater than the task duration parameter (5.0 seconds), and does not exceed the limited response window.

[0125] The response task instruction is re-output and retested according to the increased task difficulty: if the retest is still in the first state, an upgraded intervention instruction is output to put the vehicle into the driver assistance takeover state, and the driver assistance system takes over the longitudinal and lateral control of the vehicle; if the retest changes to the third state, the intervention ends and the individual baseline is updated with the driver status data collected within the preset time after the retest ends. The preset lead time is reduced from 12 seconds to 11 seconds due to the effective intervention.

[0126] The comparison between the two scenarios above shows that drivers whose attention is briefly diverted by road conditions and whose responses are delayed will not be classified as being in the second state, and the occurrence of unintended deceleration and pulling over will decrease accordingly; drivers who respond through habitual reflexes and whose actual level of arousal is insufficient will not be classified as being in the third state, and intervention will not end when it should have escalated. Therefore, the trade-off between relaxing and tightening the criteria no longer exists, and both missed and false escalations are reduced.

[0127] Table 2 shows the inputs, triggering conditions, and outputs for each step in this embodiment.

[0128] step enter Triggering conditions Output S1 Facial and posture images, steering and driving trajectory data Within the preset time after the start of this driving session Fatigue characterization quantity S2 Time series of fatigue characterization parameters The remaining time is less than the preset lead time and greater than zero. Response task instructions S3 Respond to task instructions and limit the response window The response task instruction has been output. Operation response data S4 Operation response data, vehicle control data within candidate non-response segments The manipulation activity of the candidate unresponsive fragment is less than 1. Task completion quality S5 Response delay component, operation error component, no-response interval component Comparison of no-response interval components with preset no-response thresholds, response delay components, and operation error components with preset quality thresholds. Awakening level assessment results S6 Awakening level assessment results First state or second state Escalate intervention instructions; terminate intervention in the third state. S7 Awakening level assessment results Intervention effective or ineffective Corrected preset lead S8 Task completion quality and arousal level assessment results Third state or non-third state Intervention records; updates or locking of individual baselines

[0129] Compared with the prior art, the beneficial effects of the present invention include at least the following:

[0130] First, the task parameters are dynamically determined and different each time the response task instruction is output. Drivers cannot establish fixed action patterns in advance, so habitual reflexes are insufficient to complete the response task within the limited response window. Thus, in addition to whether a response exists, operational response data that can reflect the level of arousal are obtained, reducing the missed escalation due to habitual reflex responses being judged as intervention effective, and improving the reliability of intervention results.

[0131] Secondly, the quality of task completion consists of response delay, operational error, and no-response interval components. These three components correspond to three non-equivalent mechanisms: decreased psychomotor speed, decreased executive function and error inhibition ability, and microsleep. This allows for the differentiation between completed responses with insufficient arousal and interruptions in consciousness during the response process, which are then mapped to different escalation intervention instructions. As a result, there is no need to make trade-offs between relaxing and tightening the criteria, thus reducing both missed and false escalations and lowering the risk of unintended vehicle control.

[0132] Third, the attention-occupied interval is eliminated based on whether the vehicle control data in the candidate non-response segment meets the preset control activity conditions. This prevents drivers whose attention is briefly occupied by road conditions and whose response is delayed from being judged as the second state, thereby reducing unexpected deceleration and parking, reducing the risk of interference with normal driving, and reducing the disturbance to the driver during driving.

[0133] Fourth, the method of increasing task difficulty is determined by the type of quality component that exceeds the preset quality threshold, and the single increase is constrained by the operation rate. This ensures that the stimulus intensity acts on the functional dimension that actually decays, and the retest path ends within a bounded number of times. This reduces the driver's attention being occupied by retesting while applying less necessary stimulus, and reduces the risk of operational interference caused by repeated retesting.

[0134] Fifth, the preset lead time is adjusted according to the effectiveness of this intervention, and the individual baseline is only updated after the individual is confirmed to be awake, so that the fatigue characterization remains stable during long-term driving, thereby reducing systematic missed detections caused by trigger timing deviation and baseline drift, and improving the stability of fatigue characterization and the reliability of intervention timing.

[0135] Example 2:

[0136] like Figure 6 As shown, this embodiment provides a fatigue driving active intervention system, installed in a vehicle, including a state perception module 1, a response task generation module 2, a response acquisition module 3, an alertness determination module 4, and an intervention execution module 5. The state perception module 1 collects driver state data and obtains a fatigue characterization value based on the driver state data; the response task generation module 2 outputs a response task command when the fatigue characterization value meets the intervention trigger condition; the response acquisition module 3 collects the driver's operational response data to the response task command; the alertness determination module 4 obtains the task completion quality based on the operational response data and obtains an alertness determination result based on the task completion quality; the intervention execution module 5 outputs an escalation intervention command when the alertness determination result is in the first or second state, and terminates the intervention when the alertness determination result is in the third state. The five modules are connected sequentially, with the output of the previous module serving as the input of the next module.

[0137] The state perception module 1 includes an onboard camera 101 and a vehicle bus interface 102, both of which are connected to the onboard processor 6. The onboard camera 101 is positioned above the steering wheel or dashboard, with its optical axis pointing towards the driver's head, and is used to capture images of the driver's face and posture. The vehicle bus interface 102 connects to the vehicle's controller area network and is used to read steering and driving trajectory data such as steering wheel angle, vehicle speed, yaw rate, and lateral position within the lane. The facial and posture images captured by the onboard camera 101 and the steering and driving trajectory data read by the vehicle bus interface 102 together constitute the driver state data output by the state perception module 1. The acquisition process of the state perception module 1 is independent of the limited response window of the response task, and its output covers the entire driving process.

[0138] Preferably, an infrared supplementary light unit is provided on one side of the vehicle-mounted camera 101. The infrared supplementary light unit is turned on when the ambient illuminance is lower than a preset illuminance threshold, in order to maintain the signal-to-noise ratio of facial imaging at night or in tunnels.

[0139] The response task generation module 2 includes an in-vehicle display device 201 and an in-vehicle acoustic device 202, both of which are connected to the in-vehicle processor 6. The in-vehicle display device 201 is located on the dashboard or head-up display unit and is used to present targets sequentially according to task parameters within a preset display area, the area of ​​which is between 150 square centimeters and 400 square centimeters. The in-vehicle acoustic device 202 is used to output a prompt sound at the same time as each target is presented, so that the driver's eyes do not have to take their eyes off the road for an extended period of time.

[0140] The operation of the response task generation module 2 is as follows: the vehicle processor 6 retrieves fatigue characterization data from the state perception module 1 according to a preset judgment cycle. When the fatigue characterization data meets the intervention triggering conditions, the task parameters are determined, and a response task instruction is generated according to the task parameters. This instruction is then output through the vehicle display device 201 and the vehicle acoustic device 202. The task parameters are determined at the moment the response task instruction is output, and they are different between two interventions.

[0141] Preferably, the response task generation module 2 further includes a vibration alert device, which is installed inside the steering wheel or the driver's seat. The vibration alert device is used to output a vibration alert that is synchronized with the alert sound while outputting the response task command, so that the driver can still perceive the response task command even when the cabin noise is high.

[0142] The response acquisition module 3 includes an in-vehicle touch input device 301, steering wheel buttons 302, a lever 303, and a pedal position sensor 304, all of which are connected to the in-vehicle processor 6. The in-vehicle touch input device 301 is located on the steering wheel or center armrest and is used to acquire the driver's click operations on targets within the display area; the steering wheel buttons 302 are located on the spokes of the steering wheel and are used to acquire the driver's button operations in the direction indicated by the prompt sound; the lever 303 is located on the steering column and is used to acquire the driver's lever operations; the pedal position sensor 304 is located at the accelerator pedal and brake pedal and is used to acquire the pedal position signals.

[0143] The operations collected by the aforementioned acquisition components constitute the operation response data output by the response acquisition module 3. The operation response data and the output time of the response task instruction are overlaid with the same time base.

[0144] Preferably, the response acquisition module 3 also includes a vehicle-mounted microphone, which is installed in the ceiling or dashboard to collect the driver's voice response, so that drivers with limited upper limb mobility can also complete the response task.

[0145] The alertness determination module 4 is implemented by the on-board processor 6. Its inputs are the operation response data output by the response acquisition module 3 and the vehicle control data obtained through the vehicle bus interface 102 within the candidate no-response segment. Its outputs are the task completion quality and alertness determination results. The alertness determination module 4 obtains the task completion quality based on three components: response delay component, operation error component, and no-response interval component. Then, it obtains the alertness determination results of the first state, second state, or third state based on the first-level bifurcation of the no-response interval component and the preset no-response threshold, and the second-level bifurcation of the response delay component, operation error component, and the preset quality threshold. The representation method of each component, the determination method of the preset control activity condition, and the specific processing process of the three-level bifurcation are the same as steps S4 and S5 in Embodiment 1.

[0146] The intervention execution module 5 includes a vehicle longitudinal control interface 501, a vehicle lateral control interface, and a driver assistance system takeover interface 503, all of which are connected to the on-board processor 6. The vehicle longitudinal control interface 501 is connected to the braking system and drive system, and is used to disengage the drive system from driving force output and brake the vehicle at a preset deceleration rate when the alertness determination result is in the second state. The preset deceleration rate is between 2.0 m / s² and 3.0 m / s². The vehicle lateral control interface is connected to the steering system, and is used to steer the vehicle to the roadside when the vehicle speed drops to a preset roadside speed and the lateral distance between the vehicle and the right lane edge is less than a preset roadside distance. The on-board processor 6 is connected to the hazard warning lights, and is used to illuminate the hazard warning lights when an upgraded intervention command for deceleration and roadside parking control is output. The driver assistance system takeover interface 503 is connected to the driver assistance system, and is used to allow the driver assistance system to take over the longitudinal and lateral control of the vehicle when the number of re-output response task commands reaches a preset number of retests and the alertness determination result is still in the first state. When the arousal level is determined to be in the third state, the intervention execution module 5 will not output an upgrade intervention instruction, and the current intervention will end.

[0147] like Figure 7 As shown, driver status data is output from status perception module 1 and then enters response task generation module 2; the response task command output by response task generation module 2 is applied to the driver via vehicle display device 201 and vehicle acoustic device 202; the operation performed by the driver is collected by response acquisition module 3 as operation response data; the operation response data and the vehicle control data obtained through vehicle bus interface 102 in the candidate no-response segment are entered into alertness determination module 4; the alertness determination result output by alertness determination module 4 is entered into intervention execution module 5; the intervention execution module 5 outputs corresponding control commands to braking system, steering system, drive system and driving assistance system according to the alertness determination result.

[0148] Although vehicle control data and driver status data are both accessed through the vehicle bus interface 102, the scope of access to vehicle control data is limited to candidate unresponsive segments and is not included in the calculation of fatigue characterization. Its purpose is limited to determining whether the segment belongs to the attention occupancy range.

[0149] In practical use, the above five modules can be implemented by the same on-board processor 6, or by multiple processors that communicate with each other. Furthermore, the state perception module 1 and the alertness determination module 4 are implemented by the same processor, while the intervention execution module 5 is implemented by an independent safety domain processor, making it less likely that anomalies in the state perception function will affect the actions of the intervention execution module 5. The intermediate quantities output by each module of the system—namely, driver state data, fatigue characteristics, response task instructions, operation response data, task completion quality, and alertness determination results—can be recorded and verified independently according to their respective time bases. If an anomaly occurs in any link, that link can be directly located.

[0150] Compared with the prior art, the beneficial effects of the present invention include at least the following:

[0151] First, the state perception module's acquisition process is independent of the limited response window, while the operation response data of the response acquisition module is only generated within the limited response window. The two do not overlap in time range, making the calculation of fatigue characterization less susceptible to the influence of response task operations. This maintains the stability of fatigue characterization during long-term driving, reduces systematic missed detections, and improves the reliability of intervention results.

[0152] Secondly, the intervention execution module is connected to the braking system, steering system and driving assistance system via the vehicle longitudinal control interface, vehicle lateral control interface and driving assistance system takeover interface respectively. The intensity of the three execution methods is different from each other, so that the intensity of the upgraded intervention command can correspond one-to-one with the arousal level judgment result, thereby reducing unexpected vehicle deceleration and takeover, and reducing the risk of interference to normal driving.

[0153] Third, the five modules are connected in sequence and their intermediate outputs can be recorded separately, so that if any link has an anomaly, the link can be located directly, thereby shortening the time required to troubleshoot the anomaly.

[0154] Example 3:

[0155] like Figure 8As shown, the electronic device 12 provided in this embodiment includes an on-board processor 6, a memory 1201, a bus 1202, and an input / output interface 1203. The on-board processor 6, memory 1201, and input / output interface 1203 are all connected to the bus 1202. The memory 1201 stores a computer program, which includes program modules corresponding one-to-one with steps S1 to S8 in Embodiment 1. The on-board processor 6 reads and executes the computer program from the memory 1201 via the bus 1202, implementing the active intervention method for fatigued driving in Embodiment 1.

[0156] Input / output interface 1203 is used to connect external signal acquisition and execution components to electronic device 12. The video input channel of input / output interface 1203 is connected to vehicle camera 101, and the driver's face and posture images acquired by vehicle camera 101 are written to memory 1201 via the video input channel. The bus transceiver channel of input / output interface 1203 is connected to vehicle bus interface 102, and the steering and driving trajectory data read by vehicle bus interface 102, as well as vehicle control data within candidate unresponsive segments, are input to electronic device 12 via the bus transceiver channel. The control output channel of input / output interface 1203 is connected to vehicle display device 201, vehicle acoustic device 202, vehicle longitudinal control interface 501, vehicle lateral control interface, and driver assistance system takeover interface 503, respectively, enabling response task commands and upgrade intervention commands to be delivered to the corresponding execution components.

[0157] The memory 1201 can be a read-only memory, a random access memory, or a combination of both. The random access memory, with a capacity of not less than 64 megabytes, is used to store driver status data, operation response data, and intervention records. The read-only memory is used to store the computer program and preset parameters such as preset risk thresholds, preset lead times, preset no-response thresholds, preset quality thresholds, preset amplitude step sizes, preset retest counts, and calibration data tables. The onboard processor 6 can be a microcontroller unit or a system-on-a-chip, with a main frequency of not less than 400 MHz, enabling steps S1 to S8 to be executed completely once within a preset decision period, which is between 100 milliseconds and 500 milliseconds. The onboard processor 6 executes each step of the above method according to the instructions of the computer program, allowing the method to be reproduced on the vehicle's existing onboard computing platform without requiring the addition of a dedicated computing device.

[0158] Preferably, this embodiment also provides a computer-readable storage medium storing a computer program. When the computer program is executed by the vehicle processor 6, it implements the active intervention method for fatigue driving in Embodiment 1. The storage medium can be a non-volatile storage medium such as flash memory, hard disk, or optical disk, used to burn the computer program to the memory 1201 before the vehicle rolls off the production line. The purpose of using a non-volatile storage medium is to ensure that the computer program is retained after the vehicle is powered off, so that it does not need to be rewritten each time the power is turned on.

[0159] Compared with the prior art, the beneficial effects of the present invention include at least the following:

[0160] First, the computer program is stored in the memory and executed by the on-board processor, enabling the above method to be reproduced on the vehicle's existing on-board computing platform, thereby reducing the materials and assembly time required to add a dedicated computing device to achieve active intervention.

[0161] Secondly, the input and output interfaces are connected to the signal acquisition and execution components respectively according to the channel, so that the camera acquisition, bus transceiver, display output, acoustic output and control output are each wired independently, which makes it easy to replace individual acquisition components or execution components according to vehicle models.

[0162] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

[0163] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

Claims

1. A method for actively intervening in fatigued driving, characterized in that, Includes the following steps: Collect driver status data and obtain fatigue characterization values ​​based on the driver status data; When the fatigue characterization quantity meets the intervention triggering condition, a response task instruction is output. The response task instruction is used to instruct the driver to complete the response task within a limited response window. The task parameters of the response task are dynamically determined at the moment the response task instruction is output. Collect driver's operational response data in response to the response task command, and obtain the task completion quality based on the operational response data. The task completion quality includes at least two mass components that characterize different fatigue mechanisms. The arousal level is determined based on the quality of task completion. The arousal level is determined as one of a first state, a second state, and a third state. The first state is when the response task is completed but the arousal level is insufficient. The second state is when the response task is not completed and there is a no-response interval within the limited response window. The third state is when the response task is completed and the arousal level meets the preset requirements. The no-response interval is the time interval during which no operation response data is continuously collected. When the arousal level determination result is in the first or second state, an upgrade intervention command is output; when the arousal level determination result is in the third state, the intervention ends.

2. The active intervention method for fatigued driving according to claim 1, characterized in that, The process of obtaining fatigue characterization parameters based on driver status data includes: The driver's individual baseline is established based on the driver status data collected within a preset time period after the start of this driving session; Calculate the deviation of the currently collected driver state data from the individual baseline, and obtain the fatigue characterization quantity based on the deviation.

3. The active intervention method for fatigued driving according to claim 1, characterized in that, When the fatigue characterization quantity meets the intervention triggering condition, the output of the response task instruction includes: Estimate the trend parameters of the fatigue characterization quantities based on the time series of the fatigue characterization quantities; Based on the changing trend parameter, predict the remaining time required for the fatigue characterization quantity to reach the preset risk threshold; When the remaining time is less than a preset lead time but greater than zero, the intervention trigger condition is determined to be met, and the response task instruction is output.

4. The active intervention method for fatigued driving according to claim 3, characterized in that, The task parameters include task difficulty parameters and task duration parameters, and the output response task instruction includes: The task difficulty parameter is determined based on the fatigue characterization quantity. The higher the degree of fatigue characterization quantity, the greater the task difficulty parameter. The task difficulty parameter is not greater than the upper limit of difficulty corresponding to the fatigue characterization quantity. The upper limit of difficulty is the difficulty value corresponding to the condition that the task completion rate of a driver in a conscious state is not lower than a preset completion rate threshold. The task duration parameter is determined based on the remaining time, such that the task duration parameter is not greater than the product of the remaining time and the preset time ratio; The response task instruction is generated and output according to the determined task difficulty parameters and task duration parameters.

5. The active intervention method for fatigued driving according to claim 1, characterized in that, The at least two quality components include a response delay component, an operational error component, and a no-response interval component; The response delay component represents the timing offset of the operation response data relative to the output time of the response task instruction; The operation error component characterizes the degree of inconsistency between the operation response data and the target operation sequence required by the response task instruction. The degree of inconsistency includes the number of erroneous operations and the number of corrections for the erroneous operations. The no-response interval component represents the duration of the no-response interval within the defined response window.

6. The active intervention method for fatigued driving according to claim 5, characterized in that, The non-response interval component is obtained as follows: Within the defined response window, time segments in which no operation response data is collected consecutively are detected as candidate no-response segments; Vehicle control data is collected within the candidate no-response segments, and the vehicle control data represents the control operations performed by the driver on the vehicle within the candidate no-response segments. When the vehicle control data within the candidate unresponsive segment meets the preset control activity condition, the candidate unresponsive segment is determined as an attention-occupied interval and is not included in the unresponsive interval. The preset control activity condition is used to characterize that the driver actively controls the vehicle within the candidate unresponsive segment. When the vehicle control data within the candidate unresponsive segment does not meet the preset control activity conditions, the candidate unresponsive segment is determined as an unresponsive interval, and the duration of the unresponsive interval is included in the unresponsive interval component.

7. The active intervention method for fatigued driving according to claim 5, characterized in that, The arousal level determination result obtained based on the quality of task completion includes: When the component of the no-response interval is greater than the preset no-response threshold, the arousal determination result is determined to be the second state; When the no-response interval component is not greater than the preset no-response threshold, and at least one of the response delay component and the operation error component exceeds the corresponding preset quality threshold, the arousal determination result is determined to be the first state. When the no-response interval component is not greater than the preset no-response threshold, and the response delay component and the operation error component do not exceed the corresponding preset quality threshold, the arousal determination result is determined to be the third state. When the arousal level determination result is in the first or second state, an upgrade intervention command is output; when the arousal level determination result is in the third state, the intervention ends, including: When the second state is determined, the upgraded intervention command is output to cause the vehicle to perform deceleration and pull over to the side of the road control. When the first state is determined, an upgrade intervention command is output to increase the task difficulty of the response task. If the response task command re-output according to the increased task difficulty is still determined to be the first state, an upgrade intervention command is output to put the vehicle into the driving assistance takeover state.

8. The active intervention method for fatigued driving according to claim 7, characterized in that, When the state is determined to be the first state, an upgrade intervention instruction is output to increase the task difficulty of the response task, including: When the first state is determined, the method for increasing the task difficulty is determined as follows: when the response delay component exceeds the corresponding preset quality threshold, shortening the output time interval between two adjacent target operations in the target operation sequence is determined as the method for increasing the difficulty; when the operation error component exceeds the corresponding preset quality threshold, increasing the number of target operations in the target operation sequence is determined as the method for increasing the difficulty; when both the response delay component and the operation error component exceed the corresponding preset quality threshold, simultaneously shortening the output time interval and increasing the number of target operations is determined as the method for increasing the difficulty. The task difficulty is increased according to the determined increase method, and the difference between the increased task difficulty and the original task difficulty is no greater than a preset step size. The task difficulty is characterized by the operation rate required to respond to the task, and the operation rate is the number of target operations that the driver is required to complete per unit time. Under the increased task difficulty, the response task instruction is re-outputted, and when the number of times the response task instruction is re-outputted reaches the preset number of retests and the arousal level determination result is still in the first state, an upgraded intervention instruction is output to put the vehicle into the driving assistance takeover state.

9. A fatigue driving active intervention system, characterized in that, include: The state perception module is used to collect driver state data and obtain fatigue characterization based on the driver state data. The response task generation module is used to output a response task instruction when the fatigue characterization quantity meets the intervention triggering condition. The response task instruction is used to instruct the driver to complete the response task within a limited response window. The task parameters of the response task are dynamically determined at the time of outputting the response task instruction. The response acquisition module is used to acquire the driver's operation response data in response to the response task command; The arousal level determination module is used to obtain the task completion quality based on the operation response data, and to obtain the arousal level determination result based on the task completion quality. The task completion quality includes at least two quality components that respectively characterize different fatigue mechanisms. The arousal level determination result is one of a first state, a second state, and a third state. The first state is a state in which the response task has been completed but the arousal level is insufficient. The second state is a state in which the response task has not been completed and there is a no-response interval within a limited response window. The third state is a state in which the response task has been completed and the arousal level meets the preset requirements. The no-response interval is a time interval in which no operation response data is continuously collected. The intervention execution module is used to output an upgrade intervention command when the arousal level determination result is in the first state or the second state, and to end the current intervention when the arousal level determination result is in the third state.

10. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the fatigue driving active intervention method of any one of claims 1 to 8.