An automatic protection device for single-chip microcomputer faults
By designing the anti-interference circuit and protection structure for automatic restart of microcontroller failure, the fault problem caused by external interference or connection interruption during work is solved, and the stable operation and security of the microcontroller during movement is achieved.
Patent Information
- Application Number
- CN202111358447.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2041-11-17
AI Technical Summary
During the operation, the microcontroller is prone to failure due to external interference or connection interruption, and the pins are prone to fall off when moving, causing circuit interference.
An anti-interference circuit is designed for automatic restart of microcontroller failure. By setting components such as ULN3330 on the side wall of the microcontroller, a complete circuit is formed, and a structure such as a movable cover and a slip mechanism are used to protect the pinpoints of the microcontroller to avoid interference.
It realizes automatic restart of the microcontroller in case of failure, and effectively avoids external interference and pin falloff problems, ensuring the stable operation and safety of the microcontroller during movement.
Smart Images

Figure CN114048073B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of single-chip microcomputers, and specifically to an anti-interference circuit for automatic restart of single-chip microcomputer faults. Background Art
[0002] During the operation of a single-chip microcomputer, there are often interrupt connections at the entrance. After the level at the pin changes, it will trigger a current interruption. After disconnecting the connection point between the external connection point, the external overall device connected to the single-chip microcomputer will be interrupted. When moving the entire single-chip microcomputer, it is usually necessary to confirm the protection of the pin points connected to its side wall before moving its position, otherwise the just-connected pin points will fall off and interfere with the circuit. Summary of the Invention
[0003] To solve the above problems, the present invention provides the following technical solution: An anti-interference circuit for automatic restart of single-chip microcomputer faults, including two major modules: a single-chip microcomputer and an external serial port;
[0004] S1. The external serial port further includes ULN3330, GND, RES2. SW-PB and CRYSTAL are connected to the side end of the single-chip microcomputer, and the docking signal transmission can display changes;
[0005] S2. The voltage value of ULN3330 is 12V;
[0006] S3. The circuit of the X1 and X2 interfaces and GND of the single-chip microcomputer and the interface of CRYSTAL are looped and docked to form a complete circuit;
[0007] S4. The PESET interface of the single-chip microcomputer is docked with the interfaces of RES2 and SW-PB;
[0008] S4. When the instruction of the single-chip microcomputer is sent to the docked interface, the single-chip microcomputer receives all the return instructions that can be executed, stores the instructions in the memory, and the instructions enter the unit;
[0009] S5. The instructions in the unit are removed and executed and allocated to the corresponding label area address. The instructions stored in this address storage unit are taken out and then executed;
[0010] S6. When the single-chip microcomputer executes the program, the instructions are removed and executed one by one. Using PG for tracking, the executed commands are obtained, and the operation is smooth, which can avoid interference.
[0011] A single-chip microcomputer fault automatic protection device includes a movable cover. The inner side wall of the movable cover is penetrated and connected with a single-chip microcomputer housing. The side wall of the single-chip microcomputer housing is penetrated and connected with a triangular elastic block. The outer side wall of the triangular elastic block is penetrated and connected with a single-chip microcomputer. The bottom end of the single-chip microcomputer is penetrated and connected with an insertion and sliding mechanism. The bottom end of the insertion and sliding mechanism is penetrated and connected with a bladder mechanism. The inside of the bladder mechanism includes a bladder. The top inner side wall of the bladder is penetrated and connected with a folding tank. The bottom end of the folding tank is penetrated and connected with a movable bead. The bottom side wall of the movable bead is penetrated and connected with a pointed block. The bottom end of the bladder is penetrated and connected with a support cylinder. The bottom side wall of the support cylinder is penetrated and connected with an axial movement mechanism. The side wall of the axial movement mechanism is penetrated and connected with a clamping block.
[0012] Preferably, the inside of the insertion and sliding mechanism includes a pyramid. The bottom end of the pyramid is penetrated and connected with a stacked tube. The outer side wall of the bottom end of the stacked tube is penetrated and connected with a docking shell.
[0013] Preferably, the inside of the axial movement mechanism includes a convex block. The inner side wall of the convex block is penetrated and connected with a movable shaft. The side wall of the movable shaft is penetrated and connected with a support rod.
[0014] Preferably, the side wall of the stacked tube is slidably connected to the side wall of the pyramid. When the bottom end of the pyramid is extruded outward from the side wall of the stacked tube, the side wall of the stacked tube can be driven to slide out from the inner side wall of the docking shell.
[0015] Preferably, the bottom end of the docking shell is slidably connected to the inner top of the folding tank. When the side wall of the docking shell is flicked outward, the side wall of the folding tank can be driven to fold and tilt outward.
[0016] Preferably, the side wall of the convex block is rollably connected to the bottom side wall of the support cylinder. When the side wall of the support cylinder is pushed, the side wall of the support rod can be driven to move, and the support rod drives the convex block to move.
[0017] Preferably, the side wall of the convex block is penetrated and connected to the inner side wall of the support rod. When the outer side wall of the convex block is squeezed, it can swing back and forth on the outer side wall of the support rod.
[0018] Preferably, the bottom end of the support rod is movably connected to the top end of the axial movement mechanism. The side wall of the support rod can drive the side wall of the convex block to unevenly penetrate left and right, causing the side wall of the entire axial movement mechanism to rotate left and right.
[0019] Compared with the prior art, the present invention provides a single-chip microcomputer fault automatic restart anti-interference circuit, which has the following beneficial effects:
[0020] 1. The anti-interference circuit for automatic restart of the single-chip microcomputer fault. When the side wall of the single-chip microcomputer is punctured and propped up into folds towards the middle, the folds push the corner cone outwards. When the bottom end of the corner cone extrudes outwards from the side wall of the overlapping tube, it can drive the side wall of the overlapping tube to slide outwards from the inner side wall of the docking shell. Since the bottom tip of the side wall of the overlapping tube is in a state of tilting outwards, it will drive the side wall of the docking shell to tilt outwards, and can drive the side wall of the insertion and sliding mechanism to be propped outwards towards the side wall of the entire docking shell when receiving a collision, which can prevent the pin points of the internal single-chip microcomputer from being damaged and avoid interference at the same time.
[0021] 2. The anti-interference circuit for automatic restart of the single-chip microcomputer fault. The side wall of the support cylinder can slide along the shaft movement mechanism. When the side wall of the support cylinder is moving, a support rod passes through it, and the bottom end of the support rod supports on the side wall of the convex block. When the side wall of the support cylinder is propping, it can drive the side wall of the support rod to move, and the side wall of the support rod can drive the side wall of the convex block to unevenly penetrate left and right, making the side wall of the entire shaft movement mechanism rotate left and right. When moving the whole device, it can automatically open the bottom side corner of the fitting support cylinder to expose a gap, which can avoid excessive extrusion and disconnection. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is the circuit diagram of the present invention;
[0023] Figure 2 It is the schematic diagram of the overall structure connection of the present invention;
[0024] Figure 3 It is the schematic diagram of the internal structure connection of the insertion and sliding mechanism and the bladder mechanism of the present invention;
[0025] Figure 4 It is the schematic diagram of the structure connection of the shaft movement mechanism at the bottom side wall of the bladder mechanism of the present invention.
[0026] In the figure: 1. Movable cover; 2. Single-chip microcomputer housing; 3. Triangular elastic block; 4. Single-chip microcomputer; 5. Insertion and sliding mechanism; 511. Corner cone; 512. Overlapping tube; 513. Docking shell; 6. Bladder mechanism; 611. Bladder; 612. Pointed block; 613. Movable bead; 614. Folding tank; 615. Support cylinder; 616. Support rod; 7. Shaft movement mechanism; 711. Convex block; 712. Movable shaft; 713. Support rod; 8. Clamping block. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0027] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0028] Embodiment 1:
[0029] Please refer to Figure 1 , an anti-interference circuit for automatic restart of single-chip microcomputer faults, including two major modules: a single-chip microcomputer and an external serial port;
[0030] S1. The external serial port also includes ULN3330, GND, RES2. SW-PB and CRYSTAL are connected to the side of the single-chip microcomputer, and changes can be displayed when docking signal transmission;
[0031] S2. The voltage value of ULN3330 is 12V;
[0032] S3. The line X1, X2 interfaces and GND of the single-chip microcomputer, and the interface loop circuit of CRYSTAL are surrounded and docked to form a complete circuit;
[0033] S4. The line PESET interface of the single-chip microcomputer is docked with RES2 and SW-PB interfaces;
[0034] S4. When the instructions of the single-chip microcomputer are delivered to the docking interface, the single-chip microcomputer receives all the return instructions that can be executed, stores the instructions in the memory, and the instructions enter the unit;
[0035] S5. The instructions in the unit are removed and executed and allocated to the corresponding label area address. The instructions stored in this address storage unit are taken out and then executed;
[0036] S6. When the single-chip microcomputer executes the program, the instructions are removed one by one and executed. PG is used for tracking to obtain the executed commands, and the operation is smooth, which can avoid interference.
[0037] Embodiment 2:
[0038] Please refer to Figure 2 and Figure 3A single-chip computer fault automatic protection device comprises a movable cover 1, a single-chip computer housing 2 is connected through the inner side wall of the movable cover 1, a triangular spring block 3 is connected through the side wall of the single-chip computer housing 2, a single-chip computer 4 is connected through the outer side wall of the triangular spring block 3, a plug-in sliding mechanism 5 is connected through the bottom end of the single-chip computer 4, the plug-in sliding mechanism 5 comprises a pyramid 511 inside, a stacked tube 512 is connected through the bottom end of the pyramid 511, a docking shell 513 is connected through the outer side wall of the bottom end of the stacked tube 512, and the plug-in sliding mechanism 5 comprises a pyramid 511 inside, a stacked tube 512 is connected through the bottom end of the stacked tube 512, and a docking shell 513 is connected through the outer side wall of the bottom end of the stacked tube 512. The bottom end of the sliding mechanism 5 is penetrated and connected with a capsule-drum mechanism 6, the interior of the capsule-drum mechanism 6 includes a capsule 611, the inner top side wall of the capsule 611 is penetrated and connected with a folding tank 614, the bottom end of the folding tank 614 is penetrated and connected with a movable bead 613, the bottom side wall of the movable bead 613 is penetrated and connected with a pointed block 612, the bottom end of the capsule 611 is penetrated and connected with a supporting tube 615, the bottom side wall of the supporting tube 615 is penetrated and connected with an axial mechanism 7, and the side wall of the axial mechanism 7 is penetrated and connected with a blocking block 8.
[0039] The side wall of the stacked tube 512 is slidably connected to the side wall of the pyramid 511 . When the bottom end of the pyramid 511 is squeezed outward from the side wall of the stacked tube 512 , the side wall of the stacked tube 512 can be driven to slide outward from the inner side wall of the docking shell 513 .
[0040] The bottom end of the docking shell 513 is slidably connected to the inner side of the top of the folding can 614. When the side wall of the docking shell 513 is moved outward, the side wall of the folding can 614 can be driven to fold and tilt outward.
[0041] When the bottom end of the pyramid 511 is squeezed outward from the side wall of the stacked tube 512, the side wall of the stacked tube 512 can be driven to slide outward from the inner side wall of the docking shell 513. Since the bottom tip of the side wall of the stacked tube 512 moves in an outwardly tilted and raised state, it will drive the side wall of the docking shell 513 to tilt and rise outward, and can drive the side wall of the sliding mechanism 5 to be lifted outward toward the side wall of the entire docking shell 513 when receiving a collision.
[0042] Embodiment three:
[0043] See also Figures 2 - 4, A single-chip microcomputer fault automatic protection device, including a movable cover 1. The inner side wall of the movable cover 1 is penetrated and connected with a single-chip microcomputer housing 2. The side wall of the single-chip microcomputer housing 2 is penetrated and connected with a triangular elastic block 3. The outer side wall of the triangular elastic block 3 is penetrated and connected with a single-chip microcomputer 4. The bottom end of the single-chip microcomputer 4 is penetrated and connected with an insertion and sliding mechanism 5. The bottom end of the insertion and sliding mechanism 5 is penetrated and connected with a bladder mechanism 6. The inside of the bladder mechanism 6 includes a bladder 611. The inner top side wall of the bladder 611 is penetrated and connected with a folding tank 614. The bottom end of the folding tank 614 is penetrated and connected with a movable bead 613. The bottom side wall of the movable bead 613 is penetrated and connected with a pointed block 612. The bottom end of the bladder 611 is penetrated and connected with a support cylinder 615. The bottom side wall of the support cylinder 615 is penetrated and connected with a shaft movement mechanism 7. The inside of the shaft movement mechanism 7 includes a convex block 711. The inner side wall of the convex block 711 is penetrated and connected with a movable shaft 712. The side wall of the movable shaft 712 is penetrated and connected with a support rod 713. The side wall of the shaft movement mechanism 7 is penetrated and connected with a clamping block 8.
[0044] Among them, the side wall of the convex block 711 is rotatably connected to the bottom side wall of the support cylinder 615. When the side wall of the support cylinder 615 is pushed, it can drive the side wall of the support rod 616 to move, and the support rod 616 drives the convex block 711 to move.
[0045] Among them, the side wall of the convex block 711 is penetrated and connected to the inner side wall of the support rod 713. When the outer side wall of the convex block 711 is squeezed, it can swing back and forth on the outer side wall of the support rod 713.
[0046] Among them, the bottom end of the support rod 616 is movably connected to the top end of the shaft movement mechanism 7. The side wall of the support rod 616 can drive the side wall of the convex block 711 to unevenly penetrate left and right, so that the side wall of the entire shaft movement mechanism 7 rotates left and right.
[0047] The bottom end of the support rod 616 also supports on the side wall of the convex block 711. When the side wall of the support cylinder 615 is pushed, it can drive the side wall of the support rod 616 to move. The side wall of the support rod 616 can drive the side wall of the convex block 711 to unevenly penetrate left and right, so that the side wall of the entire shaft movement mechanism 7 rotates left and right. It can automatically open the bottom side corner of the fitting support cylinder 615 when moving the whole device, making it expose a gap.
[0048] Example Four:
[0049] Please refer to Figures 2 - 4, A single-chip microcomputer fault automatic protection device, including a movable cover 1. The inner side wall of the movable cover 1 is penetrated and connected with a single-chip microcomputer housing 2. The side wall of the single-chip microcomputer housing 2 is penetrated and connected with a triangular elastic block 3. The outer side wall of the triangular elastic block 3 is penetrated and connected with a single-chip microcomputer 4. The bottom end of the single-chip microcomputer 4 is penetrated and connected with an insertion and sliding mechanism 5. The bottom end of the insertion and sliding mechanism 5 is penetrated and connected with a bladder mechanism 6. The inside of the bladder mechanism 6 includes a bladder 611. The inner top side wall of the bladder 611 is penetrated and connected with a folding tank 614. The bottom end of the folding tank 614 is penetrated and connected with a movable bead 613. The bottom side wall of the movable bead 613 is penetrated and connected with a pointed block 612. The bottom end of the bladder 611 is penetrated and connected with a support cylinder 615. The bottom side wall of the support cylinder 615 is penetrated and connected with a shaft moving mechanism 7. The side wall of the shaft moving mechanism 7 is penetrated and connected with a clamping block 8.
[0050] Among them, the inside of the insertion and sliding mechanism 5 includes a pyramid 511. The bottom end of the pyramid 511 is penetrated and connected with a stacked tube 512. The outer bottom side wall of the stacked tube 512 is penetrated and connected with a docking shell 513.
[0051] Among them, the inside of the shaft moving mechanism 7 includes a convex block 711. The inner side wall of the convex block 711 is penetrated and connected with a movable shaft 712. The side wall of the movable shaft 712 is penetrated and connected with a support rod 713.
[0052] Among them, the side wall of the stacked tube 512 is slidably connected to the side wall of the pyramid 511. When the bottom end of the pyramid 511 is extruded outward from the side wall of the stacked tube 512, it can drive the side wall of the stacked tube 512 to slide out from the inner side wall of the docking shell 513.
[0053] Among them, the bottom end of the docking shell 513 is slidably connected to the inner top of the folding tank 614. When the side wall of the docking shell 513 is flipped outward, it can drive the side wall of the folding tank 614 to fold and tilt outward.
[0054] Among them, the side wall of the convex block 711 is rollably connected to the bottom side wall of the support cylinder 615. When the side wall of the support cylinder 615 is pushed, it can drive the side wall of the support rod 616 to move, and the support rod 616 drives the convex block 711 to move.
[0055] Among them, the side wall of the convex block 711 is penetrated and connected to the inner side wall of the support rod 713. When the outer side wall of the convex block 711 is squeezed, it can swing back and forth on the outer side wall of the support rod 713.
[0056] Among them, the bottom end of the support rod 616 is movably connected to the top end of the shaft moving mechanism 7. The side wall of the support rod 616 can drive the side wall of the convex block 711 to unevenly penetrate left and right, causing the side wall of the entire shaft moving mechanism 7 to rotate left and right.
[0057] Working principle: When in use, such as Figure 2 and Figure 3As shown, when the inner sidewall of the movable cover 1 becomes loose, it can slide downward along the sidewall of the single-chip microcomputer housing 2, and can slide downward and obliquely across the sidewall of the triangular elastic block 3. Since the sidewall of the triangular elastic block 3 penetrates obliquely through the top of the single-chip microcomputer 4, the bottom sidewall of the movable cover 1 will rotate obliquely toward the sidewall of the single-chip microcomputer housing 2 along the sidewall of the triangular elastic block 3. The outer end of the triangular carbon block 3 can be inserted obliquely upward into the inside of the single-chip microcomputer 4, and the sidewall of the single-chip microcomputer 4 is poked and propped up with wrinkles toward the middle. The wrinkles push the pyramid 511 outward. When the bottom end of the pyramid 511 is extruded outward from the sidewall of the overlapping tube 512, it can drive the sidewall of the overlapping tube 512 to slide out from the inner sidewall of the docking shell 513. Since the bottom tip of the sidewall of the overlapping tube 512 is in a state of tilting outward, it will drive the sidewall of the docking shell 513 to tilt outward. It can drive the sidewall of the insertion and sliding mechanism 5 to be poked outward toward the sidewall of the entire docking shell 513 when receiving a collision. Since there are pin points on the sidewall of the single-chip microcomputer 4 and are protected by the sidewall of the docking shell 513 covering it, the internal single-chip microcomputer pin points can be avoided from being damaged;
[0058] As Figures 2 - 4 shown, when the bottom end of the docking shell 513 rotates outward, it can drive the sidewall of the folding can 614 to bend and deform, drive the sidewall of the movable bead 613 to roll and rotate, and the sidewall of the movable bead 613 drives the top of the pointed block 612 to shift. Thus, the sidewall of the vesicle 611 can be propped up and expanded outward during the extrusion process. The entire sidewall of the vesicle 611 bulges outward. Combining Figure 1 and Figure 2 shown, the sidewall of the vesicle 611 drives the sidewall of the support cylinder 615 to bulge outward. The sidewall of the support cylinder 615 can slide along the shaft movement mechanism 7. When the sidewall of the support cylinder 615 is moving, a support rod 616 penetrates through it. The bottom end of the support rod 616 is supported on the sidewall of the convex block 711. When the sidewall of the support cylinder 615 is propped up, it can drive the sidewall of the support rod 616 to move. The sidewall of the support rod 616 can drive the sidewall of the convex block 711 to unevenly penetrate left and right, causing the sidewall of the entire shaft movement mechanism 7 to rotate left and right. It can automatically open the bottom side corner of the fitting support cylinder 615 when moving the whole device, making a gap appear, and avoiding disconnection due to excessive extrusion.
[0059] Although the embodiments of the present invention have been shown and described, for those of ordinary skill in the art, it can be understood that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An automatic protection device for single-chip microcomputer faults, including a movable cover (1), characterized in that: The inner wall of the movable cover (1) is penetrated and connected with a single-chip microcomputer housing (2). The side wall of the single-chip microcomputer housing (2) is penetrated and connected with a triangular elastic block (3). The outer wall of the triangular elastic block (3) is penetrated and connected with a single-chip microcomputer (4). The bottom end of the single-chip microcomputer (4) is penetrated and connected with an inserting and sliding mechanism (5). The bottom end of the inserting and sliding mechanism (5) is penetrated and connected with a bladder mechanism (6). The inside of the bladder mechanism (6) includes a bladder (611). The inner top side wall of the bladder (611) is penetrated and connected with a folding tank (614). The bottom end of the folding tank (614) is penetrated and connected with a movable bead (613). The bottom side wall of the movable bead (613) is penetrated and connected with a pointed block (612). The bottom end of the bladder 611 is penetrated and connected with a support cylinder (615). The bottom side wall of the support cylinder (615) is penetrated and connected with a shaft moving mechanism (7). The side wall of the shaft moving mechanism (7) is penetrated and connected with a clamping block (8).
2. The automatic protection device for single-chip microcomputer faults according to claim 1, characterized in that: The inside of the inserting and sliding mechanism (5) includes a pyramid (511). The bottom end of the pyramid (511) is penetrated and connected with a stacked tube (512). The outer bottom side wall of the stacked tube (512) is penetrated and connected with a docking shell (513).
3. The automatic protection device for single-chip microcomputer faults according to claim 2, wherein: The inside of the shaft moving mechanism (7) includes a convex block (711). The inner side wall of the convex block (711) is penetrated and connected with a movable shaft (712). The side wall of the movable shaft (712) is penetrated and connected with a support rod (713).
4. An automatic protection device for single-chip microcomputer faults according to claim 2, characterized in that: The side wall of the stacked tube (512) is slidably connected to the side wall of the pyramid (511).
5. The automatic protection device for single-chip microcomputer faults according to claim 2, wherein: The bottom end of the docking shell (513) is slidably connected to the inner top of the folding tank (614).
6. The automatic protection device for single-chip microcomputer faults according to claim 3, characterized in that: The side wall of the convex block (711) is rollingly connected to the bottom side wall of the support cylinder (615).
7. An automatic protection device for single-chip microcomputer faults according to claim 3, characterized in that: The side wall of the convex block (711) is penetrated and connected to the inner side wall of the support rod (713).
8. An automatic protection device for single-chip microcomputer faults according to claim 1, characterized in that: The top end of the shaft moving mechanism (7) is movably connected to the bottom end of the support rod (616).
Citation Information
Patent Citations
Rotary dynamic description and use method thereof
CN110415627A
Bluetooth mouse
CN113311953A