At the OPEnS Lab, a key focus for our projects is achieving exceptionally long battery life. This was particularly true for the OPEnSampler, a device that presented a unique challenge due to its need for simultaneous operation at three different voltage levels (3.3V, 5V, and 12V). While existing circuits using MOSFETs could manipulate power sources and significantly reduce standby current, designing a solution that latched its state in both directions (on and off) and powered itself solely from the source battery proved to be a hurdle.
This blog post delves into the features and key considerations surrounding Release 1.0.0 of the OPEnS Power Control Board, a solution specifically developed to address this challenge.
The schematic
Mitch Nelke designed the circuit, which contains two essential integrated circuits. IC1 acts as the flip flop IC, responsible for latching its EN-bar output to either HIGH or LOW states following a HIGH pulse on its Clock Pulse input or a LOW pulse on its C-bar input, respectively. IC2 functions as the 12v-5v switching regulator, reducing the battery’s 12v supply to 5v for powering the microcontroller and other elements.
The Flip Flop
While the OPEnS Power Control Board boasts impressive low-power capabilities, understanding its magic requires a peek under the hood. This section dives into the details of how the board itself is powered and controlled.
Fueling the Flip-Flop:
The brain of the board, the flip-flop circuit, gets its power directly from the battery’s raw 12V supply. However, to ensure safe operation, a zener diode (D1) acts as a voltage regulator, dropping it down to a more manageable 4.3V.
Calculating the Right Current:
A resistor, R1, plays a crucial role in ensuring the flip-flop gets the current it needs to function. This value is carefully chosen based on two factors:
Minimum Current Requirement: The switching regulator’s enable pin and the flip-flop itself have a minimal current draw. R1 is selected to provide at least 60uA to meet this combined need.
Buffer: A small additional current allowance is factored in as a buffer for potential variations or future modifications.
Setting the Stage for Latched Power Control:
This 4.3V source also serves another purpose. It keeps the flip-flop’s D input permanently pulled HIGH. This acts as a default setting, influencing the flip-flop’s output based on other control signals.
Clock Pulse: The Power-On Signal:
The Clock Pulse (CP) input is typically pulled LOW by a resistor (R10k in this case). When a rising edge (voltage increase) is detected on this pin, it acts as a trigger for the flip-flop. Importantly, at this point, the flip-flop also reads the state of its D input (which is HIGH, as mentioned earlier). This combination sets the flip-flop’s output (Q) to HIGH as well.
In simpler terms, a brief voltage spike on the CP input acts like a “turn on” switch, and the HIGH D input ensures this always results in powering up the connected devices.
Overriding the On-State: The C-bar Input
The C-bar input has a different role. It has a weak pull-up resistor (R2) that keeps it at 4.3V most of the time. However, when a LOW signal is applied to this input, it overrides the CP input entirely. This LOW signal can come from two sources:
RTC_INT: This input is typically connected to the interrupt pin of a Real-Time Clock (RTC) module. When the RTC triggers an interrupt, it pulls C-bar LOW, effectively shutting down the device.
High Input from INT_2: This alternative allows a microcontroller’s output pin (INT_2) to control the power state. A HIGH signal on INT_2 sends a LOW signal to C-bar, triggering a power down.
C-bar’s Dominance and the Role of GPIO_READ:
Once C-bar is pulled LOW, it essentially ignores any subsequent clock pulses. The flip-flop’s output (Q) is forced LOW, turning off the power. This state persists until the next time C-bar is pulled HIGH.
It’s important to note that another pin, GPIO_READ, allows a microcontroller input pin to “peek” at the state of the RTC’s interrupt even when the device is powered down. This allows for coordinated power management when the microcontroller wakes up.
Connecting the Dots: Putting it All Together
By understanding how these internal circuits interact – the constant power supply to the flip-flop, the control signals on CP and C-bar, and the ability for the microcontroller to monitor the RTC – we gain a clearer picture of how the OPEnS Power Control Board achieves its remarkable ultra-low power standby current.
I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. ACCEPTCheck Privacy Policy
Manage consent
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.