Vous êtes sur la page 1sur 12

Induction Cooker Design with CapSense™

AN50475
Authors: Robin Chen
Jemmey Huang
Vincent Cai
Associated Project: Yes
Associated Part Family: CY8C22x45
Software Version: PSoC Designer™ 5.0
Associated Application Notes: None

Application Note Abstract


This application note discusses the implementation of an induction cooker with CapSense™ control based on CY8C22x45.
The working principles of an induction cooker and the CY8C22x45 are also described.

Introduction Figure 1. Induction Cooker


Touch sensor technology has existed for many years
because it is suitable for harsh environments. Capacitance
based touch sensors are now widely applied in consumer
electronics. Touch sensors appear stylish, and products
based on touch sensors are attractive. In home appliances
such as the microwave oven, induction cooker, and rice
cooker, there is a growing demand for the CapSense button
and slider for high end designs. Typically, there are two
microcontrollers in these designs: one for the kernel tasks
control, and the other for the CapSense button/slider control.
CY8C22x45 is a new PSoC product family that simplifies the
design and reduces the system cost. This application note
uses the induction cooker as an example to discuss the
integration design of CapSense and system control in the
CY8C22x45.

Induction Cooker: Working Principle The major controls of the induction cooker include:
The induction cooker is a modern electric cooker that uses 1. IGBT Automatic Self Protection: Insulated-Gate Bipolar
the electromagnetic induction principle to heat vessels. The Transistor (IGBT) is the key component of the induction
induction cooker has a heatproof ceramic panel, which is cooker. IGBT works under high voltage and high power
used as the cooker plane. Through the electrified coil under conditions. However, considering the high cost and rigid
the plane, the AC current creates a magnetic field that parameters, IGBT is designed with several conditions.
induces a vortex in iron and stainless steel pan bottoms. Any of the following factors can destroy IGBT: excess
This heats the pan bottom quickly, and then conducts the voltage, instantaneous impingement generated when
heat to food. power is switched on or off, proliferated current, and
This section describes the working principle of the induction excess temperature. IGBT can be damaged even when
cooker. First, the AC current is converted into DC by a the iron pan is removed from the ceramic panel or if no
rectifier. Next, the DC current is converted into ultrasonic pan is placed on the panel. It is necessary to protect the
high frequency AC current by a high frequency electric IGBT from these factors.
power conversion device. By connecting the high frequency 2. Temperature Control in the Iron Pan Bottom: The heat
AC current to the flat, hollow, helical heating coil, a high in the iron pan bottom is directly transferred to the
frequency alternating magnetic field is generated. Under the ceramic panel. The ceramic panel is the heat
ceramic panel, the electrified coil creates a magnetic field conducting material, so thermal sensors are often fixed
that breaks through the panel and induces a vortex in the in the panel bottom to detect the temperature of the iron
iron pan bottom. This converts electric energy into heat pan bottom.
energy, while overcoming the internal impedance stream.
The generated joule heat is the heat source for cooking.

January 07, 2009 Document No. 001-50475 Rev. ** -1-

[+] Feedback
AN50475

