CN112793478B - Seat position management method, seat position management device, in-vehicle device, and storage medium - Google Patents

Seat position management method, seat position management device, in-vehicle device, and storage medium Download PDF

Info

Publication number
CN112793478B
CN112793478B CN202110042265.8A CN202110042265A CN112793478B CN 112793478 B CN112793478 B CN 112793478B CN 202110042265 A CN202110042265 A CN 202110042265A CN 112793478 B CN112793478 B CN 112793478B
Authority
CN
China
Prior art keywords
seat
motor
determining
coordinate system
absolute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110042265.8A
Other languages
Chinese (zh)
Other versions
CN112793478A (en
Inventor
成高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Ofilm Intelligent Vehicle Co ltd
Original Assignee
Shanghai Ofilm Intelligent Vehicle Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Ofilm Intelligent Vehicle Co ltd filed Critical Shanghai Ofilm Intelligent Vehicle Co ltd
Priority to CN202110042265.8A priority Critical patent/CN112793478B/en
Publication of CN112793478A publication Critical patent/CN112793478A/en
Application granted granted Critical
Publication of CN112793478B publication Critical patent/CN112793478B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60NSEATS SPECIALLY ADAPTED FOR VEHICLES; VEHICLE PASSENGER ACCOMMODATION NOT OTHERWISE PROVIDED FOR
    • B60N2/00Seats specially adapted for vehicles; Arrangement or mounting of seats in vehicles
    • B60N2/02Seats specially adapted for vehicles; Arrangement or mounting of seats in vehicles the seat or part thereof being movable, e.g. adjustable
    • B60N2/0224Non-manual adjustments, e.g. with electrical operation
    • B60N2/0244Non-manual adjustments, e.g. with electrical operation with logic circuits
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60NSEATS SPECIALLY ADAPTED FOR VEHICLES; VEHICLE PASSENGER ACCOMMODATION NOT OTHERWISE PROVIDED FOR
    • B60N2/00Seats specially adapted for vehicles; Arrangement or mounting of seats in vehicles
    • B60N2/02Seats specially adapted for vehicles; Arrangement or mounting of seats in vehicles the seat or part thereof being movable, e.g. adjustable
    • B60N2/0224Non-manual adjustments, e.g. with electrical operation
    • B60N2/0244Non-manual adjustments, e.g. with electrical operation with logic circuits
    • B60N2/0272Non-manual adjustments, e.g. with electrical operation with logic circuits using sensors or detectors for detecting the position of seat parts

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Seats For Vehicles (AREA)

Abstract

The present application provides a seat position management method, a seat being driven by a driving unit including a first motor, the seat position management method including: determining a first position of the seat when the first motor is powered on and started; determining a moving direction of the first motor driving the seat; constructing a relative position coordinate system according to the first position and the moving direction; and controlling the first motor to drive the seat to move, and acquiring the relative position coordinate of the seat according to the relative position coordinate system. The application also provides a seat position management device, an in-vehicle device, and a storage medium. This application confirms the coordinate origin of relative position coordinate system through the position when the motor is electrified to start, confirms the direction of the coordinate axis of relative position coordinate system through the moving direction of seat to construct the relative position coordinate fast, so that realize the management to the seat position, promoted the whole car production efficiency of production line.

Description

Seat position management method, seat position management device, in-vehicle device, and storage medium
Technical Field
The application relates to the technical field of electric seats, in particular to a seat position management method, a seat position management device, a vehicle-mounted device and a storage medium.
Background
In recent years, vehicles gradually enter people's lives, people have higher and higher requirements on the comfort level of the vehicles, particularly electric seats, the positions of the seats can be automatically adjusted according to the needs of people, and in order to accurately adjust the positions of the seats, the position information of the seats needs to be acquired.
In the prior art, the seat is driven to rotate in the forward and reverse directions until the seat reaches the limit positions at two ends and is locked, the whole stroke length of the seat in the direction is obtained through the operation in the forward and reverse directions, the stroke length is used as a displacement interval, and the reverse locked position is used as a coordinate origin. This origin of coordinates is called the origin of absolute coordinates, with which the absolute position coordinate system is constructed away, however, in implementing the present invention, the inventors found that there are at least the following problems in the prior art: in order to obtain the absolute coordinate origin of the seat, the memory of the seat needs to be executed, namely, each seat motor at least needs to execute the driving in two directions until the seat reaches the limit positions at two ends and is locked, the process increases the operation time on the production line of the whole vehicle, and the production efficiency of the whole vehicle is influenced.
Disclosure of Invention
In view of the above problems, the present application proposes a seat position management method, a seat position management apparatus, an in-vehicle apparatus, and a storage medium to solve the above problems.
A first aspect of the present application provides a seat position management method, a seat being driven by a drive unit including a first motor, the seat position management method including:
determining a first position of the seat when the first motor is powered on and started;
determining a first direction of movement of the seat driven by the first motor;
constructing a relative position coordinate system according to the first position and the first moving direction;
and controlling the first motor to drive the seat to move, and acquiring the relative position coordinate of the seat according to the relative position coordinate system.
Therefore, the coordinate origin of the relative position coordinate system is determined by the position when the motor is electrified and started, and the direction of the coordinate axis of the relative position coordinate system is determined by the moving direction of the seat, so that the relative position coordinate is quickly constructed, and the management of the position of the seat is realized. Compared with the prior art, the method has the advantages that the absolute position coordinate is obtained based on at least two times of locked rotor of the motor, the process of memorizing the position of the seat is saved, and the production efficiency of the whole vehicle of the production line is improved.
In some embodiments, the seat position management method further comprises:
determining that the first motor is blocked for the first time;
determining a second position of the seat when the first motor is blocked for the first time;
and constructing an absolute position coordinate system according to the second position and the first moving direction.
In this way, an absolute position coordinate system is constructed according to the position and the moving direction of the seat when the first motor is locked, so that the position of the seat in the absolute position coordinate system can be displayed through the display device.
In some embodiments, the seat position management method further comprises:
and determining the corresponding relation between the absolute position coordinate system and the relative position coordinate system according to the first position and the second position.
Thus, the conversion between the two coordinate systems is realized quickly through the corresponding relation.
In some embodiments, the seat position management method further comprises:
determining a third position of the seat when the first motor is in a reverse direction locked rotation, wherein the rotation direction of the first motor in the reverse direction locked rotation is opposite to the rotation direction of the first motor in the first locked rotation;
acquiring a first stroke length of the seat according to the second position and the third position;
and adjusting the absolute coordinate origin of the absolute position coordinate system according to the first stroke length.
In some embodiments, the drive unit further comprises a second motor, the method further comprising:
determining that two times of locked rotations occur when the second motor drives the seat to move along a second moving direction, wherein the first moving direction is vertical to the second moving direction, and the rotating directions of the second motor are opposite when the two times of locked rotations occur;
determining that the seat is respectively in a fourth position and a fifth position when the second motor is locked for twice;
acquiring a second stroke length of the seat according to the fourth position and the fifth position;
and adjusting the absolute coordinate origin of the absolute position coordinate system according to the second stroke length.
Therefore, the second motor respectively rotates forwards and backwards to drive the seat to move along two directions of a straight line and generate twice locked-rotor so as to determine the stroke length of the second moving direction, and the absolute coordinate origin is adjusted according to the second stroke length, for example, the absolute coordinate origin is adjusted through the first moving direction and the second moving direction so as to improve the accuracy of the absolute coordinate origin.
In some embodiments, said adjusting an absolute origin of coordinates of said absolute position coordinate system in accordance with said second stroke length comprises:
determining a first coordinate of a first midpoint of the first stroke length;
determining a second coordinate of a second midpoint of the second stroke length;
and determining the absolute coordinate origin according to the first coordinate and the second coordinate.
In this way, the absolute coordinate origin is determined by the two strokes in the two coordinate directions, so that the absolute coordinate origin and the actual coordinate origin of the seat are ensured to be located at the same position.
In some embodiments, said constructing an absolute position coordinate system from said second position and said first direction of movement comprises:
determining the second position as the origin of coordinates of the absolute position coordinate system;
and determining that the direction of a coordinate axis of the absolute position coordinate system is parallel to the first moving direction.
The present application also provides a seat position management device for managing a position of a seat, the seat being driven by a drive unit, the drive unit including a first motor, the seat position management device including:
the determining module is used for determining a first position of the seat when the first motor is electrified and started; determining a first direction of movement of the seat driven by the first motor;
constructing a module: the first position and the first moving direction are used for constructing a relative position coordinate system;
and the control module is used for controlling the first motor to drive the seat to move and acquiring the relative position coordinate of the seat according to the relative position coordinate system.
The application provides a seat position management device is through the coordinate origin of the relative position coordinate system of position determination when with the motor power-on start, through the direction of the coordinate axis of the relative position coordinate system of moving direction determination of seat to construct the relative position coordinate fast, so that realize the management to the seat position.
The present application also provides an in-vehicle apparatus, the in-vehicle apparatus includes:
the device comprises a memory, a processor and a communication bus, wherein the memory is in communication connection with the processor through the communication bus; and a plurality of program modules are stored in the memory, and are loaded by the processor and execute the obstacle avoidance path planning method.
The present application further provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a seat position management method as previously described.
In summary, in the embodiment of the present application, the coordinate origin of the relative position coordinate system is determined by the position when the motor is powered on and started, and the direction of the coordinate axis of the relative position coordinate system is determined by the moving direction of the seat, so as to quickly construct the relative position coordinate, so as to realize the management of the seat position. Compared with the prior art, the method has the advantages that the absolute position coordinate is obtained based on at least two times of locked rotor of the motor, the process of memorizing the position of the seat is saved, and the production efficiency of the whole vehicle of the production line is improved.
Drawings
Fig. 1 is a first flowchart illustrating a seat position management method according to an embodiment of the present application.
Fig. 2 is a schematic flow chart diagram of a seat position management method according to an embodiment of the present application.
Fig. 3 is a functional block diagram of a seat position management apparatus according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an in-vehicle device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The application provides a seat position management method, a seat position management device, an in-vehicle device, and a storage medium. In one embodiment, the seat position management method is configured as a complete vehicle production line, and the seat position management apparatus, the in-vehicle apparatus, and the storage medium are all configured for production and adjustment of a vehicle seat.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a seat position management method according to an embodiment of the present application. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs. For convenience of explanation, only portions related to the embodiments of the present application are shown.
According to the seat position management method provided by the embodiment of the application, the seat is driven by the driving unit, and the driving unit comprises the first motor. The seat position management method includes:
and step S1, determining the first position of the seat when the first motor is powered on and started.
Specifically, the first motor and the seat are mounted on the vehicle, and the position of the seat is the first position when the first motor is powered on and started for the first time. It is to be understood that the first position may be any position of the movable range of the seat due to the operation habits of the production line equipment and the worker.
And step S2, determining a first moving direction of the seat driven by the first motor.
In one embodiment, the first motor rotates and drives the seat to move linearly through the linkage mechanism, for example, to adjust the front, back, left and right positions of the seat.
It is understood that the moving direction includes the direction in which the first motor drives the seat to move in forward and reverse directions, and includes two opposite directions, which may be on the same straight line, such as forward and backward, left and right, up and down, and so on.
And step S3, constructing a relative position coordinate system according to the first position and the first moving direction.
In one embodiment, the origin of coordinates of the relative position coordinate system is determined according to the first position, and the direction of one of the coordinate axes of the relative position coordinate system is determined according to the moving direction of the seat. Specifically, the origin of coordinates of the relative position coordinate system may be the first position or another position determined according to the first position, one coordinate axis direction of the relative position coordinate system may be parallel to the moving direction of the seat, for example, the moving direction may be the X-axis direction, and then the Y-axis direction or the Z-axis direction is determined in sequence after the X-axis direction is determined.
In one embodiment, the relative position coordinate system is a two-dimensional coordinate system, e.g., the seat can only move back and forth and side to side. It will be appreciated that in other embodiments the relative position coordinates are three dimensional coordinates, for example the seat may be moved up and down, front to back and left to right.
And step S4, controlling the first motor to drive the seat to move, and acquiring the relative position coordinate of the seat according to the relative position coordinate system.
Therefore, the coordinate origin of the relative position coordinate system is determined according to the position when the motor is powered on and started, and the direction of the coordinate axis of the relative position coordinate system is determined according to the moving direction of the seat, so that the relative position coordinate system is quickly constructed, and the position of the seat is managed. Compared with the prior art that the absolute coordinate origin can be obtained only by completing the movement of the limit positions at the two ends by the seat motor in the production of the whole automobile, the process of memorizing the seat position is saved, and the production efficiency of the whole automobile of the production line is improved.
Referring to fig. 2, in an embodiment, the seat position management method further includes:
and step S11, determining that the first locked rotor of the first motor occurs.
Specifically, whether the motor is locked up or not is detected, whether the current of the motor is larger than a current threshold value or not can be detected, and the locked up of the motor is determined when the current of the motor is larger than the current threshold value. For example, the operating current of motor is 16A, and when the motor moved to the locked-rotor position, because the seat structure was spacing, caused the motor to stop hard, the electric current was locked-rotor current this moment, and locked-rotor current was about 25A, so the accessible detected current whether to take place locked-rotor with the detection motor.
In another embodiment, the first motor includes a hall sensor, and it is determined whether stalling of the first motor occurs based on hall pulses generated by the hall sensor of the first motor. Specifically, whether a Hall pulse generated by a Hall sensor of the first motor is identified within a preset first time is judged, if yes, it is determined that the first motor is not locked, and if not, it is determined that the first motor is locked.
The first locked rotor may be a first locked rotor actually occurring or a first locked rotor actually measured by the first motor.
And step S12, determining a second position of the seat when the first motor is locked for the first time.
In particular, the second position may comprise relative position coordinates of the seat.
Step S13, an absolute position coordinate system is constructed according to the second position and the first moving direction.
Specifically, the origin of coordinates of the absolute position coordinate system may be determined based on the second position, and the directions of the coordinate axes of the absolute position coordinate system may be determined based on the first moving direction, for example, the second position may be set as the origin of coordinates of the absolute position coordinate system, and the directions of one coordinate axis of the absolute position coordinate system may be parallel to the first moving direction.
Thus, when the user uses the seat, the relative coordinate system can be switched to the absolute coordinate system; therefore, the time consumed in the whole automobile production process is avoided for calibrating the absolute coordinate system of the seat.
In another embodiment, the seat position management method further includes the steps of:
and step S14, determining a third position of the seat when the first motor is in reverse direction locked rotation.
Specifically, the first motor drives the seat to move in two opposite directions by forward rotation and reverse rotation, respectively. The rotation direction of the first motor is different from that of the first motor in the previous locked rotor process through detection, and the position of the seat in the locked rotor process is obtained, wherein the rotation direction of the first motor in the locked rotor process in the opposite direction is opposite to that of the first motor in the locked rotor process for the first time, for example, the first motor rotates positively when the locked rotor process is performed for the first time, and the first motor rotates reversely when the locked rotor process is performed in the opposite direction.
And step S15, acquiring a first stroke length of the seat according to the second position and the third position.
Specifically, the limit position of the seat moving along the first moving direction is determined through the locked rotation of the first motor in the positive and negative directions, and the maximum distance of the seat moving along the moving direction is determined through the two limit positions, namely the first stroke length.
And step S16, adjusting the absolute coordinate origin of the absolute position coordinate system according to the first stroke length.
So, can rotate and take place twice stifled commentaries on classics through first motor positive and negative direction when the user uses the seat, judge the displaceable distance of first motor drive seat according to twice stifled commentaries on classics, first stroke length promptly, through the initial point of displaceable distance adjustment absolute coordinate system to promote the accuracy of absolute coordinate initial point.
In one embodiment, the coordinates of the midpoint of the second and third positions are set as the origin of absolute position coordinates, so that the absolute position coordinates of the seat can be accurately presented to the user through the display device.
In an embodiment, the seat position management method further comprises: and determining the corresponding relation between the absolute position coordinate system and the relative position coordinate system according to the first position and the second position.
For example, the relative position coordinate system is a two-dimensional coordinate system, the relative coordinate of the first position is (0, 0), the relative coordinate of the second position is (3, 0), and 3 is added to the number of the X-axis of the relative coordinate of the seat, so as to obtain the absolute coordinate of the seat, so as to realize the conversion of the position of the seat between the two coordinate systems.
In an embodiment, the drive unit further comprises a second motor, the method further comprising:
determining that two times of locked rotations occur when the second motor drives the seat to move along a second moving direction, wherein the first moving direction is vertical to the second moving direction, and the rotating directions of the second motor are opposite when the two times of locked rotations occur;
determining that the seat is respectively in a fourth position and a fifth position when the second motor is locked;
acquiring a second stroke length of the seat according to the fourth position and the fifth position;
and adjusting the absolute coordinate origin of the absolute position coordinate system according to the second stroke length.
Specifically, the second motor drives the seat to move by forward rotation and reverse rotation, and the movable length in the second movement direction is acquired by the second motor being locked, for example, the movable length in the X-axis direction may be determined by the first motor, and the movable length of the seat in the Y-axis direction may be determined by the second motor being locked. The absolute coordinate origin can be adjusted through the first stroke length or the second stroke length so as to improve the accuracy of the absolute coordinate origin.
In one embodiment, the adjusting the absolute coordinate origin of the absolute position coordinate system according to the second stroke length includes:
determining a first coordinate of a first midpoint of the first stroke length;
determining a second coordinate of a second midpoint of the second stroke length;
and determining the absolute coordinate origin according to the first coordinate and the second coordinate.
In this way, the absolute coordinate origin is determined by the two strokes in the two coordinate directions, so that the absolute coordinate origin and the actual coordinate origin of the seat are ensured to be located at the same position.
Fig. 1 and 2 illustrate in detail a seat position management method of the present application, by which seat positions can be managed to improve production efficiency. The functional modules and hardware device architecture for implementing the seat position management device are described below with reference to fig. 3 and 4. It should be understood that the above-described embodiments are illustrative only, and are not to be construed as limiting the scope of the claims.
Fig. 3 is a functional block diagram of a seat position management apparatus according to an embodiment of the present application.
In some embodiments, the seat position management device 100 may include a plurality of functional modules composed of program code segments. The program codes of the respective program segments in the seat position management apparatus 100 may be stored in the memory of the in-vehicle apparatus 10 and executed by at least one processor in the in-vehicle apparatus 10 to perform the function of obstacle avoidance path planning.
Referring to fig. 2, in the present embodiment, the seat position management device 100 may be divided into a plurality of functional modules according to the functions performed by the seat position management device, and the functional modules are used for performing the steps in the corresponding embodiment of fig. 1 to realize the function of adjusting the seat position. In the present embodiment, the functional modules of the seat position management device 100 include: a determination module 101, a construction module 102 and a control module 103.
The determining module 101 is configured to determine a first position of the seat when the first motor is powered on and started.
A determining module 101, further configured to determine a first moving direction in which the first motor drives the seat;
a building module 102, configured to build a relative position coordinate system according to the first position and the first moving direction;
and the control module 103 is used for controlling the first motor to drive the seat to move, and acquiring the relative position coordinate of the seat according to the relative position coordinate system.
Further, the determining module 101 is further configured to determine that the first motor is locked up; determining a second position of the seat when the first motor is blocked for the first time;
the building module 102 is further configured to build an absolute position coordinate system according to the second position and the first moving direction.
Further, the determining module 101 is further configured to:
and determining the corresponding relation between the absolute position coordinate system and the relative position coordinate system according to the first position and the second position.
Further, the determining module 101 is further configured to determine a third position of the seat when the first motor is in a reverse direction locked rotation, where a rotation direction of the first motor in the reverse direction locked rotation is opposite to a rotation direction of the first motor in the first locked rotation;
the seat position management device 100 further includes:
an obtaining module 104, configured to obtain a first stroke length of the seat according to the second position and the third position;
an adjusting module 105, configured to adjust an absolute coordinate origin of the absolute position coordinate system according to the first stroke length.
Further, the driving unit further includes a second motor, and the determining module 101 is further configured to determine that two times of rotation blockage occurs when the second motor drives the seat to move along a second moving direction, where the first moving direction is perpendicular to the second moving direction; determining that the seat is respectively located at a fourth position and a fifth position when the second motor is locked for twice, and the rotation directions of the second motor are opposite when the second motor is locked for twice;
the obtaining module 104 is further configured to obtain a second stroke length of the seat according to the fourth position and the fifth position;
the adjusting module 105 is further configured to adjust an absolute coordinate origin of the absolute position coordinate system according to the second stroke length.
Specifically, the adjustment module 105 determines a first coordinate of a first midpoint of the first stroke length; determining a second coordinate of a second midpoint of the second stroke length; and determining the absolute coordinate origin according to the first coordinate and the second coordinate.
Further, the building module 102 includes:
the sub-determination module is used for determining that the second position is the origin of coordinates of the absolute position coordinate system; determining that a coordinate axis direction of the absolute position coordinate system is parallel to the first moving direction.
Fig. 4 is a schematic structural diagram of an in-vehicle device according to an embodiment of the present application. The vehicle-mounted device 10 comprises a memory 11, a processor 12 and a communication bus 13, wherein the memory 11 is connected with the processor 12 in a communication mode through the communication bus 13.
The in-vehicle apparatus 10 further comprises a computer program 14, such as a program for seat position management, stored in the memory 11 and executable on the processor 12.
The steps of the method for managing the position of a seat in the embodiment of the method are implemented when the computer program 14 is executed by the processor 12.
Illustratively, the computer program 14 may be partitioned into one or more modules/units that are stored in the memory 11 and executed by the processor 12 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 14 in the in-vehicle apparatus 10. For example, the computer program 14 may be partitioned into modules 101 and 105 in FIG. 3.
It is to be understood that the in-vehicle apparatus 10 is merely an example of the in-vehicle apparatus 10, and does not constitute a limitation to the in-vehicle apparatus 10, and the in-vehicle apparatus 10 may include more or less components than those shown, or some components may be combined, or different components, for example, the in-vehicle apparatus 10 may further include an input device, or the like.
The Processor 12 may be a Central Processing Unit (CPU), and may include other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 12 is a control center of the in-vehicle apparatus 10 and connects various parts of the entire in-vehicle apparatus 10 by various interfaces and lines.
The memory 11 may be used for storing the computer program 14 and/or the modules/units, and the processor 12 may implement various functions of the in-vehicle apparatus 10 by running or executing the computer program and/or the modules/units stored in the memory 11 and calling data stored in the memory 11. The storage 11 may include an external storage medium and may also include a memory. In addition, the memory 11 may include a high speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The modules/units integrated with the in-vehicle apparatus 10 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the processes in the methods of the embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the embodiments of the methods. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a corresponding computing processing device, or may be downloaded to an external computer or external storage device or wireless network via a network (e.g., the internet, a local area network, a wide area network, and a network). The network may include copper transmission cables, optical transmission fibers, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers, with the network adapter card or network interface in each computing processing device receiving computer-readable program instructions from the network and forwarding the computer-readable program instructions for storage in a computer-readable storage medium within the respective computing processing device.
Computer-readable program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code language written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and a procedural programming language such as the "C" programming language or the like. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, an electronic circuit, including, for example, a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), may personalize computer-readable program instructions by utilizing state information of the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions are executed via the processor of the computer or other programmable data processing. In which means are created for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the instructions are stored in the computer-readable storage medium. The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of blocks in the block diagrams and/or flowchart illustration.
The description of various embodiments of the present invention has been presented for purposes of illustration but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present application and not for limiting, and although the present application is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present application without departing from the spirit and scope of the technical solutions of the present application.

