The source of Q 1 is connected to the positive terminal of the battery, and its drain is connected to the V CC (INT) , V CC (IO1) and V CC (IO2) power pins of IC 1 and other components that require power-off control. When the power supply is disconnected, a 1kΩ pull-up resistor R 3 maintains the gate-source voltage of Q 1 at 0V, maintaining its off-state. When IC 1 is powered off, it establishes a leakage path to ground through the CPLD's power-down pin. EPM570T100 is equipped with hot plug protection, which can limit the current of any user-accessible device's I/O pin to less than 300mA. Therefore, even in the worst case scenario, the I/O pin voltage developed across R 3 will not reach the FET's minimum gate threshold turn-on voltage of 0.7V. Pressing any switch establishes a current path through the switch's contacts and the corresponding diode, thus creating a gate-source bias voltage of about 2.3V on R3 . This voltage is enough to turn Q1 on for about 100ms and provide IC 1 supplies power. When mechanical switches are activated, their minimum on-time is at least 3ms, and a typical operator's press/release time is at least 30ms. Since the human response time is relatively slow, before the operator releases the switch, the CPLD can complete the conduction, reset the internal circuit, and maintain the power-off pin of Q 1 in a logic zero state. In addition to the application logic set by the user (not shown in the figure), the power control logic of the CPLD adds a pair of library macro circuits with standard parameters, which are generated by the Quartus II development tool of Altera ( www.altera.com ). The internal 4.4MHz ±25% oscillator Altufm_osc drives a modular 44 million LPM (library parameterized module) counter. The counter is reset by a logic low signal generated by the CPLD application logic or by closing any switch. When the counter is reset, its execution signal goes low, driving the external power-down pin. When reset is removed, the inverted execution signal restarts the LPM counter. If all switches are on and the application logic is not working, the counter counts to 44 million in about 10 seconds, and then the internal execution signal goes high, turns off the counter, and keeps the execution signal high. Next, the power-down pin climbs toward V CC , and when the power-down pin voltage reaches 2.3V, Q 1 is turned off . Turning off power to the CPLD causes the power-down pin to enter tri-state (or unconnected) mode, and R 3 keeps Q 1 off. Users can configure the EPM570-T100 using JTAG-compliant commands and connecting a download cable to a factory-defined 10-pin plug. This process requires pressing an external switch before, during, and after configuration to ensure that the CPLD can obtain power during the configuration process. The inactive time can be set to any desired value by changing the counter module. Although dedicated device pins are used for power, ground, and JTAG signals, any general-purpose CPLD I/O pin can be programmed as a switch input and power-down output. If your application requires a key switch matrix, you can use n diodes to form an nxm switch for effective power-on detection (Figure 2). In this example, rows of switches are connected to the gates of the MOSFETs through diodes D 1 to D 4 . Resistors R 8 ~ R 11 provide a path to ground for each row switch and only carry current when the switch is closed, making the row input low while ensuring that only minimal power supply current is consumed.
When the user presses either switch, the gate of Q 1 is low and the CPLD is turned on. Before the user releases the switch, a quick CPLD power-up routine scans the rows and rows of the switch array to determine which switch the user pressed. And the reset signal resets the inactive timer of the LPM counter.
Previous article:Implementing FPGA-based SDRAM controller using Verilog
Next article:I2C module configuration and application of TI series DSP
Recommended ReadingLatest update time:2024-11-16 19:37
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Let's build an infrared temperature gun
- MSP430F15X/16X series DMA registers
- [RVB2601 development board trial experience] Build a development environment and test the serial port routine
- Is there a better analog switch than CD4051?
- Lichee RV 86 PANEL Review (3) - Building a cross-compilation chain under WSL single system
- DSP bootloarder C5000
- What is the minimum distance that the inductor of a switching power supply chip should be kept from the edge of the board?
- SinlinxA33 builds Qt App development environment to write helloworld
- [Qinheng RISC-V core CH582] Transplanting RF code 02
- MSP430G2553 official development board music player