A magnetic integrated switch detection system, method, device, single chip microcomputer and medium
By using a microcontroller and potentiometer to obtain the DC resistance value and back electromotive force value in the magnetic integrated switch detection system, the problems of complex wiring and insufficient detection range in the existing technology are solved, and comprehensive fault detection of magnetic integrated switches is realized to ensure change safe operation of gear motor.
Patent Information
- Application Number
- CN201911230085.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-04
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2039-12-04
AI Technical Summary
In the prior art, the detection method of magnetic integrated switch is complicated to detect the contact or separation state of multiple contacts in the magnetic integrated switch and the fault of the motor winding connection, especially the failure of the pressure spring breakage, contact adhesion, and contact pressure are insufficient. The contact resistance increases and other faults.
The system is adopted that includes magnetic integrated switch, motor winding, detection switch, step-down module, current transformer, potentiometer and microcontroller. By obtaining the DC resistance value and the back electromotive force value respectively in the stationary and operating states, and comparing it with the standard value to judge. Fault.
Real-time online detection of magnetic integrated switches is realized, the detection method is simplified, the wiring complexity is reduced, and multiple fault states of magnetic integrated switches can be discovered in a timely manner, providing reliable guarantees for the normal operation of the gear shift motor.
Smart Images

Figure CN112904189B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical switch detection, and in particular to a magnetic integrated switch detection system, method, device, single chip microcomputer and medium. Background Art
[0002] The magnetic integrated switch is the core component of the gear-changing motor. In order to ensure the normal operation of the gear-changing motor, the detection of the magnetic integrated switch becomes particularly important.
[0003] In the prior art, generally, a set of auxiliary switches or a micro switch is added, and the two states of disconnection or conduction are used to indirectly judge the two position states of the magnetic integrated switch, which are on or off. The disadvantage of this method is that, on the one hand, the wiring is complicated, and many measuring lines are drawn out. On the other hand, it can only detect the two position states of the magnetic integrated switch, which is to say, it can only detect whether the position of the magnetic integrated switch is faulty, but it cannot detect whether the contact or separation state of multiple contacts in the magnetic integrated switch is faulty, and it cannot detect whether the connection of the electrical contact connecting the magnetic integrated switch to the motor winding is faulty, especially it cannot detect faults such as broken compression springs, contact adhesion, insufficient contact pressure leading to increased contact resistance, etc. Summary of the invention
[0004] The embodiments of the present invention provide a magnetic integrated switch detection system, method, device, single-chip computer and medium, which are used to solve the problems that the detection scheme in the prior art is complicated in wiring and leads to many measurement lines. On the other hand, it can only detect whether the two position states of the magnetic integrated switch, either open or closed, are faulty, but cannot detect whether the contact or separation state of multiple contacts in the magnetic integrated switch is faulty, and cannot detect whether the electrical contact connection between the magnetic integrated switch and the motor winding is faulty, especially cannot detect faults such as spring breakage, contact adhesion, insufficient contact pressure leading to increased contact resistance, etc.
[0005] The embodiment of the present invention provides a magnetic integrated switch detection system, the system comprising: a magnetic integrated switch, a motor winding, a detection switch, a step-down module, a current transformer, a potentiometer and a single-chip microcomputer; the magnetic integrated switch on each phase line is connected to the motor winding, and the motor windings on each phase line are connected in pairs; the magnetic integrated switch and the motor winding constitute a circuit network;
[0006] When the motor is in a stationary state, the motor winding on the U phase line is also connected to the first detection switch, the motor winding on the V phase line is also connected to the second detection switch, the motor winding on the W phase line is also connected to the current transformer, the current transformer is also connected to the third detection switch and the fourth detection switch respectively, the fourth detection switch is also connected to the single chip microcomputer, the first detection switch, the second detection switch and the third detection switch are also connected to the step-down module respectively, and the step-down module is also connected to the single chip microcomputer;
[0007] When the motor is in operation, the motor winding on the U phase line is also connected to the fifth detection switch, the motor winding on the V phase line is also connected to the sixth detection switch, and the motor winding on the W phase line is also connected to the seventh detection switch. A first potentiometer is connected between the fifth detection switch and the sixth detection switch, and a second potentiometer is connected between the sixth detection switch and the seventh detection switch. The first potentiometer and the second potentiometer are also connected to the single chip microcomputer;
[0008] The single chip microcomputer is used to determine the DC resistance value of the circuit network when the motor is in a stationary state, and to obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer when the motor is in a running state; the DC resistance value, the first back electromotive force value, and the second back electromotive force value are compared with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
[0009] Further, the motor winding includes a motor winding unit; the system further includes: an integrated switch control module;
[0010] The integrated switch control module is connected to the magnetic integrated switch;
[0011] The integrated switch control module is used to adjust the motor to the first gear position or the second gear position according to the instruction.
[0012] Furthermore, when the motor is in the first gear position and is in a stationary state, the circuit network is composed of two branch circuits connected in series, one of which is a circuit of two motor winding units of the W phase line connected in series, and the other branch is a circuit of two motor winding units of the V phase line and the U phase line connected in series and then in parallel;
[0013] The step-down module is used to supply power to the first detection switch, the second detection switch and the third detection switch respectively to make them turned on. After a delay, the fourth detection switch is turned on, and the fourth detection switch outputs the first detection current value to the single chip microcomputer.
[0014] Furthermore, the single chip microcomputer is specifically used to obtain the first voltage value of the step-down module and the first detection current value output by the fourth detection switch, and determine the first DC resistance value according to the first voltage value and the first detection current value; determine whether the first DC resistance value is consistent with a preset first resistance threshold, and if not, determine that there is a faulty magnetic integrated switch in the system; if so, determine that there is no faulty magnetic integrated switch in the system.
[0015] Furthermore, when the motor is in the second gear position and is in a stationary state, the circuit network is composed of two branches connected in parallel, wherein one branch is composed of a motor winding unit of the V-phase line connected in parallel with a motor winding unit of the U-phase line and then connected in series with a motor winding unit of the W-phase line, and the other branch is composed of another motor winding unit of the V-phase line connected in parallel with another motor winding unit of the U-phase line and then connected in series with another motor winding unit of the W-phase line;
[0016] The step-down module is used to supply power to the first detection switch, the second detection switch and the third detection switch respectively to make them turned on. After a delay, the fourth detection switch is turned on, and the fourth detection switch outputs the second detection current value to the single chip microcomputer.
[0017] Furthermore, the single chip microcomputer is specifically used to obtain the second voltage value of the step-down module and the second detection current value output by the fourth detection switch, and determine the second DC resistance value according to the second voltage value and the second detection current value; determine whether the second DC resistance value is consistent with a preset second resistance threshold, and if not, determine that there is a faulty magnetic integrated switch in the system; and if so, determine that there is no faulty magnetic integrated switch in the system.
[0018] Furthermore, when the motor is in the first gear position and in operation, the circuit network includes two branches, one branch is composed of a series circuit of four motor winding units of the W phase line and the V phase line, and the other branch is composed of a series circuit of four motor winding units of the V phase line and the U phase line;
[0019] The fifth detection switch, the sixth detection switch and the seventh detection switch in the circuit network are turned on at the same time, and the first potentiometer and the second potentiometer are adjusted to the same position.
[0020] Furthermore, the system further comprises: a motor controller; the motor controller is connected to the single chip microcomputer;
[0021] The single chip microcomputer is used to obtain a first speed of the motor at a first gear position output by the motor controller, and determine a first back electromotive force threshold value according to the first speed and a pre-stored correspondence relationship between the speed and the back electromotive force;
[0022] The single chip microcomputer is specifically used to determine whether the first back electromotive force value and the second back electromotive force value are consistent with the first back electromotive force threshold value. If not, it is determined that there is a faulty magnetic integrated switch in the system; if so, it is determined that there is no faulty magnetic integrated switch in the system.
[0023] Further, when the motor is placed in the second gear position and is in operation, the system includes two circuit networks, one of which is composed of two branch parallel circuits, one branch is a motor winding unit of the W phase line connected in series with a motor winding unit of the V phase line, and the other branch is another motor winding unit of the W phase line connected in series with another motor winding unit of the V phase line, and the other circuit network is composed of two branch parallel circuits, one branch is a motor winding unit of the V phase line connected in series with a motor winding unit of the U phase line, and the other branch is another motor winding unit of the V phase line connected in series with another motor winding unit of the U phase line;
[0024] The fifth detection switch, the sixth detection switch and the seventh detection switch in the circuit network are turned on at the same time, and the first potentiometer and the second potentiometer are adjusted to the same position.
[0025] Furthermore, the system further comprises: a motor controller; the motor controller is connected to the single chip microcomputer;
[0026] The single chip microcomputer is used to obtain a second speed of the motor at the second gear position output by the motor controller, and determine a second back electromotive force threshold value according to the second speed and a pre-stored correspondence relationship between the speed and the back electromotive force;
[0027] The single chip microcomputer is specifically used to determine whether the first back electromotive force value and the second back electromotive force value are consistent with the second back electromotive force threshold value. If not, it is determined that there is a faulty magnetic integrated switch in the system. If so, it is determined that there is no faulty magnetic integrated switch in the system.
[0028] Furthermore, the system further comprises: a main power supply; the main power supply is respectively connected to the integrated switch control module, the step-down module, the motor controller and the single-chip microcomputer;
[0029] The main power supply is used to supply power to the integrated switch control module, the step-down module, the motor controller and the single-chip microcomputer.
[0030] Furthermore, the system further comprises: a display; the display is connected to the single chip microcomputer;
[0031] The single chip microcomputer is further used to send a first instruction to the display when it is determined that there is a faulty magnetic integrated switch in the system; the display is used to receive the first instruction and display first indication information indicating that there is a faulty magnetic integrated switch;
[0032] The single chip microcomputer is also used to send a second instruction to the display when it is determined that there is no faulty magnetic integrated switch in the system; the display is used to receive the second instruction and display second indication information indicating that there is no faulty magnetic integrated switch.
[0033] On the other hand, an embodiment of the present invention provides a magnetic integrated switch detection method, the method comprising:
[0034] Determine whether the motor is currently in a stationary state or in a running state;
[0035] If the motor is currently in a stationary state, determine the DC resistance value of the circuit network, compare the DC resistance value with a standard value, and determine whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of a magnetic integrated switch and a motor winding;
[0036] If the motor is currently in operation, obtain a first back electromotive force value of the first potentiometer and a second back electromotive force value of the second potentiometer respectively; compare the first back electromotive force value and the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
[0037] Further, the determining of the DC resistance value of the circuit network, comparing the DC resistance value with a standard value, and judging whether there is a faulty magnetic integrated switch in the system includes:
[0038] If the motor is in the first gear position, obtain the first voltage value of the step-down module and the first detection current value output by the fourth detection switch, and determine the first DC resistance value according to the first voltage value and the first detection current value; judge whether the first DC resistance value is consistent with the preset first resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0039] Further, the determining of the DC resistance value of the circuit network, comparing the DC resistance value with a standard value, and judging whether there is a faulty magnetic integrated switch in the system includes:
[0040] If the motor is in the second gear position, obtain the second voltage value of the step-down module and the second detection current value output by the fourth detection switch, and determine the second DC resistance value according to the second voltage value and the second detection current value; determine whether the second DC resistance value is consistent with the preset second resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0041] Further, comparing the first back electromotive force value, the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system includes:
[0042] Obtaining a first speed of the motor at a first gear position output by a motor controller, and determining a first back electromotive force threshold value according to the first speed and a pre-stored correspondence relationship between the speed and the back electromotive force;
[0043] Determine whether the first back electromotive force value and the second back electromotive force value are consistent with the first back electromotive force threshold value. If not, determine that there is a faulty magnetic integrated switch in the system. If so, determine that there is no faulty magnetic integrated switch in the system.
[0044] Further, comparing the first back electromotive force value, the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system includes:
[0045] Obtaining a second speed of the motor at the second gear position output by the motor controller, and determining a second back electromotive force threshold according to the second speed and a pre-stored correspondence between the speed and the back electromotive force;
[0046] Determine whether the first back electromotive force value and the second back electromotive force value are consistent with the second back electromotive force threshold value. If not, determine that there is a faulty magnetic integrated switch in the system. If so, determine that there is no faulty magnetic integrated switch in the system.
[0047] Furthermore, the method further comprises:
[0048] When it is determined that there is a faulty magnetic integrated switch in the system, a first instruction is sent to the display so that the display displays first indication information indicating that there is a faulty magnetic integrated switch;
[0049] When it is determined that there is no faulty magnetic integrated switch in the system, a second instruction is sent to the display, so that the display displays second indication information indicating that there is no faulty magnetic integrated switch.
[0050] On the other hand, an embodiment of the present invention provides a magnetic integrated switch detection device, the device comprising:
[0051] A judgment module is used to judge whether the motor is currently in a stationary state or a running state;
[0052] A first comparison module is used to determine the DC resistance value of the circuit network if the motor is currently in a stationary state, compare the DC resistance value with a standard value, and determine whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of the magnetic integrated switch and the motor winding;
[0053] The second comparison module is used to obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer respectively if the motor is currently in a running state; compare the first back electromotive force value and the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
[0054] Furthermore, the first comparison module is specifically used to obtain the first voltage value of the step-down module and the first detection current value output by the fourth detection switch when the motor is in the first gear position, and determine the first DC resistance value according to the first voltage value and the first detection current value; judge whether the first DC resistance value is consistent with a preset first resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0055] Furthermore, the first comparison module is specifically used to obtain the second voltage value of the step-down module and the second detection current value output by the fourth detection switch if the motor is placed in the second gear position, and determine the second DC resistance value according to the second voltage value and the second detection current value; determine whether the second DC resistance value is consistent with a preset second resistance threshold, and if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0056] Furthermore, the second comparison module is specifically used to obtain the first speed of the motor in the first gear position output by the motor controller, and determine the first back electromotive force threshold according to the first speed and the correspondence between the pre-saved speed and the back electromotive force; judge whether the first back electromotive force value and the second back electromotive force value are consistent with the first back electromotive force threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0057] Furthermore, the second comparison module is specifically used to obtain the second speed of the motor in the second gear position output by the motor controller, and determine the second back electromotive force threshold according to the second speed and the correspondence between the speed and the back electromotive force saved in advance; judge whether the first back electromotive force value and the second back electromotive force value are consistent with the second back electromotive force threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0058] Furthermore, the device also includes:
[0059] The display module is used to send a first instruction to the display when it is determined that there is a faulty magnetic integrated switch in the system, so that the display displays first indication information indicating that there is a faulty magnetic integrated switch; and send a second instruction to the display when it is determined that there is no faulty magnetic integrated switch in the system, so that the display displays second indication information indicating that there is no faulty magnetic integrated switch.
[0060] On the other hand, an embodiment of the present invention provides a single chip computer, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0061] Memory, used to store computer programs;
[0062] The processor is used to implement any of the method steps described above when executing the program stored in the memory.
[0063] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the method steps described above is implemented.
[0064] The embodiment of the present invention provides a magnetic integrated switch detection system, method, device, single chip microcomputer and medium, the system comprising: a magnetic integrated switch, a motor winding, a detection switch, a step-down module, a current transformer, a potentiometer and a single chip microcomputer; the magnetic integrated switch on each phase line is connected to the motor winding, and the motor windings on each phase line are connected in pairs; the magnetic integrated switch and the motor winding constitute a circuit network;
[0065] When the motor is in a stationary state, the motor winding on the U phase line is also connected to the first detection switch, the motor winding on the V phase line is also connected to the second detection switch, the motor winding on the W phase line is also connected to the current transformer, the current transformer is also connected to the third detection switch and the fourth detection switch respectively, the fourth detection switch is also connected to the single chip microcomputer, the first detection switch, the second detection switch and the third detection switch are also connected to the step-down module respectively, and the step-down module is also connected to the single chip microcomputer;
[0066] When the motor is in operation, the motor winding on the U phase line is also connected to the fifth detection switch, the motor winding on the V phase line is also connected to the sixth detection switch, and the motor winding on the W phase line is also connected to the seventh detection switch. A first potentiometer is connected between the fifth detection switch and the sixth detection switch, and a second potentiometer is connected between the sixth detection switch and the seventh detection switch. The first potentiometer and the second potentiometer are also connected to the single chip microcomputer;
[0067] The single chip microcomputer is used to determine the DC resistance value of the circuit network when the motor is in a stationary state, and to obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer when the motor is in a running state; the DC resistance value, the first back electromotive force value, and the second back electromotive force value are compared with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
[0068] The beneficial effect of the embodiment of the present invention is that the core component of the gear-shifting motor is the motor magnetic integrated switch, which is tested in real time online. The detection method is simple and easy, the wiring is convenient, and the detection covers a wide range. It can timely detect whether the two position states of the magnetic integrated switch, whether the contact or separation state of multiple contacts in the magnetic integrated switch is faulty, whether the connection of the electrical contact connecting the magnetic integrated switch and the motor winding is faulty, and whether the pressure spring is broken, the contact sticks, and the contact resistance increases due to insufficient contact pressure. It provides a reliable basis for the normal operation of the gear-shifting motor and ensures the safe operation of vehicles equipped with the gear-shifting motor. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0070] Figure 1 Hardware block diagram of the magnetic integrated switch detection system provided in Example 1 of the present invention;
[0071] Figure 2 Hardware block diagram of the magnetic integrated switch detection system provided in Example 2 of the present invention;
[0072] Figure 3 A schematic diagram of the structure of a magnetic force integrated switch detection system when the gear-changing motor is in the first gear in a stationary state provided by Embodiment 2 of the present invention;
[0073] Figure 4 A schematic diagram of the structure of a magnetic force integrated switch detection system for a second gear when a gear-changing motor is stationary, provided in Embodiment 3 of the present invention;
[0074] Figure 5 Hardware block diagram of the magnetic integrated switch detection system provided in Example 4 of the present invention;
[0075] Figure 6 A schematic diagram of the structure of a magnetic force integrated switch detection system when the gear-changing motor is in the first gear in operation according to Embodiment 4 of the present invention;
[0076] Figure 7 A schematic diagram of the structure of a magnetic force integrated switch detection system in the second gear when the gear-changing motor is in operation according to Embodiment 5 of the present invention;
[0077] Figure 8 Hardware block diagram of the magnetic integrated switch detection system provided in Example 6 of the present invention;
[0078] Fig. 9Hardware block diagram of the magnetic integrated switch detection system provided in Example 7 of the present invention;
[0079] Fig.10 The electrical connection diagram of the online self-test hardware of the variable speed motor magnetic integrated switch provided in Example 7 of the present invention;
[0080] Fig.11 A schematic diagram of a magnetic integrated switch detection process provided in Example 8 of the present invention;
[0081] Fig.12 A schematic diagram of the structure of a magnetic integrated switch detection device provided in Example 9 of the present invention;
[0082] Fig.13 A schematic diagram of the structure of a single chip microcomputer provided in Embodiment 10 of the present invention;
[0083] In the figure, 1. integrated switch control module, 2. magnetic integrated switch, 2-1...2-9. integrated switch contacts, 3. motor winding, 3-1...3-6. motor winding unit, 4. detection switch, 4-1.4-2.4-3. are the third, second and first detection switches respectively, 5. step-down module, 6. current transformer, 7. detection switch, 8. motor controller, 9. detection switch, 9-1.9-2.9-3. are the seventh, sixth and fifth detection switches respectively, 10. potentiometer, 10-1. first potentiometer, 10-2. second potentiometer, 11. single chip microcomputer, 12. display, 13. main power supply, 14 electrical contacts. DETAILED DESCRIPTION
[0084] The present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0085] Embodiment 1:
[0086] The embodiment of the present invention provides a magnetic integrated switch detection system, which includes: a magnetic integrated switch, a motor winding, a detection switch, a step-down module, a current transformer, a potentiometer and a single-chip microcomputer; the magnetic integrated switch on each phase line is connected to the motor winding, and the motor windings on each phase line are connected in pairs; the magnetic integrated switch and the motor winding constitute a circuit network;
[0087] When the motor is in a stationary state, the motor winding on the U phase line is also connected to the first detection switch, the motor winding on the V phase line is also connected to the second detection switch, the motor winding on the W phase line is also connected to the current transformer, the current transformer is also connected to the third detection switch and the fourth detection switch respectively, the fourth detection switch is also connected to the single chip microcomputer, the first detection switch, the second detection switch and the third detection switch are also connected to the step-down module respectively, and the step-down module is also connected to the single chip microcomputer;
[0088] When the motor is in operation, the motor winding on the U phase line is also connected to the fifth detection switch, the motor winding on the V phase line is also connected to the sixth detection switch, and the motor winding on the W phase line is also connected to the seventh detection switch. A first potentiometer is connected between the fifth detection switch and the sixth detection switch, and a second potentiometer is connected between the sixth detection switch and the seventh detection switch. The first potentiometer and the second potentiometer are also connected to the single chip microcomputer;
[0089] The single chip microcomputer is used to determine the DC resistance value of the circuit network when the motor is in a stationary state, and to obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer when the motor is in a running state; the DC resistance value, the first back electromotive force value, and the second back electromotive force value are compared with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
[0090] Figure 1 The hardware block diagram of the magnetic integrated switch detection system provided by the embodiment of the present invention is as follows: Figure 1 As shown, the magnetic integrated switch detection system comprises a magnetic integrated switch (2), a motor winding (3), detection switches (4) and (9), a step-down module (5), a current transformer (6), a potentiometer (10) and a single-chip microcomputer (11).
[0091] The magnetic integrated switch (2) is connected to the motor winding (3), the motor winding (3) is connected to the detection switch (4) and the current transformer (6), the current transformer (6) is connected in series to the W phase line of the motor, the step-down module (5) is connected to the detection switch (4), the detection switch (9) is connected to the potentiometer (10), and the single chip computer (11) is connected to the potentiometer (10) and the detection switch (7).
[0092] The motor is divided into two working states, one is a stationary state, and the other is a running state. The motor winding (3) on the U phase line is also connected to the first detection switch (4-3), the motor winding (3) on the V phase line is also connected to the second detection switch (4-2), and the motor winding (3) on the W phase line is also connected to the current transformer (6), and the current transformer is also connected to the third detection switch (4-1) and the fourth detection switch (7) respectively, and the fourth detection switch is also connected to the single chip microcomputer (11), and the first detection switch, the second detection switch and the third detection switch are also connected to the step-down module (5) respectively, and the step-down module (5) is also connected to the single chip microcomputer (11). The step-down module (5) in the embodiment of the present invention can be a DC-DC step-down module.
[0093] The motor winding (3) on the U-phase line is also connected to a fifth detection switch (9-3), the motor winding (3) on the V-phase line is also connected to a sixth detection switch (9-2), and the motor winding (3) on the W-phase line is also connected to a seventh detection switch (9-1); a first potentiometer (10-2) is connected between the fifth detection switch and the sixth detection switch, a second potentiometer (10-1) is connected between the sixth detection switch and the seventh detection switch, and the first potentiometer and the second potentiometer are also connected to the single-chip computer (11).
[0094] In an embodiment of the present invention, the magnetic integrated switch and the motor winding to which it is connected are detected as a whole, and the principle is explained as follows: because the magnetic integrated switch is connected to the motor winding, the circuit network formed by any connection method is certain, and has a unique value, which is the DC resistance value or the back electromotive force value. If there is a problem with the magnetic integrated switch, such as the switch contacts are not connected or have poor contact, or the electrical contacts connecting the motor winding and the motor magnetic integrated switch have poor contact, it will deviate significantly from the standard value, thereby determining whether the contact of the magnetic integrated switch contacts and their electrical contacts are faulty.
[0095] The detection basis is as follows: When the motor is stationary, under normal circumstances, compared with the motor winding, the contact resistance of the switch contact is very small, generally only a few milliohms, and the resistance of the contact can be regarded as zero, which is not on the same order of magnitude as the DC resistance value of the motor winding. Therefore, the DC resistance value of the measured circuit network can be regarded as the DC resistance value of the motor winding. The DC resistance value of the motor winding is certain, and this value can be used as the standard value to judge the quality of the contact and electrical contacts of the magnetic integrated switch contact. In the case of a fault, whether it is a contact problem of the magnetic integrated switch contact or a poor contact of the electrical contact, the resistance will increase significantly, causing the detection value to deviate significantly from the normal standard value, thereby judging that a fault exists. When the motor is in operation, when the quality of the contact and electrical contacts of the integrated switch contact is intact, the measured back electromotive force value of the circuit network composed of the motor winding, the magnetic integrated switch contact and the electrical contact is regarded as the back electromotive force value of the circuit network composed of the motor winding. When the magnetic integrated switch contact and the electrical contact are abnormal, this value deviates significantly from the normal standard value, thereby judging that a fault exists.
[0096] Based on this, in an embodiment of the present invention, a single-chip microcomputer is used to determine the DC resistance value of the circuit network when the motor is in a stationary state, and to obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer respectively when the motor is in a running state; it is judged whether the DC resistance value is consistent with a preset DC resistance threshold value, if not, it is determined that there is a faulty magnetic integrated switch in the system, and if so, it is determined that there is no faulty magnetic integrated switch in the system. It is judged whether the first back electromotive force value and the second back electromotive force value are consistent with the preset back electromotive force threshold value, if not, it is determined that there is a faulty magnetic integrated switch in the system, and if so, it is determined that there is no faulty magnetic integrated switch in the system.
[0097] The detection scheme provided by the embodiment of the present invention can detect whether the two position states of the magnetic integrated switch, open or closed, are faulty, whether the contact or separation state of multiple contacts in the magnetic integrated switch is faulty, whether the connection of the electrical contact connecting the magnetic integrated switch and the motor winding is faulty, and whether the compression spring is broken, the contact sticks, the contact resistance increases due to insufficient contact pressure, etc. It provides a reliable basis for the normal operation of the gear-shifting motor and ensures the safe operation of the vehicle equipped with the gear-shifting motor.
[0098] Embodiment 2:
[0099] Figure 2 The hardware block diagram of the magnetic integrated switch detection system provided by the embodiment of the present invention is as follows: Figure 2 As shown, the motor winding includes a motor winding unit; the system further includes: an integrated switch control module (1);
[0100] The integrated switch control module (1) is connected to the magnetic integrated switch (2);
[0101] The integrated switch control module is used to adjust the motor to the first gear position or the second gear position according to the instruction.
[0102] Figure 3 The structure diagram of the magnetic force integrated switch detection system for the first gear of the gear-changing motor in a stationary state provided by the embodiment of the present invention is as follows Figure 3 As shown, when the motor is in the first gear position and is in a stationary state, the circuit network is composed of two branch circuits connected in series, one of which is a circuit in which two motor winding units (3-1) and (3-2) of the W phase line are connected in series, and the other branch is a circuit in which two motor winding units of the V phase line and the U phase line are connected in series and then in parallel; that is, the motor winding units (3-3) and (3-4) are connected in series, and the motor winding units (3-5) and (3-6) are connected in series and then in parallel.
[0103] The step-down module (5) is used to respectively supply power to the first detection switch (4-3), the second detection switch (4-2) and the third detection switch (4-1) to make them conductive, and after a delay, the fourth detection switch (7) is conductive, and the fourth detection switch outputs the first detection current value to the single-chip microcomputer via the O1 terminal.
[0104] Specifically, in Figure 3 In the invention, W, V and U are respectively the phase line ends of the three-phase motor; the motor winding units (3-1) and (3-2) are connected in series via the integrated switch contact (2-1) and the electrical contact (14); the other end of the motor winding unit (3-2) is respectively connected to one end of the V motor winding unit (3-4) and the U phase motor winding unit (3-6); the other end of the V motor winding unit (3-4) is connected in series with the V motor winding unit (3-3) via the integrated switch contact (2-2) and the electrical contact (14); the other end of the U motor winding unit (3-6) is connected in series with the U motor winding unit (3-5) via the integrated switch contact (2-3) and the electrical contact (14).
[0105] When the motor is in the first gear position at rest, the equivalent DC resistance value of the detected circuit network is equal to RW1+RW2+(RV1+RV2)(RU1+RU2) / (RV1+RV2+RU1+RU2), where RW1 is the DC resistance of the motor winding unit W1, RW2 is the DC resistance of the motor winding unit W2, RV1 is the DC resistance of the motor winding unit V1, RV2 is the DC resistance of the motor winding unit V2, RU1 is the DC resistance of the motor winding unit U1, and RU2 is the DC resistance of the motor winding unit U2.
[0106] Among them, RW1, RW2, RV1, RV2, RU1 and RU2 are respectively the pre-measured DC resistances of each winding unit of the motor. According to the formula RW1+RW2+(RV1+RV2)(RU1+RU2) / (RV1+RV2+RU1+RU2), the standard DC resistance value, that is, the first resistance threshold value, can be obtained. The single-chip microcomputer obtains the first voltage value of the step-down module and the first detection current value output by the fourth detection switch, and determines the first DC resistance value through logical operation according to the first voltage value and the first detection current value; determines whether the first DC resistance value is consistent with the first resistance threshold value obtained by the above formula, if not, determines that there is a faulty magnetic integrated switch in the system, and if so, determines that there is no faulty magnetic integrated switch in the system.
[0107] The W phase line is connected in series with a current transformer (6), the secondary side output of the current transformer (6) is connected to a detection switch (7), the W, V and U phase line ends are connected to a first detection switch, a second detection switch and a third detection switch respectively, the other end of the third detection switch is connected to a DC-DC step-down module (5), and the other end of the DC-DC step-down module (5) is connected to the other ends of the first detection switch and the second detection switch.
[0108] Detection process: When the motor is in a stationary state, the DC-DC step-down module (5) energizes the motor windings synchronously via the first detection switch, the second detection switch and the third detection switch. When the current in the motor windings reaches a steady state, the fourth detection switch (7) is turned on with a delay after the first detection switch, the second detection switch and the third detection switch. The secondary side current of the current transformer (6) is output via the O1 terminal of the fourth detection switch (7).
[0109] The detection basis is that when the integrated switch contacts and electrical contacts of the magnetic integrated switch are normal, the contact resistance of the magnetic integrated switch contacts is very small, a few milliohms, and the resistance of the electrical contacts is basically zero, so the measured data can be regarded as the DC resistance value of the motor winding. Under abnormal circumstances, whether the contacts of the magnetic integrated switch are not in contact or in poor contact or the electrical contacts are loose, the measured data will increase significantly and deviate from the normal value, which can be used to determine that there is a problem with the magnetic integrated switch.
[0110] In an embodiment of the present invention, the single chip microcomputer is specifically used to obtain the first voltage value of the step-down module and the first detection current value output by the fourth detection switch, and the single chip microcomputer determines the first DC resistance value through logical operation based on the first voltage value and the first detection current value; determines whether the first DC resistance value is consistent with a preset first resistance threshold, and if not, determines that there is a faulty magnetic integrated switch in the system, and if so, determines that there is no faulty magnetic integrated switch in the system.
[0111] Embodiment 3:
[0112] Figure 4 The structure diagram of the magnetic force integrated switch detection system for the second gear of the gear-changing motor in a stationary state provided by the embodiment of the present invention is as follows: Figure 4 As shown, when the motor is in the second gear position and is in a stationary state, the circuit network is composed of two branches connected in parallel, one of which is composed of a motor winding unit of the V-phase line connected in parallel with a motor winding unit of the U-phase line and then connected in series with a motor winding unit of the W-phase line, and the other branch is composed of another motor winding unit of the V-phase line connected in parallel with another motor winding unit of the U-phase line and then connected in series with another motor winding unit of the W-phase line;
[0113] The step-down module is used to supply power to the first detection switch, the second detection switch and the third detection switch respectively to make them turned on. After a delay, the fourth detection switch is turned on, and the fourth detection switch outputs the second detection current value to the single chip microcomputer.
[0114] The single chip microcomputer is specifically used to obtain the second voltage value of the step-down module and the second detection current value output by the fourth detection switch, and determine the second DC resistance value according to the second voltage value and the second detection current value; determine whether the second DC resistance value is consistent with a preset second resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0115] Specifically, in Figure 4 In the invention, W, V and U are respectively the phase line ends of the three-phase motor; the motor winding units (3-1), (3-3) and (3-5) are connected together via integrated switch contacts (2-7), (2-8) and (2-9) and an electrical contact (14); the other end of the motor winding unit (3-1) is connected to the motor winding unit (3-2) via an integrated switch contact (2-4); the other end of the motor winding unit (3-3) is connected to the motor winding unit (3-4) via an integrated switch contact (2-5); the other end of the motor winding unit (3-5) is connected to the motor winding unit (3-6) via an integrated switch contact (2-6); and the other ends of the motor winding units (3-2), (3-4) and (3-6) are connected together.
[0116] The W phase line is connected in series with a current transformer (6), the secondary side output of the current transformer (6) is connected to a fourth detection switch (7), the W, V and U phase line ends are connected to the first detection switch, the second detection switch and the third detection switch respectively, the other end of the third detection switch is connected to a DC-DC step-down module (5), and the other end of the DC-DC step-down module (5) is connected to the other ends of the first detection switch and the second detection switch.
[0117] Detection process: When the motor is in a stationary state, the DC-DC step-down module (5) energizes the motor windings synchronously via the first detection switch, the second detection switch and the third detection switch. When the current in the motor windings reaches a steady state, the fourth detection switch (7) is turned on with a delay after the first detection switch, the second detection switch and the third detection switch. The secondary side current of the current transformer (6) is output via the O1 terminal of the fourth detection switch (7).
[0118] Embodiment 4:
[0119] Figure 5 The hardware block diagram of the magnetic integrated switch detection system provided by the embodiment of the present invention is as follows: Figure 5 As shown, the system further comprises: a motor controller (8); the motor controller (8) is connected to the single chip computer (11).
[0120] Figure 6 A schematic diagram of the structure of a magnetic integrated switch detection system for a first gear in a gear-changing motor running state provided by an embodiment of the present invention. When the motor is in the first gear position and in the running state, the circuit network includes two branches, one branch is composed of a series circuit of four motor winding units of a W-phase line and a V-phase line, and the other branch is composed of a series circuit of four motor winding units of a V-phase line and a U-phase line;
[0121] The fifth detection switch, the sixth detection switch and the seventh detection switch in the circuit network are turned on at the same time, and the first potentiometer and the second potentiometer are adjusted to the same position.
[0122] The single chip microcomputer is used to obtain a first speed of the motor at a first gear position output by the motor controller, and determine a first back electromotive force threshold value according to the first speed and a pre-stored correspondence relationship between the speed and the back electromotive force;
[0123] The single chip microcomputer is specifically used to determine whether the first back electromotive force value and the second back electromotive force value are consistent with the first back electromotive force threshold value. If not, it is determined that there is a faulty magnetic integrated switch in the system; if so, it is determined that there is no faulty magnetic integrated switch in the system.
[0124] exist Figure 6In the embodiment, W, V, and U are phase line terminals of the three-phase motor respectively; one end of the motor winding units (3-2), (3-4), and (3-6) are connected together; the other end of the motor winding unit (3-2) is connected to the motor winding unit (3-1) via the integrated switch contact (2-1) and the electrical contact (14); the other end of the motor winding unit (3-1) is connected to the seventh detection switch (9-1); the other end of the seventh detection switch (9-1) is connected to the second potentiometer (10-1); the other end of the second potentiometer (10-1) is connected to the first detection switch (9-1); and the other end of the second potentiometer (10-1) is connected to the second detection switch (9-1). A potentiometer (10-2) and a sixth detection switch (9-2) are connected, the sixth detection switch (9-2) is connected to a motor winding unit (3-3), the other end of the motor winding unit (3-3) is connected to a motor winding unit (3-4) via an integrated switch contact (2-2) and an electrical contact (14), the other end of the motor winding unit (3-6) is connected to a motor winding unit (3-5) via an integrated switch contact (2-3) and an electrical contact (14), and the other end of the motor winding unit (3-5) is connected to a fifth detection switch (9-3). O2 is a signal output end of the second potentiometer (10-1), O3 is a signal output end of the first potentiometer (10-2), V * It is the signal common terminal.
[0125] The above connection forms two measuring loops: loop one is composed of the seventh detection switch (9-1), the motor winding unit (3-1), the integrated switch contact (2-1), the motor winding unit (3-2), the motor winding unit (3-4), the integrated switch contact (2-2), the motor winding unit (3-3), the sixth detection switch (9-2) and the electrical contact (14); loop two is composed of the fifth detection switch (9-3), the motor winding unit (3-5), the integrated switch contact (2-3), the motor winding unit (3-6), the motor winding unit (3-4), the integrated switch contact (2-2), the motor winding unit (3-3), the sixth detection switch (9-2) and the electrical contact (14). The parameters of all motor winding units (3-1), (3-2), (3-3), (3-4), (3-5) and (3-6) are consistent, the two potentiometers are adjusted to the same position, and current flows through the loop. Under normal circumstances, the voltage drop on the integrated switch contacts and electrical contacts can be ignored. The back EMF value detected at the output of the potentiometer has two characteristics: one is that the back EMF value is the same; the other is that the back EMF value is a fixed value, that is, a standard value, which corresponds to a certain speed of the motor. If there is a problem with the integrated switch contacts and electrical contacts in the above two circuits, the two characteristics of the above back EMF value will be destroyed and a fault will be detected.
[0126] Embodiment 5:
[0127] Figure 7A schematic diagram of the structure of a magnetic integrated switch detection system for the second gear of a gear-changing motor in operation provided by an embodiment of the present invention, when the motor is in the second gear position and in operation, the system includes two circuit networks, one of which is composed of two branch parallel circuits, one branch is a motor winding unit of a W-phase line connected in series with a motor winding unit of a V-phase line, and the other branch is another motor winding unit of a W-phase line connected in series with another motor winding unit of a V-phase line, and the other circuit network is composed of two branch parallel circuits, one branch is a motor winding unit of a V-phase line connected in series with a motor winding unit of a U-phase line, and the other branch is another motor winding unit of a V-phase line connected in series with another motor winding unit of a U-phase line;
[0128] The fifth detection switch, the sixth detection switch and the seventh detection switch in the circuit network are turned on at the same time, and the first potentiometer and the second potentiometer are adjusted to the same position.
[0129] The single chip microcomputer is used to obtain a second speed of the motor at the second gear position output by the motor controller, and determine a second back electromotive force threshold value according to the second speed and a pre-stored correspondence relationship between the speed and the back electromotive force;
[0130] The single chip microcomputer is specifically used to determine whether the first back electromotive force value and the second back electromotive force value are consistent with the second back electromotive force threshold value. If not, it is determined that there is a faulty magnetic integrated switch in the system. If so, it is determined that there is no faulty magnetic integrated switch in the system.
[0131] exist Figure 7In the invention, W, V and U are respectively the phase line ends of the three-phase motor; one end of the motor winding units (3-1), (3-3) and (3-5) are connected together via integrated switch contacts (2-7), (2-8) and (2-9) and an electrical contact (14); the other end of the motor winding unit (3-1) is connected to the motor winding unit (3-2) via an integrated switch contact (2-4); the other end of the motor winding unit (3-3) is connected to the motor winding unit (3-4) via an integrated switch contact (2-5); the other end of the motor winding unit (3-5) is connected to the motor winding unit (3-6) via an integrated switch contact (2-6); and the other ends of the motor winding units (3-2), (3-4) and (3-6) are connected together. The other end of the motor winding unit (3-1) is connected to the seventh detection switch (9-1), the other end of the seventh detection switch (9-1) is connected to the second potentiometer (10-1), the other end of the second potentiometer (10-1) is respectively connected to the first potentiometer (10-2) and the sixth detection switch (9-2), the sixth detection switch (9-2) is connected to the motor winding unit (3-3), and the other end of the fifth detection switch (9-3) is connected to the other end of the motor winding unit (3-5). O2 is the signal output end of the second potentiometer (10-1), O3 is the signal output end of the first potentiometer (10-2), V * It is the signal common terminal.
[0132] The above connection constitutes two measurement circuits, each of which is composed of two branches in parallel, and all motor winding units have the same electrical parameters. The two potentiometers are adjusted to the same position, and current flows through the circuit. Under normal circumstances, the voltage on the integrated switch contacts and electrical contacts can be ignored, and the back electromotive force value detected at the output end of the potentiometer has two characteristics: one is that the back electromotive force value is the same; the other is that the back electromotive force value is a fixed value, that is, a standard value, which corresponds to a certain speed of the motor. If there is a problem with the integrated switch contacts and electrical contacts in the above two circuits, the two characteristics of the above back electromotive force value will be destroyed and a fault will be detected.
[0133] Embodiment 6:
[0134] Figure 8 The hardware block diagram of the magnetic integrated switch detection system provided by the embodiment of the present invention is as follows: Figure 8 As shown, the system further comprises: a main power supply (13); the main power supply (13) is respectively connected to the integrated switch control module (1), the voltage reduction module (5), the motor controller (8) and the single chip microcomputer (11);
[0135] The main power supply is used to supply power to the integrated switch control module, the step-down module, the motor controller and the single-chip microcomputer.
[0136] Embodiment 7:
[0137] Fig. 9 A hardware block diagram of a magnetic integrated switch detection system provided in an embodiment of the present invention, wherein the system further comprises: a display (12); the display (12) is connected to the single chip computer (11);
[0138] The single chip microcomputer is further used to send a first instruction to the display when it is determined that there is a faulty magnetic integrated switch in the system; the display is used to receive the first instruction and display first indication information indicating that there is a faulty magnetic integrated switch;
[0139] The single chip microcomputer is also used to send a second instruction to the display when it is determined that there is no faulty magnetic integrated switch in the system; the display is used to receive the second instruction and display second indication information indicating that there is no faulty magnetic integrated switch.
[0140] In the embodiment of the present invention, after the single chip microcomputer detects whether there is a faulty magnetic integrated switch in the system, it controls the display to display different indication information according to different detection results, wherein the indication information may be text information, graphic information, etc. In the embodiment of the present invention, the indication information is not limited, as long as it can distinguish between a faulty magnetic integrated switch in the system and a normal magnetic integrated switch in the system.
[0141] Fig.10 The hardware electrical connection diagram of the online self-test of the magnetic integrated switch of the variable speed motor provided by the embodiment of the present invention is shown in Fig.10 In the embodiment, the motor is in the first gear state. W, V, and U are the phase line ends of the three-phase motor respectively. The motor winding units (3-1) and (3-2) are connected via the integrated switch contact (2-1), the motor winding units (3-3) and (3-4) are connected via the integrated switch contact (2-2), the motor winding units (3-5) and (3-6) are connected via the integrated switch contact (2-3), and the other ends of the motor winding units (3-2), (3-4), and (3-6) are connected together. The integrated switch contacts (2-7), (2-8), and (2-9) are disconnected. The W phase is connected in series with the current transformer (6); the secondary side output of the current transformer (6) is connected to the fourth detection switch (7); the trigger input and control output ends of the fourth detection switch (7) are respectively connected to the P0.3 and P1.1 ports of the single chip computer (11); the W, V and U phase line ends are respectively connected to the first detection switch, the second detection switch and the third detection switch; the trigger ends of the first detection switch, the second detection switch and the third detection switch are connected in series; the trigger end of the third detection switch is connected to the P0.2 port of the single chip computer (11); the control end of the third detection switch is connected to the DC-DC step-down module (5); and the control ends of the first detection switch and the second detection switch are connected to the other end of the DC-DC step-down module (5).
[0142] The W, V, and U phase line ends are connected to the fifth detection switch, the sixth detection switch, and the seventh detection switch respectively; the trigger input ends of the fifth detection switch, the sixth detection switch, and the seventh detection switch are connected in series; the trigger input end of the seventh detection switch is connected to P0.1 of the single-chip computer (11); the output end of the seventh detection switch is connected to the W phase and the potentiometer (10-1); the output end of the sixth detection switch is connected to the V phase and the V of the potentiometer (10-1) respectively. * The signal common terminal and the output terminal of the fifth detection switch (9-3) are connected to the U phase and the V of the potentiometer (10-2) respectively. * The signal common terminal, the trigger output terminals of the first detection switch, the second detection switch, the third detection switch, the fourth detection switch, the fifth detection switch, the sixth detection switch and the seventh detection switch are connected to the GND port of the single chip computer (11).
[0143] The two ends of the potentiometer (10-1) are respectively connected to the control output ends of the sixth detection switch and the seventh detection switch, and the two ends of the potentiometer (10-2) are respectively connected to the control output ends of the fifth detection switch and the sixth detection switch. * , O2, and O3 are respectively connected to the GND, P1.2, and P1.3 ports of the single-chip microcomputer (11).
[0144] The main power supply (13) is respectively connected to the DC-DC step-down module (5), the motor controller (8), the switch control module (1) and the display (12), and the data end of the display (12) is connected to the P2.0-P2.7 ports of the single-chip computer (11). The motor controller (8), the switch control module (1) and the P0.5 of the single-chip computer (11) are connected by a data line.
[0145] The single chip computer (11) is a C8051F series computer having an ADC conversion interface, and the fifth detection switch, the sixth detection switch and the seventh detection switch have a bidirectional conduction performance.
[0146] The detection process of the motor in the static first gear is as follows: the main power supply (13) supplies power - the switch control module (1) sets the motor to the first gear - the single chip computer (11) P0.1 and P0.3 are at low level - the seventh detection switch (9-1), the sixth detection switch (9-2), the fifth detection switch (9-3) and the fourth detection switch (7) are disconnected - the single chip computer (11) P0.2 is at high level - the third detection switch (4-1), the second detection switch (4-2) and the first detection switch (4-3) are turned on - the DC-DC step-down module (5) supplies power to the motor winding (3) - after a certain delay, the current in the motor winding and the current transformer (6) reaches a steady state - the single chip computer (11) P0.3 is at high level - the fourth detection switch (7) is turned on - the single chip computer (11) P1.1 receives the current data at the O1 terminal. After receiving the current data, the single-chip computer (11) calculates the DC resistance value according to the voltage value pre-stored in the DC-DC step-down module (5), compares this value with the standard value of the DC resistance of the circuit network pre-stored in the single-chip computer, determines whether the contact state of the connected integrated switch contact and its electrical contacts have problems, and displays them on the display (12) in the form of different indication information.
[0147] The first gear detection process when the motor is running: the main power supply (13) supplies power - the switch control module (1) sets the motor to the first gear - the single chip computer (11) P0.2, P0.3 are low level - the third detection switch (4-1), the second detection switch (4-2), the first detection switch (4-3), and the fourth detection switch (7) are disconnected - the single chip computer (11) P0.1 is high level - the seventh detection switch (9-1), the sixth detection switch (9-2), and the fifth detection switch (9-3) are turned on - the back electromotive force generated by the motor winding (3) is added to the potentiometers (10-1) and (10-2), and the potentiometer (10-1) The output O2 and O3 back electromotive force values of the potentiometers (10-1) and (10-2) are received by the P1.2 and P1.3 ports of the single chip microcomputer (11), and the P0.5 port of the single chip microcomputer (11) receives the motor speed data output by the motor controller (8). The single chip microcomputer (11) determines the back electromotive force threshold value based on the pre-stored curve value of the relationship between the back electromotive force of the motor winding and the speed, and compares the output O2 and O3 back electromotive force values of the potentiometers (10-1) and (10-2) with the back electromotive force threshold value to determine whether the connected integrated switch contact and its electrical contacts have problems and display them on the display (12) in the form of different indication information.
[0148] Embodiment 8:
[0149] Fig.11 A schematic diagram of a magnetic integrated switch detection process provided by an embodiment of the present invention, wherein the method is applied to a single chip microcomputer, and the method comprises:
[0150] S101: Determine whether the motor is currently in a stationary state or a running state.
[0151] S102: If the motor is currently in a stationary state, determine the DC resistance value of the circuit network, compare the DC resistance value with a standard value, and determine whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of a magnetic integrated switch and a motor winding.
[0152] S103: If the motor is currently in operation, obtain a first back electromotive force value of the first potentiometer and a second back electromotive force value of the second potentiometer respectively; compare the first back electromotive force value and the second back electromotive force value with a standard value to determine whether there is a faulty magnetic integrated switch in the system.
[0153] The step of determining a DC resistance value of a circuit network, comparing the DC resistance value with a standard value, and judging whether there is a faulty magnetic integrated switch in the system comprises:
[0154] If the motor is in the first gear position, obtain the first voltage value of the step-down module and the first detection current value output by the fourth detection switch, and determine the first DC resistance value according to the first voltage value and the first detection current value; judge whether the first DC resistance value is consistent with the preset first resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0155] The step of determining a DC resistance value of a circuit network, comparing the DC resistance value with a standard value, and judging whether there is a faulty magnetic integrated switch in the system comprises:
[0156] If the motor is in the second gear position, obtain the second voltage value of the step-down module and the second detection current value output by the fourth detection switch, and determine the second DC resistance value according to the second voltage value and the second detection current value; determine whether the second DC resistance value is consistent with the preset second resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0157] The step of comparing the first back electromotive force value, the second back electromotive force value and the standard value to determine whether there is a fault in the system includes:
[0158] Obtaining a first speed of the motor at a first gear position output by a motor controller, and determining a first back electromotive force threshold value according to the first speed and a pre-stored correspondence relationship between the speed and the back electromotive force;
[0159] Determine whether the first back electromotive force value and the second back electromotive force value are consistent with the first back electromotive force threshold value. If not, determine that there is a faulty magnetic integrated switch in the system. If so, determine that there is no faulty magnetic integrated switch in the system.
[0160] The step of comparing the first back electromotive force value, the second back electromotive force value and the standard value to determine whether there is a fault in the system includes:
[0161] Obtaining a second speed of the motor at the second gear position output by the motor controller, and determining a second back electromotive force threshold according to the second speed and a pre-stored correspondence between the speed and the back electromotive force;
[0162] Determine whether the first back electromotive force value and the second back electromotive force value are consistent with the second back electromotive force threshold value. If not, determine that there is a faulty magnetic integrated switch in the system. If so, determine that there is no faulty magnetic integrated switch in the system.
[0163] The method further comprises:
[0164] When it is determined that there is a faulty magnetic integrated switch in the system, a first instruction is sent to the display so that the display displays first indication information indicating that there is a faulty magnetic integrated switch;
[0165] When it is determined that there is no faulty magnetic integrated switch in the system, a second instruction is sent to the display, so that the display displays second indication information indicating that there is no faulty magnetic integrated switch.
[0166] Embodiment 9:
[0167] Fig.12 A schematic diagram of the structure of a magnetic integrated switch detection device provided in an embodiment of the present invention, the device comprises:
[0168] The judging module 141 is used to judge whether the motor is currently in a stationary state or a running state;
[0169] A first comparison module 142 is used to determine the DC resistance value of the circuit network if the motor is currently in a stationary state, compare the DC resistance value with a standard value, and determine whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of a magnetic integrated switch and a motor winding;
[0170] The second comparison module 143 is used to obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer respectively if the motor is currently in a running state; compare the first back electromotive force value and the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
[0171] The first comparison module 142 is specifically used to obtain the first voltage value of the step-down module and the first detection current value output by the fourth detection switch when the motor is in the first gear position, and determine the first DC resistance value according to the first voltage value and the first detection current value; judge whether the first DC resistance value is consistent with a preset first resistance threshold value, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0172] The first comparison module 142 is specifically used to obtain the second voltage value of the step-down module and the second detection current value output by the fourth detection switch when the motor is placed in the second gear position, and determine the second DC resistance value according to the second voltage value and the second detection current value; determine whether the second DC resistance value is consistent with a preset second resistance threshold, and if not, determine whether there is a faulty magnetic integrated switch in the system; and if so, determine whether there is no faulty magnetic integrated switch in the system.
[0173] The second comparison module 143 is specifically used to obtain the first speed of the motor in the first gear position output by the motor controller, and determine the first back electromotive force threshold according to the first speed and the correspondence between the pre-saved speed and the back electromotive force; judge whether the first back electromotive force value and the second back electromotive force value are consistent with the first back electromotive force threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0174] The second comparison module 143 is specifically used to obtain the second speed of the motor in the second gear position output by the motor controller, and determine the second back electromotive force threshold according to the second speed and the correspondence between the speed and the back electromotive force saved in advance; judge whether the first back electromotive force value and the second back electromotive force value are consistent with the second back electromotive force threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
[0175] The device also includes:
[0176] The display module 144 is used to send a first instruction to the display when it is determined that there is a faulty magnetic integrated switch in the system, so that the display displays first indication information indicating that there is a faulty magnetic integrated switch; and to send a second instruction to the display when it is determined that there is no faulty magnetic integrated switch in the system, so that the display displays second indication information indicating that there is no faulty magnetic integrated switch.
[0177] Embodiment 10:
[0178] On the basis of the above embodiments, a single chip microcomputer is also provided in the embodiment of the present invention, such as Fig.13As shown, it includes: a processor 151, a communication interface 152, a memory 153 and a communication bus 154, wherein the processor 151, the communication interface 152, and the memory 153 communicate with each other through the communication bus 154;
[0179] The memory 153 stores a computer program. When the program is executed by the processor 151, the processor 151 performs the following steps:
[0180] Determine whether the motor is currently in a stationary state or in a running state;
[0181] If the motor is currently in a stationary state, determine the DC resistance value of the circuit network, compare the DC resistance value with a standard value, and determine whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of a magnetic integrated switch and a motor winding;
[0182] If the motor is currently in operation, obtain a first back electromotive force value of the first potentiometer and a second back electromotive force value of the second potentiometer respectively; compare the first back electromotive force value and the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
[0183] Based on the same inventive concept, a single chip microcomputer is also provided in the embodiment of the present invention. Since the principle of solving the problem by the above single chip microcomputer is similar to that of the magnetic integrated switch detection method, the implementation of the above single chip microcomputer can refer to the implementation of the method, and the repeated parts will not be repeated.
[0184] The single chip microcomputer provided in the embodiment of the present invention may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a personal digital assistant (PDA), a network side device, etc.
[0185] The communication bus mentioned in the above-mentioned single-chip microcomputer can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0186] The communication interface 152 is used for communication between the above-mentioned single chip microcomputer and other devices.
[0187] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0188] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.
[0189] In the embodiment of the present invention, when the processor executes the program stored in the memory, it is realized to judge whether the motor is currently in a stationary state or a running state; if the motor is currently in a stationary state, determine the DC resistance value of the circuit network, compare the DC resistance value with the standard value, and judge whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of a magnetic integrated switch and a motor winding; if the motor is currently in a running state, respectively obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer; compare the first back electromotive force value and the second back electromotive force value with the standard value to judge whether there is a faulty magnetic integrated switch in the system. The beneficial effect of the embodiment of the present invention is that the core component of the gear-changing motor is the motor magnetic integrated switch, which is detected in real time online, the detection method is simple and easy, the wiring is convenient, and the detection covers a wide range, and it can timely find out whether the two position states of the magnetic integrated switch on or off are faulty, whether the contact or separation state of multiple contacts in the magnetic integrated switch is faulty, whether the connection of the electrical contact connecting the magnetic integrated switch and the motor winding is faulty, and the pressure spring is broken, the contact sticks, and the contact resistance increases due to insufficient contact pressure. It provides a reliable basis for the normal operation of the gear-shift motor and ensures the safe operation of vehicles equipped with the gear-shift motor.
[0190] Embodiment 11:
[0191] On the basis of the above embodiments, an embodiment of the present invention further provides a computer storage readable storage medium, wherein the computer readable storage medium stores a computer program executable by a single chip microcomputer, and when the program is executed on the single chip microcomputer, the single chip microcomputer implements the following steps when executing:
[0192] Determine whether the motor is currently in a stationary state or in a running state;
[0193] If the motor is currently in a stationary state, determine the DC resistance value of the circuit network, compare the DC resistance value with a standard value, and determine whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of a magnetic integrated switch and a motor winding;
[0194] If the motor is currently in operation, obtain a first back electromotive force value of the first potentiometer and a second back electromotive force value of the second potentiometer respectively; compare the first back electromotive force value and the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
[0195] Based on the same inventive concept, a computer-readable storage medium is also provided in an embodiment of the present invention. Since the principle of solving the problem when the processor executes the computer program stored on the above-mentioned computer-readable storage medium is similar to that of the magnetic integrated switch detection method, the implementation of the processor when executing the computer program stored on the above-mentioned computer-readable storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.
[0196] The above-mentioned computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor in the single-chip microcomputer, including but not limited to magnetic storage such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc., optical storage such as CD, DVD, BD, HVD, etc., and semiconductor storage such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD), etc.
[0197] The computer readable storage medium provided in the embodiment of the present invention stores a computer program, and when the computer program is executed by the processor, it is realized to determine whether the motor is currently in a stationary state or a running state; if the motor is currently in a stationary state, determine the DC resistance value of the circuit network, compare the DC resistance value with the standard value, and determine whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of a magnetic integrated switch and a motor winding; if the motor is currently in a running state, respectively obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer; compare the first back electromotive force value and the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system. The beneficial effect of the embodiment of the present invention is that the core component of the gear-shifting motor is the motor magnetic integrated switch, and real-time online detection is performed on it. The detection method is simple and easy, the wiring is convenient, and the detection covers a wide range. It can timely discover whether the two position states of the magnetic integrated switch on or off are faulty, whether the contact or separation state of multiple contacts in the magnetic integrated switch is faulty, whether the connection of the electrical contacts connected to the magnetic integrated switch and the motor winding is faulty, and the pressure spring is broken, the contact sticks, and the contact resistance increases due to insufficient contact pressure. It provides a reliable basis for the normal operation of the gear-shift motor and ensures the safe operation of vehicles equipped with the gear-shift motor.
[0198] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0199] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0200] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0201] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0202] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A magnetic integrated switch detection system, characterized in that: The system comprises: a magnetic integrated switch, a motor winding, a detection switch, a step-down module, a current transformer, a potentiometer and a single-chip microcomputer; the magnetic integrated switch on each phase line is connected to the motor winding, and the motor windings on each phase line are connected in pairs; the magnetic integrated switch and the motor winding constitute a circuit network; When the motor is in a stationary state, the motor winding on the U phase line is also connected to the first detection switch, the motor winding on the V phase line is also connected to the second detection switch, the motor winding on the W phase line is also connected to the current transformer, the current transformer is also connected to the third detection switch and the fourth detection switch respectively, the fourth detection switch is also connected to the single chip microcomputer, the first detection switch, the second detection switch and the third detection switch are also connected to the step-down module respectively, and the step-down module is also connected to the single chip microcomputer; When the motor is in operation, the motor winding on the U phase line is also connected to the fifth detection switch, the motor winding on the V phase line is also connected to the sixth detection switch, and the motor winding on the W phase line is also connected to the seventh detection switch. A first potentiometer is connected between the fifth detection switch and the sixth detection switch, and a second potentiometer is connected between the sixth detection switch and the seventh detection switch. The first potentiometer and the second potentiometer are also connected to the single chip microcomputer; The single chip microcomputer is used to determine the DC resistance value of the circuit network when the motor is in a stationary state, and to obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer when the motor is in a running state; the DC resistance value, the first back electromotive force value, and the second back electromotive force value are compared with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
2. The system according to claim 1, characterized in that The motor winding includes all motor winding units; the system also includes: an integrated switch control module; The integrated switch control module is connected to the magnetic integrated switch; The integrated switch control module is used to adjust the motor to the first gear position or the second gear position according to the instruction.
3. The system according to claim 2, characterized in that When the motor is in the first gear position and is in a stationary state, the circuit network is composed of two branch circuits connected in series, one of which is a circuit of two motor winding units of the W phase line connected in series, and the other branch is a circuit of two motor winding units of the V phase line and the U phase line connected in series and then in parallel; The step-down module is used to supply power to the first detection switch, the second detection switch and the third detection switch respectively to turn them on, and after a delay, the fourth detection switch is turned on, and the fourth detection switch outputs the first detection current value to the single chip microcomputer; The single chip microcomputer is specifically used to obtain the first voltage value of the step-down module and the first detection current value output by the fourth detection switch, and determine the first DC resistance value according to the first voltage value and the first detection current value; determine whether the first DC resistance value is consistent with a preset first resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
4. The system according to claim 2, characterized in that When the motor is in the second gear position and is in a stationary state, the circuit network is composed of two branches connected in parallel, one of which is composed of a motor winding unit of the V-phase line connected in parallel with a motor winding unit of the U-phase line and then connected in series with a motor winding unit of the W-phase line, and the other branch is composed of another motor winding unit of the V-phase line connected in parallel with another motor winding unit of the U-phase line and then connected in series with another motor winding unit of the W-phase line; The step-down module is used to supply power to the first detection switch, the second detection switch and the third detection switch respectively to turn them on, and after a delay, the fourth detection switch is turned on, and the fourth detection switch outputs the second detection current value to the single chip microcomputer; The single chip microcomputer is specifically used to obtain the second voltage value of the step-down module and the second detection current value output by the fourth detection switch, and determine the second DC resistance value according to the second voltage value and the second detection current value; determine whether the second DC resistance value is consistent with a preset second resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
5. The system according to claim 2, characterized in that When the motor is in the first gear position and in operation, the circuit network includes two branches, one branch is composed of a series circuit of four motor winding units of the W phase line and the V phase line, and the other branch is composed of a series circuit of four motor winding units of the V phase line and the U phase line; The fifth detection switch, the sixth detection switch and the seventh detection switch in the circuit network are turned on at the same time, and the first potentiometer and the second potentiometer are adjusted to the same position; The system further comprises: a motor controller; the motor controller is connected to the single chip microcomputer; The single chip microcomputer is used to obtain a first speed of the motor at a first gear position output by the motor controller, and determine a first back electromotive force threshold value according to the first speed and a pre-stored correspondence relationship between the speed and the back electromotive force; The single chip microcomputer is specifically used to determine whether the first back electromotive force value and the second back electromotive force value are consistent with the first back electromotive force threshold value. If not, it is determined that there is a faulty magnetic integrated switch in the system; if so, it is determined that there is no faulty magnetic integrated switch in the system.
6. The system according to claim 2, characterized in that When the motor is in the second gear position and in operation, the system includes two circuit networks, one of which is composed of two branch parallel circuits, one branch is a motor winding unit of the W phase line connected in series with a motor winding unit of the V phase line, and the other branch is another motor winding unit of the W phase line connected in series with another motor winding unit of the V phase line, and the other circuit network is composed of two branch parallel circuits, one branch is a motor winding unit of the V phase line connected in series with a motor winding unit of the U phase line, and the other branch is another motor winding unit of the V phase line connected in series with another motor winding unit of the U phase line; The fifth detection switch, the sixth detection switch and the seventh detection switch in the circuit network are turned on at the same time, and the first potentiometer and the second potentiometer are adjusted to the same position; The system further comprises: a motor controller; the motor controller is connected to the single chip microcomputer; The single chip microcomputer is used to obtain a second speed of the motor at the second gear position output by the motor controller, and determine a second back electromotive force threshold value according to the second speed and a pre-stored correspondence relationship between the speed and the back electromotive force; The single chip microcomputer is specifically used to determine whether the first back electromotive force value and the second back electromotive force value are consistent with the second back electromotive force threshold value. If not, it is determined that there is a faulty magnetic integrated switch in the system. If so, it is determined that there is no faulty magnetic integrated switch in the system.
7. The system according to claim 5 or 6, characterized in that The system further comprises: a main power supply; the main power supply is respectively connected to the integrated switch control module, the step-down module, the motor controller and the single-chip microcomputer; The main power supply is used to supply power to the integrated switch control module, the step-down module, the motor controller and the single-chip microcomputer.
8. The system of claim 1, wherein: The system further comprises: a display; the display is connected to the single chip microcomputer; The single chip microcomputer is further used to send a first instruction to the display when it is determined that there is a faulty magnetic integrated switch in the system; the display is used to receive the first instruction and display first indication information indicating that there is a faulty magnetic integrated switch; The single chip microcomputer is also used to send a second instruction to the display when it is determined that there is no faulty magnetic integrated switch in the system; the display is used to receive the second instruction and display second indication information indicating that there is no faulty magnetic integrated switch.
9. A magnetic integrated switch detection method, characterized in that: Applied in the magnetic integrated switch detection system as claimed in claim 1, the method comprises: Determine whether the motor is currently in a stationary state or in a running state; If the motor is currently in a stationary state, determine the DC resistance value of the circuit network, compare the DC resistance value with a standard value, and determine whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of a magnetic integrated switch and a motor winding; If the motor is currently in operation, obtain a first back electromotive force value of the first potentiometer and a second back electromotive force value of the second potentiometer respectively; compare the first back electromotive force value and the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
10. The method according to claim 9, characterized in that The step of determining a DC resistance value of a circuit network, comparing the DC resistance value with a standard value, and judging whether there is a faulty magnetic integrated switch in the system comprises: If the motor is in the first gear position, obtain the first voltage value of the step-down module and the first detection current value output by the fourth detection switch, and determine the first DC resistance value according to the first voltage value and the first detection current value; judge whether the first DC resistance value is consistent with the preset first resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
11. The method according to claim 9, characterized in that The step of determining a DC resistance value of a circuit network, comparing the DC resistance value with a standard value, and judging whether there is a faulty magnetic integrated switch in the system comprises: If the motor is in the second gear position, obtain the second voltage value of the step-down module and the second detection current value output by the fourth detection switch, and determine the second DC resistance value according to the second voltage value and the second detection current value; determine whether the second DC resistance value is consistent with the preset second resistance threshold, if not, determine that there is a faulty magnetic integrated switch in the system, and if so, determine that there is no faulty magnetic integrated switch in the system.
12. The method according to claim 9, characterized in that The step of comparing the first back electromotive force value, the second back electromotive force value and the standard value to determine whether there is a fault in the system includes: Obtaining a first speed of the motor at a first gear position output by a motor controller, and determining a first back electromotive force threshold value according to the first speed and a pre-stored correspondence relationship between the speed and the back electromotive force; Determine whether the first back electromotive force value and the second back electromotive force value are consistent with the first back electromotive force threshold value. If not, determine that there is a faulty magnetic integrated switch in the system. If so, determine that there is no faulty magnetic integrated switch in the system.
13. The method according to claim 9, characterized in that The step of comparing the first back electromotive force value, the second back electromotive force value and the standard value to determine whether there is a fault in the system includes: Obtaining a second speed of the motor at the second gear position output by the motor controller, and determining a second back electromotive force threshold according to the second speed and a pre-stored correspondence between the speed and the back electromotive force; Determine whether the first back electromotive force value and the second back electromotive force value are consistent with the second back electromotive force threshold value. If not, determine that there is a faulty magnetic integrated switch in the system. If so, determine that there is no faulty magnetic integrated switch in the system.
14. The method according to claim 9, characterized in that The method further comprises: When it is determined that there is a faulty magnetic integrated switch in the system, a first instruction is sent to the display so that the display displays first indication information indicating that there is a faulty magnetic integrated switch; When it is determined that there is no faulty magnetic integrated switch in the system, a second instruction is sent to the display, so that the display displays second indication information indicating that there is no faulty magnetic integrated switch.
15. A magnetic integrated switch detection device, characterized in that: The device comprises: A judgment module is used to judge whether the motor is currently in a stationary state or a running state; A first comparison module is used to determine the DC resistance value of the circuit network if the motor is currently in a stationary state, compare the DC resistance value with a standard value, and determine whether there is a faulty magnetic integrated switch in the system; wherein the circuit network is composed of the magnetic integrated switch and the motor winding; The second comparison module is used to obtain the first back electromotive force value of the first potentiometer and the second back electromotive force value of the second potentiometer respectively if the motor is currently in a running state; compare the first back electromotive force value and the second back electromotive force value with the standard value to determine whether there is a faulty magnetic integrated switch in the system.
16. A single chip microcomputer, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor is used to implement the method steps described in any one of claims 9 to 14 when executing a program stored in a memory.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 9 to 14 are implemented.
Citation Information
Patent Citations
Magnetic integrated switch detection system
CN211979131U