3. Stable Power Control: The output power of the To reflect the change in digital blocks, the new digital block
induction cooker can be automatically regulated to for basic functions is renamed as DBC from DBB, and the
improve the adjustment of the power supply and load. communication block is renamed as DCC. The digital block
adds another data path to implement the enhanced features
4. User Interface Control: Collect the customer input from in DBC or DCC, such as synchronous triggering, kill function,
the CapSense button or slider, then decide the working and more. However, even if no enhanced feature is used in
mode and display it on relevant light emitting diode the user module, the digital block is fully compatible with the
(LED). existing PSoC product.
In this example, CY8C22x45 handles the input of eight Compared to CY8C21xxx, CY8C22x45 provides two
CapSense buttons. It is also responsible for the entire additional CT blocks for general purpose applications.
system control, including current, voltage and temperature These analog blocks can be configured as an enhanced
sampling, PWM generation for the MOSFET control, feature comparator with flexible input and output choices.
induction cooker power control, and system status display.
CY8C22x45 also provides a set of digital resources to
address the CapSense design. These resources are
CY8C22x45 Overview optimized for CSD implementation. With these resources,
CY8C22x45 is a product of the PSoC family. It is an the system clock resource VC1/VC2/VC3 and digital blocks
enhancement of CY8C21xxx PSoC family, and is targeted at are not needed to configure a CSD user module. The
applications that integrate both system control and CY8C22x45 also keeps a compatible configuration, which
CapSense control. CY8C22x45 is compatible with other helps the customer code migrate from CY8C21xxx. The new
PSoC device architecture, as shown in Figure 2. CSD user module in CY8C22x45 is capable of simultaneous
CY8C22x45 is a Mixed-Signal Array with On-Chip Controller scanning on dual CSD channel input to reduce the total
device. Each CY8C22x45 PSoC device includes eight digital scanning time in an application.
blocks and six analog blocks. Depending on the PSoC
package, CY8C22x45 provides up to 38 general purpose
IOs (GPIO), 16K flash memory, and a 1K SRAM data System Features
memory. Following other PSoC products, CY8C22x45 has In addition to the features that CY8C22x45 provides for
fixed function on-chip resources such as I2C, MAC, and CapSense control, the induction cooker design also contains
more. In addition, CY8C22x45 includes optimized modules the system control. It has common features that are found in
such as 10-bit SAR ADC, dedicated CSD digital logic, and existing products. The features are:
dedicated RTC.
Figure 2. CY8C22x45 Block Diagram
 AC 220V/50 Hz Power Supply

Port 4 Port 3 Port 2 Port 1 Port 0


 1800W Rated Power
PSoC Core  Resonant Circuit for Induction Cooker Control

 More than Ten LEDs and Four Digital LED Segment


Display


Global Digital Interconnect
Global Analog Interconnect
Buzzer for Alarm
SRAM SROM Flash 16K
1K
CPU Core (M8C) Sleep and
 Fan On/Off and PWM Control
Interrupt

Watchdog
Controller
Adjustable Fixed Temperature Cooking Mode that
Multiple Clock Sources Supports 60, 80, 100, 120, 140,160, 180, 200, 220,
(Includes IMO, ILO, PLL, and ECO) 240, and 260 C.

DIGITAL SYSTEM ANALOG SYSTEM  Multilevel of Firepower Selection (200W, 400W, 600W
Digital Block Array 800W,1000W, 1200W, 1400W, 1600W and 1800W)
Analog Input Analog and Stable Power Control
DBC DBC DCC DCC Muxing Ref =

ROW 0  Cooking Pan Auto Detect


DBC DBC DCC DCC
Analog Block Array

CTE CTE CTE CTE


 Multi Cooking Mode Selection
ROW 1

SCE SCE  Multiple Protection


System Bus

CSD Digital Resource  Auto Power Off When Not Cooking on Pans
10-bit SAR
ADC
 AC Over Voltage and Under Voltage Protection
 AC Over Current Protection

POR and LVD Internal


 Pan Overheat Protection
Digital
MAC I2C Voltage
Clocks
System Resets Ref.  IGBT Overheat Protection
SYSTEM RESOURCES

January 07, 2009 Document No. 001-50475 Rev. ** -2-

[+] Feedback
AN50475

 Time-Switch Cooking Function Figure 4. Main Controller Board


Controller Board Connector
 12 CapSense Buttons for Menu Selection BOARD
5v
1 2 3 4 5 6 7 8 9 10 11

More advanced CapSense features are to be included in


future designs. These functions include: I/O I/O


MUX 8-bit PWM

CapSense Slider for Menu Selection 8-bit PWM


10bit
SAR ADC

 Waterproofing CapSense Button

 M8C Core
8-bit PWM

Boil Over Detection CY8C22x45


Dual-chanel SPI

CapSense Sensor Failure Detection CSD Module

I/O

12 Buttons 5V

System Hardware 74LS164 IO


Expansion

There are two PCB boards in the design. They are LED Segments
LEDs

