A deep learning-based speech recognition system and method for smart helmets
By integrating environmental monitoring and deep learning technology into smart helmets, it solves the problem of motorcycle users being unable to perform voice recognition while driving, realizes the functions of voice recognition and safety judgment, provides recognition and feedback of user instructions, and improves driving efficiency. Safety and ease of use.
Patent Information
- Application Number
- CN202111128722.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-09-26
AI Technical Summary
Motorcycle users are unable to perform voice recognition when the helmet and mobile phones are connected while driving, and the specific situation of inability to recognize has not been resolved.
A deep learning-based speech recognition system for smart helmets is designed, including an environmental monitoring unit, a one-way analysis unit, a key acquisition unit, a fusion analysis unit, a processor, an instrument Bluetooth terminal, a noise elimination unit, a display unit and a management unit. By measuring the distance between the left and right sides of the motorcycle, real-time speed and environmental sounds, safety determination and voice collection are carried out, and deep learning technology is combined for voice recognition and noise elimination.
It realizes the voice recognition function when driving a motorcycle. Through safety judgment and voice collection, it automatically cuts off the display and connection, and provides recognition and feedback of user instructions. It is simple, effective and easy to use.
Smart Images

Figure CN113679139B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of speech recognition and relates to speech recognition technology, and specifically to a speech recognition system and method based on deep learning for a smart helmet. Background Art
[0002] Publication No. CN106537494A discloses that in the existing server and client-type speech recognition devices, when the speech recognition result of either party is not sent back, the user needs to speak from the beginning, which causes a problem that the burden on the user is large. The speech recognition device of the present invention sends input speech to a server, receives the result of the server performing speech recognition on the sent input speech, i.e., the first speech recognition result, performs speech recognition on the input speech to obtain a second speech recognition result, refers to the speech rule that represents the structure of the speech elements of the input speech, determines the speech rule that meets the second speech recognition result, determines the speech recognition state of the speech element that indicates that the speech recognition result cannot be obtained based on the correspondence between the presence or absence of the first speech recognition result and the presence or absence of the second speech recognition result and the presence or absence of the speech elements that constitute the speech rule, generates a response sentence for inquiring about the speech element that cannot obtain the speech recognition result in accordance with the determined speech recognition state, and outputs the response sentence.
[0003] However, this voice recognition technology does not involve motorcycle users, who cannot perform voice recognition when the helmet and the mobile phone are connected while driving, and under what circumstances recognition cannot be performed; in order to solve this technical defect, a solution is now provided. Summary of the invention
[0004] The object of the present invention is to provide a deep learning-based speech recognition system and method for a smart helmet.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] A deep learning-based speech recognition system for a smart helmet, comprising an environment monitoring unit, a one-way analysis unit, a key acquisition unit, a fusion analysis unit, a processor, an instrument Bluetooth terminal, a noise elimination unit, a processor, a display unit, a management unit and a mobile phone terminal;
[0007] Wherein, the collection end includes a data interaction unit, a controller and a demand corresponding unit;
[0008] The environment monitoring unit is used to monitor the formation environment and perform a level analysis operation. The specific level analysis operation steps are as follows:
[0009] Step 1: The environment monitoring unit includes a lateral distance measurement module and an intelligent determination module which are arranged on the handlebars or the front of the motorcycle without being blocked by anyone;
[0010] Step 2: First, use the lateral distance measurement module to measure the distance between the left and right sides of the motorcycle, and mark the distances on the left and right sides as left distance and right distance respectively;
[0011] Step 3: Obtain the left distance and right distance once every T1 time interval to obtain the left distance group Zi, i=1...n; and the right distance group Yi, i=1...n;
[0012] Step 4: Transmit the left distance group Zi and the right distance group Yi to the intelligent judgment module;
[0013] Step 5: The intelligent determination module receives the left distance group Zi and the right distance group Yi transmitted by the lateral distance measurement module;
[0014] Step 6: Then automatically analyze it, first obtain the left distance group i, determine its left direction, and get the number of left directions;
[0015] Step 7: Get the right distance group Yi, determine its right direction, and get the number of right directions;
[0016] The environment monitoring unit is used to transmit the left-direction number and the right-direction number to the unidirectional analysis unit, and the unidirectional analysis unit receives the left-direction number and the right-direction number transmitted by the environment monitoring unit, and performs unidirectional fusion analysis on the two to obtain the fusion number Rg;
[0017] The unidirectional analysis unit is used to transmit the number of fused directions Rg to the fusion analysis unit, and the fusion analysis unit receives the number of fused directions Rg transmitted by the unidirectional analysis unit;
[0018] The key acquisition unit is used to acquire the real-time speed of the motorcycle and transmit the real-time speed to the fusion analysis unit. The fusion analysis unit receives the real-time speed transmitted by the key acquisition unit and performs safety value analysis in combination with the real-time speed to obtain the safety value Az;
[0019] The fusion analysis unit is used to transmit the safety value Az to the processor, and the processor receives the safety value Az transmitted by the fusion analysis unit;
[0020] The processor generates a stop signal when the safety value Az exceeds the preset value X4. When the processor generates the stop signal, the display of the display unit is automatically cut off, and the connection between the processor and the data interaction unit is cut off.
[0021] Furthermore, the specific steps of the left-hand determination in step 6 are:
[0022] S1: First, get Zi and use the formula to calculate the unit value. The specific formula is:
[0023] Single value added = Zi-Zi-1;
[0024] S2: When the single value is ≤X1 and Zi-1≤X2, a passing signal is generated; here X1 and X2 are both preset values, and X1≤X2;
[0025] S3: Continuously monitor the time T2, where T2 is the preset time and T2>T1; obtain the number of generated passing signals and mark the number as the left-going number; then repeat the monitoring of step six.
[0026] Furthermore, the specific steps of determining the right direction in step seven are:
[0027] S1: First, obtain Yi and use the formula to calculate the single value added. The specific formula is:
[0028] Single value-added two = Yi-Yi-1;
[0029] S2: When the single value value 2≤X1 and Zi-1≤X2 is satisfied, a passing signal is generated;
[0030] S3: Continue to monitor the T2 time; obtain the number of passing signals generated, and mark the number as the right-going number; then repeat the monitoring of step seven.
[0031] Furthermore, the specific steps of integration analysis are as follows:
[0032] SS1: Get the number of left and right directions;
[0033] SS2: Then use the formula to calculate the number of fusion directions Rg. The specific calculation formula is:
[0034] Rg=1.25*number of left-hand sides+number of right-hand sides;
[0035] SS3: Get the number of fusion directions Rg.
[0036] Furthermore, the specific steps of safety value analysis are:
[0037] S01: Get the number of fusion directions Rg;
[0038] S02: Afterwards, the real-time speed of the motorcycle is obtained, and the real-time speed is collected once every T3 time interval to obtain a real-time speed group Vj, j=1...n;
[0039] S03: Set the speed parameter group. The speed parameter group is selected from the latest real-time speed, which is Vn, and then pushes forward nine groups continuously, from Vn-9 to Vn;
[0040] S04: then obtain a speed parameter group Vj, j=n-9, ..., n; then calculate the average of the speed parameter group and mark the average as Pv;
[0041] S05: After that, the speed parameter value group that satisfies Vj-Pv≥X3 is retained. The average value is calculated again;
[0042] S06: Mark the re-obtained mean value as the target speed value Mv;
[0043] S07: Then calculate the real-time safety value Az, the specific calculation formula is:
[0044] Az=0.532*Mv+0.468*Rg; in the formula, each calculation factor is calculated after removing the dimension.
[0045] Furthermore, the instrument Bluetooth terminal is also used for voice collection by the helmet, and automatically combines with the noise elimination unit to perform voice collection operation. The specific steps of the voice collection operation are:
[0046] SS01: First, collect real-time environmental sound. The specific collection steps are as follows:
[0047] SS011: At the beginning, collect background speech of duration T4;
[0048] SS012: After T4, if no user voice information is detected, the background voice collection will continue; at the same time, when a new background voice is recorded in a unit of time, the background voice of the initial unit time period will be deleted;
[0049] SS013: When the user's voice information is detected, the ambient sound at time T4 will be obtained;
[0050] SS02: Then automatically obtain the user's voice information;
[0051] SS03: Mark the sound information as comprehensive sound;
[0052] SS04: Also mark the ambient sound as background sound;
[0053] SS05: Remove background sounds from the comprehensive sound to obtain pure human voice;
[0054] SS06: Convert pure human voice into text, perform command recognition, and obtain user commands;
[0055] The noise elimination unit is used to transmit user instructions to the processor, the processor receives the user instructions transmitted by the noise elimination unit, and transmits the user instructions to the data interaction unit, the data interaction unit is used to transmit the user instructions to the controller, the controller controls the demand corresponding unit to execute the instructions, and the screen of executing the instructions forms a feedback screen; the controller is used to return the feedback screen to the processor through the data interaction unit, the processor is used to transmit the feedback screen to the display unit, the display unit receives the feedback screen transmitted by the processor and displays it in real time.
[0056] A deep learning-based speech recognition method for a smart helmet, the method specifically comprising the following steps:
[0057] Step 1: Make a safety determination. The specific determination method is as follows:
[0058] S1: Measure the distance between the left and right sides of the motorcycle, and mark the distance between the left and right sides as left distance and right distance respectively;
[0059] S2: Obtain the left distance and right distance once every T1 time interval to obtain the left distance group Zi, i=1...n; and the right distance group Yi, i=1...n;
[0060] S3: Get the left distance group i and determine its left direction, specifically:
[0061] S31: First, obtain Zi and use the formula to calculate the unit value. The specific formula is:
[0062] Single value added = Zi-Zi-1;
[0063] S32: When the single value is ≤ X1 and Zi-1 ≤ X2, a passing signal is generated; here, X1 and X2 are both preset values, and X1 ≤ X2;
[0064] S33: Continuously monitor the time T2, where T2 is the preset time and T2>T1; obtain the number of generated passing signals, and mark the number as the left-going number; then repeat the monitoring of step 6;
[0065] S4: Get the right distance group Yi, and determine its right direction, specifically:
[0066] S41: First, Yi is obtained, and the single value is calculated using the formula. The specific formula is:
[0067] Single value-added two = Yi-Yi-1;
[0068] S42: When the single value addition value 2 ≤ X1 and Zi-1 ≤ X2 is satisfied, a passing signal is generated;
[0069] S43: continuously monitor the T2 time; obtain the number of generated passing signals, and mark the number as the rightward number; and continue the monitoring;
[0070] Step 2: Perform a one-way fusion analysis on the left-hand and right-hand numbers, specifically:
[0071] SS1: Get the number of left and right directions;
[0072] SS2: Then use the formula to calculate the number of fusion directions Rg. The specific calculation formula is:
[0073] Rg=1.25*number of left-hand sides+number of right-hand sides;
[0074] SS3: Get the number of fusion directions Rg;
[0075] Step 3: Get the real-time speed of the motorcycle and perform safety analysis based on the real-time speed. The specific steps of safety analysis are as follows:
[0076] S01: Get the number of fusion directions Rg;
[0077] S02: Afterwards, the real-time speed of the motorcycle is obtained, and the real-time speed is collected once every T3 time interval to obtain a real-time speed group Vj, j=1...n;
[0078] S03: Set the speed parameter group. The speed parameter group is selected from the latest real-time speed, which is Vn, and then pushes forward nine groups continuously, from Vn-9 to Vn;
[0079] S04: then obtain a speed parameter group Vj, j=n-9, ..., n; then calculate the average of the speed parameter group and mark the average as Pv;
[0080] S05: After that, the speed parameter value group that satisfies Vj-Pv≥X3 is retained. The average value is calculated again;
[0081] S06: Mark the re-obtained mean value as the target speed value Mv;
[0082] S07: Then calculate the real-time safety value Az, the specific calculation formula is:
[0083] Az=0.532*Mv+0.468*Rg; where each calculation factor is calculated after removing the dimension;
[0084] Step 4: When the safety value Az exceeds the preset value X4, a stop signal is generated. When the stop signal is generated, the display of the display unit is automatically cut off, and the connection between the helmet and the mobile phone is cut off;
[0085] Step 5: When connected, the mobile phone and the helmet interact with each other, collect voice through the instrument Bluetooth terminal, and automatically perform voice collection operations. The specific steps of voice collection operation are as follows:
[0086] SS01: First, collect real-time environmental sound. The specific collection steps are as follows:
[0087] SS011: At the beginning, collect background speech of duration T4;
[0088] SS012: After T4, if no user voice information is detected, the background voice collection will continue; at the same time, when a new background voice is recorded in a unit of time, the background voice of the initial unit time period will be deleted;
[0089] SS013: When the user's voice information is detected, the ambient sound at time T4 will be obtained;
[0090] SS02: Then automatically obtain the user's voice information;
[0091] SS03: Mark the sound information as comprehensive sound;
[0092] SS04: Also mark the ambient sound as background sound;
[0093] SS05: Remove background sounds from the comprehensive sound to obtain pure human voice;
[0094] SS06: Convert pure human voice into text, perform command recognition, and obtain user commands;
[0095] Step 6: Execute corresponding commands according to user instructions.
[0096] Beneficial effects of the present invention:
[0097] The present invention measures the distances on the left and right sides of the motorcycle by making safety judgments, and marks the distances on the left and right sides as left-hand distance and right-hand distance respectively; determines how many vehicles the motorcycle has passed by at this time based on the two, thereby determining whether the user is in a dangerous situation, and providing certain technical data support; and obtains a parameter that can comprehensively express the number of vehicles, namely, the number of fused directions, by performing unidirectional fusion analysis on the number of left-hand vehicles and the number of right-hand vehicles;
[0098] Then, a safety value analysis is performed in combination with the real-time speed of the motorcycle to obtain a safety value Az. When the safety value Az exceeds a preset value X4, a stop signal is generated. When a stop signal is generated, the display of the display unit is automatically cut off, and the connection between the helmet and the mobile phone is cut off at the same time;
[0099] When connected, the mobile phone and the helmet interact with each other, voice collection is performed through the Bluetooth end of the instrument, and the voice collection operation is automatically performed. In this process, noise reduction processing is performed by means of a preset background. The present invention is simple, effective, and easy to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0100] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0101] Figure 1 is a system block diagram of the present invention;
[0102] Figure 2 This is a specific structural diagram of the interaction between the helmet and the mobile phone of the present invention. DETAILED DESCRIPTION
[0103] like Figure 1 As shown, a deep learning-based speech recognition system for a smart helmet includes an environment monitoring unit, a one-way analysis unit, a key acquisition unit, a fusion analysis unit, a processor, an instrument Bluetooth terminal, a noise elimination unit, a processor, a display unit, a management unit and a mobile phone terminal;
[0104] Wherein, the collection end includes a data interaction unit, a controller and a demand corresponding unit;
[0105] The environment monitoring unit is used to monitor the formation environment and perform a level analysis operation. The specific level analysis operation steps are as follows:
[0106] Step 1: The environment monitoring unit includes a lateral distance measurement module and an intelligent determination module which are arranged on the handlebars or the front of the motorcycle without being blocked by anyone;
[0107] Step 2: First, use the lateral distance measurement module to measure the distance between the left and right sides of the motorcycle, and mark the distances on the left and right sides as left distance and right distance respectively;
[0108] Step 3: Obtain the left distance and right distance once every T1 time interval to obtain the left distance group Zi, i=1...n; and the right distance group Yi, i=1...n;
[0109] Step 4: Transmit the left distance group Zi and the right distance group Yi to the intelligent judgment module;
[0110] Step 5: The intelligent determination module receives the left distance group Zi and the right distance group Yi transmitted by the lateral distance measurement module;
[0111] Step 6: Then automatically analyze it, first obtain the left distance group i, and judge its left direction, specifically:
[0112] S1: First, get Zi and use the formula to calculate the unit value. The specific formula is:
[0113] Single value added = Zi-Zi-1;
[0114] S2: When the single value is ≤X1 and Zi-1≤X2, a passing signal is generated; here X1 and X2 are both preset values, and X1≤X2;
[0115] S3: Continuously monitor the time T2, where T2 is the preset time and T2>T1; obtain the number of generated passing signals and mark the number as the left number; then repeat the monitoring of step 6;
[0116] Step 7: Get the right distance group Yi and determine its right direction, specifically:
[0117] S1: First, obtain Yi and use the formula to calculate the single value added. The specific formula is:
[0118] Single value-added two = Yi-Yi-1;
[0119] S2: When the single value value 2≤X1 and Zi-1≤X2 is satisfied, a passing signal is generated;
[0120] S3: Continue to monitor the T2 time; obtain the number of generated passing signals, and mark the number as the rightward number; then repeat the monitoring of step 7;
[0121] The environment monitoring unit is used to transmit the leftward number and the rightward number to the unidirectional analysis unit, and the unidirectional analysis unit receives the leftward number and the rightward number transmitted by the environment monitoring unit, and performs a unidirectional fusion analysis on the two, specifically:
[0122] SS1: Get the number of left and right directions;
[0123] SS2: Then use the formula to calculate the number of fusion directions Rg. The specific calculation formula is:
[0124] Rg=1.25*number of left-hand sides+number of right-hand sides;
[0125] SS3: Get the number of fusion directions Rg;
[0126] The unidirectional analysis unit is used to transmit the number of fused directions Rg to the fusion analysis unit, and the fusion analysis unit receives the number of fused directions Rg transmitted by the unidirectional analysis unit;
[0127] The key acquisition unit is used to acquire the real-time speed of the motorcycle and transmit the real-time speed to the fusion analysis unit. The fusion analysis unit receives the real-time speed transmitted by the key acquisition unit and performs safety value analysis in combination with the real-time speed. The specific steps of safety value analysis are:
[0128] S01: Get the number of fusion directions Rg;
[0129] S02: Afterwards, the real-time speed of the motorcycle is obtained, and the real-time speed is collected once every T3 time interval to obtain a real-time speed group Vj, j=1...n;
[0130] S03: Set the speed parameter group. The speed parameter group is selected from the latest real-time speed, which is Vn, and then pushes forward nine groups continuously, from Vn-9 to Vn;
[0131] S04: then obtain a speed parameter group Vj, j=n-9, ..., n; then calculate the average of the speed parameter group and mark the average as Pv;
[0132] S05: After that, the speed parameter value group that satisfies Vj-Pv≥X3 is retained. The average value is calculated again;
[0133] S06: Mark the re-obtained mean value as the target speed value Mv;
[0134] S07: Then calculate the real-time safety value Az, the specific calculation formula is:
[0135] Az=0.532*Mv+0.468*Rg; where each calculation factor is calculated after removing the dimension;
[0136] The fusion analysis unit is used to transmit the safety value Az to the processor, and the processor receives the safety value Az transmitted by the fusion analysis unit;
[0137] The processor generates a stop signal when the safety value Az exceeds the preset value X4. When the processor generates the stop signal, the display of the display unit is automatically cut off, and the connection between the processor and the data interaction unit is cut off;
[0138] The instrument Bluetooth terminal is also used for voice collection by the helmet, and automatically combines with the noise elimination unit to perform voice collection operation. The specific steps of the voice collection operation are as follows:
[0139] SS01: First, collect real-time environmental sound. The specific collection steps are as follows:
[0140] SS011: At the beginning, collect background speech of duration T4;
[0141] SS012: After T4, if no user voice information is detected, the background voice collection will continue; at the same time, when a new background voice is recorded in a unit of time, the background voice of the initial unit time period will be deleted;
[0142] SS013: When the user's voice information is detected, the ambient sound at time T4 will be obtained;
[0143] SS02: Then automatically obtain the user's voice information;
[0144] SS03: Mark the sound information as comprehensive sound;
[0145] SS04: Also mark the ambient sound as background sound;
[0146] SS05: Remove background sounds from the comprehensive sound to obtain pure human voice;
[0147] SS06: Convert pure human voice into text, perform command recognition, and obtain user commands;
[0148] The noise elimination unit is used to transmit user instructions to the processor, the processor receives the user instructions transmitted by the noise elimination unit, and transmits the user instructions to the data interaction unit, the data interaction unit is used to transmit the user instructions to the controller, the controller controls the demand corresponding unit to execute the instructions, and the screen of executing the instructions forms a feedback screen; the controller is used to return the feedback screen to the processor through the data interaction unit, the processor is used to transmit the feedback screen to the display unit, the display unit receives the feedback screen transmitted by the processor and displays it in real time.
[0149] like Figure 2 As shown, during the specific implementation, we need to collect voice signals on the helmet side, amplify and filter the signals, A / D them into digital signals, and perform preliminary noise elimination and echo elimination. This work is achieved using the Bluetooth module, which can ensure low power consumption, extend the battery life, and does not change the design of the existing Bluetooth helmet.
[0150] After the helmet transmits the voice signal to the instrument, it uses the powerful computing power of the instrument SOC to realize voice recognition. This part has two features: how to effectively recognize voice semantics in a strong noise environment. We have established a large number of model libraries and voice libraries with strong noise backgrounds. The algorithm has added deep learning functions, and the recognition accuracy will increase with the increase in the number of uses. The information from voice recognition is sent to the mobile phone APP through the Bluetooth SPP protocol for function matching to realize the voice control function;
[0151] The voice recognition function can also be integrated into the smart helmet, so that the helmet can also control the mobile phone by voice. It has the characteristics of flexible configuration.
[0152] In general, the electronic cost is basically not increased, and the language control function is realized;
[0153] A deep learning-based speech recognition method for a smart helmet, the method comprising the following steps:
[0154] Step 1: Make a safety determination. The specific determination method is as follows:
[0155] S1: Measure the distance between the left and right sides of the motorcycle, and mark the distance between the left and right sides as left distance and right distance respectively;
[0156] S2: Obtain the left distance and right distance once every T1 time interval to obtain the left distance group Zi, i=1...n; and the right distance group Yi, i=1...n;
[0157] S3: Get the left distance group i and determine its left direction, specifically:
[0158] S31: First, obtain Zi and use the formula to calculate the unit value. The specific formula is:
[0159] Single value added = Zi-Zi-1;
[0160] S32: When the single value is ≤ X1 and Zi-1 ≤ X2, a passing signal is generated; here, X1 and X2 are both preset values, and X1 ≤ X2;
[0161] S33: Continuously monitor the time T2, where T2 is the preset time and T2>T1; obtain the number of generated passing signals, and mark the number as the left-going number; then repeat the monitoring of step 6;
[0162] S4: Get the right distance group Yi, and determine its right direction, specifically:
[0163] S41: First, Yi is obtained, and the single value is calculated using the formula. The specific formula is:
[0164] Single value-added two = Yi-Yi-1;
[0165] S42: When the single value addition value 2 ≤ X1 and Zi-1 ≤ X2 is satisfied, a passing signal is generated;
[0166] S43: continuously monitor the T2 time; obtain the number of generated passing signals, and mark the number as the rightward number; and continue the monitoring;
[0167] Step 2: Perform a one-way fusion analysis on the left-hand and right-hand numbers, specifically:
[0168] SS1: Get the number of left and right directions;
[0169] SS2: Then use the formula to calculate the number of fusion directions Rg. The specific calculation formula is:
[0170] Rg=1.25*number of left-hand sides+number of right-hand sides;
[0171] SS3: Get the number of fusion directions Rg;
[0172] Step 3: Get the real-time speed of the motorcycle and perform safety analysis based on the real-time speed. The specific steps of safety analysis are as follows:
[0173] S01: Get the number of fusion directions Rg;
[0174] S02: Afterwards, the real-time speed of the motorcycle is obtained, and the real-time speed is collected once every T3 time interval to obtain a real-time speed group Vj, j=1...n;
[0175] S03: Set the speed parameter group. The speed parameter group is selected from the latest real-time speed, which is Vn, and then pushes forward nine groups continuously, from Vn-9 to Vn;
[0176] S04: then obtain a speed parameter group Vj, j=n-9, ..., n; then calculate the average of the speed parameter group and mark the average as Pv;
[0177] S05: After that, the speed parameter value group that satisfies Vj-Pv≥X3 is retained. The average value is calculated again;
[0178] S06: Mark the re-obtained mean value as the target speed value Mv;
[0179] S07: Then calculate the real-time safety value Az, the specific calculation formula is:
[0180] Az=0.532*Mv+0.468*Rg; where each calculation factor is calculated after removing the dimension;
[0181] Step 4: When the safety value Az exceeds the preset value X4, a stop signal is generated. When the stop signal is generated, the display of the display unit is automatically cut off, and the connection between the helmet and the mobile phone is cut off;
[0182] Step 5: When connected, the mobile phone and the helmet interact with each other, collect voice through the instrument Bluetooth terminal, and automatically perform voice collection operations. The specific steps of voice collection operation are as follows:
[0183] SS01: First, collect real-time environmental sound. The specific collection steps are as follows:
[0184] SS011: At the beginning, collect background speech of duration T4;
[0185] SS012: After T4, if no user voice information is detected, the background voice collection will continue; at the same time, when a new background voice is recorded in a unit of time, the background voice of the initial unit time period will be deleted;
[0186] SS013: When the user's voice information is detected, the ambient sound at time T4 will be obtained;
[0187] SS02: Then automatically obtain the user's voice information;
[0188] SS03: Mark the sound information as comprehensive sound;
[0189] SS04: Also mark the ambient sound as background sound;
[0190] SS05: Remove background sounds from the comprehensive sound to obtain pure human voice;
[0191] SS06: Convert pure human voice into text, perform command recognition, and obtain user commands;
[0192] Step 6: Execute corresponding commands according to user instructions.
[0193] A deep learning-based speech recognition system for a smart helmet, when working, measures the distance on the left and right sides of a motorcycle by making safety judgments, and marks the distances on the left and right sides as left-hand distance and right-hand distance respectively; determines how many vehicles have passed by the motorcycle at this time based on the two, thereby determining whether the user is in a dangerous situation, and providing certain technical data support; by performing a one-way fusion analysis on the number of left-hand and right-hand vehicles, a parameter that can comprehensively express the number of vehicles is obtained, namely the number of fused directions;
[0194] Then, a safety value analysis is performed in combination with the real-time speed of the motorcycle to obtain a safety value Az. When the safety value Az exceeds a preset value X4, a stop signal is generated. When a stop signal is generated, the display of the display unit is automatically cut off, and the connection between the helmet and the mobile phone is cut off at the same time;
[0195] When connected, the mobile phone and the helmet interact with each other, voice collection is performed through the Bluetooth end of the instrument, and the voice collection operation is automatically performed. In this process, noise reduction processing is performed by means of a preset background. The present invention is simple, effective, and easy to use.
[0196] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.
Claims
1. A deep learning-based speech recognition system for smart helmets. It is characterized in that It includes an environment monitoring unit, a one-way analysis unit, a key acquisition unit, a fusion analysis unit, a processor, an instrument Bluetooth terminal, a noise elimination unit, a display unit, a management unit and a mobile phone terminal; Wherein, the mobile phone terminal includes a data interaction unit, a controller and a demand corresponding unit; The environment monitoring unit is used to monitor the formation environment and perform a level analysis operation. The specific level analysis operation steps are as follows: Step 1: The environment monitoring unit includes a lateral distance measurement module and an intelligent determination module which are arranged on the handlebars or the front of the motorcycle without being blocked by anyone; Step 2: First, use the lateral distance measurement module to measure the distance between the left and right sides of the motorcycle, and mark the distances on the left and right sides as left distance and right distance respectively; Step 3: Obtain the left distance and right distance once every T1 time interval to obtain the left distance group Z i , i = 1...n; and right distance group Y i , i=1...n; Step 4: Group the left distance Z i and right distance group Y i Transmit to the intelligent judgment module; Step 5: The intelligent determination module receives the left distance group Z transmitted by the lateral distance measurement module i and right distance group Y i ; Step 6: Get the left distance group Z i , judge its left direction and get the number of left directions; Step 7: Get the right distance group Y i , judge its right direction and get the number of right directions; The environment monitoring unit is used to transmit the left-direction number and the right-direction number to the unidirectional analysis unit, and the unidirectional analysis unit receives the left-direction number and the right-direction number transmitted by the environment monitoring unit, and performs unidirectional fusion analysis on the two to obtain the fusion number Rg; The unidirectional analysis unit is used to transmit the number of fused directions Rg to the fusion analysis unit, and the fusion analysis unit receives the number of fused directions Rg transmitted by the unidirectional analysis unit; The key acquisition unit is used to acquire the real-time speed of the motorcycle and transmit the real-time speed to the fusion analysis unit. The fusion analysis unit receives the real-time speed transmitted by the key acquisition unit and performs safety value analysis in combination with the real-time speed to obtain the safety value Az; The fusion analysis unit is used to transmit the safety value Az to the processor, and the processor receives the safety value Az transmitted by the fusion analysis unit; The processor generates a stop signal when the safety value Az exceeds the preset value X4. When the processor generates the stop signal, the display of the display unit is automatically cut off, and the connection between the processor and the data exchange unit is cut off; The specific steps for left-hand determination are: S1: First get Z i , use the formula to calculate the unit value added, the specific formula is: Single value added = Z i -Z i-1 ; S2: When the single value is less than or equal to X1, and Z i-1 ≤X2, a passing signal is generated; here X1 and X2 are both preset values, and X1≤X2; S3: Continuously monitor the time T2, where T2 is the preset time and T2>T1; obtain the number of generated passing signals and mark the number as the left number; then repeat the monitoring of step 6; The specific steps for judging the right direction are: QS1: First get Y i , use the formula to calculate the single value added two, the specific formula is: Single value added = Y i -Y i-1 ; QS2: When the single value value 2≤X1, and Y i-1 When ≤X2, a passing signal is generated; QS3: Continuously monitor the T2 time; obtain the number of passing signals generated, and mark the number as the rightward number; then repeat the monitoring of step 7; The specific steps of one-way fusion analysis are as follows: SS1: Get the number of left and right directions; SS2: Then use the formula to calculate the number of fusion directions Rg. The specific calculation formula is: Rg = 1.25 * number of left-hand sides + number of right-hand sides; SS3: Get the number of fusion directions Rg; The specific steps of safety value analysis are: S01: Get the number of fusion directions Rg; S02: The real-time speed of the motorcycle is then acquired, and the real-time speed is collected once every T3 time interval to obtain a real-time speed group V j , j = 1...n; S03: Set the speed parameter group. The speed parameter group is selected from the latest real-time speed, that is, V n , then push forward nine groups continuously, that is, from V n-9 To V n ; S04: Then obtain the speed parameter group V j , j=n-9, ..., n; then the speed parameter group is averaged and the average is marked as Pv; S05: V will be satisfied later j -After the speed parameter group of Pv≥X3 is retained, X3 is the preset value; the average value is calculated again; S06: Mark the re-obtained mean value as the target speed value Mv; S07: Then calculate the real-time safety value Az, the specific calculation formula is: Az=0.532*Mv+0.468*Rg; In the formula, each calculation factor is calculated after removing the dimension; The instrument Bluetooth terminal is also used for voice collection by the helmet, and automatically combines with the noise elimination unit to perform voice collection operation. The specific steps of the voice collection operation are as follows: SS01: First, collect real-time environmental sound. The specific collection steps are as follows: SS011: At the beginning, collect background speech of duration T4; SS012: After T4, if no user voice information is detected, the background voice collection will continue; at the same time, when a new background voice is recorded in a unit of time, the background voice of the initial unit time period will be deleted; SS013: When the user's voice information is detected, the ambient sound at time T4 will be obtained; SS02: Then automatically obtain the user's voice information; SS03: Mark the sound information as comprehensive sound; SS04: Also mark the ambient sound as background sound; SS05: Remove background sounds from the comprehensive sound to obtain pure human voice; SS06: Convert pure human voice into text, perform command recognition, and obtain user commands; The noise elimination unit is used to transmit user instructions to the processor, the processor receives the user instructions transmitted by the noise elimination unit, and transmits the user instructions to the data interaction unit, the data interaction unit is used to transmit the user instructions to the controller, the controller controls the demand corresponding unit to execute the instructions, and the screen of executing the instructions forms a feedback screen; the controller is used to return the feedback screen to the processor through the data interaction unit, the processor is used to transmit the feedback screen to the display unit, the display unit receives the feedback screen transmitted by the processor and displays it in real time.
2. A speech recognition method for a deep learning-based speech recognition system for a smart helmet according to claim 1, It is characterized in that The method specifically comprises the following steps: Step 1: Make a safety determination. The specific determination method is as follows: St1: Measure the distance between the left and right sides of the motorcycle, and mark the distances on the left and right sides as left distance and right distance respectively; St2: Get the left distance and right distance once every T1 time interval to get the left distance group Z i , i = 1...n; and right distance group Y i , i=1...n; St3: Get the left distance group Z i , its left-hand side is judged as follows: St31: First get Z i , use the formula to calculate the unit value added, the specific formula is: Single value added = Z i -Z i-1 ; St32: When the single value is ≤ X1, and Z i-1 ≤X2, a passing signal is generated; here X1 and X2 are both preset values, and X1≤X2; St33: Continuously monitor the T2 time, where T2 is the preset time and T2>T1; obtain the number of generated passing signals and mark the number as the left-going number; then repeat the monitoring of step St3; St4: Get the right distance group Y i , its rightward process is judged as follows: St41: First get Y i , use the formula to calculate the single value added two, the specific formula is: Single value added = Y i -Y i-1 ; St42: When the single value 2 ≤ X1, and Y i-1 When ≤X2, a passing signal is generated; St43: Continue to monitor the T2 time; obtain the number of generated passing signals, and mark the number as the rightward number; repeat the monitoring of step St4; Step 2: Perform unidirectional fusion analysis on the left-hand and right-hand numbers, specifically: SSt1: Get the number of left and right directions; SSt2: Then use the formula to calculate the number of fusion directions Rg. The specific calculation formula is: Rg = 1.25 * number of left-hand sides + number of right-hand sides; SSt3: Get the number of melting directions Rg; Step 3: Get the real-time speed of the motorcycle and perform safety analysis based on the real-time speed. The specific steps of safety analysis are as follows: St01: Get the number of fusion directions Rg; St02: Then the real-time speed of the motorcycle is obtained, and the real-time speed is collected once every T3 time interval to obtain the real-time speed group V j , j = 1...n; St03: Set the speed parameter group. The speed parameter group is selected from the latest real-time speed, that is, V n , then push forward nine groups continuously, that is, from V n-9 To V n ; St04: Then get the speed parameter group V j , j=n-9, ..., n; then the speed parameter group is averaged and the average is marked as Pv; St05: V will be satisfied later j -After the speed parameter group of Pv≥X3 is retained, the average value is calculated again, and X3 is the preset value; St06: Mark the recalculated mean value as the target speed value Mv; St07: Then calculate the real-time safety value Az. The specific calculation formula is: Az=0.532*Mv+0.468*Rg; In the formula, each calculation factor is calculated after removing the dimension; Step 4: When the safety value Az exceeds the preset value X4, a stop signal is generated. When the stop signal is generated, the display of the display unit is automatically cut off, and the connection between the helmet and the mobile phone is cut off; Step 5: When connected, the mobile phone and the helmet interact with each other, collect voice through the Bluetooth end of the instrument, and automatically perform voice collection operations. The specific steps of voice collection operations are as follows: SSt01: First, collect real-time environmental sound. The specific collection steps are as follows: SSt011: At the beginning, background speech of duration T4 is collected; SSt012: After T4, if no user voice information is detected, the background voice collection will continue; at the same time, when a new background voice is recorded in a unit of time, the background voice of the initial unit time period will be deleted; SSt013: When the user's voice information is detected, the ambient sound at time T4 is obtained; SSt02: Then automatically obtain the user's voice information; SSt03: Mark the sound information as comprehensive sound; SSt04: Also marks the ambient sound as background sound; SSt05: Remove background sounds from the integrated sound to get pure human voice; SSt06: Convert pure human voice into text, perform command recognition, and obtain user commands; Step 6: Execute corresponding commands according to user instructions.