Claims (8)

1. A seat position management method, a seat being driven by a drive unit including a first motor, characterized by comprising:
determining a first position of the seat when the first motor is powered on and started;
determining a first direction of movement of the seat driven by the first motor;
constructing a relative position coordinate system according to the first position and the first moving direction;
controlling the first motor to drive the seat to move, and acquiring the relative position coordinate of the seat according to the relative position coordinate system;
determining that the first motor is blocked for the first time;
determining a second position of the seat when the first motor is blocked for the first time;
constructing an absolute position coordinate system according to the second position and the first moving direction;
determining a third position of the seat when the first motor is in a reverse direction locked rotation, wherein the rotation direction of the first motor in the reverse direction locked rotation is opposite to the rotation direction of the first motor in the first locked rotation;
acquiring a first stroke length of the seat according to the second position and the third position;
and adjusting the absolute coordinate origin of the absolute position coordinate system according to the first stroke length.
2. The seat position management method according to claim 1, further comprising:
and determining the corresponding relation between the absolute position coordinate system and the relative position coordinate system according to the first position and the second position.
3. The seat position management method according to claim 1, wherein the drive unit further includes a second motor, the seat position management method further comprising:
determining that two times of locked rotations occur when the second motor drives the seat to move along a second moving direction, wherein the first moving direction is vertical to the second moving direction, and the rotating directions of the second motor are opposite when the two times of locked rotations occur;
determining that the seat is respectively in a fourth position and a fifth position when the second motor is locked for twice;
acquiring a second stroke length of the seat according to the fourth position and the fifth position;
and adjusting the absolute coordinate origin of the absolute position coordinate system according to the second stroke length.
4. The seat position management method according to claim 3, wherein the adjusting of the absolute coordinate origin of the absolute position coordinate system in accordance with the second stroke length includes:
determining a first coordinate of a first midpoint of the first stroke length;
determining a second coordinate of a second midpoint of the second stroke length;
and determining the absolute coordinate origin according to the first coordinate and the second coordinate.
5. The seat position management method according to claim 1, wherein the constructing an absolute position coordinate system in accordance with the second position and the first moving direction includes:
determining the second position as the origin of coordinates of the absolute position coordinate system;
and determining that the direction of a coordinate axis of the absolute position coordinate system is parallel to the first moving direction.
6. A seat position management apparatus for managing a position of a seat, the seat being driven by a drive unit including a first motor, the seat position management apparatus comprising:
the determining module is used for determining a first position of the seat when the first motor is electrified and started; determining a first direction of movement of the seat driven by the first motor;
constructing a module: the first position and the first moving direction are used for constructing a relative position coordinate system;
the control module is used for controlling the first motor to drive the seat to move and acquiring the relative position coordinate of the seat according to the relative position coordinate system;
the determining module is further used for determining that the first motor is blocked for the first time and determining a second position of the seat when the first motor is blocked for the first time;
the construction module is further used for constructing an absolute position coordinate system according to the second position and the first moving direction;
the determining module is further configured to determine a third position of the seat when the first motor is in a reverse direction, where a rotation direction of the first motor during the reverse direction lock-up is opposite to a rotation direction of the first motor during the first lock-up;
the obtaining module is used for obtaining a first stroke length of the seat according to the second position and the third position;
and the adjusting module is used for adjusting the absolute coordinate origin of the absolute position coordinate system according to the first stroke length.
7. An in-vehicle apparatus characterized by comprising:
the device comprises a memory, a processor and a communication bus, wherein the memory is in communication connection with the processor through the communication bus; and
the memory has stored therein a plurality of program modules that are loaded by the processor and execute the seat position management method according to any one of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a seat position management method according to any one of claims 1 to 5.
CN202110042265.8A 2021-01-13 2021-01-13 Seat position management method, seat position management device, in-vehicle device, and storage medium Active CN112793478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110042265.8A CN112793478B (en) 2021-01-13 2021-01-13 Seat position management method, seat position management device, in-vehicle device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110042265.8A CN112793478B (en) 2021-01-13 2021-01-13 Seat position management method, seat position management device, in-vehicle device, and storage medium