connected by a 11-pin ripple cable.


The first PCB board is the power control board, which is Dual-Channel CapSense Scan
closed to the electrified coil on the bottom of the cooker. It
includes the AC power input rectifier, choker, IGBT for Dual-channel CSD scanning is a new feature of CY8C22x45.
DC/AC conversion, the zero-voltage switching control circuit It has the following advantages over the old CSD logic:
for IGBT, current sensing and other high voltage
components, DC power supper, fan and buzzer driver, and  The dual-channel CSD logic does not consume any
more. Figure 3 shows the block diagram of the power digital block resource.
module board. All the components on this board are discrete
components.  It has two separated CSD logic and can support dual-
channel CSD scan.
Figure 3. Power Control Board
5V 12V 20V  Dedicated clock resource frees the VC1/VC2/VC3
Power POWER BOARD clocks for other system control.
Supply
Choker
Rectifier PAN

AC IGBT
IGBT
Driver
 M8C needs to respond to only one interrupt for each
CapSense button scan.
Figure 5. Block Diagram of CSD2X
Vcc

CMP CMP

Over-Vol

Syn-Control
Pan NTC Over-Current
CMP

Temperature
Vcc
Vref Control
IGBT Block
NTC
Temperature
PWM Duty Ref

Coil (20KHz PWM


NTC PWM Enable and
Temperature
Protection )

Driver
5v
GND

1 2 3 4 5 6 7 8 9 10 11
FAN

Board Connector

The second PCB board is the main controller board based


on CY8C22x45. This board is responsible for system control
and user interface control. It is mounted on the top side of
the cooker. This board handles the scanning of eight
Figure 4 shows the block diagram of a single channel CSD
CapSense buttons and the LED displaying control. It is also
in CY8C22x45. An internal IDAC is used to charge the
responsible for the entire system control, including current,
external capacitor Cmod. The value in counter represents
voltage, and temperature sampling, generating PWM duty
the duty the IDAC is turned on. The counter data increases
cycle for the induction cooker power control, over-current,
with the capacitance of CapSense. The clock to drive
over voltage, and over temperature protection, menu
IO_MUX can be fixed frequency clock or PRS output to
operation control, and system status display. A real-time
reduce the EMI and noise effect. The Vref comes from Vbg
clock provided by CY8C22x45 is also applied for the timer in
or VDAC. Digital blocks and VC1/VC2/VC3 are not used,
the cooker. Figure 4 shows the block diagram of the main
and they are free for other customer functions, for example,
controller board.
UART or SPI.

January 07, 2009 Document No. 001-50475 Rev. ** -3-

[+] Feedback
AN50475

When the user module runs, only one interrupt can happen In Equation 1, assuming the value of R is 47 kohm and the
at the end of the scan. This allows the CPU to release more value of C is 0.1 uf, then the circuit gets a cutoff frequency
MIPS, and allows multisource interrupts. The analog bus is at 33.9 Hz. This is because these signals change very
split into two separate sections: left analog bus and right slowly, especially the temperature signals of the pan and
analog bus. As a result, it can simultaneously support dual- IGBT. The parameters of this capacitive low-pass filter can
channel CSD scan. meet the system design requirement.
The dual-channel CSD user module consumes only CSD Board Connector Definition and Description
logic, two analog columns, left and right analog bus, and
The following table indicates the board connector definition
dual-channel IDAC. The following figure shows the
and description.
consumption.
Table 1. Board Connector Definition
Figure 6. Resource of CSD2X
Pin Type Description
1 Power Power Supply of 5V
2 Analog Input Temperature of Coil
3 Analog Input Temperature of IGBT
4 Analog Input Temperature of Pan
5 Digital Output PWM Output Signal for Power Control
6 Analog Input AC RSM Voltage
7 Analog Input AC Average Current
8 Digital Output PWM Output Enable Signal
9 Digital Output Fan Output
10 Digital Input Zero-crossing Signal of Resonance
IO Expansion by 74HC164 Circuit.
IO expansion is necessary in many home appliance 11 Ground Ground
applications. Typically, a serial-parallel converter logic chip,
such as 74HC164, is applied to the system for LED control.
74HCT164 are 8-bit edge-triggered shift registers with serial
data entry and output from each of the eight stages. As a
result, the system can consume less IOs than the solution
that drives the LED directly. The input signals of 74HCT164
are Data and Clock. This is in compliance with the SPI bus.
Refer the Appendix Board Schematics (Figure 11 and
Figure 12 on pages 8 and 9 respectively) for more
information.

