background image

            

Wireless Charging Sonic Electric Toothbrushes

 

 

WAS-1972EN  V1.00 

10 / 17 

December 27, 2021 

The corresponding  settings should be prepared before the charging base communicates  with the 
toothbrush body, that is, the ID code of the charging base and the toothbrush body must be the same. 
In the Holtek provided program, a fixed parameter of 2 bytes will be used as the ID code and 1 byte 
of data will be used as user-defined data. 

When configuring the toothbrush body, the following parameters will be found in the main program. 
1.

 

c_ID_H: Toothbrush ID code - high byte - fixed parameter 

2.

 

c_ID_L: Toothbrush ID code - low byte - fixed parameter 

3.

 

a_Rx_STA: a user-defined variable for the toothbrush body. 

The charging base provides users with a set of complete and convenient ID identification functions. It 
can  also  adjust the parameter settings such as the  PWM operating time, ping time  interval and 
toothbrush body absence  time.  The toothbrush body has  a  user-defined 1 byte space for 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: Charging base ID code - low byte - fixed parameter 

3.

 

c_PWM_ON_time: PWM ping operating time, unit is 10ms. 

4.

 

c_ping_cycle: PWM ping period (On + Off time), unit is 10ms. 

5.

 

c_time_out_after_success:  The length of time after the toothbrush body is absent from the 
charging base, it returns to a ping state, unit is 10ms. 

6.

 

c_OCPDA_offset: OCPDA offset calibration 

Refer to the application note BP45F0044 Wireless Electric Toothbrush Application for detailed design 
methods and notes (No. AN0569EN). 

MCU Operating Environment 

 

BP45F0044 
V

DD

: 5V 

Oscillator: 16MHz 
Watchdog Timer: 1s 
Timer: 50µs 

 

BP45F1330 
V

DD

: 5V 

Oscillator: 8MHz 
Watchdog Timer: 1s 
Time Base: 200µs 

Software Description 

 

BP45F0044 
ROM: 512×13 (use 499×13, percentage: 97%) 
RAM: 32×8 (use 29×8, percentage: 90%) 
OCP: demodulate with the appropriate debounce time when using the OCP for demodulation. 
PWM: set the appropriate frequency and period to control LC resonance. 
Timer: execute demodulation and timing once every 50µs when the flag is set. 

Содержание 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...

Отзывы: