Abstract

The use of microprocessors for processing discrete data and control in automatic control, measurement and control systems allows you to implement complex and optimal algorithms. At the same time, it is necessary to optimize circuit solutions to build these fault-tolerant systems. One of the tasks of the system is uninterrupted operation with little operator intervention or without any outside interference. Due to the complexity of complete testing of systems and the impact on microprocessors of many external factors, there are risks of system malfunction, which leads to failures in data processing. Therefore, it is extremely important to detect the incorrect operation of the microprocessor system and make decisions to correct the situation, and in the future to prevent similar problems.
 A variant of the circuit of the power supply unit to the microcontroller is considered to ensure the safe termination of the program when the system supply voltage is suddenly turned off. The proposed solution allows you to determine the time of power failure and allows you to perform preparatory operations to complete the current transformations, prepare the microcontroller for stop and stop the program. Was presented the circuitry solution for determining the state of the system before starting the program using a memory element on the capacitor, which made it possible to establish the preliminary cause of the initial start of the program. The schematic diagram for store eight bits of discrete data outside the microcontroller is developed. Using of this circuit allow store information about the number of the current state of the program and at the initial start of the program will increase information about causes of reset.
 With using the specified storage method, able to determine the state of the program that failed, and was causing the initial start of the program, and then take this information into account to eliminate such failures. Another circuit also developed to generate the hardware signal of the initial start of the microcontroller program when the USB connector is connected. The scheme provides the ability to prohibit the forming hardware signal. That require during the execution of critical parts of the program.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.