Microswitch, micro-control system and micro-switch on-off judgment method
By using balls in the micro switch instead of sliding connections, the generation of metal powder is reduced, and combined with the micro-control system to detect the circuit voltage value, the problem of misjudgment of on-off is solved, the accuracy and reliability of the micro switch are improved, and the service life is extended. life.
Patent Information
- Application Number
- CN202411033156.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-25
AI Technical Summary
Existing micro switches are prone to misjudgment of on/off during use, which affects the safety of the circuit. After long-term use, metal powder is produced to reduce the resistance value, affecting its performance and lifespan.
Balls are used to switch between the conductive clip and the adjusting pile to reduce the metal powder generated by sliding friction and reduce the risk of misjudgment. The micro-control system detects the circuit voltage value to determine the on-off status.
The accuracy of on-off judgment of the micro switch is improved, the service life is extended, the risk of misjudgment is reduced, and the safety and reliability of the circuit are enhanced.
Smart Images

Figure CN118841271A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of switches, and in particular to a micro switch, a micro control system and a method for determining the on / off state of a micro switch. Background Art
[0002] As a common control and protection switch, micro switches are widely used in the electrical field. They are mainly used in wiring, extension, limit control and other scenarios, and are key components for achieving automatic control and safety protection. In devices that require frequent circuit switching, such as computer mice, automotive electronics, and communication equipment, micro switches play a very significant role. Their sensitivity, stability, and durability directly affect the overall performance of the device and user experience.
[0003] The micro switch in the prior art generally consists of a contact, a spring sheet, a housing and a button. The contact is responsible for the on and off of the circuit, while the spring sheet plays a supporting and resetting role. When the button is subjected to an external force, the spring sheet will be compressed and the contact will be moved, causing the contact state between the contacts to change, thereby achieving the on and off of the circuit. Specifically, when the button is not subjected to an external force, the contact is in an open state; when the button is subjected to sufficient external force, the contact will close and the circuit will be energized; when the external force disappears, the spring sheet will return to its original position, the contact will be disconnected, and the circuit will be de-energized. This structural design enables the micro switch to have a small contact spacing and a quick-acting mechanism, which can complete the on and off operation of the circuit in a very short time.
[0004] When the above-mentioned micro switch is actually used, there is often a problem of misjudging whether it is turned on or off. Summary of the invention
[0005] The present application provides a micro switch, a micro control system and a micro switch on-off judgment method, so as to solve the problem that the micro switch in the prior art is prone to on-off misjudgment.
[0006] In a first aspect, the present application provides a micro switch, comprising: a base, a housing connected to one side of the base, two connection angles connected to the other side of the base, and an adjustment post;
[0007] A button is slidably connected to the housing, and a reset component abutting against the button is arranged on the base located in the sliding direction of the button;
[0008] The adjusting post is fixed to the base, and the adjusting post comprises an insulating part and a conductive part embedded in the insulating part, and the conductive part extends on the insulating part along the sliding direction of the button;
[0009] The reset assembly is connected with a conductive clip extending to the adjustment post, and the conductive clip and the conductive part are respectively connected with a wiring angle;
[0010] A ball bearing is installed between the conductive clamp and the adjusting pile, and the conductive clamp drives the ball bearing to switch between the conductive part and the insulating part.
[0011] In some embodiments, the conductive clip includes two symmetrically arranged metal springs, one end of the metal spring is fixedly connected to the reset assembly, and the other end of the metal spring is pressed against the adjustment post through a ball.
[0012] In some embodiments, the metal spring includes a bending portion, a connecting portion, a curling portion, and a reinforcing portion;
[0013] The bending portion is arranged at an obtuse angle, and two ends of the bending portion are respectively connected to the reset assembly and the connecting portion;
[0014] The ball bearing is arranged on one side of the connection part close to the adjustment pile;
[0015] Two ends of the curling portion are respectively connected to the connecting portion and the reinforcing portion, and the reinforcing portion and the connecting portion are spaced apart.
[0016] In some embodiments, the ball is disposed between the connecting portion and the reinforcing portion, a mounting hole is provided on the connecting portion, and the ball abuts against the adjusting pile through the mounting hole.
[0017] In some embodiments, the reinforcement portion is provided with a protruding cover that abuts against the ball and protrudes from the plane where the reinforcement portion is located, and the protruding cover is filled with grease.
[0018] In some embodiments, the reset assembly includes a boss, a connecting shell, and a spring;
[0019] The boss is fixed to the base;
[0020] The connecting shell is arranged in the outer shell and connected to the button; one end of the metal reed is fixedly connected to the button;
[0021] Two ends of the spring are connected to the boss and the button respectively.
[0022] In some embodiments, a clamping angle is provided on the boss, and the clamping angle presses against the spring along the inner diameter direction of the spring.
[0023] In a second aspect, the present application provides a micro-control system, including a micro-control unit and the micro-switch in the first aspect and any one of the embodiments of the first aspect;
[0024] The micro-control unit is used to detect the circuit voltage value of the micro-control system and determine the on and off of the micro-control switch according to the circuit voltage value.
[0025] In a third aspect, the present application provides a method for determining whether a micro switch is on or off, which is applied to a micro-control system including the micro switch in the first aspect and any one of the embodiments of the first aspect, and the method comprises:
[0026] Obtain the circuit voltage value of the microcontroller system at the current moment;
[0027] If the circuit voltage value is between the first preset threshold and the second preset threshold, it is determined that the on-off state of the micro switch remains consistent with the on-off state at the previous moment, and the first preset threshold is greater than the second preset threshold.
[0028] In some embodiments, the method further comprises:
[0029] When the circuit voltage value at the current moment is greater than the first preset threshold value, determining that the on / off state of the micro switch is off;
[0030] When the circuit voltage value at the current moment is less than the second preset threshold value, it is determined that the on-off state of the micro switch is on.
[0031] The micro switch, micro control system and micro switch on-off judgment method provided by the present application, the micro switch includes a base, a shell connected to one side of the base, two connection angles connected to the other side of the base and an adjustment pile; a button is slidably connected to the shell, and a reset assembly abutting against the button is arranged on the base located in the sliding direction of the button; the adjustment pile is fixed to the base, and the adjustment pile includes an insulating part and a conductive part embedded in the insulating part, and the conductive part extends on the insulating part along the sliding direction of the button; a conductive clip extending to the adjustment pile is connected to the reset assembly, and the conductive clip and the conductive part are respectively connected to a connection angle; a ball is installed between the conductive clip and the adjustment pile, and the conductive clip drives the ball to switch between the conductive part and the insulating part. By installing a ball between the conductive clip and the adjustment pile, rolling instead of sliding, it is avoided that the conductive clip generates metal powder by friction when switching between the conductive part and the insulating part, thereby reducing the influence on the resistance value of the micro switch and reducing the risk of misjudging the on-off of the micro switch. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0033] Figure 1 A schematic diagram of the structure of a micro switch provided in one embodiment of the present application;
[0034] Figure 2 It is a top view of the assembly relationship between the conductive clip and the adjustment pile;
[0035] Figure 3 A circuit diagram of a microcontroller system provided in one embodiment of the present application;
[0036] Figure 4 A schematic diagram of on-off judgment of a micro switch in the prior art;
[0037] Figure 5 A schematic diagram of on-off judgment of a micro switch provided in one embodiment of the present application.
[0038] Reference numerals:
[0039] 10. Base;
[0040] 20. Shell;
[0041] 21. Adjusting piles;
[0042] 211, insulation part;
[0043] 212, conductive part;
[0044] 22. Button;
[0045] 23. Conductive clip; a. Bending portion; b. Connecting portion; c. Curling portion; d. Reinforcement portion; 231. Mounting hole; 232. Protruding cover;
[0046] 24. Boss;
[0047] 25. Connecting shell;
[0048] 26. Spring;
[0049] 27. Ball bearing;
[0050] 30. Wiring angle. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0052] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances. For example, without departing from the scope of this document, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.
[0053] It should be understood that the terms “comprises” and “includes” indicate the existence of features, steps, operations, elements, components, items, types, and / or groups, but do not exclude the existence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, types, and / or groups.
[0054] Micro switches, as a precise and reliable electrical control component, play an indispensable role in many fields such as modern electronic equipment, industrial automation, safety protection and consumer electronics. They are widely used to detect position, control the on and off of circuits, and as key components of safety protection mechanisms. With the rapid development of science and technology, the performance requirements for micro switches are also increasing, including higher sensitivity, longer service life and stronger environmental adaptability. Therefore, continuous optimization and innovation of the design of micro switches has become an important direction for the development of the industry.
[0055] The micro switch in the prior art is usually composed of core components such as a contact system, a spring reset mechanism, a housing, and an operating button. The contact system is responsible for switching the circuit on and off when subjected to external force, while the spring reset mechanism ensures that the contact can quickly and accurately return to its initial state after the external force disappears. This structural design enables the micro switch to achieve efficient circuit control functions in a very small space. However, with the increasing complexity and diversity of application scenarios, the structure and performance of existing micro switches are also facing many challenges.
[0056] Although the micro switches in the prior art are relatively mature in structure and function, there are still some defects. First, due to the sliding friction between the movable contact and the connection point, fine metal powder will inevitably be produced after long-term use. If these powders are connected to the movable contact and the conduction area, the resistance of the micro switch will be significantly reduced, thereby affecting its electrical performance, and even causing the circuit to short-circuit or open. When using the micro switch, it is also easy to change the resistance value, making it difficult to accurately judge whether it is in the on state or the off state, affecting the circuit safety. Secondly, the accumulation of metal powder will also aggravate the wear of the contacts and shorten the service life of the micro switch. In addition, the contact spacing of the micro switch is small, and the processing accuracy and assembly process requirements are high. Once there is a deviation, it may affect the reliability and stability of the switch. Finally, the application of micro switches in complex environments, such as high humidity, high temperature or the presence of corrosive gases, will further aggravate the corrosion and wear of the contacts and reduce their performance.
[0057] In view of the above problems, the present application proposes a micro switch, a micro control system and a method for judging whether the micro switch is on or off. A rolling connection is used to replace the sliding connection between the active contact and the connection point of the micro switch, thereby reducing the generation of metal powder, thereby reducing the influence of metal powder on the resistance value of the micro switch and improving the accuracy of judging whether the micro switch is on or off.
[0058] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0059] Figure 1This is a schematic diagram of the structure of a micro switch provided in one embodiment of the present application. Figure 1 As shown, the micro switch of this embodiment includes: a base 10, a housing 20 connected to one side of the base 10, two connection angles 30 connected to the other side of the base 10, and an adjustment post 21.
[0060] A button 22 is slidably connected to the housing 20 , and a reset component abutting against the button 22 is disposed on the base 10 located in the sliding direction of the button 22 .
[0061] The adjusting post 21 is fixed to the base 10 . The adjusting post 21 includes an insulating portion 211 and a conductive portion 212 embedded in the insulating portion 211 . The conductive portion 212 extends on the insulating portion 211 along the sliding direction of the button 22 .
[0062] The reset assembly is connected with a conductive clip 23 extending to the adjustment post 21 , and the conductive clip 23 and the conductive portion 212 are respectively connected to a wiring angle 30 .
[0063] A ball bearing 27 is installed between the conductive clamp 23 and the adjusting post 21 , and the conductive clamp 23 drives the ball bearing 27 to switch between the conductive portion 212 and the insulating portion 211 .
[0064] The reset assembly is also provided with a wire (not shown in the figure) to connect the conductive clip 23 with the wiring angle 30. The wiring angle 30 is used to connect the micro switch to the circuit where it is located, realize the switching function of the circuit, and ensure the accurate transmission of current and signals.
[0065] When the button 22 on the housing 20 is subjected to an external force, the reset assembly is driven to compress or stretch. When the reset assembly is compressed, the conductive clip 23 abuts against the conductive part 212 of the adjustment post 21 through the ball 27, and a conductive loop is formed through one wiring angle 30, the reset assembly, the conductive clip 23, the ball 27, the conductive part 212 and another wiring angle 30, that is, the micro switch is closed. When the reset assembly is stretched, the conductive clip 23 abuts against the insulating part 211 of the adjustment post 21 through the ball 27, and the micro switch is disconnected.
[0066] The micro switch provided in this embodiment realizes the change of the abutment position between the conductive clip 23 and the adjusting pile 21 by the rolling of the ball 27, thereby reducing the friction resistance of the direct sliding between the conductive clip 23 and the adjusting pile 21 and the wear on the abutment contact point, solving the problem of metal powder generated by the wear of the abutment contact point and causing the resistance value of the micro switch to decrease, and reducing the risk of misjudging the on and off of the micro switch when using it.
[0067] Figure 2 FIG. 2 is a top view of the assembly relationship between the conductive clip 23 and the adjustment post 21. Figure 2As shown, in some embodiments, the conductive clip 23 includes two symmetrically arranged metal springs, one end of the metal spring is fixedly connected to the reset assembly, and the other end of the metal spring is pressed against the adjustment post 21 through the ball 27.
[0068] Specifically, one end of each metal spring is connected to the reset assembly, and the other end is in contact with the adjustment post 21 through a ball 27. When the reset assembly is compressed or stretched, the two metal springs can be driven to move at the same time, and the two metal springs are switched to contact between the conductive part 212 and the insulating part 211 of the adjustment post 21 through a ball 27 respectively.
[0069] It should be understood that the two metal reeds each abut against the conductive portion 212 or the insulating portion 211 simultaneously through a ball 27 , thereby achieving the closing or opening of the micro switch.
[0070] In this embodiment, the adjustment pile 21 is clamped and fixed by two relatively arranged metal springs, so that the ball 27 is in close contact with the adjustment pile 21, and when the metal spring slides along the compression / tension direction of the reset assembly, the adjustment pile 21 maintains balance in the clamping force direction of the metal spring and is not easily deflected, thereby improving the contact stability between the ball 27 and the adjustment pile 21 and the trigger sensitivity of the micro switch.
[0071] Continue to refer Figure 2 In some embodiments, the metal spring includes a bending portion a, a connecting portion b, a curling portion c and a reinforcing portion d.
[0072] The bending portion a is arranged at an obtuse angle, and two ends of the bending portion a are respectively connected to the reset assembly and the connecting portion b.
[0073] The ball bearing 27 is disposed on the connecting portion b close to the adjusting post 21 .
[0074] Two ends of the curling portion c are respectively connected to the connecting portion b and the reinforcing portion d, and the reinforcing portion d is spaced apart from the connecting portion b.
[0075] Specifically, the metal spring acts as a conductive body, and the seamless connection of the bending portion a, the connecting portion b, the curling portion c and the reinforcing portion d ensures that the current or signal can pass smoothly, reduces resistance and signal attenuation, and improves the conductive efficiency.
[0076] The bending portion a is arranged in an obtuse angle, which not only ensures the stability of the structure, but also allows a certain adjustment space for the conductive clip 23 when necessary, so as to facilitate alignment with contact points at different positions or angles, thereby improving the flexibility of use.
[0077] The reinforcing portion d and the connecting portion b are connected by the curling portion c. This design not only enhances the connection strength between the components, but also effectively resists external impact and deformation under long-term use, allows a certain elastic deformation, increases the adaptability of the conductive clip 23 to contact surfaces of different shapes or sizes, and improves the durability and stability of the conductive clip 23.
[0078] The presence of the ball 27 helps the conductive clip 23 to automatically find the best contact point when contacting the adjustment post 21, thereby improving the uniformity and stability of the contact surface and reducing the possibility of poor contact or false contact.
[0079] Optionally, the ball 27 is disposed between the connecting portion b and the reinforcing portion d. A mounting hole 231 is provided on the connecting portion b. The ball 27 abuts against the adjusting pile 21 through the mounting hole 231 .
[0080] Specifically, there is a gap between the reinforcing portion d and the connecting portion b, and the ball 27 is sandwiched in the gap to ensure that the ball 27 abuts against the adjustment pile 21 while fixing the installation position of the ball 27 to prevent the ball 27 from being offset or even falling off.
[0081] In this embodiment, the overall design of the metal spring sheet enables the conductive clip 23 to better adapt to contact surfaces of different shapes and sizes, ensuring good contact effect and conductive performance. At the same time, the modular design makes each component relatively independent and easy to disassemble and replace. When replacement or maintenance is needed, the damaged parts can be replaced separately, reducing maintenance costs and time.
[0082] In some embodiments, the reinforcement portion d is provided with a protruding cover 232 that abuts against the ball 27 and protrudes from the plane where the reinforcement portion d is located, and the protruding cover 232 is filled with grease.
[0083] Specifically, a protruding cover 232 is provided at the reinforcement portion d. When injecting grease into the gap where the ball 27 is located through the protruding cover 232, there is no need to remove the conductive clip 23, which saves maintenance time and cost, and can accurately control the injection amount and injection position of the grease, ensuring that the ball 27 can be fully lubricated, improving the operating efficiency and reliability of the equipment, and extending the service life of the micro switch. At the same time, the design of the protruding cover 232 can prevent the intrusion of external dust, impurities and moisture to a certain extent, maintain the cleanliness and stable performance of the grease, and reduce the failure rate. The grease can also effectively absorb metal powder in the closed area to avoid the micro switch from being misconnected.
[0084] In some embodiments, the reset assembly includes a boss 24 , a connecting shell 25 , and a spring 26 .
[0085] The boss 24 is fixed to the base 10; the connecting shell 25 is disposed in the housing 20 and connected to the button 22; one end of the metal spring is fixedly connected to the connecting shell 25 button 22. The two ends of the spring 26 are respectively connected to the boss 24 and the connecting shell 25 button 22.
[0086] Optionally, a clamping angle is provided on the boss 24, and the clamping angle presses against the spring 26 along the inner diameter direction of the spring 26. Through the clamping angle on the boss 24, the spring 26 is detachably connected to the boss 24, which is convenient for maintenance.
[0087] Optionally, the clamping angle may be a cross clamping angle, so as to facilitate stable connection between the spring 26 and the boss 24 .
[0088] The connecting shell 25 is used to ensure that the button 22 can move smoothly when pressed by external force, and prevent it from accidentally detaching from the housing 20. The setting of the connecting shell 25 allows the button 22 to slide along a preset path when pressed by external force, and the button 22 drives the connecting shell 25 to move together, thereby compressing the reset component.
[0089] As the reset assembly is gradually reset, a reverse driving force is generated, driving the connection shell 25 and the button 22 to move in the opposite direction to achieve the reset action. When the connection shell 25 touches the housing 20, the reset process is completed. At this time, the sliding of the button 22 is effectively prevented, ensuring a stable connection between the button 22 and the housing 20 and accurate control of the pressing stroke, improving the user experience, and enhancing the durability and reliability of the micro switch.
[0090] The micro switch in this application can be used in a variety of scenarios, such as light switches, car buttons, etc.
[0091] Figure 3 A micro-control system circuit diagram is provided in an embodiment of the present application. The micro-control switch in the embodiment of the present application can be applied to Figure 3 The microcontroller system shown.
[0092] The micro-control system of this embodiment includes a micro-controller unit (MCU) and the micro-switch in any of the above embodiments.
[0093] The micro-control unit is used to detect the circuit voltage value of the micro-control system and determine the on / off of the micro-control switch according to the circuit voltage value.
[0094] Optionally, in Figure 3 In the microcontroller system shown, the resistance value of resistor R1 is 2.7 kΩ, the resistance value of resistor R2 is 120 kΩ, the resistance value of resistor R3 is 33 kΩ, and the resistance value of resistor R4 is not limited. The capacity of capacitor C1 is 1 nF, and the capacity of capacitor C2 is 22 nF.
[0095] When the micro switch is closed or opened, the circuit voltage value detected by the MCU at its location will change. Specifically, when the micro switch is closed, the ball 27 abuts against the conductive part 212 of the adjustment post 21, the circuit is grounded, and the circuit voltage value detected by the MCU is close to zero. When the micro switch is opened, the ball 27 abuts against the insulating part 211 of the adjustment post 21, the circuit is not grounded, and the circuit voltage value detected by the MCU is close to the system voltage value.
[0096] The micro-control system provided in this embodiment adopts the micro-control switch in the aforementioned embodiment, and realizes the change of the abutment position between the conductive clip 23 and the adjusting pile 21 through the rolling of the ball 27, thereby reducing the friction resistance of the direct sliding between the conductive clip 23 and the adjusting pile 21 and the wear on the abutment contact point, solving the problem of metal powder generated by the wear of the abutment contact point and causing the resistance value of the micro-switch to decrease, reducing the risk of misjudging the on and off of the micro-switch when using the micro-switch in the micro-control system, and improving the circuit safety of the micro-control system.
[0097] The present application also provides a method for determining whether a micro switch is on or off, which is applied to a micro-control system including a micro switch in any of the above-mentioned embodiments, and the method for determining whether a micro switch is on or off is executed by taking a micro-control unit of the micro-control system as an execution subject. Specifically, the execution subject may be a hardware device of the micro-control unit, or a software application that implements the following embodiments in the micro-control unit, or a computer-readable storage medium that has installed thereon a software application that implements the following embodiments, or a code that implements the software application that implements the following embodiments.
[0098] Here, a method for determining whether a micro switch is on or off in the prior art is first introduced.
[0099] Figure 4 This is a schematic diagram of a micro switch on / off judgment in the prior art. Figure 4 As shown, when the circuit voltage value is greater than or equal to the preset threshold, the micro switch is judged to be in the disconnected state, and when the circuit voltage value is less than the preset threshold, the micro switch is judged to be in the on state. In this method, the voltage fluctuates above and below the preset threshold, and the on-off logic changes. When the metal powder reduces the resistance of the micro switch, it is easy to cause false touches, resulting in the on and off of the micro switch being easily misjudged.
[0100] The micro switch on / off determination method of the embodiment of the present application comprises the following steps:
[0101] S101, the micro-control unit obtains the circuit voltage value of the micro-control system at the current moment.
[0102] For details, please refer to Figure 3 In the micro-control system shown, the micro-control unit MCU detects the circuit voltage value at its location as the circuit voltage value of the micro-control system at the current moment.
[0103] S102: When the circuit voltage value is between the first preset threshold value and the second preset threshold value, the micro-control unit determines that the on-off state of the micro-switch remains consistent with the on-off state at the previous moment.
[0104] Among them, the first preset threshold is greater than the second preset threshold.
[0105] The circuit voltage value is between the first preset threshold value and the second preset threshold value, which means that the circuit voltage value is less than or equal to the first preset threshold value and greater than or equal to the second preset threshold value.
[0106] Figure 5 This is a schematic diagram of a micro switch on / off judgment provided in this embodiment. Figure 5 As shown, when the circuit voltage value is in area 2 in the figure, that is, the circuit voltage value is between the first preset threshold value and the second preset threshold value, the MCU determines that the on-off state of the micro switch is consistent with the on-off state at the previous moment. For example, the micro switch was disconnected at the previous moment, and the circuit voltage value at the current moment is between the first preset threshold value and the second preset threshold value, then the MCU can determine that the on-off state of the micro switch at the current moment is also disconnected. The micro switch was on at the previous moment, and the circuit voltage value at the current moment is between the first preset threshold value and the second preset threshold value, then the MCU can determine that the on-off state of the micro switch at the current moment is also on.
[0107] In some embodiments, the micro switch on / off determination method of the embodiment of the present application further includes the following steps:
[0108] S103: When the circuit voltage value at the current moment is greater than the first preset threshold value, the micro-control unit determines that the on-off state of the micro-switch is off.
[0109] Continue to refer Figure 5 When the circuit voltage value at the current moment is in area 1 in the figure, that is, the circuit voltage value at the current moment is greater than the first preset threshold, the MCU determines that the micro switch is in the disconnected state.
[0110] S104: When the circuit voltage value at the current moment is less than the second preset threshold value, the micro-control unit determines that the on-off state of the micro-switch is on.
[0111] Continue to refer Figure 5 When the circuit voltage value at the current moment is in area 3 in the figure, that is, the circuit voltage value at the current moment is less than the second preset threshold, the MCU determines that the micro switch is in the on state.
[0112] It should be understood that when the circuit voltage value drops from region 1 to region 2, the MCU determines that the micro switch is in the disconnected state, that is, the state of the micro switch is consistent with that when the circuit voltage value is in region 1.
[0113] When the circuit voltage value rises from region 3 to region 2, the MCU determines that the micro switch is in the on state, that is, the state of the micro switch is consistent with that when the circuit voltage value is in region 3.
[0114] In this embodiment, the micro switch in the above embodiment is used, and the sliding friction between the conductive clip 23 and the adjustment post 21 is changed to rolling friction, which reduces the generation of metal powder and reduces the risk of misjudging the micro switch. When judging the micro switch, this embodiment also sets a voltage change buffer zone to further reduce the risk of misjudgment.
[0115] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the above embodiments can still be modified, or some or all of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A micro switch, characterized in that: The micro switch comprises: a base, a shell connected to one side of the base, two connection angles connected to the other side of the base, and an adjustment post; A button is slidably connected to the housing, and a reset component abutting against the button is provided on the base located in the sliding direction of the button; The adjusting post is fixed to the base, and the adjusting post comprises an insulating portion and a conductive portion embedded in the insulating portion, wherein the conductive portion extends on the insulating portion along the sliding direction of the button; The reset assembly is connected with a conductive clip extending to the adjustment post, and the conductive clip and the conductive part are respectively connected with a wiring angle; A ball bearing is installed between the conductive clip and the adjusting pile, and the conductive clip drives the ball bearing to switch between the conductive part and the insulating part.
2. The micro switch according to claim 1, characterized in that: The conductive clip includes two symmetrically arranged metal springs, one end of the metal spring is fixedly connected to the reset assembly, and the other end of the metal spring is pressed against the adjustment post through the ball.
3. The micro switch according to claim 2, characterized in that: The metal spring sheet comprises a bending portion, a connecting portion, a curling portion and a reinforcing portion; The bending portion is arranged at an obtuse angle, and two ends of the bending portion are respectively connected to the reset assembly and the connecting portion; The ball bearing is arranged on a side of the connecting portion close to the adjusting pile; Two ends of the curling portion are respectively connected to the connecting portion and the reinforcing portion, and the reinforcing portion is spaced apart from the connecting portion.
4. The micro switch according to claim 3, characterized in that: The ball bearing is arranged between the connecting portion and the reinforcing portion. A mounting hole is provided on the connecting portion. The ball bearing abuts against the adjusting pile through the mounting hole.
5. The micro switch according to claim 3, characterized in that: The reinforcement part is provided with a protruding cover which abuts against the ball and protrudes from the plane where the reinforcement part is located, and the protruding cover is filled with grease.
6. The micro switch according to claim 2, characterized in that: The reset assembly includes a boss, a connecting shell and a spring; The boss is fixed to the base; The connecting shell is disposed in the outer shell and connected to the button; one end of the metal reed is fixedly connected to the button; Two ends of the spring are connected to the boss and the button respectively.
7. The micro switch according to claim 6, characterized in that: The boss is provided with a clamping angle, and the clamping angle presses against the spring along the inner diameter direction of the spring.
8. A microcontroller system, characterized in that: The micro-control system comprises a micro-control unit and a micro-switch according to any one of claims 1 to 7; The micro-control unit is used to detect the circuit voltage value of the micro-control system and determine the on-off of the micro-control switch according to the circuit voltage value.
9. A method for determining whether a micro switch is on or off, characterized in that: Applied to a micro-control system comprising a micro-switch according to any one of claims 1 to 7, the method comprises: Obtaining the circuit voltage value of the micro-control system at the current moment; If the circuit voltage value is between the first preset threshold and the second preset threshold, it is determined that the on-off state of the micro switch remains consistent with the on-off state at the previous moment, and the first preset threshold is greater than the second preset threshold.
10. The method according to claim 9, characterized in that The method further comprises: When the circuit voltage value at the current moment is greater than the first preset threshold, determining that the on / off state of the micro switch is off; When the circuit voltage value at the current moment is less than the second preset threshold, it is determined that the on-off state of the micro switch is on.
