Hardware Design¶
CI1301, CI1302 and CI1303 chips only need a few peripherals to support various voice applications. For the voice part, the chip can support single microphone differential input or single microphone single port input, and you can also choose whether to need AEC echo cancellation function. The user can select the appropriate circuit according to the function, power consumption and cost requirements of the designed application scheme. Below is a detailed description of the simplest application reference circuit diagram of the chip.
Application reference circuit diagram¶
The application reference circuit diagram is shown in Figure H-1. Take CI1303 as an example (CI1301, CI1302 and CI1303 have identical pins and circuit diagram connection methods).
The above figure shows the circuit diagram of the simplest application scheme of CI1303, which supports differential input and power amplifier output of a single microphone. The chip can use 5V direct power supply, and users can design according to the corresponding peripheral device specifications in the figure above.
If the board level online upgrade function is to be considered during schematic design, the UART0 pin can be led out to facilitate the firmware upgrade of the flash in the main chip through UART0 after the PCB board placement is completed. The PA4 (PG_EN) pin of the chip is internally pulled up. The power on defaults to the upgrade mode. After power on, the upgrade signal sent from the external UART0 port should be detected. If there is one, the upgrade should be started directly. The default boot time of the chip is extended by adding detection of upgrade mode, about 850mS; If the user has high requirements for the boot time, the PA4 pin can be led out, two 2.2K Ω pull-down resistors can be added to the ground, and a test point can be added between the two 2.2K Ω resistors. At this time, the chip is powered on in the normal mode, and the boot time is about 350mS, which can shorten the boot time. If you want to upgrade online at this time, you can externally supply high level to the intermediate test points connected by two 2.2K Ω resistors, pull up the PA4 pin, and then upgrade through UART0.
The chip scheme can select differential microphone design or single ended microphone design, and the differential microphone design in the above figure is recommended. If the user has requirements for cost, the microphone part in the above figure can be modified to a single ended microphone design, which can use fewer passive devices than the differential microphone. However, this method is only recommended for applications where the microphone line length is less than 20 cm, otherwise the speech recognition effect will not be as good as the differential microphone design because the line length is too long and the anti-interference effect is not enough. The power amplifier in the above figure is of class AB, and 8002 power amplifier chip is recommended. Users can also choose the power amplifier chip according to the requirements of the scheme. If the power amplifier function is not required, this part of the circuit can also be removed to reduce the cost. If users need AEC echo cancellation function, they can use a microphone input channel to connect AEC analog signal input.
If the user has no special requirements for the power consumption of the scheme, it is recommended to directly use the PMU inside the chip for power supply. If there is a power consumption requirement, the external DCDC chip can be added to power the chip 1.1V to reduce the power consumption. All UART ports of the chip support 5V communication. The UART0 port in the above figure is a 3.3V signal. If 5V is to be connected, add a pull-up resistor connected to 5V around the RX and TX pins of UART0. No additional voltage conversion circuit is required.
Chipintelli provides a variety of scheme reference schematics, which can meet most common application scenarios. In the actual application development, the customer needs to carefully select one of the most suitable reference schematics for reference and design optimization according to the specific product functional performance requirements, system characteristics and application scenarios. As Chipintelli is unable to master all product systems and application knowledge, customers or solution partners are expected to fully test and verify product functional performance (including the matching of voice chips and modules with product systems) in combination with product systems and application scenarios before mass production. If there are unclear and uncertain problems during the design modification process, please contact Chipintelli FAE engineer for full communication. The list of reference schemes is as follows:
Scheme name | Scheme function | Scheme application scenario | Document center link |
---|---|---|---|
Typical scheme | Single microphone differential microphone input with echo cancellation function | Suitable for widely used products, products with broadcasting and echo cancellation | ☞Reference schematic diagram for typical scheme |
Low power consumption scheme | 1.1V power supply is powered by external DCDC, significantly reducing power consumption | Products with high requirements for power consumption, such as products with energy consumption level restrictions | ☞Reference schematic diagram for low power consumption scheme |
Highly reliable solution | Strong ESD EMC anti-interference ability, power interference resistance ability, improve product reliability | For products with poor system power quality, high requirements for product reliability, products requiring FCC CE certification, and products with high requirements for ESD, | ☞Reference schematic diagram of high reliability scheme |
Low cost solution | Single ended microphone, the simplest circuit without AEC application | Products with extreme cost requirements and low reliability requirements, products with microphone line length less than 20cm, such as toys and FMCG products | ☞Reference schematic diagram for low cost solution |
double mic scheme | double mic differential input, without AEC function | Products with double mic enhancement, sound source positioning, and high noise resistance requirements | ☞Reference schematic diagram of double mic scheme |
External AEC scheme | Single microphone AEC supports external broadcast and echo cancellation function | Applications that need to eliminate external broadcast, such as massage chair application external Bluetooth broadcast can use this scheme | ☞External AEC scheme reference schematic diagram |
Battery solution | Functions of battery power supply, charging and discharging, switching control, etc. for voice system | Battery powered intelligent voice products, such as voice toys, voice remote controllers, intelligent voice personal wearable products, etc | ☞Reference schematic diagram for battery scheme |
Light control lighting scheme | AC-DC power circuit, thyristor control, zero crossing detection, external DCDC power supply | Light control lighting products, such as ceiling lamp, desk lamp, downlight, etc. |
The schematic source document and PCB reference can be found in the ☞Chipintelli Speech AI Development Platform.
PCB Layout Design¶
Power circuit¶
-
Power wiring Attention shall be paid to overvoltage and surge protection for power input. TVS devices and 4.7 ohm resistors shall be designed for 5V input. The wiring shall pass through TVS first, and then through resistors to the chip. The power supply wiring diameter depends on the actual circuit current. The wiring width of 3.3V power supply is not less than 15ml, and that of 1.2V power supply is not less than 15ml. Copper clad wiring shall be used as far as possible. The power supply wiring shall be as short and thick as possible. The narrowest part of the power supply wiring shall not be less than 8mil line width to avoid the power supply wiring forming a closed loop.
-
Power decoupling capacitor The power decoupling capacitor is arranged close to the corresponding pin.
Electrostatic protection requirements¶
In the design of two-layer boards, try to route in the TOP layer to maintain the integrity of the BOTTOM ground plane. If ESD devices are designed, try to close the ESD devices to the pins of the plug-in to improve the protection effect.
Other considerations for application¶
- Due to the semiconductor technology principle, the RC oscillator built in the chip will produce a certain temperature drift in high and low temperature environments. If the operating temperature range of the user’s application scenario is - 40 to 85 ℃, it is recommended that the external crystal oscillator be used as the circuit scheme. In addition, if the application scenario requires high-precision PWM output (the frequency accuracy error is required to be less than ± 2%) or high-speed serial communication (the baud rate is greater than 115200bps), it is also recommended to directly use the external crystal oscillator.
- If the operating temperature range of the application scenario is - 10 to 70 ℃, and only low-speed serial communication with the upper computer (baud rate is less than or equal to 115200bps), this kind of circuit scheme can use the built-in RC oscillator (upper computer frequency offset ≤± 1.5%). When the upper computer is designed without crystal oscillator, the communication error should be minimized. Chipintelli can provide a serial port baud rate adaptive scheme, which requires adding a handshake command to the serial port protocol, and the upper computer ensures that it will reply according to the protocol requirements within 50ms after receiving the handshake command. After adding this adaptive scheme, the product can be used in scenarios where the working environment temperature is - 20 to 85 ℃.
- If the application scenario does not require the frequency accuracy of the RC oscillator, the RC oscillator built in the chip can be directly used.
- The chip is integrated with a PMU management unit. The PMU contains three LDOs, which provide 3.3V and 1.1V voltage respectively for the chip. If there is no special requirement for power consumption, the scheme does not require an external power supply chip, and the ripple of the external 5V power supply must be less than 300mV.
- The chip is manufactured by lead-free environmental protection process. Please set furnace temperature, time and other parameters according to lead-free standard during SMT welding.
- Pay attention to the influence of static electricity when taking and packaging chips. It is recommended to use anti-static materials for isolation.
- CI1303 chip supports high-capacity neural network model, has better noise reduction effect and supports OTA upgrade function. CI1301 and CI1302 chips do not support OTA upgrade function temporarily.