WO2018120911A1 - 一种电动车辆及其控制方法、计算机存储介质 - Google Patents
一种电动车辆及其控制方法、计算机存储介质 Download PDFInfo
- Publication number
- WO2018120911A1 WO2018120911A1 PCT/CN2017/101204 CN2017101204W WO2018120911A1 WO 2018120911 A1 WO2018120911 A1 WO 2018120911A1 CN 2017101204 W CN2017101204 W CN 2017101204W WO 2018120911 A1 WO2018120911 A1 WO 2018120911A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sensing device
- electric vehicle
- state
- output signal
- controller
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62K—CYCLES; CYCLE FRAMES; CYCLE STEERING DEVICES; RIDER-OPERATED TERMINAL CONTROLS SPECIALLY ADAPTED FOR CYCLES; CYCLE AXLE SUSPENSIONS; CYCLE SIDE-CARS, FORECARS, OR THE LIKE
- B62K15/00—Collapsible or foldable cycles
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62M—RIDER PROPULSION OF WHEELED VEHICLES OR SLEDGES; POWERED PROPULSION OF SLEDGES OR SINGLE-TRACK CYCLES; TRANSMISSIONS SPECIALLY ADAPTED FOR SUCH VEHICLES
- B62M6/00—Rider propulsion of wheeled vehicles with additional source of power, e.g. combustion engine or electric motor
- B62M6/40—Rider propelled cycles with auxiliary electric motor
- B62M6/45—Control or actuating devices therefor
- B62M6/50—Control or actuating devices therefor characterised by detectors or sensors, or arrangement thereof
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62K—CYCLES; CYCLE FRAMES; CYCLE STEERING DEVICES; RIDER-OPERATED TERMINAL CONTROLS SPECIALLY ADAPTED FOR CYCLES; CYCLE AXLE SUSPENSIONS; CYCLE SIDE-CARS, FORECARS, OR THE LIKE
- B62K2204/00—Adaptations for driving cycles by electric motor
Definitions
- the present invention relates to the field of electronic machinery, and in particular to an electric vehicle, a control method thereof, and a computer storage medium.
- the way to control the circuit system of the vehicle to enter the standby state or shut down is relatively simple, for example, by manually operating the relevant button or using the remote controller, the circuit system of the vehicle can be controlled. Standby or shutdown. These modes of operation are too rigid and the operating experience is not good.
- an embodiment of the present invention provides an electric vehicle, a control method thereof, and a computer storage medium.
- Embodiments of the present invention provide an electric vehicle including a first component and a second component connected by a connector; the first component supports rotation relative to the second component by the connector, such that The electric vehicle includes at least an unfolded state and a folded state; a first position of the first component is provided with a first sensing device; and a second position of the second component is provided with a second sensing device; the first position and the second position correspond when the electric vehicle is in a folded state; the electric vehicle further includes a controller; wherein
- the first sensing device When the electric vehicle is in a folded state, the first sensing device is close to the second sensing device such that an output signal of the second sensing device changes;
- the controller is configured to control to switch to a standby/off state when the output signal of the second sensing device is detected to satisfy a preset condition.
- the first sensing device when the electric vehicle is in an unfolded state, the first sensing device is remote from the second sensing device to cause a change in an output signal of the second sensing device;
- the controller is further configured to: when detecting that the output signal of the second sensing device does not satisfy the preset condition, the control is switched to the ready working state.
- the first component is a front body component
- the second component is a vehicle body component
- the second component is a front body component
- the first component is a vehicle body component
- the controller is disposed in the body body component or the head body component; the second sensing device is electrically coupled to the controller.
- the first position of the first component is provided with a plurality of first sensing devices; and correspondingly, the second position of the second component is provided with at least one second sensing device.
- the controller includes a control system and circuitry
- the control system is configured to: when detecting that the output signal of the second sensing device meets a preset condition, generate a first instruction, and send the first instruction to the circuit system;
- the circuit system is configured to perform the first instruction to switch to a standby/off state
- control system is further configured to: when detecting that the output signal of the second sensing device does not meet the preset condition, generate a second instruction, and send the second instruction to the circuit system;
- the circuitry is further configured to perform the second instruction to switch to a ready to work state.
- the first sensing device is a magnetic device; the second sensing device is Magnetic sensitive device.
- the magnetic sensing device comprises: a Hall sensor or a reed switch.
- Embodiments of the present invention also provide a control method for an electric vehicle, which is applied to an electric vehicle, the electric vehicle including a first member and a second member connected by a connecting member, the first member supporting relative through the connecting member Rotating the second component such that the electric vehicle includes at least an unfolded state and a folded state; a first position of the first component is provided with a first sensing device, and a second position of the second component is provided with a second An inductive device; the first position and the second position corresponding when the electric vehicle is in a folded state; the method comprising:
- the controller detects an output signal of the second sensing device
- the controller When the controller detects that the output signal meets a preset condition, the controller switches to a standby/power-off state.
- the method when in the standby/power off state, the method further includes: when the controller detects that the output signal does not satisfy the preset condition, switching to a ready working state.
- the controller includes a control system and a circuit system; when the controller detects that the output signal meets a preset condition, the controller switches to a standby/power-off state, including:
- the control system detects a first duration range of the output signal that is sent by the second sensing device that meets the preset condition; when the first duration time range reaches the first threshold, generates a first instruction, and sends The first instruction to the circuit system;
- the circuit system performs the first instruction to switch to a standby/off state
- the controller when the controller detects that the output signal does not meet the preset condition, the controller switches to the ready working state, including:
- the control system detects a second duration range of the output signal sent by the second sensing device that does not satisfy the preset condition; and when the second duration range reaches the second threshold, generates a second instruction, Transmitting the second instruction to the circuit system;
- the circuitry performs the second instruction to switch to a ready to work state.
- the embodiment of the present invention further provides a computer readable storage medium, wherein the computer program is stored, and when the computer program is executed by the processor, the steps of the control method of the electric vehicle according to the embodiment of the present invention are implemented.
- the electric vehicle includes a first component and a second component connected by a connector; the first component supports the connector by the connector The second component is rotated such that the electric vehicle includes at least an unfolded state and a folded state; a first position of the first component is provided with a first sensing device; and a second position of the second component is provided with a second sensing device; The first position corresponds to the second position when the electric vehicle is in a folded state; the electric vehicle further includes a controller; wherein the first induction is when the electric vehicle is in a folded state The device is adjacent to the second sensing device to change an output signal of the second sensing device; and the controller is configured to detect that the output signal of the second sensing device meets a preset condition, and the control switches to standby/shutdown status.
- the first sensing device disposed in the first component and the second sensing device disposed in the second component can automatically change according to the change of the output signal of the second sensing device when the electric vehicle is in the folded state.
- the control enters the standby state or shuts down, no need for the user to manually operate, and also avoids the power consumed by the user's negligence to forget to control to enter the standby state or shut down, thereby greatly improving the user's operating experience.
- FIG. 1 is a plan view showing the structure of an electric vehicle in a folded state according to an embodiment of the present invention
- FIG. 2 is a plan view showing the structure of an electric vehicle in an unfolded state according to an embodiment of the present invention
- FIG. 3 is a schematic flow chart of a method for controlling an electric vehicle according to an embodiment of the present invention.
- FIG. 4 is a schematic flow chart showing another method of controlling an electric vehicle according to an embodiment of the present invention.
- Embodiments of the present invention provide an electric vehicle such as an electric scooter, an electric bicycle, and the like.
- 1 is a plan view showing the structure of an electric vehicle in a folded state according to an embodiment of the present invention; as shown in FIG. 1, the electric vehicle includes a first part Z1 and a second part Z2 connected by a connecting member; the first part Z1 supports rotation of the connecting member relative to the second member Z2 such that the electric vehicle includes at least an unfolded state and a folded state; the first position of the first member Z1 is provided with a first sensing device S1; The second position of the second component Z2 is provided with a second sensing device S2; when the electric vehicle is in a folded state, the first position corresponds to the second position; the electric vehicle further includes a controller S3; among them,
- the first sensing device S1 When the electric vehicle is in a folded state, the first sensing device S1 is close to the second sensing device S2 such that an output signal of the second sensing device S2 changes;
- the controller S3 is configured to detect that the output signal of the second sensing device S2 meets a preset condition, and the control is switched to a standby/power-off state.
- the surface of the first position of the first component Z1 is provided with a first sensing device S1, and the first sensing device S1 may specifically be a magnetic device, that is, any component having magnetic properties, such as a magnet;
- the first member Z1 faces the surface of the second member Z2 and is coated with a magnetic material.
- the surface of the second position of the second component Z2 is provided with a second sensing device S2, and the second sensing device S2 may specifically be a magnetic sensing component; the second sensing device S2 detects the occurrence of a magnetic field strength When changing, the change in the electrical signal indicates the change in the perceived magnetic field strength.
- the first position of the first component Z1 is Corresponding to the second position of the second component Z2, it can be understood that the first sensing device S1 disposed at the first position is close to or even in contact with the second sensing device S2 disposed at the second position, specifically Can be as shown in Figure 1.
- the electric vehicle is further provided with a controller S3; the controller S3 is configured to The standby/off state is controlled based on the output signal of the second sensing device S2.
- the controller S3 includes a control system and a circuit system; the control system is configured to detect an output signal of the second sensing device S2, and generate a corresponding command based on the output signal to control the circuit system
- the circuit system may specifically be a circuit board on the electric vehicle; correspondingly, the standby/off state is for the circuit system, that is, the control system controls the circuit system to be in standby by a first instruction; /Off state.
- the standby state refers to: each sensor in the circuit system is in an active state, for example, in the standby/off state, only the control system (such as an MCU) and the second sensing device S2 are in The working state, or only the control system (such as the MCU) and the second sensing device S2 and other sensors necessary for the folded state of the vehicle are in an active state, and can constantly monitor the state change of the electric vehicle body, in this state
- the controller is in a low power state. Specifically, the user usually does not use the electric vehicle after folding the electric vehicle. Therefore, when the electric vehicle is in the folded state, the control needs to be in the standby/off state to save power.
- the first sensing device S1 is close to the position due to the decrease in the distance between the first position of the first component Z1 and the second position of the second component Z2.
- the second inductive device S2 is configured to increase the intensity of the magnetic field sensed by the second inductive device S2, and the signal output by the second inductive device S2 changes based on the increase in the strength of the magnetic field.
- the controller S3 detects that the signal output by the second sensing device S2 changes and meets the preset condition, it is determined that the current electric vehicle is in a folded state and switches to a standby/power-off state, as an implementation manner.
- control system When the control system detects that the signal output by the second sensing device S2 changes and meets a preset condition, it determines that the electric vehicle is currently in a folded state, generates a first instruction, and sends the first command to the circuit. a system; the circuitry performs the first command to switch to a standby/off state.
- the second sensing device S2 (ie, the magnetic sensing component) may include a Hall sensor or a reed switch.
- the controller S3 can detect that the voltage parameter of the Hall sensor becomes larger;
- the controller S3 may be a physical property of the reed switch that is not turned on in the absence of an applied magnetic field and is turned on in the presence of an applied magnetic field. Determining whether the signal output by the reed switch meets a preset condition by detecting whether the reed switch has an on current, and determining the current when the power control device S3 detects the current output by the reed switch The electric vehicle is in a folded state.
- the second sensing device S2 in the embodiment of the present application is not limited to a Hall sensor or a reed switch, and other magnetic sensing elements are also within the protection scope of the embodiments of the present invention.
- the first component Z1 may be a front body component
- the second component Z2 may be a vehicle body component
- the first component Z1 is a body member
- the first sensing device S1 can be disposed in the body member or can be disposed in the body member
- the first sensing device S2 can be disposed in the body member or can be disposed in the body member In the body part of the front.
- the first member Z1 is a head main body member
- the second member Z2 is a vehicle body main member as an example.
- the second sensing device S2 and the controller S3 are electrically connected.
- the first position of the first component Z1 is provided with a plurality of first sensing The device S1; correspondingly, the second position of the second component Z2 can be provided with at least one second sensing device S2, so that the sensitivity and accuracy of the controller S3 to control state switching can be ensured.
- the first sensing device disposed in the first component and the second sensing device disposed in the second component can automatically change according to the change of the output signal of the second sensing device when the electric vehicle is in the folded state.
- the control enters the standby state or shuts down, no need for the user to manually operate, and also avoids the user's negligence to forget the control to enter the standby state or shut down from the The power consumption has greatly improved the user's operating experience.
- Embodiments of the present invention provide an electric vehicle.
- 2 is a plan view showing the structure of an electric vehicle in an unfolded state according to an embodiment of the present invention; as shown in FIG. 2, the electric vehicle includes a first part Z1 and a second part Z2 connected by a connecting member; the first part Z1 supports rotation of the connecting member relative to the second member Z2 such that the electric vehicle includes at least an unfolded state and a folded state; the first position of the first member Z1 is provided with a first sensing device S1; The second position of the second component Z2 is provided with a second sensing device S2; when the electric vehicle is in a folded state, the first position corresponds to the second position; the electric vehicle further includes a controller S3; among them,
- the first sensing device S1 When the electric vehicle is in a folded state, the first sensing device S1 is close to the second sensing device S2 such that an output signal of the second sensing device S2 changes;
- the controller S3 is configured to detect that the output signal of the second sensing device S2 meets a preset condition, and the control is switched to a standby/power-off state;
- the first sensing device S1 When the electric vehicle is in an unfolded state, the first sensing device S1 is away from the second sensing device S2 such that the second sensing is based on an increase in a distance between the first position and the second position. a change in the output signal of device S2;
- the controller S3 is further configured to detect that the output signal of the second sensing device S2 does not satisfy the preset condition, and the control is switched to the ready working state.
- the controller S3 is further configured to switch to the standby state in the standby/off state based on the change of the output signal of the second sensing device S2.
- the controller S3 includes a control system and a circuit system; the control system is configured to detect an output signal of the second sensing device S2, and generate a corresponding command based on the output signal to control the circuit system
- the circuit system may specifically be a circuit board on the electric vehicle; correspondingly, the preparation working state is for the circuit system, that is, The control system controls the circuit system to be in a ready to work state by a second command.
- the preparation working state refers to: at least the human-machine interaction sensor in the circuit system is in an working state; the human-machine interaction sensor supports the operation of the vehicle body by the responder, for example, pressing the throttle operation and pushing the vehicle body Operation, brake operation, light display operation, etc.
- a touch panel may be disposed on the front body of the electric vehicle, and the user may perform various operations through the touch panel; when the circuit system is in a ready state, the touch The panel supports trigger actions in response to the user.
- the touch panel does not support a trigger operation in response to the user.
- the user usually uses the electric vehicle after deploying the electric vehicle. Therefore, when the electric vehicle is in the deployed state, it is necessary to control the preparation state so as to be able to quickly respond to the user's operation of the electric vehicle. Based on this, when the electric vehicle is in the unfolded state, the first sensing device S1 is far away from the distance due to the increase of the distance between the first position of the first component Z1 and the second position of the second component Z2.
- the second inductive device S2 is configured to increase the intensity of the magnetic field sensed by the second inductive device S2, and the signal output by the second inductive device S2 changes based on the increase in the strength of the magnetic field.
- the controller S3 When the controller S3 detects that the signal output by the second sensing device S2 changes and does not reach the preset condition, it determines that the electric vehicle is currently in an unfolded state and switches to a ready-to-operate state. As an embodiment, when the control system detects that the signal output by the second sensing device S2 changes and does not satisfy the preset condition, it is determined that the electric vehicle is currently in an unfolded state, and generates a second instruction, and sends a Describe a second instruction to the circuit system; the circuit system performs the second instruction to switch to a ready to work state.
- the second sensing device S2 may include a Hall sensor or a reed switch.
- the controller S3 may detect that the voltage parameter of the Hall sensor becomes smaller during the switching of the electric vehicle from the folded state to the expanded state; detecting the Hall The voltage parameter of the sensor is lower than the preset voltage threshold At this time, it may be determined that the signal output by the Hall sensor does not satisfy the preset condition, thereby determining that the electric vehicle is currently in an unfolded state.
- the controller S3 may determine whether the signal output by the reed switch meets a preset condition by detecting whether the reed switch has an on current, when the controller S3 detects the When the reed switch is switched from the output current to the non-current output, it can be determined that the electric vehicle is currently in an unfolded state.
- the second sensing device S2 in the embodiment of the present application is not limited to a Hall sensor or a reed switch, and other magnetic sensing elements are also within the protection scope of the embodiments of the present invention.
- the first sensing device disposed at the first component and the second sensing device disposed at the second component can output a signal according to the second sensing device when the electric vehicle is in a folded state.
- the change automatically controls to enter the standby state or shut down, without the user's manual operation, and also avoids the power consumed by the user's negligence to forget to control the standby state or shut down, which greatly improves the user's operating experience.
- the electric vehicle when the electric vehicle is in the unfolded state, it can automatically control to enter the preparatory working state according to the change of the output signal of the second sensing device, without manual operation by the user, which greatly improves the user's operating experience.
- the controller S3 in the electric vehicle may be used by a central processing unit (CPU) and a digital signal processor (DSP) in the electric vehicle.
- CPU central processing unit
- DSP digital signal processor
- MCU Micro Control Unit
- FPGA Field-Programmable Gate Array
- the embodiment of the invention further provides a method for controlling the electric vehicle.
- 3 is a schematic flow chart of a method for controlling an electric vehicle according to an embodiment of the present invention; as shown in FIG. 3, the method includes:
- Step 101 The controller detects an output signal of the second sensing device.
- Step 102 When the controller detects that the output signal meets a preset condition, the controller switches to a standby/power-off state.
- the second sensing device may be a Hall sensor or a reed switch.
- the magnetic sensing component is a Hall sensor
- the controller may detect that the voltage parameter of the Hall sensor becomes larger; when the voltage parameter of the Hall sensor is detected to reach a preset At the voltage threshold, it may be determined that the signal output by the Hall sensor satisfies a preset condition, thereby determining that the electric vehicle is currently in a folded state.
- the second inductive device is a reed switch
- the controller can pass the detection because the reed switch does not conduct in the absence of an applied magnetic field and is turned on in the presence of an applied magnetic field.
- the reed switch has a conduction current to determine whether the signal output by the reed switch meets a preset condition, and when the controller detects the current output by the reed switch, the current electric vehicle may be determined It is in a folded state.
- the controller may include a control system and a circuit system, the control system is configured to detect an output signal of the second sensing device, generate a corresponding instruction based on the output signal to control the circuit system;
- the system may specifically be a circuit board on the electric vehicle; correspondingly, the standby/off state is for the circuit system, that is, the control system controls the circuit system to be in a standby/off state by a first command.
- the standby state refers to: each sensor in the circuit system is in an active state, for example, the second sensing device is in an active state, and can monitor the state change of the electric vehicle body at all times, in this state.
- the controller is in a low power state.
- step 101 the controller detects an output signal of the second sensing device, including: the control system detects an output signal of the second sensing device; and correspondingly, in step 102, the detecting the output signal
- switching to the standby/power-off state includes: when the control system detects that the output signal meets the preset condition, generating a first instruction, and sending the first instruction to the circuit system; The circuitry executes the first command to switch to a standby/off state.
- the method when the controller detects that the output signal meets a preset condition, switching to a standby/power-off state, the method includes: the control system detects that the second sensing device sends out the preset a first duration range of the conditional output signal; generating a first instruction to transmit the first instruction to the circuitry when the first duration range reaches a first threshold; the circuitry performing the One instruction switches to standby/off state
- the second sensing device is a Hall sensor
- the control system when the control system detects that the first duration time range in which the voltage parameter of the Hall sensor reaches a preset voltage threshold reaches a first threshold, the first instruction.
- the control system may generate a first command when the first duration duration of the output current of the reed switch reaches a first threshold. That is, when the control system detects that the second sensing device satisfies the preset condition within a short time range, the first instruction is not generated to control the circuit system to perform state switching, so as to prevent the user from merely The electric vehicle is folded and unfolded to cause confusion of the command control or mis-switching of the state.
- the first sensing device disposed in the first component and the second sensing device disposed in the second component can automatically change according to the change of the output signal of the second sensing device when the electric vehicle is in the folded state.
- the control enters the standby state or shuts down, no need for the user to manually operate, and also avoids the power consumed by the user's negligence to forget to control to enter the standby state or shut down, thereby greatly improving the user's operating experience.
- the embodiment of the invention further provides a method for controlling the electric vehicle.
- 4 is another schematic flowchart of a method for controlling an electric vehicle according to an embodiment of the present invention; as shown in FIG. 4, the method includes:
- Step 201 The controller detects an output signal of the second sensing device.
- Step 202 When the controller detects that the output signal meets a preset condition, the controller switches to a standby/power-off state.
- Step 203 When the controller detects that the output signal does not satisfy the preset condition, the controller switches to a ready working state.
- the second sensing device may be a Hall sensor or a reed switch.
- the controller may detect that the voltage parameter of the Hall sensor becomes smaller during the switching of the first component and the second component from the folded state to the expanded state;
- the voltage parameter of the Hall sensor is lower than the preset voltage threshold, it may be determined that the signal output by the Hall sensor does not satisfy the preset condition, thereby determining that the electric vehicle is currently in an unfolded state.
- the controller may determine whether the signal output by the reed switch meets a preset condition by detecting whether the reed switch has an on current, when the controller detects When the reed switch is switched from the output current to the no current output, it can be determined that the first component and the second component are currently in an unfolded state.
- the controller may include a control system and a circuit system, the control system is configured to detect an output signal of the second sensing device, generate a corresponding instruction based on the output signal to control the circuit system;
- the system may specifically be a circuit board on the electric vehicle; correspondingly, the preparation working state is for the circuit system, that is, the control system controls the circuit system to be in a ready working state by a second instruction.
- the preparation working state refers to: the human-machine interaction sensor in the circuit system is in an working state; the human-machine interaction sensor supports the response of the operator to the operation of the vehicle body, such as pressing the throttle operation and implementing the vehicle body operation. , brake operation, light display operation, etc.
- a touch panel may be disposed on the front body of the electric vehicle, and the user may perform various operations through the touch panel; when the circuit system is in a ready state, the touch The panel supports trigger actions in response to the user.
- the touch panel does not support a trigger operation in response to the user.
- step In step 203 when the controller detects that the output signal does not satisfy the preset condition, the controller switches to the ready-to-operate state, including: when the control system detects that the output signal does not satisfy the preset condition, Generating a second instruction to transmit the second instruction to the circuitry; the circuitry executing the second instruction to switch to a ready to run state.
- the method when the controller detects that the output signal does not satisfy the preset condition, switching to a ready working state, the method includes: the control system detects that the second sensing device sends out a second duration range of the output signal of the preset condition; when the second duration range reaches the second threshold, generating a second instruction to transmit the second instruction to the circuitry; The second instruction switches to a ready-to-operate state.
- the first duration range and the second duration range may be the same or different.
- the control system detects that the voltage parameter of the Hall sensor is reduced from reaching a preset voltage threshold to a duration that does not reach the preset voltage threshold.
- a second instruction can be generated.
- the control system detects that the reed switch is switched from an output current to a second duration that has no current output to reach a second threshold. Two instructions.
- the control system detects that the second sensing device does not satisfy the preset condition within a short time range, the second instruction is not generated to control the circuit system to perform state switching to avoid the user only Folding the electric vehicle and unfolding causes confusion or mis-switching of the command control.
- the first sensing device disposed at the first component and the second sensing device disposed at the second component can output a signal according to the second sensing device when the electric vehicle is in a folded state.
- the change automatically controls to enter the standby state or shut down, without the user's manual operation, and also avoids the power consumed by the user's negligence to forget to control the standby state or shut down, which greatly improves the user's operating experience.
- the electric vehicle when the electric vehicle is in the unfolded state, it can automatically control according to the change of the output signal of the second sensing device. Into the ready-to-work state, no need for manual operation by the user, greatly improving the user's operating experience.
- the embodiment of the present invention further provides a computer storage medium, where the computer program is stored, and the computer program is executed by the processor to: detect an output signal of the second sensing device; and when detecting that the output signal meets a preset condition , switch to standby / power off state.
- the device when the computer program is executed by the processor, when the standby signal is in the standby/power-off state, when it is detected that the output signal does not satisfy the preset condition, the device is switched to the ready-to-work state.
- the computer program when executed by the processor, detecting: detecting a first duration range of the output signal of the second sensing device that meets the preset condition; when the first duration range When the first threshold is reached, a first instruction is generated, the first instruction is executed to switch to a standby/off state; and a second duration range of the output signal sent by the second sensing device that does not satisfy the preset condition is detected. And when the second duration time range reaches the second threshold, generating a second instruction, and executing the second instruction to switch to the preparatory working state.
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
- the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
- the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the technical solution of the embodiment of the present invention adopts the technical solution of the embodiment of the present invention, by using the first sensing device disposed in the first component and the second sensing device disposed in the second component, when the electric vehicle is in the folded state, according to the second
- the change of the output signal of the sensing device is automatically controlled to enter the standby state or shut down, without the need for the user to manually operate, and also avoids the power consumed by the user's negligence to forget to control to enter the standby state or shut down, thereby greatly improving the user's operating experience.
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- Transportation (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
- Measuring Instrument Details And Bridges, And Automatic Balancing Devices (AREA)
Abstract
一种电动车辆及其控制方法、计算机存储介质,所述电动车辆包括通过连接件连接的第一部件(Z1)和第二部件(Z2);所述第一部件(Z1)支持通过所述连接件相对于所述第二部件(Z2)旋转,使得所述电动车辆至少包括展开状态和折叠状态;所述第一部件(Z1)的第一位置设置有第一感应器件(S1);所述第二部件(Z2)的第二位置设置有第二感应器件(S2);所述电动车辆还包括控制器(S3);当所述电动车辆处于折叠状态时,所述第一感应器件(S1)靠近所述第二感应器件(S2)使得所述第二感应器件(S2)的输出信号变化;所述控制器(S3),配置为检测到所述第二感应器件(S2)的输出信号满足预设条件时,控制切换至待机/关机状态。
Description
相关申请的交叉引用
本申请基于申请号为201611246570.4、申请日为2016年12月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。
本发明涉及电子机械领域,具体涉及一种电动车辆及其控制方法、计算机存储介质。
现有技术中,用户在不使用车辆使得车辆进入闲置状态时,控制车辆的电路系统进入待机状态或者关机的方式比较单一,例如通过手动操作相关按键或者使用遥控器才能够控制车辆的电路系统处于待机状态或者关机。这些操作方式都太死板,而且操作体验也不好。
发明内容
为解决现有存在的技术问题,本发明实施例提供了一种电动车辆及其控制方法、计算机存储介质。
为达到上述目的,本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种电动车辆,所述电动车辆包括通过连接件连接的第一部件和第二部件;所述第一部件支持通过所述连接件相对于所述第二部件旋转,使得所述电动车辆至少包括展开状态和折叠状态;所述第一部件的第一位置设置有第一感应器件;所述第二部件的第二位置设置有
第二感应器件;当所述电动车辆处于折叠状态时,所述第一位置和所述第二位置相对应;所述电动车辆还包括控制器;其中,
当所述电动车辆处于折叠状态时,所述第一感应器件靠近所述第二感应器件使得所述第二感应器件的输出信号变化;
所述控制器,配置为检测到所述第二感应器件的输出信号满足预设条件时,控制切换至待机/关机状态。
在一实施例中,当所述电动车辆处于展开状态时,所述第一感应器件远离所述第二感应器件使得所述第二感应器件的输出信号的变化;
所述控制器,还配置为检测到所述第二感应器件的输出信号不满足预设条件时,控制切换至准备工作状态。
在一实施例中,所述第一部件为车头主体部件,所述第二部件为车身主体部件;或者,所述第二部件为车头主体部件,所述第一部件为车身主体部件;
所述控制器设置在所述车身主体部件或车头主体部件中;所述第二感应器件与所述控制器电连接。
在一实施例中,所述第一部件的第一位置设置有多个第一感应器件;相应的,所述第二部件的第二位置设置至少一个第二感应器件。
在一实施例中,所述控制器包括控制系统和电路系统;其中,
所述控制系统,配置为检测到所述第二感应器件的输出信号满足预设条件时,生成第一指令,发送所述第一指令至所述电路系统;
所述电路系统,配置为执行所述第一指令切换至待机/关机状态;
相应的,所述控制系统,还配置为检测到所述第二感应器件的输出信号不满足预设条件时,生成第二指令,发送所述第二指令至所述电路系统;
所述电路系统,还配置为执行所述第二指令切换至准备工作状态。
在一实施例中,所述第一感应器件为磁性器件;所述第二感应器件为
磁敏器件。
在一实施例中,所述磁敏器件包括:霍尔传感器或干簧管。
本发明实施例还提供了一种电动车辆的控制方法,应用于电动车辆,所述电动车辆包括通过连接件连接的第一部件和第二部件,所述第一部件支持通过所述连接件相对于所述第二部件旋转,使得所述电动车辆至少包括展开状态和折叠状态;所述第一部件的第一位置设置有第一感应器件,所述第二部件的第二位置设置有第二感应器件;当所述电动车辆处于折叠状态时,所述第一位置和所述第二位置相对应;所述方法包括:
控制器检测第二感应器件的输出信号;
所述控制器检测到所述输出信号满足预设条件时,切换至待机/关机状态。
在一实施例中,当处于待机/关机状态时,所述方法还包括:所述控制器检测到所述输出信号不满足所述预设条件时,切换至准备工作状态。
在一实施例中,所述控制器包括控制系统和电路系统;所述控制器检测到所述输出信号满足预设条件时,切换至待机/关机状态,包括:
所述控制系统检测所述第二感应器件发出的、满足所述预设条件的输出信号的第一持续时间范围;当所述第一持续时间范围达到第一阈值时,生成第一指令,发送所述第一指令至所述电路系统;
所述电路系统执行所述第一指令切换至待机/关机状态;
相应的,所述控制器检测到所述输出信号不满足所述预设条件时,切换至准备工作状态,包括:
所述控制系统检测所述第二感应器件发出的、不满足所述预设条件的输出信号的第二持续时间范围;当所述第二持续时间范围达到第二阈值时,生成第二指令,发送所述第二指令至所述电路系统;
所述电路系统执行所述第二指令切换至准备工作状态。
本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现本发明实施例所述的电动车辆的控制方法的步骤。
本发明实施例提供的电动车辆及其控制方法、计算机存储介质,所述电动车辆包括通过连接件连接的第一部件和第二部件;所述第一部件支持通过所述连接件相对于所述第二部件旋转,使得所述电动车辆至少包括展开状态和折叠状态;所述第一部件的第一位置设置有第一感应器件;所述第二部件的第二位置设置有第二感应器件;当所述电动车辆处于折叠状态时,所述第一位置和所述第二位置相对应;所述电动车辆还包括控制器;其中,当所述电动车辆处于折叠状态时,所述第一感应器件靠近所述第二感应器件使得所述第二感应器件的输出信号变化;所述控制器,配置为检测到所述第二感应器件的输出信号满足预设条件时,控制切换至待机/关机状态。采用本发明实施例的技术方案,通过在第一部件设置的第一感应器件以及在第二部件设置的第二感应器件,在电动车辆处于折叠状态时能够根据第二感应器件输出信号的变化自动控制进入待机状态或者关机,无需用户手动操作,也避免了由于用户的疏忽忘记控制进入待机状态或者关机从而耗费的电能,大大提升了用户的操作体验。
图1为本发明实施例的电动车辆处于折叠状态的组成结构平面示意图;
图2为本发明实施例的电动车辆处于展开状态的组成结构平面示意图;
图3为本发明实施例的电动车辆的控制方法的一种流程示意图;
图4为本发明实施例的电动车辆的控制方法的另一种流程示意图。
下面结合附图及具体实施例对本发明作进一步详细的说明。
实施例一
本发明实施例提供了一种电动车辆,如电动滑板车、电动自行车等等。图1为本发明实施例的电动车辆处于折叠状态的组成结构平面示意图;如图1所示,所述电动车辆包括通过连接件连接的第一部件Z1和第二部件Z2;所述第一部件Z1支持通过所述连接件相对于所述第二部件Z2旋转,使得所述电动车辆至少包括展开状态和折叠状态;所述第一部件Z1的第一位置设置有第一感应器件S1;所述第二部件Z2的第二位置设置有第二感应器件S2;当所述电动车辆处于折叠状态时,所述第一位置和所述第二位置相对应;所述电动车辆还包括控制器S3;其中,
当所述电动车辆处于折叠状态时,所述第一感应器件S1靠近所述第二感应器件S2使得所述第二感应器件S2的输出信号变化;
所述控制器S3,配置为检测到所述第二感应器件S2的输出信号满足预设条件时,控制切换至待机/关机状态。
本实施例中,所述第一部件Z1的第一位置的表面设置有第一感应器件S1,所述第一感应器件S1具体可以为磁性器件,即具有磁性的任何组件,例如磁铁;又例如,所述第一部件Z1相向与所述第二部件Z2的表面贴覆有磁性材料。相应的,所述第二部件Z2的第二位置的表面设置有第二感应器件S2,所述第二感应器件S2具体可以为磁敏组件;所述第二感应器件S2在感知到磁场强度发生变化时,通过电信号的变化表示其感知到的磁场强度的变化。在所述第一部件Z1通过连接件相对于所述第二部件Z2旋转使得所述第一部件Z1和所述第二部件Z2处于折叠状态时,所述第一部件Z1的第一位置与所述第二部件Z2的第二位置相对应,可以理解为,设置在所述第一位置的第一感应器件S1与设置在所述第二位置的第二感应器件S2相靠近甚至相接触,具体可如图1所示。
本实施例中,所述电动车辆还设置有控制器S3;所述控制器S3配置为
基于所述第二感应器件S2的输出信号控制处于待机/关机状态。作为一种实施方式,所述控制器S3包括控制系统和电路系统;所述控制系统配置为检测所述第二感应器件S2的输出信号,基于该输出信号生成相应的指令以控制所述电路系统;所述电路系统具体可以是所述电动车辆上的电路板;相应的,所述待机/关机状态是针对所述电路系统的,即所述控制系统通过第一指令控制所述电路系统处于待机/关机状态。具体的,所述待机状态指的是:所述电路系统中的各传感器处于工作状态,例如,在待机/关机状态下,只有所述控制系统(如MCU)和所述第二感应器件S2处于工作状态,或者,只有所述控制系统(如MCU)和所述第二感应器件S2以及其他车辆折叠态必要的传感器处于工作状态,能够时刻监控电动车辆车体的状态变化,在这种状态下,控制器处于低功耗状态。具体的,用户通常折叠电动车辆后暂时不使用电动车辆,因此,在电动车辆处于折叠状态时,需要控制处于待机/关机状态,以节省电能。基于此,在电动车辆处于折叠状态时,由于所述第一部件Z1的第一位置和所述第二部件Z2的第二位置之间的距离的减小,所述第一感应器件S1靠近所述第二感应器件S2从而使第二感应器件S2感知的磁场强度增大,基于磁场强度的增大,所述第二感应器件S2输出的信号会发生变化。而所述控制器S3检测到所述第二感应器件S2输出的信号发生变化且满足预设条件时,判断出当前所述电动车辆处于折叠状态,切换至待机/关机状态,作为一种实施方式,控制系统检测到所述第二感应器件S2输出的信号发生变化且满足预设条件时,判断出当前所述电动车辆处于折叠状态,生成第一指令,发送所述第一指令至所述电路系统;所述电路系统执行所述第一指令切换至待机/关机状态。
作为一种实施方式,所述第二感应器件S2(即磁敏组件)可包括:霍尔传感器或干簧管。当所述第二感应器件S2为霍尔传感器时,当电动车辆处于折叠状态时,所述控制器S3可检测到霍尔传感器的电压参数变大;当
检测到所述霍尔传感器的电压参数达到预设电压阈值时,则可判定所述霍尔传感器输出的信号满足预设条件,从而判定当前所述电动车辆处于折叠状态。当所述第二感应器件S2为干簧管时,由于干簧管在不存在外加磁场的情况下不导通、在存在外加磁场的情况下导通的物理特性,则所述控制器S3可通过检测所述干簧管是否存在导通电流从而判定所述干簧管输出的信号是否满足预设条件,当所述电力控制装置S3检测到所述干簧管输出的电流时,可判定当前所述电动车辆处于折叠状态。当然,本申请实施例中所述第二感应器件S2不限于是霍尔传感器或干簧管,其他磁敏元件也在本发明实施例的保护范围之内。
本实施例中,所述第一部件Z1可以为车头主体部件,所述第二部件Z2可以为车身主体部件;相反的,所述第二部件Z2为车头主体部件,所述第一部件Z1为车身主体部件;可以理解为,第一感应器件S1可设置在车头主体部件中,也可以设置在车身主体部件中;相应的,第一感应器件S2可设置在车身主体部件中,也可设置在车头主体部件中。在图1所示的示例中,以所述第一部件Z1为车头主体部件、所述第二部件Z2为车身主体部件为例进行说明。所述第二感应器件S2和所述控制器S3电连接。
本实施例中,为了避免长时间由于机械松动导致电动车辆处于折叠状态时第一感应器件S1和第二感应器件S2的错位,所述第一部件Z1的第一位置设置有多个第一感应器件S1;相应的,所述第二部件Z2的第二位置可设置有至少一个第二感应器件S2,从而能够保证控制器S3控制状态切换的灵敏度以及准确度。
采用本发明实施例的技术方案,通过在第一部件设置的第一感应器件以及在第二部件设置的第二感应器件,在电动车辆处于折叠状态时能够根据第二感应器件输出信号的变化自动控制进入待机状态或者关机,无需用户手动操作,也避免了由于用户的疏忽忘记控制进入待机状态或者关机从
而耗费的电能,大大提升了用户的操作体验。
实施例二
本发明实施例提供了一种电动车辆。图2为本发明实施例的电动车辆处于展开状态的组成结构平面示意图;如图2所示,所述电动车辆包括通过连接件连接的第一部件Z1和第二部件Z2;所述第一部件Z1支持通过所述连接件相对于所述第二部件Z2旋转,使得所述电动车辆至少包括展开状态和折叠状态;所述第一部件Z1的第一位置设置有第一感应器件S1;所述第二部件Z2的第二位置设置有第二感应器件S2;当所述电动车辆处于折叠状态时,所述第一位置和所述第二位置相对应;所述电动车辆还包括控制器S3;其中,
当所述电动车辆处于折叠状态时,所述第一感应器件S1靠近所述第二感应器件S2使得所述第二感应器件S2的输出信号变化;
所述控制器S3,配置为检测到所述第二感应器件S2的输出信号满足预设条件时,控制切换至待机/关机状态;
当所述电动车辆处于展开状态时,基于所述第一位置和所述第二位置之间距离的增大,所述第一感应器件S1远离所述第二感应器件S2使得所述第二感应器件S2的输出信号的变化;
所述控制器S3,还配置为检测到所述第二感应器件S2的输出信号不满足预设条件时,控制切换至准备工作状态。
区别于实施例一,本实施例中,所述控制器S3还配置为基于所述第二感应器件S2的输出信号的变化控制原本处于待机/关机状态切换至准备工作状态。作为一种实施方式,所述控制器S3包括控制系统和电路系统;所述控制系统配置为检测所述第二感应器件S2的输出信号,基于该输出信号生成相应的指令以控制所述电路系统;所述电路系统具体可以是所述电动车辆上的电路板;相应的,所述准备工作状态是针对所述电路系统的,即
所述控制系统通过第二指令控制所述电路系统处于准备工作状态。具体的,所述准备工作状态指的是:所述电路系统中的至少人机交互传感器处于工作状态;所述人机交互传感器支持响应人对车体的操作,例如按压油门操作、推行车体操作、刹车操作、灯光显示操作等等。在一种实施过程中,所述电动车辆的车头主体部件上可设置有一触控面板,用户可通过该触控面板进行各种操作;在所述电路系统处于准备工作状态时,所述触控面板支持响应用户的触发操作。在这种应用场景下,区别于所述准备工作状态,当所述电路系统处于待机状态时,所述触控面板是不支持响应用户的触发操作的。
具体的,用户通常展开电动车辆后会使用电动车辆,因此,在电动车辆处于展开状态时,需要控制处于准备工作状态,以便能够快速响应用户对电动车辆的操作。基于此,在电动车辆处于展开状态时,由于所述第一部件Z1的第一位置和所述第二部件Z2的第二位置之间的距离的增大,所述第一感应器件S1远离所述第二感应器件S2从而使第二感应器件S2感知的磁场强度增大,基于磁场强度的增大,所述第二感应器件S2输出的信号会发生变化。而所述控制器S3检测到所述第二感应器件S2输出的信号发生变化且未达到所述预设条件时,判断出当前所述电动车辆处于展开状态,切换至准备工作状态。作为一种实施方式,控制系统检测到所述第二感应器件S2输出的信号发生变化且不满足所述预设条件时,判断出当前所述电动车辆处于展开状态,生成第二指令,发送所述第二指令至所述电路系统;所述电路系统执行所述第二指令切换至准备工作状态。
作为一种实施方式,所述第二感应器件S2(即磁敏组件)可包括:霍尔传感器或干簧管。当所述第二感应器件S2为霍尔传感器时,当电动车辆由折叠状态切换至展开状态过程中,所述控制器S3可检测到霍尔传感器的电压参数变小;检测到所述霍尔传感器的电压参数低于所述预设电压阈值
时,则可判定所述霍尔传感器输出的信号不满足预设条件,从而判定当前所述电动车辆处于展开状态。当所述第二感应器件S2为干簧管时,由于干簧管在不存在外加磁场的情况下不导通、在存在外加磁场的情况下导通的物理特性,则当电动车辆由折叠状态切换至展开状态过程中,所述控制器S3可通过检测所述干簧管是否存在导通电流从而判定所述干簧管输出的信号是否满足预设条件,当所述控制器S3检测到所述干簧管由输出电流切换至未有电流输出时,可判定当前所述电动车辆已处于展开状态。当然,本申请实施例中所述第二感应器件S2不限于是霍尔传感器或干簧管,其他磁敏元件也在本发明实施例的保护范围之内。
采用本发明实施例的技术方案,一方面,通过在第一部件设置的第一感应器件以及在第二部件设置的第二感应器件,在电动车辆处于折叠状态时能够根据第二感应器件输出信号的变化自动控制进入待机状态或者关机,无需用户手动操作,也避免了由于用户的疏忽忘记控制进入待机状态或者关机从而耗费的电能,大大提升了用户的操作体验。另一方面,在电动车辆处于展开状态时能够根据第二感应器件输出信号的变化自动控制进入准备工作状态,无需用户手动操作,大大提升了用户的操作体验。
本发明实施例一和实施例二中,所述电动车辆中的控制器S3,在实际应用中可由所述电动车辆中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现。
实施例三
基于实施例一所述的电动车辆,本发明实施例还提供了一种电动车辆的控制方法。图3为本发明实施例的电动车辆的控制方法的一种流程示意图;如图3所示,所述方法包括:
步骤101:控制器检测第二感应器件的输出信号。
步骤102:所述控制器检测到所述输出信号满足预设条件时,切换至待机/关机状态。
本实施例中,所述第二感应器件可以是霍尔传感器或干簧管。当所述磁敏组件为霍尔传感器时,当电动车辆处于折叠状态时,所述控制器可检测到霍尔传感器的电压参数变大;当检测到所述霍尔传感器的电压参数达到预设电压阈值时,则可判定所述霍尔传感器输出的信号满足预设条件,从而判定当前所述电动车辆处于折叠状态。当所述第二感应器件为干簧管时,由于干簧管在不存在外加磁场的情况下不导通、在存在外加磁场的情况下导通的物理特性,则所述控制器可通过检测所述干簧管是否存在导通电流从而判定所述干簧管输出的信号是否满足预设条件,当所述控制器检测到所述干簧管输出的电流时,可判定当前所述电动车辆处于折叠状态。
具体的,所述控制器可包括控制系统和电路系统,所述控制系统用于检测所述第二感应器件的输出信号,基于该输出信号生成相应的指令以控制所述电路系统;所述电路系统具体可以是所述电动车辆上的电路板;相应的,所述待机/关机状态是针对所述电路系统的,即所述控制系统通过第一指令控制所述电路系统处于待机/关机状态。具体的,所述待机状态指的是:所述电路系统中的各传感器处于工作状态,例如所述第二感应器件处于工作状态,能够时刻监控电动车辆车体的状态变化,在这种状态下,控制器处于低功耗状态。基于此,步骤101中,所述控制器检测第二感应器件的输出信号,包括:所述控制系统检测第二感应器件的输出信号;相应的,步骤102中,所述检测到所述输出信号满足预设条件时,切换至待机/关机状态,包括:所述控制系统检测到所述输出信号满足预设条件时,生成第一指令,发送所述第一指令至所述电路系统;所述电路系统执行所述第一指令切换至待机/关机状态。
作为一种实施方式,所述控制器检测到所述输出信号满足预设条件时,切换至待机/关机状态,包括:所述控制系统检测所述第二感应器件发出的、满足所述预设条件的输出信号的第一持续时间范围;当所述第一持续时间范围达到第一阈值时,生成第一指令,发送所述第一指令至所述电路系统;所述电路系统执行所述第一指令切换至待机/关机状态
具体的,当所述第二感应器件为霍尔传感器时,所述控制系统检测所述霍尔传感器的电压参数达到预设电压阈值的第一持续时间范围达到第一阈值时,可生成第一指令。或者,当所述第二感应器件为干簧管时,所述控制系统检测到所述干簧管输出电流的第一持续时间范围达到第一阈值时,可生成第一指令。也就是说,当所述控制系统检测到在短时间范围内所述第二感应器件满足所述预设条件时并不生成第一指令以控制所述电路系统进行状态切换,以避免用户仅仅将电动车辆折叠一下又展开造成指令控制的混乱或者状态的误切换。
采用本发明实施例的技术方案,通过在第一部件设置的第一感应器件以及在第二部件设置的第二感应器件,在电动车辆处于折叠状态时能够根据第二感应器件输出信号的变化自动控制进入待机状态或者关机,无需用户手动操作,也避免了由于用户的疏忽忘记控制进入待机状态或者关机从而耗费的电能,大大提升了用户的操作体验。
实施例四
基于实施例二所述的电动车辆,本发明实施例还提供了一种电动车辆的控制方法。图4为本发明实施例的电动车辆的控制方法的另一种流程示意图;如图4所示,所述方法包括:
步骤201:控制器检测所述第二感应器件的输出信号。
步骤202:所述控制器检测到所述输出信号满足预设条件时,切换至待机/关机状态。
步骤203:所述控制器检测到所述输出信号不满足所述预设条件时,切换至准备工作状态。
区别于实施例一,本实施例中,所述第二感应器件可以是霍尔传感器或干簧管。当所述第二感应器件为霍尔传感器时,当第一部件和第二部件由折叠状态切换至展开状态过程中,所述控制器可检测到霍尔传感器的电压参数变小;检测到所述霍尔传感器的电压参数低于所述预设电压阈值时,则可判定所述霍尔传感器输出的信号不满足预设条件,从而判定当前所述电动车辆处于展开状态。当所述第二感应器件为干簧管时,由于干簧管在不存在外加磁场的情况下不导通、在存在外加磁场的情况下导通的物理特性,则当第一部件和第二部件由折叠状态切换至展开状态过程中,所述控制器可通过检测所述干簧管是否存在导通电流从而判定所述干簧管输出的信号是否满足预设条件,当所述控制器检测到所述干簧管由输出电流切换至未有电流输出时,可判定当前所述第一部件和第二部件已处于展开状态。
具体的,所述控制器可包括控制系统和电路系统,所述控制系统用于检测所述第二感应器件的输出信号,基于该输出信号生成相应的指令以控制所述电路系统;所述电路系统具体可以是所述电动车辆上的电路板;相应的,所述准备工作状态是针对所述电路系统的,即所述控制系统通过第二指令控制所述电路系统处于准备工作状态。具体的,所述准备工作状态指的是:所述电路系统中的人机交互传感器处于工作状态;所述人机交互传感器支持响应人对车体的操作,例如按压油门操作、推行车体操作、刹车操作、灯光显示操作等等。在一种实施过程中,所述电动车辆的车头主体部件上可设置有一触控面板,用户可通过该触控面板进行各种操作;在所述电路系统处于准备工作状态时,所述触控面板支持响应用户的触发操作。在这种应用场景下,区别于所述准备工作状态,当所述电路系统处于待机状态时,所述触控面板是不支持响应用户的触发操作的。基于此,步
骤203中,所述控制器检测到所述输出信号不满足所述预设条件时,切换至准备工作状态,包括:所述控制系统检测到所述输出信号不满足所述预设条件时,生成第二指令,发送所述第二指令至所述电路系统;所述电路系统执行所述第二指令切换至准备工作状态。
作为一种实施方式,所述控制器检测到所述输出信号不满足所述预设条件时,切换至准备工作状态,包括:所述控制系统检测所述第二感应器件发出的、不满足所述预设条件的输出信号的第二持续时间范围;当所述第二持续时间范围达到第二阈值时,生成第二指令,发送所述第二指令至所述电路系统;所述电路系统执行所述第二指令切换至准备工作状态。其中,所述第一持续时间范围与所述第二持续时间范围可以相同或不同。
具体的,当所述第二感应器件为霍尔传感器时,所述控制系统检测所述霍尔传感器的电压参数由达到预设电压阈值减小至未达到所述预设电压阈值的第而持续时间范围达到第一阈值时,可生成第二指令。或者,当所述第二感应器件为干簧管时,所述控制系统检测到所述干簧管由输出电流切换至未有电流输出的第二持续时间范围达到第二阈值时,可生成第二指令。也就是说,当所述控制系统检测到在短时间范围内所述第二感应器件不满足所述预设条件时并不生成第二指令以控制所述电路系统进行状态切换,以避免用户仅仅将电动车辆折叠一下又展开造成指令控制的混乱或者状态的误切换。
采用本发明实施例的技术方案,一方面,通过在第一部件设置的第一感应器件以及在第二部件设置的第二感应器件,在电动车辆处于折叠状态时能够根据第二感应器件输出信号的变化自动控制进入待机状态或者关机,无需用户手动操作,也避免了由于用户的疏忽忘记控制进入待机状态或者关机从而耗费的电能,大大提升了用户的操作体验。另一方面,在电动车辆处于展开状态时能够根据第二感应器件输出信号的变化自动控制进
入准备工作状态,无需用户手动操作,大大提升了用户的操作体验。
实施例五
本发明实施例还提供了一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现:检测第二感应器件的输出信号;检测到所述输出信号满足预设条件时,切换至待机/关机状态。
作为一种实施方式,该计算机程序被处理器执行时实现:当处于待机/关机状态时,检测到所述输出信号不满足所述预设条件时,切换至准备工作状态。
作为一种实施方式,该计算机程序被处理器执行时实现:检测所述第二感应器件发出的、满足所述预设条件的输出信号的第一持续时间范围;当所述第一持续时间范围达到第一阈值时,生成第一指令,执行所述第一指令切换至待机/关机状态;检测所述第二感应器件发出的、不满足所述预设条件的输出信号的第二持续时间范围;当所述第二持续时间范围达到第二阈值时,生成第二指令,执行所述第二指令切换至准备工作状态。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。
本发明实施例的技术方案采用本发明实施例的技术方案,通过在第一部件设置的第一感应器件以及在第二部件设置的第二感应器件,在电动车辆处于折叠状态时能够根据第二感应器件输出信号的变化自动控制进入待机状态或者关机,无需用户手动操作,也避免了由于用户的疏忽忘记控制进入待机状态或者关机从而耗费的电能,大大提升了用户的操作体验。
Claims (11)
- 一种电动车辆,所述电动车辆包括通过连接件连接的第一部件和第二部件;所述第一部件支持通过所述连接件相对于所述第二部件旋转,使得所述电动车辆至少包括展开状态和折叠状态;所述第一部件的第一位置设置有第一感应器件;所述第二部件的第二位置设置有第二感应器件;当所述电动车辆处于折叠状态时,所述第一位置和所述第二位置相对应;所述电动车辆还包括控制器;其中,当所述电动车辆处于折叠状态时,所述第一感应器件靠近所述第二感应器件使得所述第二感应器件的输出信号变化;所述控制器,用于检测到所述第二感应器件的输出信号满足预设条件时,控制切换至待机/关机状态。
- 根据权利要求1所述的电动车辆,其中,当所述电动车辆处于展开状态时,所述第一感应器件远离所述第二感应器件使得所述第二感应器件的输出信号的变化;所述控制器,还用于检测到所述第二感应器件的输出信号不满足预设条件时,控制切换至准备工作状态。
- 根据权利要求1或2所述的电动车辆,其中,所述第一部件为车头主体部件,所述第二部件为车身主体部件;或者,所述第二部件为车头主体部件,所述第一部件为车身主体部件;所述控制器设置在所述车身主体部件或车头主体部件中;所述第二感应器件与所述控制器电连接。
- 根据权利要求1或2所述的电动车辆,其中,所述第一部件的第一位置设置有多个第一感应器件;相应的,所述第二部件的第二位置设置至少一个第二感应器件。
- 根据权利要求1或2所述的电动车辆,其中,所述控制器包括控制 系统和电路系统;其中,所述控制系统,用于检测到所述第二感应器件的输出信号满足预设条件时,生成第一指令,发送所述第一指令至所述电路系统;所述电路系统,用于执行所述第一指令切换至待机/关机状态;相应的,所述控制系统,还用于检测到所述第二感应器件的输出信号不满足预设条件时,生成第二指令,发送所述第二指令至所述电路系统;所述电路系统,还用于执行所述第二指令切换至准备工作状态。
- 根据权利要求1或2所述的电动车辆,其中,所述第一感应器件为磁性器件;所述第二感应器件为磁敏器件。
- 根据权利要求6所述的电动车辆,其中,所述磁敏器件包括:霍尔传感器或干簧管。
- 一种电动车辆的控制方法,应用于电动车辆,所述电动车辆包括通过连接件连接的第一部件和第二部件,所述第一部件支持通过所述连接件相对于所述第二部件旋转,使得所述电动车辆至少包括展开状态和折叠状态;所述第一部件的第一位置设置有第一感应器件,所述第二部件的第二位置设置有第二感应器件;当所述电动车辆处于折叠状态时,所述第一位置和所述第二位置相对应;所述方法包括:控制器检测第二感应器件的输出信号;所述控制器检测到所述输出信号满足预设条件时,切换至待机/关机状态。
- 根据权利要求8所述的方法,其中,当处于待机/关机状态时,所述方法还包括:所述控制器检测到所述输出信号不满足所述预设条件时,切换至准备工作状态。
- 根据权利要求9所述的方法,其中,所述控制器包括控制系统和电路系统;所述控制器检测到所述输出信号满足预设条件时,切换至待机/ 关机状态,包括:所述控制系统检测所述第二感应器件发出的、满足所述预设条件的输出信号的第一持续时间范围;当所述第一持续时间范围达到第一阈值时,生成第一指令,发送所述第一指令至所述电路系统;所述电路系统执行所述第一指令切换至待机/关机状态;相应的,所述控制器检测到所述输出信号不满足所述预设条件时,切换至准备工作状态,包括:所述控制系统检测所述第二感应器件发出的、不满足所述预设条件的输出信号的第二持续时间范围;当所述第二持续时间范围达到第二阈值时,生成第二指令,发送所述第二指令至所述电路系统;所述电路系统执行所述第二指令切换至准备工作状态。
- 一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现权利要求8至10任一项所述的电动车辆的控制方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611246570.4 | 2016-12-29 | ||
CN201611246570.4A CN106515968B (zh) | 2016-12-29 | 2016-12-29 | 一种电动车辆及其控制方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018120911A1 true WO2018120911A1 (zh) | 2018-07-05 |
Family
ID=58339162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/101204 WO2018120911A1 (zh) | 2016-12-29 | 2017-09-11 | 一种电动车辆及其控制方法、计算机存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106515968B (zh) |
WO (1) | WO2018120911A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106515968B (zh) * | 2016-12-29 | 2019-05-07 | 纳恩博(北京)科技有限公司 | 一种电动车辆及其控制方法 |
CN107102581B (zh) * | 2017-04-06 | 2019-07-12 | 上海玺力电子科技有限公司 | 一种智能启停控制系统及方法 |
JP6885844B2 (ja) * | 2017-10-24 | 2021-06-16 | 株式会社シマノ | ブレーキシステム |
CN109533154B (zh) * | 2018-12-07 | 2020-10-16 | 纳恩博(北京)科技有限公司 | 滑板车 |
CN113022766B (zh) * | 2019-12-24 | 2022-11-01 | 纳恩博(常州)科技有限公司 | 折叠电动车工作模式的确定方法及装置 |
CN114313077B (zh) * | 2021-12-30 | 2023-06-27 | 东莞市恒轩运动用品有限公司 | 一种多功能滑板车 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203819432U (zh) * | 2014-05-06 | 2014-09-10 | 黄河科技学院 | 快速折叠式电动滑板车 |
CN104417706A (zh) * | 2013-08-27 | 2015-03-18 | 株式会社万都 | 电动自行车安全装置及其安全驱动方法 |
KR20150062002A (ko) * | 2013-11-28 | 2015-06-05 | 주식회사 만도 | 접이식 자전거 |
CN105799838A (zh) * | 2015-12-12 | 2016-07-27 | 罗轶 | 折叠自行包 |
CN106043553A (zh) * | 2016-07-14 | 2016-10-26 | 苏州猛狮智能车辆科技有限公司 | 电动滑板车 |
CN106515968A (zh) * | 2016-12-29 | 2017-03-22 | 纳恩博(北京)科技有限公司 | 一种电动车辆及其控制方法 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6347681B1 (en) * | 1999-08-27 | 2002-02-19 | Patmont Motor Werks | Electrically integrated scooter with dual suspension and stowage mechanism |
JP2005255074A (ja) * | 2004-03-15 | 2005-09-22 | Sanyo Electric Co Ltd | スケータ型車両 |
CN103514039B (zh) * | 2012-06-25 | 2018-07-06 | 联想(北京)有限公司 | 操作控制方法及电子设备 |
GB201512713D0 (en) * | 2014-08-01 | 2015-08-26 | Ford Global Tech Llc | Electric bicycle |
CN105857477A (zh) * | 2015-01-23 | 2016-08-17 | 郭鑫 | 一种折叠电动滑板车 |
CN205469487U (zh) * | 2016-01-11 | 2016-08-17 | 云南卡方机电设备有限公司 | 一种便携式折叠电动滑板车 |
-
2016
- 2016-12-29 CN CN201611246570.4A patent/CN106515968B/zh active Active
-
2017
- 2017-09-11 WO PCT/CN2017/101204 patent/WO2018120911A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104417706A (zh) * | 2013-08-27 | 2015-03-18 | 株式会社万都 | 电动自行车安全装置及其安全驱动方法 |
KR20150062002A (ko) * | 2013-11-28 | 2015-06-05 | 주식회사 만도 | 접이식 자전거 |
CN203819432U (zh) * | 2014-05-06 | 2014-09-10 | 黄河科技学院 | 快速折叠式电动滑板车 |
CN105799838A (zh) * | 2015-12-12 | 2016-07-27 | 罗轶 | 折叠自行包 |
CN106043553A (zh) * | 2016-07-14 | 2016-10-26 | 苏州猛狮智能车辆科技有限公司 | 电动滑板车 |
CN106515968A (zh) * | 2016-12-29 | 2017-03-22 | 纳恩博(北京)科技有限公司 | 一种电动车辆及其控制方法 |
Also Published As
Publication number | Publication date |
---|---|
CN106515968A (zh) | 2017-03-22 |
CN106515968B (zh) | 2019-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018120911A1 (zh) | 一种电动车辆及其控制方法、计算机存储介质 | |
WO2017213347A3 (en) | Mobile device with touch screens and method of controlling the same | |
JP5669803B2 (ja) | タッチディスプレイ装置 | |
KR20150016568A (ko) | 단말기 스크린 제어방법, 단말기, 프로그램 및 기록매체 | |
EP3035312B1 (en) | Electromagnetic remote control and control method thereof | |
TWI645661B (zh) | 配接器與配接器模組 | |
EP3222769A1 (en) | Control method and control system for wash aid, and wash aid | |
TW201303571A (zh) | 節能開關裝置以及方法 | |
JP2012074895A (ja) | リモコン、そのリモコンを入力装置として含む表示装置やテレビ受像装置、およびリモコンや表示装置、テレビ受像装置の動作用プログラム | |
EP3309923A1 (en) | Power supply control method based on mobile power supply | |
KR101372891B1 (ko) | 알람 기능이 구현된 콘센트 장치 | |
KR101530991B1 (ko) | 대기전력 저감을 위한 콘센트의 웨이크업 장치 | |
JP2001306255A (ja) | タッチパネルセンサ | |
CN214473649U (zh) | 一种检测电路及电子设备 | |
KR100981248B1 (ko) | 주변기기 대기전원 차단 기능을 갖는 컴퓨터 | |
JP2020501309A (ja) | 容量性ハンドルのための方法及びシステム | |
KR101372892B1 (ko) | 전력선 통신에 의한 사용자 지향적 콘센트 장치 | |
KR101011383B1 (ko) | 대기전력 감소 장치 및 방법 | |
KR20020024631A (ko) | 전자 기기용 전력 절감 장치 및 그 전력 절감 방법 | |
CN205900959U (zh) | 接线板 | |
US20150042574A1 (en) | Input device, touch screen, and user device | |
CN108964649B (zh) | 静电电容开关单元 | |
JP2009147726A5 (zh) | ||
CN204965103U (zh) | 按摩器控制装置 | |
CN103744508A (zh) | 一种显示装置及其控制方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17887943 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17887943 Country of ref document: EP Kind code of ref document: A1 |