Low-Pass Filter for Analog Signal


There are four analog signals in the control board. They are
all voltage signals, including the AC RMS voltage, AC
average current, and the temperatures of the pan and IGBT.
The range of these signals is from 0 to 5V. Because these
signals are the output from the noise power board, a
capacitive low-pass filter is designed before the signal
enters PSoC. Figure 4 on page 3 shows the typical circuit.
Figure 7. Capacitive Low-Pass Filter

Vin Vout
R C

The cutoff frequency is:


fcutoff = 1/2πRC Equation 1

January 07, 2009 Document No. 001-50475 Rev. ** -4-

[+] Feedback
AN50475

System Firmware PSoC Digital Block and Analog Resources


The system firmware is relatively complicated. Because the Consumed
system functions include the user interface control, such as The following table lists the digital blocks, analog blocks,
the CapSense button scan and LED display, it also includes and other resources consumed in the induction cooker
the analog signals sampling and internal timer. In addition, system.
the control algorithm implementation such as fixed
temperature control algorithm, stable power control Table 2. PSoC Digital Block and Analog Resources
algorithm, multiple protections, and induction cooker kernel Name Description
functions are also included. The following figure shows the
high level flowchart of the firmware. DBC00 PWM8 for IGBT power control
DBC01 PWM8 for buzzer control
Figure 8. Flowchart of Firmware
DCC02 Timer8 for internal click
Start DCC03 SPIM for 74HCT164 driving
DBC10 PWM8 for fan control
DBC11 Counter8 for UART clock (Optional)
Hardware/Register Initialization
DCC12 UART TX for system debug (Optional)
DCC13 UART RX for system debug (Optional)
ACE02 Used be CSD2X for button scan
Working Mode Control Module
ACE 03 Used be CSD2X for button scan
CSD2X Button scan
RTC System timer
LED Diaplay Module
SAR10 Analog signals sampling

ADC Module (AC voltage, current, NTC Figure 9. System Interconnection


Pan, NTC IGBT)

Buzzer Control Module

Fan Control Module

Button Scan (CSD) Module

IGBT Control Module


(Actual Power Calculation,
Pan Auto-detect
fixed temperature control algorithm
stable power control algorithm )

Protection Module

January 07, 2009 Document No. 001-50475 Rev. ** -5-

[+] Feedback
AN50475

LEDs and 7-Segment Digital LED Display SPIM_TX_BUFFER_REG =


