background image

            

Wireless Charging Sonic Electric Toothbrushes

 

 

WAS-1972EN  V1.00 

15 / 17 

December 27, 2021 

Library Description 

The following table lists each API used by the toothbrush body. 

Command Name 

Functional Description 

modulation_function()  Transmit toothbrush body ID and user-defined parameters 

The following table details each API used by the toothbrush body. 

API Name 

modulation_function() 

API Function 

Transmit toothbrush body ID and user-defined parameters 

Input Parameters 

a_ID_H: Toothbrush ID code - high byte 
a_ID_L

Toothbrush ID code - low byte 

a_Rx_STA: a user-defined parameter for the toothbrush body 

Output Parameters 

Null 

Program Description 

After this API is executed, a user-defined communication packet will be 

transmitted. 

Refer to the Communication Principle Description for the packet formats in detail. 

The following table lists each API used by the charging base. 

Command Name 

Functional Description 

Demodulation 

Parse the communication data and confirm whether the toothbrush body ID is 

consistent with the charging base ID 

OCP_demo_trim 

Automatically calibrate the decoding level 

PWM_ping_cycle 

Transmit control subroutine 

time_init 

Timer initialisation 

OCP_CAL 

OCP comparator circuit offset calibration 

DELAY_10us 

10µs delay subroutine 

The following table details each API used by the charging base. 

API Name 

Demodulation 

API Function 

Parse the communication data and confirm whether the toothbrush body ID is 

consistent with the charging base ID 

Input Parameters 

Null 

Output Parameters 

user_fg_demodu_ok will be 1 when the toothbrush body ID is consistent with the 

charging base ID 

Program Description 

After this API is executed, parse the communication data and confirm whether the 

toothbrush body ID is consistent with the charging base ID. user_fg_demodu_ok 

is set to 1 if the results match and 0 if not. 

 

API Name 

OCP_demo_trim 

API Function 

Automatically calibrate the decoding level 

Input Parameters 

Null 

Output Parameters 

Null 

Program Description  After this API is executed, the decoding level will be automatically calibrated. 

 

API Name 

PWM_ping_cycle 

API Function 

Transmit control subroutine 

Input Parameters 

Null 

Output Parameters 

Null 

Program Description  After this API is executed, user_fg_demodu_ok and delay time will determine 

whether to continue to enable wireless charging 

 

API Name 

time_init 

API Function 

Timer initialisation 

Input Parameters 

Null 

Output Parameters 

Null 

Program Description  After this API is executed, the timer for transmission control will be initialised. 

 

Содержание WAS-1972EN

Страница 1: ...y through LC resonance which provides a one way communication function so that the charging base can receive information and identify ID information returned by the toothbrush body The toothbrush body...

Страница 2: ...ntification An internal demodulation circuit together with an external current sampling resistor can implement wireless signal demodulation The ID returned by the toothbrush body is used to determine...

Страница 3: ...ing current Standby current consumption of 1 A Sleep Mode operating current consumption of 600mA LED sonic motor Lithium battery charging management The master BP45F1330 MCU includes an integrated lin...

Страница 4: ...ill communicate with charging base which will obtain the toothbrush body ID According to different toothbrush body setup operations the sonic motor is controlled to swing forwards and backwards with a...

Страница 5: ...ses an integrated linear charging circuit for lithium battery charging management The charging base and toothbrush body hardware will be introduced below Hardware Description Charging Base Hardware Bl...

Страница 6: ...cond stage when the battery voltage is greater than 3V the battery will be charged using a constant current charging current which is controlled by the firmware 3 Constant voltage charging mode When t...

Страница 7: ...Circuit Diagram Demodulation circuit Wireless charging circuit Modulation circuit Battery Sonic motor LED indicator Figure 5 BP45F0044 and BP45F1330 Electric Toothbrush Solution Circuits Layout and H...

Страница 8: ...Wireless Charging Sonic Electric Toothbrushes WAS 1972EN V1 00 8 17 December 27 2021 PCB BOM Table Table 1 Toothbrush Body BOM Table 2 Charging Base BOM...

Страница 9: ...for details No AN0532EN Parallel resonance frequency design In this solution the charging base coil inductance is 8 9 H the default resonance frequency is 130kHz the resonance capacitance is 168 41nF...

Страница 10: ...or data transmission such as toothbrush body state battery voltage etc The following section will describe the definable parameters 1 c_ID_H Charging base ID code high byte fixed parameter 2 c_ID_L Ch...

Страница 11: ..._ping_cycle Automatically calibrate levels for demodulation call OCP_demo_trim Demodulation data ID code and data call Demodulation Figure 8 BP45F0044 Charging Base Main Flowchart 1 Initialisation RAM...

Страница 12: ...Timer setting and WDT setting 2 Measure and process signals the MCU measures all input signals and executes debounce operations It also measures battery voltage 3 Execute the toothbrush function Refer...

Страница 13: ...ime Count value 0 N N Y Y Y N Y N Y N Y N Figure 10 BP45F1330 Toothbrush Operating Flowchart Operating mode There are four operating modes for the toothbrush body After the operating mode is executed...

Страница 14: ...s No No No No No No Figure 11 BP45F1330 Toothbrush Capacity Display Flowchart 1 Low voltage When the battery capacity is less than 5 the red LED will flash and the motor will vibrate 3 times as a warn...

Страница 15: ...tialisation OCP_CAL OCP comparator circuit offset calibration DELAY_10us 10 s delay subroutine The following table details each API used by the charging base API Name Demodulation API Function Parse t...

Страница 16: ...duced how to use the BP45F0044 and BP45F1330 devices for wireless charging toothbrushes It has also explained the operating principle and software control process of wireless charging toothbrushes Bas...

Страница 17: ...whatsoever arising in using or in connection with the use of this website by any party There may be links in this area which allow you to visit the websites of other companies These websites are not c...

Отзывы: