Seat position detection system, method and apparatus
By setting data bits and contact bits on the slide rail assembly, the controller reads the encoded information, solving the problem of system error accumulation in existing seat memory systems and achieving absolute detection of seat position and improved stability.
Patent Information
- Application Number
- CN202310808768.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-03
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2043-07-03
AI Technical Summary
Existing seat memory systems record the relative position of the seat through Hall signals, which leads to the accumulation of system errors that cannot be corrected automatically, affecting the accuracy of seat position adjustment and user experience.
By employing a data bit and contact bit design on the slide rail assembly, the controller reads the encoded information of the data bit to directly obtain the absolute position of the seat, thus avoiding the accumulation of system errors.
It achieves absolute detection of seat position, simplifies structural design, improves the accuracy and stability of seat position detection, reduces system errors, and simplifies the position correction process.
Smart Images

Figure CN116811681B_ABST
Abstract
Description
[Technical Field]
[0001] This application relates to the field of vehicle control technology, and in particular to a seat position detection system, method and apparatus. [Background Technology]
[0002] Seat memory is a crucial feature in automotive systems for enhancing user comfort. It primarily works by storing historical seat position information, allowing customers to easily retrieve this data and adjust the seat to their desired position. Current seat memory solutions utilize Hall effect motors or add Hall sensors to the tail of ordinary motors. By collecting Hall signals, the distance traveled by the motor is determined and recorded, thus storing the position information. However, this method relies heavily on Hall signals to record the relative position of the seat, lacking an absolute position as a reference point. This means the system cannot automatically correct for errors, potentially leading to inconsistencies. [Summary of the Invention]
[0003] This application provides a seat position detection system, method, and apparatus. During the movement of the seat driven by the slide rail assembly, the controller reads multiple pre-set data bits to directly obtain the absolute position information of the seat.
[0004] In a first aspect, embodiments of this application provide a seat position detection system, which includes a controller and a slide rail assembly. The slide rail assembly includes a fixed part and a sliding part. The controller is connected to the fixed part. The fixed part is provided with multiple sets of data bits. Different data bits correspond to different position information of the seat. During the process of the seat moving and causing the sliding part to slide along the fixed part, the contact bits slide past the multiple sets of data bits in sequence. When any data bit comes into contact with the contact bit, the controller reads the encoded information of the data bit and parses the encoded information to obtain the current position information of the seat.
[0005] The seat position detection system proposed in this application has multiple data bits set on the fixed part of the slide rail assembly, and contact bits set on the sliding part of the slide rail assembly. Each data bit records the absolute position information of the seat. Thus, as the slide rail assembly moves the seat, the contact bits of the sliding part sequentially contact different data bits. When a contact bit contacts a data bit, the circuit continuity controller reads the corresponding position information of the data bit to obtain the absolute position of the seat. This seat position detection system, through a simple structural design, completes the absolute position detection of seat movement without the need for position information correction, avoiding system errors caused by position information correction.
[0006] In one possible implementation, the data bit includes a first encoding bar and a second encoding bar, which are symmetrically arranged; the controller reads encoded information based on the first encoding bar when the sliding part slides across the data bit in a first direction, which is the same as reading the same encoded information based on the second encoding bar when the sliding part slides across the data bit in a second direction.
[0007] In one possible implementation, the fixing part generates a first trigger signal when any data bit comes into contact with the contact bit; the first trigger signal is used to trigger the controller to start the next encoding read.
[0008] In one possible implementation, an identification bit is provided between adjacent data bits; the fixing part generates a second trigger signal when any identification bit comes into contact with the contact bit; the second trigger signal is used to trigger the controller to stop the previous encoding read.
[0009] In one possible implementation, the identification bit and the data bit are patches of different lengths; the duration of the low-level signal generated when the identification bit contacts the contact bit is different from the duration of the low-level signal generated when the data bit contacts the contact bit.
[0010] In a second aspect, embodiments of this application provide a seat position detection method, applied to a controller in a seat position detection system provided in the first aspect of this application. The seat position detection system further includes a slide rail assembly, the slide rail assembly having a fixed part and a sliding part, the sliding part including a contact position, and the fixed part including multiple sets of data bits. The method includes:
[0011] Upon receiving the first trigger signal generated by the contact bit and the data bit contacting each time, the pre-set encoded information of the data bit is read.
[0012] The encoded information is parsed, and the seat position corresponding to the encoded information is obtained by matching different data bits with the seat position in a pre-set correspondence.
[0013] Calculate the position information read each time, output and record the total distance the seat has moved and the current position of the seat.
[0014] In one possible implementation, an identification bit is set between adjacent data bits; after starting to read the pre-set encoded information of the data bits, the method further includes: stopping the reading of encoded information when a second trigger signal generated by the contact bit and the identification bit coming into contact is collected.
[0015] In one possible implementation, an identification bit is provided between adjacent data bits; the identification bit and the data bits are patches of different lengths, and a low-level signal is generated when the contact bit contacts the identification bit and the data bit; the method further includes:
[0016] Determine the time range corresponding to the duration of the received low-level signal; the time range includes a first time length during which the contact bit slides over the data bit, and a second time length during which the contact bit slides over the identification bit;
[0017] Upon receiving a first trigger signal generated by the contact point and the data point coming into contact, the system begins reading the pre-set encoded information of the data point, including:
[0018] For each instance of a low-level signal duration corresponding to the first time length, the pre-set encoded information of the data bits is read.
[0019] In one possible implementation, the pre-set correspondence between different data bits and seat positions includes: the percentage of the seat's movement range from the starting point to the current position corresponding to each data bit; calculating the position information read each time, outputting and recording the total distance the seat has moved and the seat's current position, including:
[0020] Obtain the percentage of the seat's movement range at the stopping position when the seat last stopped;
[0021] Calculate the difference between the percentage of the current position relative to the range of seat movement and the percentage of the range of seat movement corresponding to the stopping position when the seat last stopped moving.
[0022] The total distance the seat moves is obtained by multiplying the difference by the range of seat movement, and the current position of the seat is obtained by multiplying the current position as a percentage of the range of seat movement by the range of seat movement.
[0023] Thirdly, embodiments of this application provide a seat position detection device, which is disposed in a controller of the seat position detection system provided in the first aspect of this application. The seat position detection system further includes a slide rail assembly, the slide rail assembly having a fixed part and a sliding part, the sliding part including a contact position, and the fixed part including multiple sets of data bits. The method includes:
[0024] The device includes:
[0025] The information reading module is used to start reading the pre-set encoded information of the data bit whenever a first trigger signal is generated when the contact bit and the data bit come into contact.
[0026] The parsing module is used to parse the encoded information and obtain the seat position corresponding to the encoded information by using a pre-set correspondence between different data bits and seat positions.
[0027] The calculation module is used to calculate the position information read each time, output and record the total distance the seat has moved and the current position of the seat.
[0028] Fourthly, embodiments of this application provide an apparatus, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor can execute the method provided in the second aspect by invoking the program instructions.
[0029] Fifthly, embodiments of this application provide a computer-readable storage medium storing computer instructions that cause the computer to perform the method provided in the second aspect.
[0030] It should be understood that the second to fifth aspects of the embodiments of this application are consistent with the technical solutions of the first aspect of the embodiments of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be described again. [Attached Image Description]
[0031] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0032] Figure 1 This is a schematic diagram of the seat position detection system proposed in an embodiment of this application;
[0033] Figure 2 This is a schematic diagram of the slide rail assembly provided in this application in a specific example;
[0034] Figure 3 yes Figure 2 Exploded view;
[0035] Figure 4 This is a schematic diagram of the data bits provided in the embodiments of this application in a specific embodiment;
[0036] Figure 5 This is a schematic diagram of the data bits provided in the embodiments of this application in another specific embodiment;
[0037] Figure 6 This is a flowchart of the seat position detection method proposed in the embodiments of this application;
[0038] Figure 7 This is a flowchart of the seat position detection method according to another embodiment of this application;
[0039] Figure 8 This is a functional block diagram of the seat position detection device proposed in the embodiments of this application;
[0040] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0041] Reference numerals: Controller-1; Slide rail assembly-2; Fixing part-21; Data bit-211; First coding bar-2111; Second coding bar-2112; Identification bit-212; Sliding part-22; Contact bit-221.
Detailed Implementation Methods
[0042] To better understand the technical solutions in this specification, the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0043] It should be understood that the described embodiments are merely some, not all, of the embodiments in this specification. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without inventive effort are within the scope of protection of this specification.
[0044] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this specification. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0045] In current technology, seat position calculations in the field of seat memory rely on pulse signals emitted by Hall effect sensors. When these Hall signals are interfered with, the internal position information of the controller deviates, resulting in system errors. Since this method of detecting seat position based on Hall signals records the relative distance of seat movement—for example, pre-calibrating the distance the seat moves when the Hall motor rotates one revolution—and accumulating the distance traveled by emitting Hall signals with each rotation, the accumulated error from each seat movement over time necessitates resetting the memory system. Because the system uses relative coordinates, the anti-pinch function may be falsely triggered due to system errors. While calibration methods can eliminate these errors, they require additional steps and labor costs, and the calibration cycle is uncertain, impacting customer experience. Furthermore, because current technology records the relative distance of seat movement, the position calculation during seat adjustments requires consideration of the direction of movement, making the calculation complex.
[0046] In view of the above problems, this application proposes a seat position detection system, which consists of an absolute position coordinate axis positioning design composed of a scale on a slide rail and a contact switch. When the seat moves, the contact switch will move along the coordinate scale. The controller can obtain the current position signal based on the contact signal between the switch and the coordinate scale mark. The design is simple in construction and highly reliable.
[0047] Figure 1 This is a schematic diagram of the seat position detection system proposed in an embodiment of this application, as shown below. Figure 1 The seat position detection system shown may include a controller 1 and a slide rail assembly 2.
[0048] Figure 2 This is a schematic diagram of the slide rail assembly provided in this application in a specific example. Figure 3 yes Figure 2 Exploded view, such as Figure 2 and Figure 3 As shown:
[0049] The slide rail assembly 2 includes a fixed part 21 and a sliding part 22, with the controller 1 connected to the fixed part 21. The sliding part 22 has a contact position 221 on its body; the fixed part 21 has multiple sets of data positions 211 on its body. Different data positions 211 correspond to different position information of the seat. These multiple sets of data positions 211, each recording different position information, are arranged sequentially on the fixed part 21, giving it the function of a scale for recording absolute position.
[0050] Data bit 211 can be a metal patch carrying two-dimensional information, and contact bit 221 can be a steel ball. When contact bit 221 contacts data bit 211, the circuit between controller 1 and fixing part 21 is connected, and controller 1 can read relevant signals and then analyze the relevant signals to obtain the position of the seat.
[0051] During the process of the sliding part 22 sliding along the fixed part 21 to move the seat, the contact position 221 slides past the multiple sets of data positions 211 in sequence. When any data position 211 comes into contact with the contact position 221, the controller 1 reads the encoded information of the data position 211 and parses the encoded information to obtain the current position information of the seat.
[0052] Continue to refer to Figure 2 and Figure 3 , Figure 3A coordinate system is defined, with x representing the direction and y representing the vertical direction. The slide rail assembly 2 can connect to the seat. A response motor drives the sliding part 22 of the slide rail assembly 2 to slide. The sliding part 22 moves the seat, and this movement is related to the sliding part 22. Therefore, the absolute position of the seat is related to the distance the sliding part 22 moves. Based on this relationship, data bits 211 are pre-calibrated to correspond to different seat position information. By reading the encoded information carried by data bits 211, the absolute position of the seat can be obtained.
[0053] The aforementioned seat position detection system is based on the principle that the slide rail assembly 2 drives the seat to move. By setting data bits 211 in the fixed part 21, a mapping relationship is established between the encoded information carried by the data bits 211 and the absolute position of the seat, giving the fixed part 21 the function of a scale for recording the absolute position. Correspondingly, contact bits 221 are set in the sliding part 22. During the sliding process of the sliding part 22, the contact bits 221 will contact and conduct with multiple data bits 211, thereby generating a signal. The controller 1 collects the signal to read the absolute position of the seat. The above structure is simple, and the controller 1 can directly read the absolute position of the seat, avoiding system errors caused by the accumulation of relative positions, and eliminating the need for system correction. At the same time, the fixed part 21 sets an identification bit 212 between adjacent data bits 211. The duration of the signal generated by the contact bit 221 contacting the identification bit 212 is different from the duration of the signal generated by the contact bit 221 contacting the data bit 211, thereby distinguishing two adjacent data bits 211.
[0054] Figure 4 This is a schematic diagram of the data bits provided in the embodiments of this application in a specific embodiment, such as... Figure 4 As shown, data bits 211 have a first coding bar 2111 and a second coding bar 2112, and the first coding bar 2111 and the second coding bar 2112 are symmetrically arranged;
[0055] The controller 1 reads encoded information based on the first encoding bar 211 when the sliding part 22 slides over the data bit 211 in the first direction, which is the same as when the sliding part 22 slides over the data bit 211 in the second direction and reads the same encoded information based on the second encoding bar 2112.
[0056] In seat memory applications, there are scenarios where the seat needs to be adjusted back and forth based on user requirements, such as moving the seat from point A to point B and then back to point A. To address this scenario, one specific embodiment of this application proposes symmetrically arranged data bits 211. The sliding part 22 reads the first code bar 2111 from point A to point B to obtain code information AA, and the sliding part 22 reads the first code bar 2112 from point A to point B to obtain code information BB. Code information AA and code information BB are identical. This embodiment of the application, by setting symmetrical data bits 211, avoids data reading differences caused by the sliding direction of the sliding part 22, effectively filters external interference, and increases system fault tolerance.
[0057] Figure 5 This is a schematic diagram of the data bits provided in the embodiments of this application in another specific embodiment, such as... Figure 5 As shown, an identification bit 212 is provided between adjacent data bits 211; the fixing part 21 generates a second trigger signal when any identification bit 212 comes into contact with the contact bit 221; the second trigger signal is used to trigger the controller 1 to stop the previous encoding read; the fixing part 21 generates a first trigger signal when any data bit 211 comes into contact with the contact bit 221; the first trigger signal is used to trigger the controller 1 to start the next encoding read.
[0058] The duration of the low-level signal generated when the identification bit 212 contacts the contact bit 221 is different from the duration of the low-level signal generated when the data bit 211 contacts the contact bit 211.
[0059] The identification bit 212 and the data bit 211 can be set as patches of different lengths. The time it takes for the contact bit 221 to slide over the data bit 211 is different from the time it takes for the contact bit 221 to slide over the identification bit 212, so the duration of the generated trigger signal is different. Therefore, the controller can analyze the duration of the first trigger information and the second trigger signal to determine whether the current contact bit 221 is contacting the identification bit 212 or the data bit 211. If the controller 1 determines that the contact bit 221 is contacting the data bit 211, it starts to execute the operation of reading the encoded information. If the controller 1 determines that the contact bit 221 is contacting the identification bit 212, it does not execute the operation of reading the encoded information and stops the previous encoding reading to avoid confusion between the encoded information of the corresponding data bit 211 read in the previous reading and the encoded information of the corresponding data bit 211 read in the next reading.
[0060] Since the seat position detection system proposed in this application triggers or stops data reading through contact between contact bit 221 and data bit 211, or contact bit 221 and identification bit 212, and the controller 1 reads coded information through contact between contact bit 221 and data bit 211, the above process does not require a complex signal source. Therefore, the fixing part 21 can be connected to a grounded signal source. The second trigger signal generated by contact bit 212 contacting contact bit 221, and the first trigger signal generated by contact bit 211 contacting contact bit 221, are both low-level signals. Low-level signal transmission is stable, has strong anti-interference ability, and ensures the stability of the seat position detection system.
[0061] The process by which the controller in the seat position detection system proposed in this application reads the encoded information of data bit 211 and parses the encoded information to obtain the current position information of the seat may include:
[0062] Each time the first trigger signal generated by the contact point and the data point comes into contact, the pre-set encoded information of the data point is read; the encoded information is parsed, and the seat position corresponding to the encoded information is obtained from the pre-set correspondence between different data points and seat positions; the position information read each time is calculated, and the total distance the seat moves and the current position of the seat are output and recorded.
[0063] Controller 1 can also perform the following operations during the process of parsing the encoded signal:
[0064] Determine the time range corresponding to the duration of the received low-level signal; the time range includes a first time length during which the contact bit 221 slides over the data bit 211, and a second time length during which the contact bit 221 slides over the identification bit 212; each time a first trigger signal generated by the contact bit 221 and the data bit 211 contact is acquired, start reading the pre-set encoded information of the data bit 211, including: each time the duration of the low-level signal corresponds to the first time length, start reading the pre-set encoded information of the data bit.
[0065] An identification bit is set between adjacent data bits; after starting to read the pre-set encoded information of the data bits, the method further includes: stopping the reading of encoded information when a second trigger signal generated by the contact bit 221 and the identification bit 212 coming into contact is collected.
[0066] In this embodiment, the controller 1 can determine whether the sliding part 22 has slid to the position where the contact position 221 contacts the data position 211 based on whether the first trigger signal has been collected, thereby determining whether to read the encoded information. Since an identification position 212 is provided between adjacent data positions 211, and the identification position 212 and the data position 211 are patches of different lengths, the duration of the first contact signal generated by the contact position 221 contacting the data position 211 and the duration of the second contact signal generated by the contact position 221 contacting the identification position 212 are different. Therefore, the controller 1 can also determine whether the sliding part 22 has slid to the position where the contact position 221 slides past the data position 211 and reaches the position where the contact position 221 contacts the identification position 212 based on whether the second trigger signal has been collected, thereby stopping the previous reading of encoded information and preparing for the next reading of encoded information.
[0067] In one example of this application, the mapping relationship between different data bits 211 and different seat position information can be the percentage of the seat's movement range as it moves from the starting point to the current position. After reading the encoded information, controller 1 calculates the seat's position based on the percentage of the seat's movement range as it moves from the starting point to the current position and the seat's movement range.
[0068] The process by which controller 1 "calculates the position information read each time, outputs and records the total distance the seat has moved and the current position of the seat" may include:
[0069] Obtain the percentage of the seat's movement range at the stopping position when the seat last stopped;
[0070] Calculate the difference between the percentage of the current position relative to the range of seat movement and the percentage of the range of seat movement corresponding to the stopping position when the seat last stopped moving.
[0071] The total distance the seat moves is obtained by multiplying the difference by the range of seat movement, and the current position of the seat is obtained by multiplying the current position as a percentage of the range of seat movement by the range of seat movement.
[0072] The seat position detection system in this application embodiment sets identification bits 212 and data bits 211 of different lengths to provide information to the controller 1 to distinguish whether the current position is the position for reading encoded information or the position for reading the gap of encoded information, so that the controller 1 can clearly read the timing of the encoded information and avoid confusion of the read encoded information.
[0073] Assume the fixed part 21 has four sets of data bits 211: C, D, E, and F. The movable range of the seat is Y cm, which represents the range of movement of the seat from its original position to its farthest position. The encoded information carried by C corresponds to 20% of Y cm, the encoded information carried by D corresponds to 40% of Y cm, the encoded information carried by E corresponds to 60% of Y cm, and the encoded information carried by W corresponds to 80% of Y cm. If the seat moves from point V to point W, the controller 1 obtains the encoded information read when the seat stopped moving last time, which is 20% of Y cm. The seat is in contact at point V. Bit 221 contacts C; Controller 1 reads the current encoded information as 60% of Ycm. When the seat is at point W, bit 221 contacts E; Controller 1 calculates the difference between the percentage of the current position relative to the seat's movement range and the percentage of the seat's movement range corresponding to the stopping position when the seat stopped last time, which is 40%. Controller 1 obtains the total seat movement distance as Y·40% based on the product of the difference and the seat's movement range. Based on the product of the percentage of the current position relative to the seat's movement range and the seat's movement range, Controller 1 obtains the current seat position as Ycm·60%.
[0074] If the seat moves from point M to point N, controller 1 obtains the encoded information read when the seat stopped moving last time, which is 80% of Ycm. When the seat was at point M, contact bit 221 was in contact with F. Controller 1 reads the encoded information for the current time as 60% of Ycm. When the seat is at point N, contact bit 221 is in contact with E. Controller 1 calculates the difference between the percentage of the current position relative to the seat's movement range and the percentage of the corresponding stopping position relative to the seat's movement range when the seat stopped moving last time, which is 20%. Based on the product of the difference and the seat's movement range, controller 1 obtains the total distance the seat moved as Y·20%. Based on the product of the percentage of the current position relative to the seat's movement range and the seat's movement range, controller 1 obtains the current position of the seat as Ycm·60%.
[0075] The example above, in which controller 1 parses the encoded information to obtain the seat position and the seat movement distance, only needs to read the encoded information to obtain the percentage of the seat's movement range from the starting point to the current position, without needing to refer to the seat's movement direction, thus reducing the computational complexity of controller 1.
[0076] Figure 6 This is a flowchart of the seat position detection method proposed in the embodiments of this application. The seat position detection method is applied to the seat position detection system proposed in other embodiments of this application. The structure and working principle of the seat position detection system have been described in detail in the embodiments of the seat position detection system, and will not be repeated in this embodiment.
[0077] The seat position detection system includes a controller and a slide rail assembly, the slide rail assembly having a fixed part and a sliding part, the sliding part including a contact position, and the fixed part including multiple sets of data positions.
[0078] like Figure 6 As shown, the steps of the controller executing the seat position detection method include:
[0079] Step S61: Each time the first trigger signal generated by the contact bit and the data bit coming into contact is collected, the pre-set encoded information of the data bit is read.
[0080] Step S62: Parse the encoded information and obtain the seat position corresponding to the encoded information by using the pre-set correspondence between different data bits and seat positions.
[0081] Step S63: Calculate the position information read each time, output and record the total distance the seat has moved and the current position of the seat.
[0082] The pre-set correspondence between different data bits and seat positions includes: the percentage of the seat's movement range from the starting point to the current position corresponding to different data bits; step S63 includes sub-steps S631-S634;
[0083] Step S631: Obtain the percentage of the seat's movement range when the seat stopped at the last movement.
[0084] Step S632: Calculate the difference between the percentage of the current position relative to the seat's movement range and the percentage of the seat's movement range corresponding to the stopping position when the seat last stopped moving.
[0085] Step S633: Based on the product of the difference and the seat movement range, obtain the total distance the seat moves; based on the product of the percentage of the current position relative to the seat movement range and the seat movement range, obtain the current position of the seat.
[0086] An identification bit is provided between adjacent data bits; the identification bit and the data bit are patches of different lengths, and a low-level signal is generated when the contact bit comes into contact with the identification bit and the data bit; Figure 7 This is a flowchart of the seat position detection method according to another embodiment of this application, as follows: Figure 7 As shown, the steps of the controller executing the seat position detection method may further include:
[0087] Step S71: Determine the time range corresponding to the duration of the received low-level signal; the time range includes the first time length during which the contact bit slides over the data bit, and the second time length during which the contact bit slides over the identification bit.
[0088] Step S72: For each time the duration of the low-level signal collected corresponds to the first time length, start reading the pre-set encoding information of the data bits.
[0089] Step S73: Stop reading the encoded information when the duration of the low-level signal corresponds to the second time length.
[0090] The duration of each low-level signal collected corresponds to the second time length, indicating that the second trigger signal generated by the contact bit and the identification bit contacting each other is collected. When the second trigger signal generated by the contact bit and the identification bit contacting each other is collected, the sliding part slides to the contact bit contacting the identification bit, that is, the sliding part slides to the contact bit being between two adjacent data bits, and the controller stops reading the encoded information to avoid data confusion.
[0091] Step S74: Parse the encoded information and obtain the seat position corresponding to the encoded information by using the pre-set correspondence between different data bits and seat positions.
[0092] Optional examples of the seat position detection method implemented in this application have been described in the seat position detection system embodiments proposed in this application, and will not be repeated here.
[0093] Figure 8 This is a functional block diagram of the seat position detection device proposed in an embodiment of this application. The aforementioned seat position detection device is installed in a seat position detection system proposed in other embodiments of this application, such as... Figure 8 As shown, the device includes:
[0094] The information reading module 81 is used to start reading the pre-set encoded information of the data bit whenever a first trigger signal is generated when the contact bit and the data bit come into contact.
[0095] The parsing module 82 is used to parse the encoded information and obtain the seat position corresponding to the encoded information by using a pre-set correspondence between different data bits and seat positions.
[0096] The calculation module 83 is used to calculate the position information read each time, output and record the total distance the seat moves and the current position of the seat.
[0097] Figure 8 The seat position detection device provided in the illustrated embodiment can be used to execute this specification. Figure 6 and Figure 7 The implementation principle and technical effects of the method embodiment shown can be further described in the relevant descriptions in the system embodiment and method embodiment.
[0098] Optionally, an identification bit is provided between adjacent data bits; the device further includes:
[0099] The stop information reading module is used to stop reading the encoded information when a second trigger signal generated by the contact bit and the identification bit coming into contact is collected.
[0100] Optionally, an identification bit is provided between adjacent data bits; the identification bit and the data bits are patches of different lengths, and the device further includes:
[0101] The judgment module is used to determine the time range corresponding to the duration of the received low-level signal; the time range includes a first time length during which the contact bit slides over the data bit, and a second time length during which the contact bit slides over the identification bit;
[0102] The information reading module is specifically used to start reading the pre-set encoded information of the data bits every time the duration of the low-level signal is collected corresponds to the first time length.
[0103] Optionally, the pre-set correspondence between different data bits and seat positions includes: the percentage of the seat's movement range from the starting point to the current position corresponding to different data bits; the calculation module includes:
[0104] The first submodule is used to obtain the percentage of the seat's movement range when the seat stopped moving last time;
[0105] The calculation submodule is used to calculate the difference between the percentage of the current position relative to the range of seat movement and the percentage of the range of seat movement corresponding to the stopping position when the seat last stopped moving.
[0106] The second obtaining submodule is used to obtain the total distance the seat moves based on the product of the difference and the range of seat movement, and to obtain the current position of the seat based on the product of the percentage of the current position relative to the range of seat movement and the range of seat movement.
[0107] The apparatus provided in the above embodiments is used to execute the technical solutions of the above-described method embodiments and system embodiments. Its implementation principle and technical effects can be further referred to the relevant descriptions in the method embodiments, and will not be repeated here.
[0108] The apparatus provided in the above embodiments may be, for example, a chip or a chip module. The apparatus provided in the above embodiments is used to execute the technical solutions of the above-described method embodiments. Its implementation principles and technical effects can be further referred to the relevant descriptions in the method embodiments, and will not be repeated here.
[0109] Regarding the modules / units included in the various devices described in the above embodiments, they can be software modules / units, hardware modules / units, or a combination of both. For example, for devices applied to or integrated into a chip, all modules / units can be implemented using hardware methods such as circuits, or at least some modules / units can be implemented using software programs running on a processor integrated within the chip, while the remaining modules / units can be implemented using hardware methods such as circuits. For devices applied to or integrated into a chip module, all modules / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, or at least some modules / units can be implemented using software programs. The software program runs on the processor integrated inside the chip module, and the remaining modules / units can be implemented using hardware methods such as circuits. For each device applied to or integrated into an electronic terminal device, each of its modules / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components within the electronic terminal device. Alternatively, at least some modules / units can be implemented using software programs that run on the processor integrated inside the electronic terminal device, and the remaining (if any) modules / units can be implemented using hardware methods such as circuits.
[0110] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 900 includes a processor 910, a memory 911, and a computer program stored in the memory 911 and executable on the processor 910. When the processor 910 executes the program, it implements the steps in the aforementioned method embodiment. The electronic device provided in this embodiment can be used to execute the technical solution of the method embodiment shown above. Its implementation principle and technical effect can be further referred to the relevant description in the method embodiment, which will not be repeated here.
[0111] This application provides a computer-readable storage medium that stores computer instructions that cause the computer to execute this specification. Figure 6 and Figure 7 The illustrated embodiment provides a seat position detection method. A computer-readable storage medium may refer to a non-volatile computer storage medium.
[0112] The aforementioned computer-readable storage medium may be any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in connection with an instruction execution system, apparatus, or device.
[0113] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0114] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, radio frequency (RF), etc., or any suitable combination thereof.
[0115] Computer program code for performing the operations described herein can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as "C" or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0116] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0117] In the description of the embodiments in this application, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this specification. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0118] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this specification, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0119] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this specification includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which the embodiments of this specification pertain.
[0120] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0121] In the several embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0122] Furthermore, the functional units in the various embodiments of this specification can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.
[0123] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this specification. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0124] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.
Claims
1. A seat position detection system characterized by, The application relates to a seat position detection system, which comprises a controller (1) and a slide rail assembly (2); the slide rail assembly comprises a fixed part (21) and a sliding part (22); the controller (1) is connected to the fixed part (21); The fixed part (21) is provided with a plurality of groups of data bits (211); different data bits (211) correspond to different position information of seats; the sliding part (22) is provided with a contact bit (221); During the movement of the seat and the sliding of the sliding part (22) along the fixed part (21), the contact bit (221) slides through the plurality of groups of data bits (211) in sequence, the controller (1) reads the encoding information of the data bit (211) when any data bit (211) is in contact with the contact bit (221), and the current position information of the seat is obtained by analyzing the encoding information.
2. The seat position detection system according to claim 1, characterized by, The data bit comprises a first encoding strip (2111) and a second encoding strip (2112), and the first encoding strip (2111) and the second encoding strip (2112) are symmetrically arranged; the controller (1) reads the same encoding information based on the first encoding strip (2111) when the sliding part (22) slides through the data bit (211) in a first direction, and reads the same encoding information based on the second encoding strip (2112) when the sliding part (22) slides through the data bit (211) in a second direction.
3. The seat position detection system according to claim 1, characterized by, The fixed part (21) generates a first trigger signal when any data bit (211) is in contact with the contact bit (221); the first trigger signal is used for triggering the controller (1) to start the next encoding reading.
4. The seat position detection system according to claim 1, characterized by, An identification bit (212) is arranged between adjacent data bits (211); the fixed part (21) generates a second trigger signal when any identification bit (212) is in contact with the contact bit (221); The second trigger signal is used for triggering the controller (1) to stop the previous encoding reading.
5. The seat position detection system according to claim 4, characterized by The identification bit (212) and the data bit (211) are patches with different lengths; the duration of a low-level signal generated by the contact between the identification bit (212) and the contact bit (221) is different from the duration of a low-level signal generated by the contact between the data bit (211) and the contact bit (221).
6. A seat position detection method characterized by, The application relates to a controller applied to a seat position detection system as claimed in any one of claims 1-5, the seat position detection system further comprising a slide rail assembly, a fixed part and a sliding part of the slide rail assembly, the sliding part comprising a contact bit, and the fixed part comprising a plurality of groups of data bits, and the method comprises the following steps: A first trigger signal generated by the contact between the contact bit and the data bit is collected every time, and the pre-set encoding information of the data bit is read; The encoding information is analyzed, and the seat position corresponding to the encoding information is obtained according to the pre-set correspondence between different data bits and seat positions; The position information read every time is calculated, and the total distance of the seat movement and the current position of the seat are outputted and recorded.
7. The method of claim 6, wherein, An identification bit is arranged between adjacent data bits; after starting to read the pre-set encoding information of the data bit, the method further comprises: stopping reading the encoding information when a second trigger signal generated by the contact between the contact bit and the identification bit is collected.
8. The method of claim 6, wherein, An identification bit is arranged between adjacent data bits; the identification bit and the data bit are patches with different lengths, the contact between the contact bit and the identification bit or the data bit generates a low-level signal; the method further comprises: judging a time range corresponding to the duration of the low-level signal; the time range includes a first time length when the contact bit slides over the data bit, and a second time length when the contact bit slides over the identification bit; starting to read the pre-set encoding information of the data bit every time a first trigger signal generated by the contact between the contact bit and the data bit is collected, comprising: starting to read the pre-set encoding information of the data bit every time the duration of the low-level signal corresponds to the first time length.
9. The method of claim 6, wherein, The pre-set correspondence between different data bits and seat positions includes: the percentage of the seat corresponding to different data bits moving from the starting point to the current position in the seat movement range; calculating the position information read each time, outputting and recording the total distance of seat movement and the current position of the seat, comprising: obtaining the percentage of the corresponding stop position of the seat when the seat moved last time in the seat movement range; calculating the difference between the percentage of the current position in the seat movement range and the percentage of the corresponding stop position of the seat when the seat moved last time in the seat movement range; obtaining the total distance of seat movement based on the product of the difference and the seat movement range, and obtaining the current position of the seat based on the product of the percentage of the current position in the seat movement range and the seat movement range.
10. A seat position detection device characterized by comprising: A controller arranged in the seat position detection system according to any one of claims 1-5; the device comprises: an information reading module for starting to read the pre-set encoding information of the data bit every time a first trigger signal generated by the contact between the contact bit and the data bit is collected; an analysis module for analyzing the encoding information to obtain the seat position corresponding to the encoding information based on the pre-set correspondence between different data bits and seat positions; a calculation module for calculating the position information read each time, outputting and recording the total distance of seat movement and the current position of the seat.
Citation Information
Patent Citations
Position-determining device for determining a position of a vehicle seat inside a vehicle, system, vehicle having a vehicle seat arranged inside the vehicle, and method for determining a position of a vehicle seat
CN107848442A