Publications (2)

Publication Number Publication Date
CN112793478A CN112793478A (en) 2021-05-14
CN112793478B true CN112793478B (en) 2022-04-15

Family

ID=75810404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110042265.8A Active CN112793478B (en) 2021-01-13 2021-01-13 Seat position management method, seat position management device, in-vehicle device, and storage medium

Country Status (1)

Country Link
CN (1) CN112793478B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114194077B (en) * 2021-12-17 2023-03-31 华人运通(江苏)技术有限公司 Control method and device for adjusting travel of vehicle seat and vehicle

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110539670B (en) * 2019-09-25 2021-04-02 恒大恒驰新能源汽车科技(广东)有限公司 Vehicle seat adjusting method and device, vehicle-mounted terminal and computer storage medium
CN110949191B (en) * 2019-12-09 2022-01-07 东风汽车有限公司 Automobile seat adjusting method and electronic equipment
CN111267682B (en) * 2020-03-25 2020-11-03 北京经纬恒润科技有限公司 Seat position monitoring method and device and controller

Also Published As

Publication number Publication date
CN112793478A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN108819939B (en) Automatic parking system
US11046208B2 (en) Pre-crash seat actuator system and method
CN106331474B (en) Apparatus and method for rotating camera
CN111813101B (en) Robot path planning method, device, terminal equipment and storage medium
US20200361480A1 (en) Autonomous vehicle detection
CN112793478B (en) Seat position management method, seat position management device, in-vehicle device, and storage medium
CN111413968B (en) Vehicle control method and device and electronic equipment
CN107000762B (en) Method for automatically carrying out at least one driving function of a motor vehicle
CN109204315B (en) Lane changing method, lane changing device, storage medium and electronic equipment
CN109976326B (en) Wheeled robot control method and device, terminal device and medium
CN111688580A (en) Method and device for picking up sound by intelligent rearview mirror
CN113733995A (en) Seat posture memory implementation method and system, terminal device and storage medium
CN114012740B (en) Target place leading method and device based on robot and robot
CN112748720A (en) Control method, device, equipment and storage medium for automatic driving vehicle
CN107441726B (en) Method, device and system for controlling electric toy car
CN110861087A (en) Robot initialization positioning method and device, mobile robot and storage medium
KR20210018732A (en) Apparatus for controlling parking of a vehicle, system having the same and method thereof
CN109228967A (en) A kind of vehicle electric seat-regulating method and electronic equipment
CN110758543B (en) Steering column position detection method and device, storage medium and vehicle
CN110083425B (en) UI element display method, display device, electronic equipment and computer readable medium
CN114228702B (en) Method and device for parking passengers, storage medium and vehicle
US20200283009A1 (en) Controller for a motor vehicle and method for operating the controller
CN110799382A (en) Control method and device of steering lamp, vehicle and storage medium
CN111695489B (en) Modeling route verification method and device, unmanned vehicle and storage medium
CN115291770A (en) Method and device for vehicle, electronic equipment, storage medium and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant