GB/T AC refers to a Chinese national standard for alternating current (AC) electrical systems. It defines the specifications for safety, performance, and interoperability of AC equipment, ensuring compatibility and reliability in various applications. This standard is widely used in industrial, commercial, and residential electrical systems in China.
The GB/T AC standard outlines the following key technical parameters for AC systems:
Parameter | Value/Range | Description |
---|---|---|
Voltage Range | 220V (single-phase) / 380V (three-phase) | Standard operating voltages in China |
Frequency | 50 Hz | Standard AC frequency in China |
Power Factor | ≥ 0.8 | Minimum acceptable power factor |
Total Harmonic Distortion (THD) | ≤ 5% | Maximum allowable distortion in the AC waveform |
Insulation Resistance | ≥ 1 MΩ | Minimum insulation resistance for safety |
For devices adhering to the GB/T AC standard, the pin configuration typically follows the standard AC power plug and socket design. Below is a general description of the pin layout:
Pin Name | Description | Notes |
---|---|---|
Line (L) | Live wire carrying the AC voltage | Connected to the power source |
Neutral (N) | Return path for the current | Completes the circuit |
Earth (E) | Ground connection for safety | Prevents electric shock in case of faults |
While the Arduino UNO operates on DC power, you can use a relay module to control an AC device compliant with the GB/T AC standard. Below is an example code snippet for controlling an AC light using a relay module:
// Example: Controlling an AC light with Arduino and a relay module
// Ensure the relay module is rated for 220V/50Hz AC operation
const int relayPin = 7; // Pin connected to the relay module
void setup() {
pinMode(relayPin, OUTPUT); // Set relay pin as output
digitalWrite(relayPin, LOW); // Initialize relay to OFF state
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn ON the AC light
delay(5000); // Keep the light ON for 5 seconds
digitalWrite(relayPin, LOW); // Turn OFF the AC light
delay(5000); // Keep the light OFF for 5 seconds
}
Note: Ensure proper isolation between the AC and DC sides of the circuit to prevent damage to the Arduino and ensure user safety.
Voltage Mismatch:
Improper Grounding:
Overloading:
Harmonic Distortion:
By following this documentation, users can safely and effectively work with GB/T AC-compliant systems and devices.