baLedBuf[4];
Refresh LED_COM4_ON;
The user interface of the induction cooker is important, break;
because the end user exchanges all information through it. case 5:
In the design, the 74HC164 is used to expand the IO to LED_COM4_OFF;
drive the four 7-segment LED display. Any delay in SPIM_TX_BUFFER_REG =
refreshing results in the blinking of the LED. So an 8-bit baLedBuf[5];
timer is used in the firmware, and the interrupt of the timer LED_COM5_ON;
requests the LEDs to be refreshed. A display buffer, whose break;
value is set in main loop, is also used to refresh The LEDs. }
In the Timer8 IRQ, the contents of this buffer are sent out }
through the SPI user module, which is cascaded with the }
74HC164 for LED driving. The LEDs are grouped by 6, and
each group is turned on in sequence. The scan interval is IIR Low-Pass Digital Filter
set as 2 ms or 3 ms, so the refresh rate is around 55 Hz to
83 Hz. The digital filter is widely used in the control. However, not
all digital filters can be implemented on the PSoC, because
The following firmware shows the scan of the LED display: many digital filters need enhanced MAC units to speed the
calculation. In this system, a simple one order IIR low-pass
BYTE baLedBuf[6];
digital filter is introduced, and the IIR filter is used for all
// display buffer
analog input signal processing. The algorithm is shown in
the following formula.
The refreshing code in the Timer8 IRQ is:
yn = a * xn + (1 – a) * yn-1 Equation 2
void Timer8_ISR( void )
{ In Equation 2:
static BYTE bLedTimer;
is the filter coefficient.
wTick++;
// global for tick is the current sampling value.

if( wTick - bLedTimer > LEDONTIME ) is the current output of filter.


// period is 2ms is the last output of filter.
{
bLedTimer = wTick;
bComInx ++; To finish the calculation, the multiplication and addition
if( bComInx>=LEDCOMNUM) operations need two times. Considering the PSoC CPU
bComInx = 0; resources, the calculation is still complicated. To achieve the
switch( bComInx ) low-pass filter and simplify this algorithm, the special filter
{ coefficient is required. For example, using the
case 0: following formula is obtained:
LED_COM5_OFF;
SPIM_TX_BUFFER_REG = yn = 0.25 * xn + 0.75 * y(n-1) Equation 3
baLedBuf[0];
LED_COM0_ON; Replacing multiplication operation with bit-shifting operation,
break; the formula can be changed to:
case 1: yn = xn≫2 + y (n-1)≫1+y(n-1)≫2 Equation 4
LED_COM0_OFF;
SPIM_TX_BUFFER_REG = With this equation, only three bit-shifting operations and
baLedBuf[1]; three addition operations are need for the calculation. In this
LED_COM1_ON; system, the value of is 0.25. The cutoff frequency of this
break; filter is 1.33 Hz, according to the following formula with a
case 2: sampling period of 40 ms.
LED_COM1_OFF;
SPIM_TX_BUFFER_REG = fcutoff = a/2πT(1-a) Equation 5
baLedBuf[2]; In Equation 5, is the sampling period.
LED_COM2_ON;
break;
case 3:
LED_COM2_OFF;
SPIM_TX_BUFFER_REG =
baLedBuf[3];
LED_COM3_ON;
break;
case 4:
LED_COM3_OFF;

January 07, 2009 Document No. 001-50475 Rev. ** -6-

[+] Feedback
AN50475

PI Close Loop Control Algorithm The PWM output is the control signal of the main resonant
power. Through a low-pass filter in the power control board,
The induction cooker can support fixed power cooking and
a reference voltage is achieved. The reference voltage is the
fixed temperature cooking modes. PI close loop control is
input signal of IGBT control logical circuits, which has
applied in both the fixed power cooking mode and the fixed
functions of pulse generation, synchronization, protection
temperature cooking mode.
and IBGT driver. The main resonant circuit output increases
The PI control algorithm is very useful in a continuous with the reference voltage. As a result, the induction cooker
control system. There are two basic PI control algorithms: power can be adjusted by changing the duty of PWM.
absolute mode and increment mode PI control algorithm.
If the induction cooker works in fixed power cooking mode,
The following equation is a discrete expression of the
the close loop is implemented in the following steps: sample
position mode of the PI algorithm.
RSM value of voltage and RSM value of current of main
uk = KP*ek + KI * ∑(i=1)(k-1)ei + u0 Equation 6 resonant circuit; calculate current power; compare with
reference power and get error; adjust the duty of the PWM
In Equation 6: output according to the PI algorithm.
is power error.
is the integration coefficient. Summary
is the proportional coefficient.
This application note describes induction cooker control
system based on PSoC chip CY8C22x45. With the
Another mode of PI algorithm is the increment mode, and
assistance of PSoC device, all the functions of the control
the formula is:
board can be integrated into one chip. With few external
∆uk = uk - u(k-1) = KP*(ek - e(k-1) ) + KI * ek Equation 7 components and optimized algorithm, this design
incorporates all the kernel functions of the induction cooker,
CapSense button scan, stable power close loop control, and
Compared to the absolute mode PI algorithm, the increment fixed temperature close loop control.
mode PI algorithm has the following advantages:

 There is no accumulation using this formula, and the


result can be obtained by the last two sample values.

 The output of this formula is the increment value, and


with firmware protection there is less chance for errors.

 The complexity of increment mode PI algorithm is less


than that of absolute mode. It can save more PSoC
system resources.
Figure 10 shows the block diagram of PI algorithm power
control for fixed power cooking mode.
Figure 10. Block Diagram of PI Algorithm Power Control

Control Board Power Board


Voltage Sample
Power Caculation
Current Sample

Power -
Ref + Σ PI
PWM Low Pass IGBT Controller Main Resonant
Controller Filter and Driver Circuit

January 07, 2009 Document No. 001-50475 Rev. ** -7-

[+] Feedback
AN50475

Appendix
Figure 11. Board Schematic
J41
5V_IN
R84 560R
1
1 1 SEN1
2 R41 47k TXP COM1 Button
2
COM2
3 R44 47k TIGBT
3 VCC
R48 47k R83 560R
4 TMB 1
4 Button SEN2
R51 0

CMODR
PWM

CMODL
5

TIGBT
5

TXP

CUR
TMB
R82 560R

VIN
COM2

COM1
6 R46 47k VIN
6 1 SEN3
7 R47 47k CUR Button
7
R49 0 U1

44

43

42

41

40

39

38

37

36

35

34
8 GJ_INT R81 560R
8
9 R52 0 FAN 1 SEN4

P2.7

P0.1

P0.3

P0.5

P0.7

Vdd2

P0.6

P0.4

P0.2

P0.0

P2.6
9 Button
10 R53 0 PAN
10 1 33 BUZ
P2.5 P2.4 R80 560R
11
11 C12 C14 C16 C17 C19 GJ_INT 2 32 FAN 1 SEN5
P2.3 P2.2 Button
VCC
Connect 0.1u 0.1u 0.1u 0.1u 0.1u PWM 3 31 PAN
P2.1 P2.0
R79 560R
4 30
Vdd1 Vss1 1 SEN6
SEN11 5 29 SEN12 Button
P4.5 P4.4
5V_IN
SEN9 6 28 SEN10
P4.3 P4.2 R78 560R
SEN7 7
CY8C22545-TQFP 27 SEN8 1 SEN7
L1 VCC P4.1 P4.0 Button
8 26
Vss2 XRES
SEN5 SEN6 R77 560R
9 25
P3.7 P3.6 1 SEN8
SEN3 10 24 SEN4 Button
+ + P3.5 P3.4
C15 C5 BEAD C6 C18
100u/16v SEN1 11 23 SEN2
0.1u 0.1u 100u/16v P3.3 P3.2 R76 560R
1 SEN9

Vss3
P3.1

P1.7

P1.5

P1.3

P1.1

P1.0

P1.2

P1.4

P1.6

P3.0
Button

12

13

14

15

16

17

18

19

20

21

22
R75 560R
1 SEN10
COM3

COM5
COM4 Button

SPI_IO
COM6
VCC R74 560R
1 SEN11
SPI_CLK Button

C8 C9 C10 R73 560R


0.1u 0.1u 0.1u I2C_SDA 1 SEN12
Button
I2C_SCL

COM3 COM5
SPI_IO

C7
VCC
LS1 CMODL

BUZ 4.7n
VCC C11
CMODR
SPEAKER J7
1
2 1 4.7n
3 2
I2C_SCL 4 3
I2C_SDA 5 4
5
5 PIN HDR

Cypress Semiconductor
Title
Induction Cooker Demo Kit
Size Document Number Rev
B 1.0

Date: Tuesday , December 02, 2008 Sheet 1 of 1

January 07, 2009 Document No. 001-50475 Rev. ** -8-

[+] Feedback
AN50475

Figure 12. Schematic Drawing of Induction Cooker Evaluation Kit


U4 Numerical LED
1 14 SEG1
ANODE1 CATHODE_A 16 SEG2
2 CATHODE_B 13 SEG3
ANODE2 CATHODE_C 3 SEG4
6 CATHODE_D 5 SEG5
ANODE3 CATHODE_E 11 SEG6
8 CATHODE_F 15 SEG7
ANODE4 CATHODE_G 7 SEG8
CATHODE_DP

NC2

NC3

NC4
NC
4

10

12
COM1 R72 4.7K Q4
R71 4.7K Q1
COM2 R70 4.7K Q3 Q2
COM3 R69 4.7K
COM4
SS9014
SS9014
SS9014
SS9014

SEG1

SEG2

SEG3

SEG4

SEG5

SEG6
VCC VCC
U3
C13 0.1uF SEG7
R20 10K 9 14
8 RESET VDD
SPI_CLK CLK
6

SPI_CLK 3 R92 200R SEG1


QA 4 R91 200R SEG2
2 QB 5 R90 200R SEG3 SEG8
SPI_IO SPI_IO B QC SEG4
6 R89 200R
1 QD 10 R88 200R SEG5
A QE 11 R87 200R SEG6

1
QF 12 R86 200R SEG7
7 QG 13 R85 200R SEG8
GND QH
LED1 LED2 LED3 LED4
LED5 LED6 LED7
MC74HC164ADT LED1 LED2 LED3 LED4
LED5 LED6 LED7

2
1

1
1
LED11
LED9 LED10 LED12 LED13
LED8 LED9 LED10 LED11 LED12 LED13
LED8

2
2
Q6
R67 4.7K
COM5
SS9014

Q5
R68 4.7K
COM6
SS9014

Cypress Semiconductor
Title
Induction Cooker Demo Kit
Size Document Number Rev
C 1.0

Date: Tuesday , December 02, 2008 Sheet 1 of 1

January 07, 2009 Document No. 001-50475 Rev. ** -9-

[+] Feedback
AN50475

Figure 13. Photograph of Induction Cooker Evaluation Kit

January 07, 2009 Document No. 001-50475 Rev. ** - 10 -

[+] Feedback
AN50475

Induction
Figure CookerCooker
14. Induction FW Architecture Flowchart
FW Architecture Flowchart

Main Loop Timer ISR

Start Start

Hardware/Register Initialization
Tick++

Working Mode Control Module

LED Refreshing
LED Diaplay Module

ADC Module (AC voltage, current, NTC End


Pan, NTC IGBT)

Buzzer Control Module

Fan Control Module

Button Scan (CSD) Module

IGBT Control Module


(Actual Power Calculation,
Pan Auto-detect
fixed temperature control algorithm
stable power control algorithm )

Protection Module

January 07, 2009 Document No. 001-50475 Rev. ** - 11 -

[+] Feedback
AN50475

About the Authors


Name: Robin Chen Name: Jemmey Huang
Title: Application Engineer Staff. Title: Product Apps Manager Sr.
Contact: robc@cypress.com Contact: jhu@cypress.com

Name: Vincent Cai


Title: Application Engineer Sr.
Contact: wcai@cypress.com

Document History
Document Title: Induction Cooker Design with CapSense™
Document Number: 001-50475
Revision ECN Orig. of Change Submission Date Description of Change
** 2616863 JHU/AESA 01/07/2009 New application note.

PSoC is a registered trademark of Cypress Semiconductor Corp. "Programmable System-on-Chip," PSoC Designer, and CapSense are
trademarks of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are the property of their
respective owners.

Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone: 408-943-2600
Fax: 408-943-4730
http://www.cypress.com/

© Cypress Semiconductor Corporation, 2009. The information contained herein is subject to change without notice. Cypress Semiconductor
Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any
license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or
safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as
critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The
inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies
Cypress against all charges.
This Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide
patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a
personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative
works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress
integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source
Code except as specified above is prohibited without the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the
right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or
use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a
malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems
application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.

January 07, 2009 Document No. 001-50475 Rev. ** - 12 -

[+] Feedback

Vous aimerez peut-être aussi