Lesson 8: Solar Power Station Voice Query & Control System
PREPARATION


ENGAGE
Through guided thinking, review previous knowledge and arouse students' curiosity.
Core Teaching Steps:
Guided Thinking:
Let students try voice-controlled home devices (e.g., smart lights) and discuss how this technology could apply to energy stations.
EXPLORE
Build Fundamental Voice Control Systems.
Core Teaching Steps:
Connection:

Coding:

Testing:
Have students test commands in different noise levels (e.g., with a fan running to simulate wind noise). Complete the table below.



*Accuracy: conduct ten tests and record the success rate.
Troubleshooting:
Discuss: "Why does background noise affect recognition accuracy?"
Discuss in groups and write down their ideas.
EXPLAIN
Principles of Voice Recognition.
Core Teaching Steps:
How Voice Recognition Systems Work:

1.Acquisition: Microphone captures sound waves.
2.Feature Extraction: Converts sound to digital signals, extracts MFCC (Mel-frequency cepstral coefficients)—key features like pitch and formants.
3.Pattern Matching: Compares features to a database of known commands.
Noise's Impact on Each Stage:
Stage 1: Acquisition
Noise adds irrelevant energy to the signal, e.g., a fan's hum might be mistaken for part of the voice.
Stage 2: Feature Extraction
Noise distorts spectral features. For example, a "sh" sound (high-frequency) might be masked by a siren (similar frequency).
Stage 3: Pattern Matching
The system may match noisy features to the wrong command. E.g., "turn on" could be misheard as "turn off" if noise mimics certain phonemes.
CHALLENGE
Integrate Voice Query for Energy Data.
Core Teaching Steps:
Connection:

Coding:
Test the analog reading when the Energy Storage Module is full.

Energy Storage Module:
Charge the Energy Storage Module by turning on the switch of the battery holder. Read a rough number until it stabilizes within a range.
Then this value (1051) can be regarded as the analog reading when the Energy Storage Module is fully charged (as shown in the figure below).

Coding:


CONCLUSION
Recap:
"Voice control improves energy station efficiency by enabling hands-free operation and real-time data query"
Guide students to disconnect components in order (starting with the power supply), emphasizing safety for sensors and microcontrollers.








