Electric vehicle and control method and device thereof
By connecting the mechanical key switch with the electronic switch of the alarm conduction circuit, and using software to judge the voltage of the load power input terminal, the complexity and cost of mechanical key detection during the electric vehicle alarm process is solved, and reasonable alarm control is achieved.
Patent Information
- Application Number
- CN202411426786.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2024-12-13
AI Technical Summary
When existing two-wheeled electric vehicles alarm in fortification, they need to detect the start of the mechanical key, but this process increases the complexity of the overall circuit structure of the electric vehicle and the hardware cost.
By connecting the mechanical key switch with the electronic switch of the alarm conduction circuit together, the power input voltage of the load is collected and judged multiple times during the alarm process, and whether the mechanical key switch is closed through software, so as to achieve reasonable control during the alarm process.
It realizes the convenient and effective detection of mechanical keys without significantly increasing the overall circuit structure complexity and hardware cost of the electric vehicle, and realizes reasonable control of the electric vehicle alarm process.
Smart Images

Figure CN119117152A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric vehicles, and in particular to an electric vehicle and a control method and device thereof. Background Art
[0002] At present, most two-wheeled electric vehicles will enter the electric vehicle defense state after locking the vehicle. In the electric vehicle defense state, if vibration or wheel movement is detected, the control system of the electric vehicle will turn on the electronic switch, connect the load to the power supply, and alarm through actions such as flashing lights and locking motors. This alarm process will last for a period of time, such as 15 seconds. During the alarm process, if the electric vehicle is started by a mechanical key, it is necessary to stop the alarm in time and enter the electric vehicle startup state. This requires the electric vehicle to have the function of detecting the mechanical key starting action. The relevant technology realizes this detection by adding a mechanical key detection circuit. For example, patent CN219857466U adds a mechanical key detection circuit composed of multiple semiconductor devices. The setting of this circuit increases the complexity of the overall circuit structure of the electric vehicle and the hardware cost. Summary of the invention
[0003] In order to solve the above technical problems, the present invention provides an electric vehicle and a control method and device thereof, which can conveniently and effectively realize the detection of mechanical keys during the alarm process, thereby realizing reasonable control of the electric vehicle during the alarm process, and will not significantly increase the complexity of the overall circuit structure of the electric vehicle and the hardware cost.
[0004] The technical solution adopted by the present invention is as follows: A control method for an electric vehicle, the electric vehicle comprises a power supply, a load, an electronic switch and a mechanical key switch, the electronic switch comprises a first pole, a second pole and a control pole, the first pole is connected to the power supply, the second pole is connected to the power input terminal of the load, the control pole is used to control the electronic switch to be turned on or off, when the electronic switch is turned on, the power supply supplies power to the load to realize an alarm, one end of the mechanical key switch is connected to the first pole, and the other end is connected to the second pole, the control method comprises the following steps: S1, in response to an alarm triggering condition in a defense state of the electric vehicle, controlling the electronic switch to be turned on to realize an alarm; S2, collecting a first voltage at the power input terminal of the load during the alarm process; S3, after collecting the first voltage, controlling The electronic switch is turned off, and a second voltage at the power input terminal of the load is collected; S4, whether the second voltage has a significant drop relative to the first voltage; S5, if the second voltage has a significant drop relative to the first voltage, it is determined that the mechanical key switch is not closed, and the electronic switch is controlled to be turned on to continue the alarm; S6, if the second voltage has no significant drop relative to the first voltage, it is determined that the mechanical key switch is closed, and a third voltage at the power input terminal of the load is collected after a preset delay time; S7, whether the third voltage is the voltage of the power supply; S8, if the third voltage is the voltage of the power supply, the electric vehicle is entered into the power-on state; S9, if the third voltage is not the voltage of the power supply, the electric vehicle is returned to the defense state.
[0005] The electronic switch comprises a PMOS tube, and the first electrode, the second electrode and the control electrode are respectively a source electrode, a drain electrode and a gate electrode of the PMOS tube.
[0006] Steps S2 to S9 are executed once every preset detection period.
[0007] By judging whether the second voltage drops relative to the first voltage by more than a preset voltage difference, it is judged whether the second voltage has a significant drop relative to the first voltage. If the second voltage drops relative to the first voltage by more than the preset voltage difference, it is judged that the second voltage has a significant drop relative to the first voltage; otherwise, it is judged that the second voltage has no significant drop relative to the first voltage.
[0008] A control device for an electric vehicle, the electric vehicle comprises a power supply, a load, an electronic switch and a mechanical key switch, the electronic switch comprises a first pole, a second pole and a control pole, the first pole is connected to the power supply, the second pole is connected to the power input terminal of the load, the control pole is used to control the electronic switch to be turned on or off, when the electronic switch is turned on, the power supply supplies power to the load to realize an alarm, one end of the mechanical key switch is connected to the first pole, and the other end is connected to the second pole, the control device comprises a control module, a collection module and a judgment module, wherein the control module controls the electronic switch to be turned on to realize an alarm in response to an alarm triggering condition when the electric vehicle is in a defense state; the collection module collects a first voltage at the power input terminal of the load during the alarm process; after the collection module collects the first voltage, the control module controls The electronic switch is turned off, and then the acquisition module acquires a second voltage at the power input terminal of the load; the judgment module determines whether the second voltage has a significant drop relative to the first voltage. If the second voltage has a significant drop relative to the first voltage, it is determined that the mechanical key switch is not closed, and the control module controls the electronic switch to be turned on to continue the alarm. If the second voltage has no significant drop relative to the first voltage, it is determined that the mechanical key switch is closed, and the acquisition module acquires a third voltage at the power input terminal of the load after a preset delay time; the judgment module determines whether the third voltage is the voltage of the power supply. If the third voltage is the voltage of the power supply, the control module enters the electric vehicle startup state. If the third voltage is not the voltage of the power supply, the control module returns to the electric vehicle defense state.
[0009] The electronic switch comprises a PMOS tube, and the first electrode, the second electrode and the control electrode are respectively a source electrode, a drain electrode and a gate electrode of the PMOS tube.
[0010] The acquisition module acquires the first voltage of the power input terminal of the load once at each preset detection period during the alarm process, so as to determine whether the mechanical key switch is closed once at each preset detection period.
[0011] The judgment module judges whether the second voltage has a significant drop relative to the first voltage by judging whether the second voltage drops relative to the first voltage by more than a preset voltage difference; if the second voltage drops relative to the first voltage by more than the preset voltage difference, it is determined that the second voltage has a significant drop relative to the first voltage; otherwise, it is determined that the second voltage has no significant drop relative to the first voltage.
[0012] An electric vehicle comprises the control device of the electric vehicle.
[0013] Beneficial effects of the present invention: The present invention connects the mechanical key switch of the electric vehicle in parallel with the electronic switch of the alarm conduction circuit, collects and judges the voltage of the power input end of the load multiple times during the alarm process, and judges whether the mechanical key switch is closed, that is, whether there is a mechanical key starting action, by software. The mechanical key detection during the alarm process can be conveniently and effectively realized, thereby realizing reasonable control of the electric vehicle during the alarm process, and will not significantly increase the complexity of the overall circuit structure of the electric vehicle and the hardware cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 A circuit topology diagram of an electric vehicle according to an embodiment of the present invention; Figure 2 is a flow chart of a control method for an electric vehicle according to an embodiment of the present invention; Figure 3 FIG. 4 is a block diagram of a control device for an electric vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not 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.
[0016] like Figure 1 As shown, the electric vehicle of the embodiment of the present invention includes a power supply 1, a load 2, an electronic switch 3 and a mechanical key switch 4. The electronic switch 3 includes a first pole, a second pole and a control pole. The first pole is connected to the power supply 1, the second pole is connected to the power input terminal ACC of the load 2, and the control pole is used to control the electronic switch 3 to be turned on or off. When the electronic switch 3 is turned on, the power supply 1 supplies power to the load 2 to realize an alarm. One end of the mechanical key switch 4 is connected to the first pole, and the other end is connected to the second pole.
[0017] In one embodiment of the present invention, the power source 1 may be a battery pack of an electric vehicle. The load 2 may include a converter, a lamp, a controller, a speaker, etc. The electronic switch 3 may include a PMOS tube Q4, and the first electrode, the second electrode and the control electrode are respectively the source electrode S, the drain electrode D and the gate electrode G of the PMOS tube Q4. Figure 1As shown, a resistor R25, a capacitor C9 and a diode D71 are also connected between the gate G and the source S of the PMOS tube Q4, and a resistor R24 and a transistor Q5 are also connected to the gate G end of the PMOS tube Q4. The base of the transistor Q5 is connected to the ACC_OUT pin of the control chip through a resistor R23. When ACC_OUT outputs a high level, the PMOS tube Q4 is turned on, and the voltage of the power input terminal ACC of the load 2 is the voltage of the battery pack output terminal VCC_BATTERY. When ACC_OUT outputs a low level, the voltage of the power input terminal ACC of the load 2 is 0. The mechanical key switch 4 can also connect and disconnect the power input terminal ACC of the load 2 and the battery pack output terminal VCC_BATTERY.
[0018] like Figure 2 As shown, the control method of the electric vehicle according to the embodiment of the present invention includes the following steps S1 to S9: S1, in response to an alarm triggering condition when the electric vehicle is in the armed state, controls the electronic switch to be turned on to realize the alarm.
[0019] The alarm triggering conditions may include but are not limited to detecting a vibration signal or detecting wheel movement. Figure 1 In the embodiment shown, the ACC_OUT pin of the control chip outputs a high level to control the electronic switch to be turned on.
[0020] S2, collecting a first voltage at the power input terminal of the load during the alarm process.
[0021] In one embodiment of the present invention, steps S2 to S9 may be performed once at a preset detection period. For example, the preset detection period may be 1 second, so that during the alarm process, it may be determined whether the mechanical key switch is closed every 1 second.
[0022] In one embodiment of the present invention, Figure 2 As shown, a voltage detection circuit 5 can be set to detect the voltage of the power input terminal ACC of the load 2. The voltage detection circuit 5 includes resistors R26, R27 and capacitor C10. The middle node of the resistors R26 and R27 is connected to the ACC_JC pin of the control chip as a detection point. Based on the voltage detection circuit 5, the power input terminal ACC of the load 2 is divided by the resistors R26 and R27, and then filtered by the capacitor C10. The voltage V ACC =V ACC_JC *(R 26 +R 27 ) / R 27 , where V ACC_JC is the voltage at the ACC_JC pin, R 26 and R 27 are the resistance values of resistors R26 and R27 respectively.
[0023] When collecting the first voltage, a first preset number of voltage values may be continuously sampled, and the mean or median thereof may be taken as the first voltage, and the first voltage may be used as a reference voltage for subsequent comparison. For example, when the voltage sampling period is 1 ms, 20 voltage values may be continuously sampled for 20 ms.
[0024] S3, after collecting the first voltage, controlling the electronic switch to turn off, and collecting the second voltage of the power input terminal of the load.
[0025] At this time, the electronic switch is controlled to be turned off, and the alarm will stop. If the electronic switch is controlled to be turned on in the subsequent step S5, the alarm will continue after a short stop; otherwise, the alarm will stop at this point.
[0026] Similarly, a second preset number of voltage values of the second voltage may be continuously sampled, for example, 50 voltage values may be continuously sampled over a period of 50 ms.
[0027] S4, determining whether the second voltage has a significant drop relative to the first voltage.
[0028] In one embodiment of the present invention, it is determined whether the second voltage has a significant drop relative to the first voltage by determining whether the second voltage has dropped relative to the first voltage by more than a preset voltage difference. If the second voltage has dropped relative to the first voltage by more than the preset voltage difference, it is determined that the second voltage has a significant drop relative to the first voltage; otherwise, it is determined that the second voltage has no significant drop relative to the first voltage.
[0029] Further, for the second preset number of voltage values, it can be determined whether there are a third preset number of voltage values that have dropped by more than a preset voltage difference relative to the first voltage. In a specific embodiment of the present invention, the third preset number can be 20, and the preset voltage difference can be 3V. If 20 consecutive voltage values have dropped by more than 3V relative to the reference voltage within 50ms, it is determined that the second voltage has dropped significantly relative to the first voltage, otherwise it is determined that the second voltage has not dropped significantly relative to the first voltage.
[0030] S5, if the second voltage drops significantly relative to the first voltage, it is determined that the mechanical key switch is not closed, and the electronic switch is controlled to be turned on to continue the alarm.
[0031] S6: If the second voltage does not drop significantly relative to the first voltage, it is determined that the mechanical key switch is closed, and a third voltage at the power input terminal of the load is collected after a preset delay time.
[0032] In a specific embodiment of the present invention, the preset delay time may be 200 ms. The third voltage may be the first sample value collected in this step, or may be the average of a plurality of consecutive sample values collected in this step.
[0033] S7, determining whether the third voltage is the voltage of the power supply.
[0034] It should be understood that, in order to avoid detection errors or fluctuations in the actual voltage of the power supply, the third voltage may be determined to be the voltage of the power supply if the difference between the third voltage and the voltage of the power supply is less than a preset difference.
[0035] S8, if the third voltage is the voltage of the power supply, the electric vehicle enters the startup state.
[0036] If the third voltage is the voltage of the power supply, it means that the mechanical key switch 4 is closed, that is, there is a mechanical key starting action, and the control system enters the electric vehicle startup state.
[0037] S9, if the third voltage is not the voltage of the power supply, the electric vehicle is returned to the defense state.
[0038] If the third voltage is not the voltage of the power supply, it indicates that there is a misjudgment, and the electric vehicle is returned to the defense state. When returning to the defense state of the electric vehicle, the speaker can also be controlled to emit a defense prompt tone.
[0039] According to the control method of the electric vehicle of the embodiment of the present invention, the mechanical key switch of the electric vehicle is connected in parallel with the electronic switch of the alarm conduction circuit, the voltage of the power input terminal of the load is collected and judged multiple times during the alarm process, and whether the mechanical key switch is closed, that is, whether there is a mechanical key starting action, is judged by software. The mechanical key detection during the alarm process can be conveniently and effectively realized, thereby realizing reasonable control of the electric vehicle during the alarm process, and will not significantly increase the complexity of the overall circuit structure of the electric vehicle and the hardware cost.
[0040] Corresponding to the control method of the electric vehicle in the above embodiment, the present invention further provides a control device for the electric vehicle.
[0041] like Figure 3As shown, the control device of the electric vehicle of the embodiment of the present invention comprises a control module 100, a collection module 200 and a judgment module 300, wherein the control module 100 responds to the alarm triggering condition in the defense state of the electric vehicle and controls the electronic switch to be turned on to realize the alarm; the collection module 200 collects the first voltage of the power input terminal of the load during the alarm process; after the collection module 200 collects the first voltage, the control module 100 controls the electronic switch to be turned off, and then the collection module 200 collects the second voltage of the power input terminal of the load; the judgment module 300 judges whether the second voltage has a significant drop relative to the first voltage, If the second voltage drops significantly relative to the first voltage, it is determined that the mechanical key switch is not closed, and the control module 100 controls the electronic switch to be turned on to continue the alarm. If the second voltage does not drop significantly relative to the first voltage, it is determined that the mechanical key switch is closed, and the acquisition module 200 acquires the third voltage at the power input end of the load after a preset delay time; the judgment module 300 determines whether the third voltage is the voltage of the power supply. If the third voltage is the voltage of the power supply, the control module 100 enters the electric vehicle startup state. If the third voltage is not the voltage of the power supply, the control module 100 returns to the electric vehicle defense state.
[0042] In one embodiment of the present invention, the acquisition module 200 acquires the first voltage of the power input terminal of the load once at every preset detection period during the alarm process, so as to determine whether the mechanical key switch is closed once at every preset detection period.
[0043] In one embodiment of the present invention, the judgment module 300 judges whether the second voltage has a significant drop relative to the first voltage by judging whether the second voltage drops relative to the first voltage by more than a preset voltage difference. If the second voltage drops relative to the first voltage by more than the preset voltage difference, it is judged that the second voltage has a significant drop relative to the first voltage; otherwise, it is judged that the second voltage has no significant drop relative to the first voltage.
[0044] More specific implementations of the control device for an electric vehicle according to an embodiment of the present invention may refer to the various embodiments of the control method for an electric vehicle described above, which will not be described in detail herein.
[0045] According to the control device of the electric vehicle of the embodiment of the present invention, by connecting the mechanical key switch of the electric vehicle in parallel with the electronic switch of the alarm conduction circuit, the voltage of the power input terminal of the load is collected and judged multiple times during the alarm process, and whether the mechanical key switch is closed, that is, whether there is a mechanical key starting action, is judged by software. The mechanical key detection during the alarm process can be conveniently and effectively realized, thereby realizing reasonable control of the electric vehicle during the alarm process, and will not significantly increase the complexity of the overall circuit structure of the electric vehicle and the hardware cost.
[0046] Based on the control device of the electric vehicle in the above embodiment, the present invention further provides an electric vehicle.
[0047] The electric vehicle of the embodiment of the present invention includes the control device of the electric vehicle of any one of the above embodiments of the present invention. The specific implementation methods thereof can refer to the above embodiments and will not be described in detail herein.
[0048] The electric vehicle according to the embodiment of the present invention can conveniently and effectively realize the detection of the mechanical key during the alarm process, thereby realizing reasonable control during the alarm process without significantly increasing the complexity of the overall circuit structure and the hardware cost.
[0049] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0050] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0051] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0052] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0053] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0054] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0055] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0056] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0057] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0058] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A control method for an electric vehicle, characterized in that: The electric vehicle comprises a power supply, a load, an electronic switch and a mechanical key switch, wherein the electronic switch comprises a first pole, a second pole and a control pole, wherein the first pole is connected to the power supply, the second pole is connected to the power input terminal of the load, and the control pole is used to control the electronic switch to be turned on or off. When the electronic switch is turned on, the power supply supplies power to the load to realize an alarm, one end of the mechanical key switch is connected to the first pole, and the other end is connected to the second pole. The control method comprises the following steps: S1, in response to an alarm triggering condition in a defense state of the electric vehicle, controlling the electronic switch to conduct to realize an alarm; S2, collecting a first voltage at a power input terminal of the load during an alarm process; S3, after collecting the first voltage, controlling the electronic switch to turn off, and collecting a second voltage at the power input terminal of the load; S4, determining whether the second voltage has a significant drop relative to the first voltage; S5, if the second voltage drops significantly relative to the first voltage, it is determined that the mechanical key switch is not closed, and the electronic switch is controlled to be turned on to continue the alarm; S6, if the second voltage does not drop significantly relative to the first voltage, determine that the mechanical key switch is closed, and collect a third voltage at the power input terminal of the load after a preset delay time; S7, determining whether the third voltage is the voltage of the power supply; S8, if the third voltage is the voltage of the power supply, entering the electric vehicle startup state; S9: If the third voltage is not the voltage of the power supply, the electric vehicle is returned to the defense state.
2. The control method of the electric vehicle according to claim 1, characterized in that: The electronic switch comprises a PMOS tube, and the first electrode, the second electrode and the control electrode are respectively a source electrode, a drain electrode and a gate electrode of the PMOS tube.
3. The control method of the electric vehicle according to claim 1, characterized in that: Steps S2 to S9 are executed once every preset detection period.
4. The control method of an electric vehicle according to claim 1, characterized in that: By judging whether the second voltage drops relative to the first voltage by more than a preset voltage difference, it is judged whether the second voltage has a significant drop relative to the first voltage. If the second voltage drops relative to the first voltage by more than the preset voltage difference, it is judged that the second voltage has a significant drop relative to the first voltage; otherwise, it is judged that the second voltage has no significant drop relative to the first voltage.
5. A control device for an electric vehicle, characterized in that: The electric vehicle comprises a power supply, a load, an electronic switch and a mechanical key switch, wherein the electronic switch comprises a first pole, a second pole and a control pole, wherein the first pole is connected to the power supply, the second pole is connected to the power input terminal of the load, and the control pole is used to control the electronic switch to be turned on or off. When the electronic switch is turned on, the power supply supplies power to the load to realize an alarm, one end of the mechanical key switch is connected to the first pole, and the other end is connected to the second pole. The control device comprises a control module, a collection module and a judgment module, wherein: The control module controls the electronic switch to conduct to realize the alarm in response to the alarm triggering condition when the electric vehicle is in the fortified state; The acquisition module acquires a first voltage at a power input terminal of the load during an alarm process; After the acquisition module acquires the first voltage, the control module controls the electronic switch to turn off, and then the acquisition module acquires the second voltage of the power input terminal of the load; The judging module judges whether the second voltage has a significant drop relative to the first voltage. If the second voltage has a significant drop relative to the first voltage, it is judged that the mechanical key switch is not closed, and the control module controls the electronic switch to be turned on to continue the alarm. If the second voltage has no significant drop relative to the first voltage, it is judged that the mechanical key switch is closed, and the acquisition module acquires a third voltage at the power input terminal of the load after a preset delay time. The judgment module judges whether the third voltage is the voltage of the power supply. If the third voltage is the voltage of the power supply, the control module enters the electric vehicle startup state. If the third voltage is not the voltage of the power supply, the control module returns to the electric vehicle defense state.
6. The control device for an electric vehicle according to claim 5, characterized in that: The electronic switch comprises a PMOS tube, and the first electrode, the second electrode and the control electrode are respectively a source electrode, a drain electrode and a gate electrode of the PMOS tube.
7. The control device for an electric vehicle according to claim 5, characterized in that: The acquisition module acquires the first voltage of the power input terminal of the load once at each preset detection period during the alarm process, so as to determine whether the mechanical key switch is closed once at each preset detection period.
8. The control device for an electric vehicle according to claim 5, characterized in that: The judgment module judges whether the second voltage has a significant drop relative to the first voltage by judging whether the second voltage drops relative to the first voltage by more than a preset voltage difference; if the second voltage drops relative to the first voltage by more than the preset voltage difference, it is determined that the second voltage has a significant drop relative to the first voltage; otherwise, it is determined that the second voltage has no significant drop relative to the first voltage.
9. An electric vehicle, characterized in that: The invention comprises a control device for an electric vehicle according to any one of claims 5-8.
Citation Information
Patent Citations
Detection system for starting mode of electric switch of electric two-wheeled vehicle
CN219857466U
Method and device for detecting on / off of bypass relay in boost chopper circuit
CN104820183A
Electric bicycle refitting circuit, device and method and intelligent electric bicycle
CN111806599A
Power supply system and power supply switching method and device thereof
CN115765139A
Detection system for starting mode of electric switch of electric two-wheeled vehicle
CN220096534U
