* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Induction Cooker Design with CapSense
Survey
Document related concepts
Operational amplifier wikipedia , lookup
Electronic engineering wikipedia , lookup
Phase-locked loop wikipedia , lookup
Oscilloscope history wikipedia , lookup
Oscilloscope types wikipedia , lookup
Surge protector wikipedia , lookup
Resistive opto-isolator wikipedia , lookup
Power MOSFET wikipedia , lookup
Analog-to-digital converter wikipedia , lookup
Radio transmitter design wikipedia , lookup
Current mirror wikipedia , lookup
Valve RF amplifier wikipedia , lookup
Index of electronics articles wikipedia , lookup
Power electronics wikipedia , lookup
Switched-mode power supply wikipedia , lookup
Transcript
AN50475 Induction Cooker Design with CapSense® Author: Robin Chen, Jemmey Huang, Vincent Cai Associated Project: Yes Associated Part Family: CY8C22x45 ® Software Version: PSoC Designer™ 5.2 SP1 Related Application Notes: None Abstract ® AN50475 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. Contents Introduction Introduction .......................................................................1 Induction Cooker: Working Principle .................................1 CY8C22x45 Overview .......................................................2 System Features ...............................................................3 System Hardware ..............................................................3 Dual-Channel CapSense Scan.....................................5 I/O Expansion by 74HC164 ..........................................6 Low-Pass Filter for Analog Signal ................................6 Board Connector Definition and Description.................6 System Firmware ..............................................................6 PSoC Digital Block and Analog Resources Consumed 8 LEDs and 7-Segment Digital LED Display Refresh ......8 IIR Low-Pass Digital Filter ............................................9 PI Close Loop Control Algorithm ..................................9 Appendix A ...................................................................... 11 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 induction cooker is a modern electric cooker that uses the electromagnetic induction principle to heat vessels. The induction cooker has a heatproof ceramic panel, which is used as the cooker plane. Through the electrified coil under the plane, the AC current creates a magnetic field that induces a vortex in iron and stainless steel pan bottoms. This heats the pan bottom quickly, and then conducts the heat to food. This section describes the working principle of the induction cooker. First, the AC current is converted into DC by a rectifier. Next, the DC current is converted into ultrasonic high frequency AC current by a high frequency electric power conversion device. By connecting the high frequency AC current to the flat, hollow, helical heating coil, a high frequency alternating magnetic field is generated. Under the ceramic panel, the electrified coil creates a magnetic field that breaks through the panel and induces a vortex in the iron pan bottom. This converts www.cypress.com Document No. 001-50475 Rev. *B 1 Induction Cooker Design with CapSense® electric energy into heat energy, while overcoming the internal impedance stream. The generated joule heat is the heat source for cooking. Figure 1. Induction Cooker CY8C22x45 Overview CY8C22x45 is a product of the PSoC family. It is an enhancement of CY8C21xxx PSoC family, and is targeted at applications that integrate both system control and CapSense control. CY8C22x45 is compatible with other PSoC device architecture, as shown in Figure 2. CY8C22x45 is a Mixed-Signal Array with On-Chip Controller device. Each CY8C22x45 PSoC device includes eight digital blocks and six analog blocks. Depending on the PSoC package, CY8C22x45 provides up to 38 general-purpose I/Os (GPIO), 16 K flash memory, and a 1 K SRAM data memory. Following other PSoC products, CY8C22x45 has fixed function on-chip 2 resources such as I C, MAC, and more. In addition, CY8C22x45 includes optimized modules such as 10-bit SAR ADC, dedicated CSD digital logic, and dedicated RTC. Figure 2. CY8C22x45 Block Diagram The major controls of the induction cooker include: 2. 3. 4. IGBT Automatic Self Protection: Insulated-Gate Bipolar Transistor (IGBT) is the key component of the induction cooker. IGBT works under high voltage and high power conditions. However, considering the high cost and rigid parameters, IGBT is designed with several conditions. Any of the following factors can destroy IGBT: excess voltage, instantaneous impingement generated when power is switched on or off, proliferated current and excess temperature. IGBT can be damaged even when the iron pan is removed from the ceramic panel or if no pan is placed on the panel. It is necessary to protect the IGBT from these factors. Global Digital Interconnect SRAM 1K User Interface Control: Collect the customer input from the CapSense button or slider, then decide the working mode and display it on relevant light emitting diode (LED). In this example, CY8C22x45 handles the input of twelve CapSense buttons. It is also responsible for the entire system control, including current, voltage and temperature sampling, PWM generation for the MOSFET control, induction cooker power control, and system status display. www.cypress.com Port 3 Port 2 Port 1 Port 0 Global Analog Interconnect Flash 16K CPU Core (M8C) Sleep and Watchdog Multiple Clock Sources (Includes IMO, ILO, PLL, and ECO) ANALOG SYSTEM DIGITAL SYSTEM Digital Block Array Temperature Control in the Iron Pan Bottom: The heat in the iron pan bottom is directly transferred to the ceramic panel. The ceramic panel is the heat conducting material, so thermal sensors are often fixed in the panel bottom to detect the temperature of the iron pan bottom. Stable Power Control: The output power of the induction cooker can be automatically regulated to improve the adjustment of the power supply and load. SROM Interrupt Controller Analog Ref Analog Input Muxing DBC DBC DCC DCC = ROW 0 Analog Block Array DBC DBC DCC DCC ROW 1 System Bus 1. Port 4 PSoC Core CTE CTE SCE SCE CTE CTE CSD Digital Resource 10-bit SAR ADC Digital Clocks MAC I2C POR and LVD System Resets Internal Voltage Ref. SYSTEM RESOURCES To reflect the change in digital blocks, the new digital block for basic functions is renamed as DBC from DBB, and the communication block is renamed as DCC. The digital block adds another data path to implement the enhanced features in DBC or DCC, such as synchronous triggering, kill function, and more. However, even if no Document No. 001-50475 Rev. *B 2 Induction Cooker Design with CapSense® enhanced feature is used in the user module, the digital block is fully compatible with the existing PSoC product. Compared to CY8C21xxx, CY8C22x45 provides two additional CT blocks for general-purpose applications. These analog blocks can be configured as an enhanced feature comparator with flexible input and output choices. CY8C22x45 also provides a set of digital resources to address the CapSense design. These resources are optimized for CSD implementation. With these resources, the system clock resource VC1/VC2/VC3 and digital blocks are not needed to configure a CSD user module. The CY8C22x45 also keeps a compatible configuration, which helps the customer code migrate from CY8C21xxx. The new CSD user module in CY8C22x45 is capable of simultaneous scanning on dual CSD channel input to reduce the total scanning time in an application. In addition to the features that CY8C22x45 provides for CapSense control, the induction cooker design also contains the system control. It has common features that are found in existing products. The features are: AC 220 V/50 Hz power supply Buzzer for alarm CapSense Slider for Menu Selection Waterproofing CapSense button Boil over detection CapSense sensor failure detection System Hardware There are two PCB boards in the design viz. power control board and main controller board. They are connected by an 11-pin ripple cable. The power control board uses a quasi resonant converter to create a magnetic field that induces a vortex in iron and stainless steel pan bottoms. Figure 3 shows a typical quasi resonant converter, Figure 4 shows the equivalent of the resonant circuit, and Figure 5 shows the waveforms of each block of the main power circuit in a cycle. Figure 3. Quasi Resonant Converter 1800 W rated power Resonant circuit for induction cooker control More than ten LEDs and four digital LED segment display Fan On/Off and PWM control Adjustable fixed temperature cooking mode that Supports 60, 80, 100, 120, 140, 160, 180, 200, 220, 240, and 260 °C. Multilevel of firepower selection (200 W, 400 W, 600 W 800 W,1000 W, 1200 W, 1400 W, 1600 W and 1800 W) and Stable Power Control Cooking Pan Auto Detect 12 CapSense buttons for Menu Selection Power Control Board System Features More advanced CapSense features are to be included in future designs. These functions include: Figure 4. The Equivalent of the Resonant Circuit Multi Cooking Mode Selection Multiple protection Auto Power Off When Not Cooking on Pans AC Over Voltage and Under Voltage Protection AC Over Current Protection Pan Overheat Protection IGBT Overheat Protection Time-switch cooking function www.cypress.com Document No. 001-50475 Rev. *B 3 Induction Cooker Design with CapSense® Figure 5. Waveforms of Each Block of the Main Power Circuit in a Cycle Initially, S1 is turned off by the control circuit when the current flowing through L* and S1 reaches its peak. At this point, Vc(0) = 0 V. There are four modes available, as shown in Figure 6. Figure 6. Modes in Quasi-Resonant Converter MODE II: t1-t4 As Vdc is lower than Vce after t1, the current decreases to zero at t2, when the resonant voltage reaches its maximum. This is also the point where the transfer of the energy stored in the inductor to the capacitor is completed. The peak level of the resonant voltage has a direct relationship with the turn-on time of the switch (MODE IV: t5-t6). After t2, the capacitor starts discharging the energy to the inductor, which causes the voltage and the current flowing in inverse to decrement and at t6, the switching circuit is turned off, returning to MODE I. As the peak level of the voltage is in direct relationship with the on-duty frequency, one can manipulate this level, i.e. output energy, by adding or reducing the onduty frequency. Reach its minimum level at t3, i.e. Vce=Vdc, respectively. Passing t3, the resonant current increases as Vce<Vdc and the discharge is completed at t4. MODE III: t4-t5 After t4, the energy sent by the capacitor and stored in the inductor, is converted to DC-LINK as the D1 diode is forward biased. The resonant current is flowing through D1 during the time S1 is turned ON. MODE IV: t5-t6 As the switching circuit remains turned on while the current is freewheeling through D1, the current flows in the right direction through the circuit and the inductor starts to store the energy, which makes it possible to do a zero voltage turn-on switching. At t6, the switching circuit is turned off, returning to MODE I. As the peak level of the voltage is in direct relationship with the on-duty frequency, one can manipulate this level, i.e. output energy, by adding or reducing the on-duty frequency. From the above description, we can understand that the peak current produced i.e. power delivered to the pan by means of induction depends on duty cycle of the IGBT PWM. MODE I: t0-t1 The switching circuit is turned off when the resonant current flowing through the circuit is at its peak, i.e. at t0. In this process, a turn-off switching loss occurs. The Vce level is rapidly increased by the capacitor (Cr) to become DC-LINK (Vdc) at t1. Even when the switch is turned off at t0, the current keeps incrementing to reach its peak at t1, when Vce becomes equal to Vdc, as DC-LINK is higher than the resonant voltage. At this point, the energy stored in the inductor begins to be transferred to the capacitor. www.cypress.com The power control board is close to the electrified coil on the bottom of the cooker. It includes the AC power input rectifier, choke, IGBT for DC/AC conversion, the zerovoltage switching control circuit for IGBT, current sensing and other high voltage components, DC power supply, fan and buzzer driver, and more. Figure 7 shows the block diagram of the power module board. All the components on this board are discrete components. Document No. 001-50475 Rev. *B 4 Induction Cooker Design with CapSense® Figure 7. Power Control Board Dual-Channel CapSense Scan 5V 12V 20V POWER BOARD Power Supply Choker PAN Rectifier AC IGBT IGBT Driver Vcc CMP CMP Over-Vol Dual-channel CSD scanning is a new feature of CY8C22x45. It has the following advantages over the old CSD logic: The dual-channel CSD logic does not consume any digital block resource. It has two separated CSD logic and can support dualchannel CSD scan. Dedicated clock resource frees the VC1/VC2/VC3 clocks for other system control. M8C needs to respond to only one interrupt for each CapSense button scan. Syn-Control NTC IGBT Temperature NTC Coil Temperature NTC Over-Current CMP Pan Temperature Vcc Control Block Vref PWM Duty Ref PWM Enable (20KHz PWM and Protection ) Figure 9. Block Diagram of CSD2X Driver 5v GND 1 2 3 4 5 6 7 8 10 9 FAN 11 Board Connector Main controller board The second PCB board is the main controller board based on CY8C22x45. This board is responsible for system control and user interface control, and the board is mounted on the top side of the cooker. This board handles the scanning of CapSense buttons and the LED displaying control. It is also responsible for the entire system control, including current, voltage, and temperature sampling, generating PWM duty cycle for the induction cooker power control, over-current, over voltage, and over temperature protection, menu operation control, and system status display. A real-time clock provided by CY8C22x45 is also applied for the timer in the cooker. Figure 8 shows the block diagram of the main controller board. Figure 8. Main Controller Board Board Connector Controller BOARD 1 2 3 4 5 6 7 8 9 10 11 5v I/O MUX 8-bit PWM When the user module runs, only one interrupt can happen at the end of the scan. This allows the CPU to release more MIPS, and allows multisource interrupts. The analog bus is split into two separate sections: left analog bus and right analog bus. As a result, it can simultaneously support dual-channel CSD scan. I/O 8-bit PWM 8-bit PWM 10bit SAR ADC M8C Core CY8C22x45 Dual-chanel CSD Module The dual-channel CSD user module consumes only CSD logic, two analog columns, left and right analog bus, and dual-channel IDAC. The following figure shows the consumption. SPI I/O 12 Buttons 5V LED Segments www.cypress.com Figure 9 shows the block diagram of a single channel CSD in CY8C22x45. An internal IDAC is used to charge the external capacitor Cmod. The value in counter represents the duty the IDAC is turned on. The counter data increases with the capacitance of CapSense. The clock to drive IO_MUX can be fixed frequency clock or PRS output to reduce the EMI and noise effect. The Vref comes from Vbg or VDAC. Digital blocks and VC1/VC2/VC3 are not used, and they are free for other customer functions, for example, UART or SPI. 74LS164 IO Expansion LEDs Document No. 001-50475 Rev. *B 5 Induction Cooker Design with CapSense® Figure 10. Resource of CSD2X Board Connector Definition and Description The following table indicates the board connector definition and description. Table 1. Board Connector Definition Pin I/O Expansion by 74HC164 I/O expansion is necessary in many home appliance 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 I/Os 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. See the Appendix Board Schematics (Figure 16 and Figure 17) for more information. Low-Pass Filter for Analog Signal Figure 11. Capacitive Low-Pass Filter C The cutoff frequency is: fcutoff = 1/2πRC 1 Power Power Supply of 5 V 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 Circuit. 11 Ground Ground The system firmware is relatively complicated. Because the system functions include the user interface control, such as the CapSense button scan and LED display, it also includes the analog signals sampling and internal timer. In addition, the control algorithm implementation such as fixed temperature control algorithm, stable power control algorithm, multiple protections, and induction cooker kernel functions are also included. Figure 13 shows the high-level flow chart of the firmware. For each cooking mode the firmware uses either constant temperature or constant power. For both power or temperature control, the ON time of the IGBT PWM is controlled. A PI controller is used for the same which is explained in the section “PI Close Loop Control Algorithm”. Vout R Description System Firmware 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 5 V. Because these signals are the output from the noise power board, a capacitive low-pass filter is designed before the signal enters PSoC. Figure 11 shows the typical circuit. Vin Type Equation 1 In Equation 1, assuming the value of R is 47 kΩ and the value of C is 0.1 µf, then the circuit gets a cutoff frequency at 33.9 Hz. This is because these signals change very slowly, especially the temperature signals of the pan and IGBT. The parameters of this capacitive low-pass filter can meet the system design requirement. When the pan is placed on the cooker top, the inductance of the resonant converter (L*) is increased. This effectively decreases the switching frequency. The sync control signal shown in Figure 11 is the zero crossing signal of the resonant converter voltage. The sync control pulses are counted for a fixed period. Thus the number of sync control pulses would thus be less when the pan is present compared to when the pan is absent. If the Pan is not present the IGBT is turned OFF. The CT is used to measure the current from the AC mains. We limit the IGBT PWM maximum duty cycle such that the peak current is less than 10 A. www.cypress.com Document No. 001-50475 Rev. *B 6 Induction Cooker Design with CapSense® The temperatures sensors are used to measure PAN, IGBT and Coil temperature. The limiting values for PAN, IGBT and Coil temperatures are 300, 80, and 80 °C. Fan is used to cool the IGBT and quasi resonant converter coil. PWM signal for driving the fan is generated by the Main controller board. Figure 13. Flow Chart of Firmware Start Hardware/Register Initialization Figure 12. Power Board Working Mode Control Module LED Diaplay Module ADC Module (AC voltage, current, NTC 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 www.cypress.com Document No. 001-50475 Rev. *B 7 Induction Cooker Design with CapSense® PSoC Digital Block and Analog Resources Consumed LEDs and 7-Segment Digital LED Display Refresh The following table lists the digital blocks, analog blocks, and other resources consumed in the induction cooker system. The user interface of the induction cooker is important, because the end user exchanges all information through it. In the design, the 74HC164 is used to expand the I/O to drive the four 7-segment LED display. Any delay in refreshing results in the blinking of the LED. So an 8-bit timer is used in the firmware, and the interrupt of the timer requests the LEDs to be refreshed. A display buffer, whose 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 set as 2 ms or 3 ms, so the refresh rate is around 55 Hz to 83 Hz. Table 2. PSoC Digital Block and Analog Resources Name Description DBC00 PWM8 for IGBT power control DBC01 PWM8 for buzzer control DCC02 Timer8 for internal click DCC03 SPIM for 74HCT164 driving DBC10 PWM8 for fan control DBC11 Counter8 for UART clock (Optional) DCC12 UART TX for system debug (Optional) DCC13 UART RX for system debug (Optional) ACE02 Used be CSD2X for button scan ACE 03 Used be CSD2X for button scan void { CSD2X Button scan static BYTE bLedTimer; wTick++; // global for tick The following firmware shows the scan of the LED display: BYTE baLedBuf[6]; // display buffer The refreshing code in the Timer8 IRQ is: RTC System timer SAR10 Analog signals sampling Figure 14. System Interconnection www.cypress.com Timer8_ISR( void ) if( wTick - bLedTimer > LEDONTIME // period is 2ms { bLedTimer = wTick; bComInx ++; if( bComInx>=LEDCOMNUM) bComInx = 0; switch( bComInx ) { case 0: LED_COM5_OFF; SPIM_TX_BUFFER_REG = baLedBuf[0]; LED_COM0_ON; break; case 1: LED_COM0_OFF; SPIM_TX_BUFFER_REG = baLedBuf[1]; LED_COM1_ON; break; case 2: LED_COM1_OFF; SPIM_TX_BUFFER_REG = baLedBuf[2]; LED_COM2_ON; break; case 3: LED_COM2_OFF; Document No. 001-50475 Rev. *B ) 8 Induction Cooker Design with CapSense® SPIM_TX_BUFFER_REG = baLedBuf[3]; LED_COM3_ON; break; case 4: LED_COM3_OFF; SPIM_TX_BUFFER_REG = baLedBuf[4]; LED_COM4_ON; break; case 5: LED_COM4_OFF; SPIM_TX_BUFFER_REG = baLedBuf[5]; LED_COM5_ON; break; IIR Low-Pass Digital Filter The digital filter is widely used in the control. However, not all digital filters can be implemented on the PSoC, because many digital filters need enhanced MAC units to speed the calculation. In this system, a simple one order IIR low-pass digital filter is introduced, and the IIR filter is used for all analog input signal processing. The algorithm is shown in the following formula. yn = a * xn + (1 – a) * yn-1 Equation 2 PI Close Loop Control Algorithm The induction cooker can support fixed power cooking and fixed temperature cooking modes. PI close loop control is applied in both the fixed power cooking mode and the fixed temperature cooking mode. The PI control algorithm is very useful in a continuous control system. There are two basic PI control algorithms: absolute mode and increment mode PI control algorithm. The following equation is a discrete expression of the position mode of the PI algorithm. uk = KP*ek + KI * ∑(i=1)(k-1)ei + u0 In Equation 6: is power error. is the integration coefficient. is the proportional coefficient. Another mode of PI algorithm is the increment mode, and the formula is: ∆uk = uk - u(k-1) = KP*(ek - e(k-1) ) + KI * ek 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. is the current sampling value. is the current output of filter. is the last output of filter. To finish the calculation, the multiplication and addition operations need two times. Considering the PSoC CPU resources, the calculation is still complicated. To achieve the low-pass filter and simplify this algorithm, the special filter coefficient is required. For example, using the following formula is obtained: yn = 0.25 * xn + 0.75 * y(n-1) Equation 7 Compared to the absolute mode PI algorithm, the increment mode PI algorithm has the following advantages: In Equation 2: is the filter coefficient. Equation 6 Figure 15 shows the block diagram of PI algorithm power control for fixed power cooking mode. Figure 15. Block Diagram of PI Algorithm Power Control Control Board Power Board Voltage Sample Equation 3 Power Caculation Current Sample Replacing multiplication operation with operation, the formula can be changed to: bit-shifting Power Ref yn = xn≫2 + y (n-1)≫1+y(n-1)≫2 Equation 4 fcutoff = a/2πT(1-a) Equation 5 With this equation, only three bit-shifting operations and three addition operations are need for the calculation. In this system, the value of is 0.25. The cutoff frequency of this filter is 1.33 Hz, according to the following formula with a sampling period of 40 ms. In Equation 5, is the sampling period. www.cypress.com + Σ PI PWM Controller Low Pass Filter IGBT Controller and Driver Main Resonant Circuit The PWM output is the control signal of the main resonant power. Through a low-pass filter in the power control board, a reference voltage is achieved. The reference voltage is the input signal of IGBT control logical circuits, which has functions of pulse generation, synchronization, protection and IBGT driver. The main resonant circuit output increases with the reference voltage. As a result, the induction cooker power can be adjusted by changing the duty of PWM. Document No. 001-50475 Rev. *B 9 Induction Cooker Design with CapSense® If the induction cooker works in fixed power cooking mode, the close loop is implemented in the following steps: sample RSM value of voltage and RSM value of current of main resonant circuit; calculate current power; compare with reference power and get error; adjust the duty of the PWM output according to the PI algorithm. Summary This application note describes induction cooker control system based on PSoC chip CY8C22x45. With the assistance of PSoC device, all the functions of the control board can be integrated into one chip. With few external components and optimized algorithm, this design incorporates all the kernel functions of the induction cooker, CapSense button scan, stable power close loop control, and fixed temperature close loop control. www.cypress.com About the Author Name: Robin Chen Title: Application Engineer Staff Contact: [email protected] Name: Jemmey Huang Title: Product Apps Manager Sr. Name: Vincent Cai Title: Application Engineer Sr. Contact: [email protected] Document No. 001-50475 Rev. *B 10 Induction Cooker Design with CapSense® Appendix A Figure 16. Board Schematic J41 5V_IN R84 1 TIGBT 4 R48 47k TMB 5 R51 0 PWM 6 R46 47k VIN VCC 560R SEN2 3 4 5V_IN VCC L1 SEN11 5 SEN9 6 SEN7 7 8 + + BEAD C6 0.1u C18 100u/16v SEN5 9 SEN3 10 SEN1 11 VIN CUR COM1 P2.0 Vdd1 Vss1 P4.5 P4.4 P4.2 P4.1 P4.0 Vss2 XRES P3.7 P3.6 P3.5 P3.4 P3.2 P3.3 12 560R SEN4 1 P2.6 P0.0 P2.2 P2.1 CY8C22545-TQFP R81 SEN3 34 TMB 36 P0.2 35 TIGBT 38 37 P0.6 Vdd2 P0.4 CMODL CMODR 41 40 39 TXP P2.4 P2.3 P3.1 C5 0.1u P2.5 P4.3 560R 1 Button 33 BUZ 32 FAN 31 PAN R80 560R R79 560R SEN5 1 Button 30 SEN6 1 29 SEN12 28 SEN10 27 SEN8 Button R78 560R R77 560R SEN7 1 Button 26 25 SEN6 SEN8 1 24 SEN4 23 SEN2 Button R76 560R SEN9 1 P3.0 PWM R82 Button Button 22 GJ_INT 2 VCC P1.6 0.1u 21 C19 0.1u P1.4 C17 0.1u 20 C16 0.1u P1.2 C14 0.1u P1.0 C12 19 1 18 PAN P0.5 FAN Vss3 0 0 P1.1 R52 R53 17 9 10 U1 P0.7 CUR 16 GJ_INT 42 0 P0.3 47k R49 P1.3 R47 8 COM2 7 Connect C15 100u/16v R83 1 Button 11 11 SEN1 Button COM2 15 9 10 47k 44 8 R44 43 7 3 560R 1 COM1 P2.7 6 TXP P0.1 5 47k P1.5 4 R41 P1.7 3 2 14 2 13 1 R75 560R SEN10 Button COM4 SPI_IO COM5 COM3 1 VCC COM6 R74 560R R73 560R SEN11 1 SPI_CLK C9 0.1u C8 0.1u C10 0.1u Button I2C_SDA SEN12 1 Button I2C_SCL COM3 COM5 SPI_IO C7 VCC CMODL LS1 4.7n C11 BUZ VCC CMODR J7 SPEAKER I2C_SCL I2C_SDA 1 2 3 4 5 1 2 3 4 5 4.7n 5 PIN HDR Cypress Semiconductor Title Induction Cooker Demo Kit Size B Date: www.cypress.com Document No. 001-50475 Rev. *B Document Number Tuesday , December 02, 2008 Rev 1.0 Sheet 1 of 11 1 Induction Cooker Design with CapSense® Figure 17. Schematic Drawing of Induction Cooker Evaluation Kit Numerical LED U4 ANODE3 R72 Q4 4.7K R71 COM2 Q1 4.7K COM3 SS9014 SS9014 R70 4.7K Q3 R69 COM4 4.7K SS9014 NC3 9 4 COM1 14 16 13 3 5 11 15 7 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 NC4 ANODE4 NC 8 CATHODE_A CATHODE_B CATHODE_C CATHODE_D CATHODE_E CATHODE_F CATHODE_G CATHODE_DP ANODE2 12 6 NC2 2 ANODE1 10 1 Q2 SS9014 SEG1 SEG2 SEG3 SEG4 SEG5 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 1 1 1 1 2 2 LED7 LED7 LED6 LED6 LED5 LED5 1 1 2 LED4 LED4 LED3 LED3 LED2 LED2 LED1 LED1 MC74HC164ADT 1 SEG8 2 200R 200R 200R 200R 200R 200R 200R 200R 1 R92 R91 R90 R89 R88 R87 R86 R85 1 GND 3 4 5 6 10 11 12 13 2 7 QA QB QC QD QE QF QG QH SEG7 1 B A 0.1uF 14 2 2 1 VDD 1 RESET CLK 1 SPI_IO C13 9 8 2 SPI_IO 6 SPI_CLK 10K SEG6 VCC U3 R20 1 VCC SPI_CLK LED13 LED13 2 LED12 LED12 2 LED11 2 2 LED11 2 2 LED10 LED10 LED9 LED9 LED8 LED8 R67 4.7K Q6 COM5 SS9014 R68 4.7K Q5 COM6 SS9014 Cypress Semiconductor Title Size C Date: www.cypress.com Document No. 001-50475 Rev. *B Induction Cooker Demo Kit Document Number Tuesday , December 02, 2008 Rev 1.0 Sheet 1 12 of 1 Induction Cooker Design with CapSense® Figure 18. Photograph of Induction Cooker Evaluation Kit www.cypress.com Document No. 001-50475 Rev. *B 13 Induction Cooker Design with CapSense® Figure 19.oInduction duct Coo eCooker FWc Architecture tectu e Flow o c Chart at 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 Pan, NTC IGBT) End 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 www.cypress.com Document No. 001-50475 Rev. *B 14 Induction Cooker Design with CapSense® Document History ® Document Title: Induction Cooker Design with CapSense - AN50475 Document Number: 001-50475 Revision ECN Orig. of Change Submission Date ** 2616863 JHU/AESA 01/07/2009 New application note. *A 3197603 SSHH 03/16/2011 Changed the default compiler to Image craft from Hi-tech in the PSoC Designer setting. *B 3604206 BLJI 04/30/2012 Added details about Quasi-resonant converter. Description of Change Updated project to PSoC Designer 5.2 SP1. Updated template. www.cypress.com Document No. 001-50475 Rev. *B 15 Induction Cooker Design with CapSense® Worldwide Sales and Design Support Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office closest to you, visit us at Cypress Locations. PSoC® Solutions Products Automotive cypress.com/go/automotive psoc.cypress.com/solutions Clocks & Buffers cypress.com/go/clocks PSoC 1 | PSoC 3 | PSoC 5 Interface cypress.com/go/interface Lighting & Power Control cypress.com/go/powerpsoc cypress.com/go/plc Memory cypress.com/go/memory Optical Navigation Sensors cypress.com/go/ons PSoC cypress.com/go/psoc Touch Sensing cypress.com/go/touch USB Controllers cypress.com/go/usb Wireless/RF cypress.com/go/wireless Cypress Developer Community Community | Forums | Blogs | Video | Training Technical Support cypress.com/go/support 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 Fax Website : 408-943-2600 : 408-943-4730 : www.cypress.com © Cypress Semiconductor Corporation, 2009-2012. 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. www.cypress.com Document No. 001-50475 Rev. *B 16