Cómo obtener 9V / 12V de un cargador con carga rápida (por ejemplo, STM32)

Qué tan rápido puede ser útil la carga



Con el aumento de la capacidad de las baterías de los teléfonos, fue necesario aumentar la potencia de los cargadores para lograr un tiempo de carga corto, para lo cual fue necesario aumentar la potencia de salida: voltaje, corriente. Por lo tanto, los cargadores con Quick Charge 3.0, además de 5 V, pueden proporcionar 9V / 12V / 20V + la capacidad de ajustarse en incrementos de 0.2 V (hasta 12 V).



imagen


En vista del predominio de los dispositivos de memoria con esta tecnología, existe interés en utilizarlos para obtener mayor voltaje sin convertidores adicionales.



Diagrama de conexión



El circuito presentado permitirá que los pines configurados como una salida push-pull suministren los valores de voltaje deseados a los pines DN , DP :



Ambas conclusiones son negativas

0 pulg

El terminal superior es positivo y el terminal inferior es negativo

0,6 V

Ambas conclusiones al plus

3,3 V



imagen


Configuración en STM32CubeMX



(Output Push Pull) (No pull-up and no pull-down) ( -> Enter User Label).





Quick Charge



QC 2.0 ( CHY100)



imagen


DN, DP DP, 0.325 2 ( 0.6 ) 1.25 . DN ( 0.325 ) 1 . , , :



imagen


QC 3.0 ( FAN6290Q)



200 , , Continuous Mode:



imagen


(5/9/12), (DN: 3.3 , DP: 0.6-3.3-0.6), (DP: 0.6 , DN: 3.3-0.6-3.3).



imagen




HAL, -, :



void QC_GPIO_9V(void){

    /* DP: 0.6V; DN: 0.6V - preset */
    HAL_GPIO_WritePin(QC_DP_UP_GPIO_Port, QC_DP_UP_Pin, GPIO_PIN_SET);
    HAL_GPIO_WritePin(QC_DP_DOWN_GPIO_Port, QC_DP_DOWN_Pin, GPIO_PIN_RESET);

    HAL_GPIO_WritePin(QC_DN_UP_GPIO_Port, QC_DN_UP_Pin, GPIO_PIN_SET);
    HAL_GPIO_WritePin(QC_DN_DOWN_GPIO_Port, QC_DN_DOWN_Pin, GPIO_PIN_RESET);

    HAL_Delay(1250); /* min 1.25s */

    /* DP: 0.6V; DN: 0V */
    HAL_GPIO_WritePin(QC_DN_UP_GPIO_Port, QC_DN_UP_Pin, GPIO_PIN_RESET);
    HAL_Delay(1); /* min 1ms */

    /* DP: 3.3V; DN: 0.6V for 9V */
    HAL_GPIO_WritePin(QC_DP_UP_GPIO_Port, QC_DP_UP_Pin, GPIO_PIN_SET);
    HAL_GPIO_WritePin(QC_DP_DOWN_GPIO_Port, QC_DP_DOWN_Pin, GPIO_PIN_SET);

    HAL_GPIO_WritePin(QC_DN_UP_GPIO_Port, QC_DN_UP_Pin, GPIO_PIN_SET);
    HAL_GPIO_WritePin(QC_DN_DOWN_GPIO_Port, QC_DN_DOWN_Pin, GPIO_PIN_RESET);
}


:



QC_GPIO_5V();
QC_GPIO_9V();
QC_GPIO_12V();
QC_GPIO_20V();

QC_GPIO_Reg();
QC_GPIO_Dec();
QC_GPIO_Inc();


STM32CubeIDE GitHub: Quick-Charge-STM32-HAL





( QC 3.0):



imagen


:



imagen


:



imagen


USB Type-C 5.1 CC1, CC2 GND, UFP (Upstream Facing Port).







, , .

, ( VBUS 3.3 ) — "".



USB-A USB-C



, 65 USB Type-C.





, 4.2 , 3.7 .











Power Delivery (PD), Quick Charge (QC), .



, 20 , . , , .




All Articles