Vehicle exterior rearview mirror control methods, devices, vehicles and electronic equipment
Patent Information
- Application Number
- CN202511701370.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-19
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2045-11-19
AI Technical Summary
该方案虽能在一定程度上提高系统容错性,但仍存在明显局限:首先,其控制逻辑较为复杂,需依赖安全区域判定模块,并在横纵轴均可能参与多步调整,增加了系统复杂性与故障概率;其次,该方案未充分考虑电位器磨损导致的阻值漂移对信号采集精度的影响,未能从信号源头提升识别准确性,使得位置回归仍存在偏离风险
[0041]需要说明的是,第二方面至第六方面中的任一种实现方式所带来的技术效果可参见第一方面中对应实现方式所带来的技术效果,此处不再赘述。
Smart Images

Figure CN121291276B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, specifically to a method, device, vehicle, and electronic equipment for controlling vehicle exterior rearview mirrors. Background Technology
[0002] The memory function of car exterior rearview mirrors can quickly adjust the mirrors to a preset memory position and store it according to different drivers' sitting posture, height, and field of vision needs, greatly improving the convenience of driving. However, because the vehicle control system has high requirements for the hardware precision of the exterior rearview mirrors, and the hardware is inevitably subject to physical wear and tear during long-term use, system noise accumulation and control signal deviation can occur, causing the exterior rearview mirrors to fail to accurately return to the memory position.
[0003] Related technologies propose setting a safe adjustment zone and determining whether the current position of the exterior rearview mirror is within this zone when the memory function is invoked. If the current position exceeds the safe zone, the mirror lens is first moved to the center axis of the safe zone by driving the lateral and longitudinal motors in steps, and then returned to the memory position. While this solution can improve the system's fault tolerance to some extent, it still has significant limitations: First, its control logic is relatively complex, relying on a safe zone determination module and potentially involving multiple adjustments on both the lateral and longitudinal axes, increasing system complexity and the probability of failure; second, this solution does not fully consider the impact of potentiometer wear-induced resistance drift on signal acquisition accuracy, failing to improve recognition accuracy from the signal source, leaving the position return still at risk of deviation.
[0004] Therefore, how to solve the problem of the occasional inability of the exterior rearview mirror to accurately return to the memory position has become a key technical problem that the industry urgently needs to solve. Summary of the Invention
[0005] This application provides a method, device, vehicle, and electronic equipment for controlling vehicle exterior rearview mirrors, which can improve the accuracy of the exterior rearview mirrors returning to their memory positions.
[0006] To achieve the above objectives, the technical solution adopted in this application is as follows: According to a first aspect of this application, a method for controlling a vehicle's exterior rearview mirror is provided. The method includes: during the process of controlling the exterior rearview mirror to move towards a memorized position, determining whether a voltage change has occurred in the potentiometer based on its voltage value. If a voltage change occurs, correcting the voltage value to obtain a target voltage value. Using the target voltage value, controlling the exterior rearview mirror to move towards the memorized position.
[0007] Based on the aforementioned technical means, the traditional exterior rearview mirror memory control logic is as follows: first, the potentiometer voltage is read, then the exterior rearview mirror motor is driven to control the exterior rearview mirror to stop at the target voltage position corresponding to the memory position. If the potentiometer experiences a momentary contact failure (i.e., a voltage surge) due to long-term vibration and wear, dust intrusion, contact oxidation, etc., the voltage value read by the system will momentarily become abnormal. This may cause the system to misjudge that the exterior rearview mirror has reached or exceeded the memory position, thus prematurely stopping the exterior rearview mirror's movement or controlling it to move in the opposite direction, resulting in inaccurate positioning. Therefore, this application can proactively determine whether the potentiometer voltage value has experienced a sudden change, in order to identify interference sources in advance and avoid voltage surges being misjudged as normal position signals, thus blocking the generation of positioning deviations at the source. In the event of a voltage surge, the voltage value is corrected to eliminate voltage anomalies caused by mechanical jamming, poor contact, etc., thereby restoring the correspondence between the potentiometer's true voltage and the exterior rearview mirror position. Then, based on the corrected and precise voltage value, the exterior rearview mirror is controlled to move towards the memory position. This solution can solve the problem of memory position deviation caused by voltage fluctuations in traditional solutions, ensuring that the exterior rearview mirror can accurately return to the memory position.
[0008] In one possible approach, determining whether a voltage surge has occurred in the potentiometer based on its voltage value within the exterior rearview mirror includes: performing an analog-to-digital conversion on the voltage value to obtain an analog-to-digital (AD) value corresponding to the voltage value; determining the AD difference between the AD value and a first AD value corresponding to the voltage value of the potentiometer at a target time; wherein the target time is the most recent voltage acquisition time among the potentiometer's past voltage acquisition times; and determining that a voltage surge has occurred in the potentiometer if the absolute value of the AD difference is greater than a first preset AD threshold.
[0009] Based on the aforementioned technical means, this application selects the first AD value from the most recent past acquisition time as a comparison benchmark, which can reflect the real-time positional change trend of the exterior rearview mirror during movement and avoid misjudgment due to outdated benchmarks. Furthermore, by calculating the difference between adjacent acquisition times in real time, the instantaneous characteristics of voltage surges can be quickly captured, ensuring timely detection. By setting a first preset AD threshold to provide a clear judgment standard, misjudgments of minute voltage fluctuations (such as signal fluctuations caused by normal mechanical friction) as sudden changes can be avoided, improving detection accuracy.
[0010] In one possible approach, the voltage value is corrected to obtain a target voltage value, including: determining a voltage change trend based on the initial voltage value at the initial position during the movement of the exterior rearview mirror towards the memory position and the memory voltage value at the memory position; wherein the voltage change trend includes both rising and falling. Based on the voltage change trend, the AD value, and the first AD value, a target AD value is determined; wherein the target AD value is the AD value corresponding to the target voltage value after correction. The target AD value is then converted from digital to analog to obtain the target voltage value.
[0011] Based on the aforementioned technical means, the voltage change trend from the initial position to the memorized position (e.g., rising from low to high, falling from high to low) directly reflects the movement direction of the exterior rearview mirror (e.g., up / down, left / right). Therefore, by observing the voltage change trend, the voltage correction direction can be clearly defined, avoiding the correction direction from being opposite to the actual requirement due to sudden voltage changes (e.g., it should move closer to the memorized position, but due to incorrect correction, it moves further away), ensuring that the correction logic is consistent with the physical movement logic. Subsequently, using the first AD value (the most recent normal value) and the current AD value (the sudden change value), a reasonable target AD value corresponding to the current AD value is determined according to the voltage change trend. This eliminates sudden interference while maintaining the continuity of the exterior rearview mirror's position change (avoiding jumps after correction).
[0012] In one possible approach, the adjustment circuit type of the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, a target AD value is determined based on the voltage change trend, the AD value, and the first AD value, including: when the AD value is greater than or equal to the first AD value and the voltage change trend is upward, the sum of the first AD value and a first preset AD threshold is determined as the target AD value.
[0013] Based on the aforementioned technical means, when the voltage change trend is upward, the normal movement of the exterior rearview mirror should be accompanied by a steady increase in the AD value. If the AD value is greater than or equal to the first AD value (i.e., the direction of the sudden change is consistent with the trend) and the change amplitude is abnormal, it indicates that the voltage sudden change has not deviated from the trend direction, but only that the voltage amplitude jump is too large. At this time, the target AD value is determined by the sum of the first AD value and the first preset AD threshold. This not only conforms to the characteristics of the hardware circuit, but also avoids being misled by the abnormal amplitude of the sudden change, making the correction logic more accurate.
[0014] In one possible approach, the adjustment circuit type of the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, a target AD value is determined according to the voltage change trend, the AD value, and a first AD value, including: when the AD value is less than the first AD value and the voltage change trend is upward, determining the sum of the first AD value and a second preset AD threshold. The smaller value between the maximum allowable AD value and the sum is determined as the target AD value.
[0015] Based on the above technical means, when the voltage change trend is upward, the normal movement of the exterior rearview mirror should be accompanied by a steady increase in the AD value. However, in the pull-down resistor sampling circuit, the AD value may suddenly drop downward, that is, the AD value is less than the first AD value. This situation is a reverse sudden change (such as potentiometer contact jitter causing the resistance to suddenly decrease and the voltage to drop sharply).
[0016] In this situation, using the first AD value (the most recent normal state) as a benchmark and adding a second preset threshold allows the corrected value (i.e., the target AD value) to return to its upward trajectory, preventing the exterior rearview mirror's movement direction from deviating due to sudden reversals. The second preset AD threshold is set based on the rate of change of the AD value during normal movement. Its sum compensates for the deviation caused by sudden reversals without causing abrupt changes in the AD value due to excessive correction, ensuring smooth movement of the exterior rearview mirror without abrupt stops. Furthermore, the maximum permissible AD value corresponds to the mechanical limit position of the exterior rearview mirror. Determining the smaller of the maximum permissible AD value and the sum as the target AD value ensures that the corrected AD value will not exceed its range, preventing the exterior rearview mirror from attempting to exceed its mechanical limits and avoiding structural damage.
[0017] In one possible approach, the adjustment circuit type of the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, a target AD value is determined according to the voltage change trend, the AD value, and a first AD value, including: determining the difference between the first AD value and a third preset AD threshold when the AD value is greater than or equal to the first AD value and the voltage change trend is decreasing. The larger of the minimum allowable AD value and the difference is determined as the target AD value.
[0018] Based on the aforementioned technical means, when the voltage change trend is downward, the normal movement of the exterior rearview mirror should be accompanied by a steady decrease in the AD value. When the AD value is greater than or equal to the first AD value, it is considered a positive abrupt change (opposite to the downward trend, such as a sudden increase in resistance and a sharp rise in voltage caused by contact bounce). In this case, subtracting the third preset threshold from the first AD value (the most recent normal state) can pull the AD value back to its downward trajectory, preventing the exterior rearview mirror from moving in the opposite direction due to abrupt signal changes (e.g., it should move inward but extends outward due to a sudden increase in AD value). In addition, the pull-down resistor sampling circuit has a physical lower limit (the minimum allowable AD value, determined by the circuit zero-point drift and the minimum resolution of the ADC). If the difference is lower than this lower limit, it may cause abnormal motor drive signals (e.g., low voltage causing motor stall) or misjudgment as mechanical limit. Taking the larger value between the minimum allowable AD value and the difference can strictly limit the AD value within a safe range, avoiding circuit overload or abnormal stress on the mechanical structure.
[0019] In one possible approach, the adjustment circuit type of the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, a target AD value is determined based on the voltage change trend, the AD value, and the first AD value, including: when the AD value is less than the first AD value and the voltage change trend is decreasing, the difference between the first AD value and a first preset AD threshold is determined as the target AD value.
[0020] In one possible approach, correcting the voltage value to obtain the target voltage value further includes: given that the voltage value is the voltage value acquired at the last voltage acquisition moment in the voltage acquisition cycle of the potentiometer, determining the target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle; wherein, the target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle is the AD value corresponding to the correction value of the voltage value acquired at each voltage acquisition moment in the voltage acquisition cycle. The mean of the target AD values corresponding to each voltage acquisition moment in the voltage acquisition cycle is determined. A descending sequence of the deviations of the target AD values from the mean value corresponding to each voltage acquisition moment in the voltage acquisition cycle is determined. The mean of the first preset number of target AD values in the descending sequence is used to replace the AD value corresponding to the correction value of the voltage value to obtain the target AD value. The target AD value is then converted from digital to analog to obtain the target voltage value.
[0021] Based on the aforementioned technical means, multiple target AD values within the voltage acquisition cycle reflect the corrected state at different moments during the movement of the exterior rearview mirror. This application avoids the randomness of single-moment values by accumulating multiple target AD values, providing data support for subsequent statistical methods to remove outliers. Subsequently, by calculating the mean of each target AD value within the cycle and determining the deviation of each target AD value from the mean, the degree of deviation of a single AD value from the overall trend can be directly reflected. After sorting in descending order, the sample with the largest deviation can be quickly located. This application replaces the AD value corresponding to the voltage correction value with the mean of the first preset number of target AD values in descending order. This not only filters out residual abrupt changes that were not completely eliminated in the previous correction but also suppresses high-frequency random noise (such as electromagnetic interference from circuits and mechanical vibration of potentiometers), making the final target AD value closer to the true position of the exterior rearview mirror and solving the problem of random deviation that may exist in single-moment correction values.
[0022] In one possible approach, the exterior rearview mirror is controlled to move towards a memorized position using a target voltage value. This includes: determining the current position of the exterior rearview mirror using the target voltage value; and stopping the control of the exterior rearview mirror to move when the position difference between the current position and the memorized position is within a preset difference range.
[0023] Based on the aforementioned technical means, this application can determine the current position of the exterior rearview mirror in real time according to the target voltage value during the control of the exterior rearview mirror movement, thereby improving the accuracy of positioning. By calculating the current position in real time, the distance between the current position and the memorized position can be continuously monitored, providing real-time basis for subsequent stopping judgment, thus improving the accuracy of the exterior rearview mirror returning to the memorized position.
[0024] According to a second aspect provided in this application, a vehicle exterior rearview mirror control device is provided, the device comprising: a determining unit, a correcting unit, and a controlling unit.
[0025] The determining unit is used to determine whether a voltage change occurs in the potentiometer based on the voltage value of the potentiometer built into the exterior rearview mirror during the process of controlling the vehicle's exterior rearview mirror to move towards the memory position.
[0026] The correction unit is used to correct the voltage value in the event of a voltage change in the potentiometer, so as to obtain the target voltage value.
[0027] The control unit is used to control the exterior rearview mirror to move to the memory position using the target voltage value.
[0028] In one possible implementation, the determining unit includes: a first conversion subunit, a first determining subunit, and a second determining subunit. The first conversion subunit performs analog-to-digital conversion on the voltage value to obtain the corresponding AD value. The first determining subunit determines the AD difference between the AD value and a first AD value corresponding to the voltage value of the potentiometer at a target time; wherein the target time is the most recent voltage acquisition time among the potentiometer's past voltage acquisition times. The second determining subunit determines that a voltage surge has occurred in the potentiometer if the absolute value of the AD difference exceeds a first preset AD threshold.
[0029] In one possible implementation, the correction unit includes: a third determining subunit, a fourth determining subunit, and a second conversion subunit. The third determining subunit is used to determine a voltage change trend based on the initial voltage value of the initial position during the movement of the exterior rearview mirror towards the memory position and the memory voltage value of the memory position; wherein the voltage change trend includes both rising and falling values. The fourth determining subunit is used to determine a target AD value based on the voltage change trend, the AD value, and the first AD value; wherein the target AD value is the AD value corresponding to the target voltage value after correction. The second conversion subunit is used to perform digital-to-analog conversion on the target AD value to obtain the target voltage value.
[0030] In one possible approach, the adjustment circuit type of the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, the fourth determining subunit can specifically be used to determine the sum of the first AD value and the first preset AD threshold as the target AD value when the AD value is greater than or equal to the first AD value and the voltage change trend is upward.
[0031] In one possible approach, the adjustment circuit type for the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, the fourth determining subunit can be used to determine the sum of the first AD value and the second preset AD threshold when the AD value is less than the first AD value and the voltage change trend is upward. The smaller value between the maximum allowable AD value and the sum is determined as the target AD value.
[0032] In one possible approach, the adjustment circuit type for the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, the fourth determining subunit can specifically be used to determine the difference between the first AD value and a third preset AD threshold when the AD value is greater than or equal to the first AD value and the voltage change trend is decreasing. The larger of the minimum allowable AD value and the difference is determined as the target AD value.
[0033] In one possible approach, the adjustment circuit type of the exterior rearview mirror is a pull-down resistor sampling circuit. The fourth determining subunit can specifically be used to determine the difference between the first AD value and a first preset AD threshold as the target AD value when the AD value is less than the first AD value and the voltage change trend is decreasing.
[0034] In one possible embodiment, the correction unit includes: a fifth determining subunit, a sixth determining subunit, a seventh determining subunit, a correction subunit, and a second conversion subunit.
[0035] The fifth determining subunit is used to determine the target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle, given that the voltage value is the voltage value acquired at the last voltage acquisition moment of the voltage acquisition cycle of the potentiometer. The target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle is the AD value corresponding to the correction value of the voltage value acquired at each voltage acquisition moment in the voltage acquisition cycle. The sixth determining subunit is used to determine the mean of the target AD values corresponding to each voltage acquisition moment in the voltage acquisition cycle. The seventh determining subunit is used to determine a descending sequence of the deviations between the target AD values and the mean values corresponding to each voltage acquisition moment in the voltage acquisition cycle. The correction subunit is used to replace the AD value corresponding to the correction value of the voltage value with the mean of the first preset number of target AD values in the descending sequence to obtain the target AD value. The second conversion subunit is used to perform digital-to-analog conversion on the target AD value to obtain the target voltage value.
[0036] In one possible embodiment, the control unit includes an eighth determining subunit and a control subunit. The eighth determining subunit is used to determine the current position of the exterior rearview mirror using a target voltage value. The control subunit is used to stop controlling the movement of the exterior rearview mirror if the position difference between the current position and the memorized position is within a preset difference range.
[0037] According to a third aspect provided in this application, a vehicle is provided in which the vehicle uses the vehicle exterior rearview mirror control method of the first aspect described above to control the exterior rearview mirror.
[0038] According to a fourth aspect of this application, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions. The processor is configured to execute instructions to implement the vehicle exterior rearview mirror control method of the first aspect and any possible embodiment thereof.
[0039] According to the fifth aspect provided in this application, a computer-readable storage medium is provided, which, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the vehicle exterior rearview mirror control method of the first aspect and any possible implementation thereof.
[0040] According to the sixth aspect provided in this application, a computer program product is provided, the computer program product including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the vehicle exterior rearview mirror control method of the first aspect and any possible implementation thereof.
[0041] It should be noted that the technical effects of any of the implementation methods in aspects two through six can be found in the technical effects of the corresponding implementation methods in aspect one, and will not be repeated here.
[0042] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application will be described below.
[0044] Figure 1 This is a schematic diagram of a vehicle exterior rearview mirror control system provided in an embodiment of this application; Figure 2 A schematic diagram of a memory adjustment circuit for a vehicle exterior rearview mirror control system provided in an embodiment of this application; Figure 3 A flowchart illustrating a vehicle exterior rearview mirror control method provided in an embodiment of this application; Figure 4 A circuit diagram of an exterior rearview mirror adjustment circuit provided in an embodiment of this application; Figure 5 This application provides a schematic diagram of the original AD value change curve and the corrected AD value change curve of the potentiometer during the movement of the exterior rearview mirror. Figure 6 A flowchart illustrating another vehicle exterior rearview mirror control method provided in this application embodiment; Figure 7 This is a schematic diagram of a battery charge state determination device provided in an embodiment of this application; Figure 8 This is a block diagram of an electronic device provided in an embodiment of this application.
[0045] Explanation of reference numerals in the attached figures: 1-Parallel capacitor one; 2-Current limiting resistor; 3-Voltage divider pull-down resistor; 4-Parallel capacitor two; 5-Up / down potentiometer; 6-Left / right potentiometer; 7-Up / down potentiometer voltage divider resistor; 8-Left / right potentiometer voltage divider resistor; 9-Signal input / output voltage; 10-Ground wire. Detailed Implementation
[0046] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0047] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0048] In the embodiments of this application, the words "exemplary," "for example," or "for instance" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary," "for example," or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the words "exemplary," "for example," or "for instance" is intended to present the relevant concepts in a specific manner.
[0049] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0050] The vehicle exterior rearview mirror control method provided in this application embodiment can be applied to vehicles. Vehicles can also be referred to as vehicles, mobile carriers, electric vehicles (EVs), hybrid electric vehicles (HEVs), plug-in hybrid electric vehicles (PHEVs), fuel cell vehicles (FCVs), autonomous vehicles, intelligent and connected vehicles (ICVs), driverless vehicles, etc.
[0051] In this application, the vehicle can be a sedan, a sport utility vehicle (SUV), a truck, an electric vehicle, a motorcycle, a tricycle, a special vehicle (such as an ambulance, fire truck, police car, etc.), a driverless taxi, an intelligent connected bus, an autonomous logistics vehicle, an electric truck, etc. Furthermore, this method is also applicable to various special-purpose vehicles, such as agricultural vehicles, mining vehicles, forestry vehicles, airport vehicles, and port vehicles. This application does not impose specific limitations in this regard.
[0052] like Figure 1 As shown in the embodiment of this application, a vehicle exterior rearview mirror control system includes: a control module 101 and an exterior rearview mirror 102 deployed in a vehicle 100, and the control module 101 and the exterior rearview mirror 102 are communicatively connected.
[0053] The control module 101 may include a body domain controller (BDC), a body control module (BCM), a seat control unit (SCU), and a vehicle control unit (VCU), etc., which are not limited in this application.
[0054] The exterior rearview mirror 102 incorporates a built-in drive motor and a potentiometer. The drive motor provides power to control the rotation of the exterior rearview mirror lens; the potentiometer is connected to the rotation mechanism of the drive motor. When the drive motor rotates the lens, it also moves the brush of the potentiometer, thereby generating a voltage signal that can be used to reflect the position of the exterior rearview mirror 102.
[0055] In some embodiments, the user can activate the memory function of the exterior rearview mirror 102 by pressing the memory function setting button of the exterior rearview mirror 102. Accordingly, after receiving the signal to activate the memory function of the exterior rearview mirror 102, the control module 101 can determine the memory position corresponding to the user and the initial position of the exterior rearview mirror 102, and control the drive motor in the exterior rearview mirror 102 to operate, so as to control the exterior rearview mirror 102 to move from the initial position to the memory position.
[0056] During the process of controlling the exterior rearview mirror 102 to move towards the memory position, the potentiometer built into the exterior rearview mirror 102 can send its voltage value to the control module 101 in real time. Correspondingly, the control module 101 can determine whether a voltage change has occurred in the potentiometer based on its voltage value, and if a voltage change occurs, correct the voltage value to obtain the target voltage value. Then, the control module 101 can use the target voltage value to determine the current position of the exterior rearview mirror 102. If the position difference between the current position and the memory position is not within a preset difference range, the control module 102 can continue to control the exterior rearview mirror 102 to move towards the memory position; if the position difference between the current position and the memory position is within a preset difference range, the control module 101 stops controlling the movement of the exterior rearview mirror 102.
[0057] like Figure 2 As shown in the embodiment of this application, a memory adjustment circuit for a vehicle exterior rearview mirror control system may include: a control module 101, a parallel capacitor 1, a current-limiting resistor 2, a voltage divider pull-down resistor 3, a parallel capacitor 4, and an exterior rearview mirror 102. The circuit in the exterior rearview mirror 102 may include: a vertical potentiometer 5, a horizontal potentiometer 6, a vertical potentiometer voltage divider resistor 7, a horizontal potentiometer voltage divider resistor 8, a signal input / output voltage 9 (typically 5 volts (V)), and a ground wire (GND) 10.
[0058] In this embodiment, when the drive motor of the exterior rearview mirror 102 rotates the lens, it simultaneously moves the brushes of the up-down potentiometer 5 and the left-right potentiometer 6. Each mechanical angular position of the lens uniquely corresponds to a specific angular position of the potentiometer brush (sliding arm). According to the principle of resistor voltage division, the up-down potentiometer 5 and the left-right potentiometer 6 will output voltage signals S1 and S2 respectively. Then, voltage signals S1 and S2 can be transmitted to the control module 101 via a wiring harness.
[0059] Specifically, voltage signals S1 and S2 first flow through the voltage divider resistor 7 (up / down direction) or the voltage divider resistor 8 (left / right direction), respectively, and then through the wiring harness to the parallel capacitor 1. At this point, the voltage divider resistor and the capacitor together form a low-pass filter circuit, which effectively absorbs and filters out high-frequency interference noise coupled from the outside, making voltage signals S1 and S2 smooth and stable. Afterwards, voltage signals S1 and S2 can pass through the current-limiting resistor 2, the voltage divider pull-down resistor 3, and the parallel capacitor 4, respectively, and are finally transmitted to the control module 101. Accordingly, the control module 101 can control the exterior rearview mirror 102 to move towards the memory position based on the received voltage values of voltage signals S1 and S2.
[0060] For ease of understanding, the vehicle exterior rearview mirror control method provided in this application will be described in detail below with reference to the accompanying drawings.
[0061] like Figure 3 As shown in the embodiment of this application, a vehicle exterior rearview mirror control method includes: S301. During the process of controlling the vehicle's exterior rearview mirror to move to the memory position, determine whether a voltage change occurs in the potentiometer based on the voltage value of the potentiometer built into the exterior rearview mirror.
[0062] In some embodiments, the user can activate the memory function of the exterior rearview mirror by pressing the memory function setting button. Correspondingly, the control module can receive the exterior rearview mirror memory function activation signal sent from the vehicle controller, and upon receiving the signal, determine the initial position of the exterior rearview mirror and the user's corresponding memory position. If the position difference between the memory position and the initial position is not within a preset difference range, the module controls the drive motor in the exterior rearview mirror to operate, thereby driving the exterior rearview mirror to move towards the memory position.
[0063] During the movement of the exterior rearview mirror towards the memory position, the potentiometer built into the mirror sends its generated voltage value (i.e., voltage signal) to the control module in real time. Correspondingly, after receiving the voltage value, the control module performs analog-to-digital conversion on the voltage value using an analog-to-digital converter (ADC) to obtain the corresponding AD value. Then, the control module can determine the AD difference between the AD value and a first AD value corresponding to the potentiometer's voltage value at the target time. If the absolute value of the AD difference is greater than a first preset AD threshold, the control module can determine that a voltage surge has occurred in the potentiometer; if the absolute value of the AD difference is less than or equal to the first preset AD threshold, the control module can determine that no voltage surge has occurred in the potentiometer.
[0064] The target time is the most recent voltage acquisition time among the potentiometer's past voltage acquisition times. For example, if the potentiometer's voltage acquisition frequency is 10 milliseconds (ms), and voltage acquisition starts from 0ms, if the current time is 20ms, then the target time is 10ms; if the current time is 30ms, then the target time is 20ms.
[0065] Optionally, the first preset AD threshold can be determined based on the inherent characteristics of the exterior rearview mirror potentiometer. For example, if the fluctuation range of the AD value corresponding to the output voltage of the exterior rearview mirror potentiometer after its durability is between -33AD and +39AD, then the first preset AD threshold can be 50AD, 40AD, or 30AD, etc., without limitation.
[0066] Optionally, the voltage sampling frequency of the potentiometer can be set according to actual needs. For example, the voltage sampling frequency can be between 1ms and 100ms, without limitation.
[0067] Optionally, the ADC can be 12-bit or 8-bit, with no limitation on the number of bits. The number of bits determines the maximum number of discrete levels the ADC can divide the analog signal into. For example, if the ADC converter has 12 bits, its total number of levels (also known as the range) is between 0 and 4095; if the ADC converter has 8 bits, its range is between 0 and 255.
[0068] For example, assuming the first preset AD threshold is 40AD, if the AD value at the current time is 260AD and the AD value at the target time (i.e. the previous time) is 200AD, then the AD difference (60AD) between the AD value at the current time and the AD value at the target time is greater than 40AD, and the control module can determine that the potentiometer has experienced a voltage change.
[0069] S302. In the event of a sudden voltage change in the potentiometer, the voltage value is corrected to obtain the target voltage value.
[0070] In some embodiments, each physical angular position of the exterior rearview mirror uniquely corresponds to a specific voltage value or AD value. Based on this, the control module can determine the initial voltage value corresponding to the initial position and the memory voltage value corresponding to the memory position during the movement of the exterior rearview mirror towards the memory position. Then, the control module can determine the voltage change trend based on the initial voltage value and the memory voltage value. Next, the control module can determine the target AD value based on the voltage change trend, the AD value, and the first AD value, and perform digital-to-analog conversion on the target AD value using a digital-to-analog converter (DAC) to obtain the target voltage value.
[0071] The target AD value is the AD value corresponding to the target voltage value after the voltage value is corrected.
[0072] The voltage change trend includes both rising and falling. If the initial voltage value is greater than the memory voltage value, the voltage change trend of the potentiometer is falling; if the initial voltage value is less than the memory voltage value, the voltage change trend of the potentiometer is rising.
[0073] In this embodiment of the application, the adjustment circuit type of the exterior rearview mirror may include: a pull-down resistor sampling circuit and a pull-up resistor sampling circuit. For example... Figure 4 As shown, Figure 4 In the middle (a), the pull-down resistor sampling circuit has a reference voltage of 5V and GND is the ground (or zero potential reference point) of the pull-down resistor sampling circuit. Figure 4 In section (b), the pull-up resistor sampling circuit has a reference voltage of 5V, and GND is the ground (or zero potential reference point) of the pull-up resistor sampling circuit.
[0074] In the pull-down resistor sampling circuit, the presence of a pull-down resistor in the circuit may cause a sudden downward change in the voltage value of the potentiometer when it is transmitted back to the transmission module; in the pull-up resistor sampling circuit, the presence of a pull-up resistor in the circuit may cause a sudden upward change in the voltage value of the potentiometer when it is transmitted back to the transmission module.
[0075] In some embodiments, when the adjustment circuit type of the exterior rearview mirror is determined to be a pull-down resistor sampling circuit, the control module can determine the target AD value based on the voltage change trend, AD value and first AD value. The specific method can be referred to the description of the following embodiments, which will not be repeated here.
[0076] S303. Using the target voltage value, control the exterior rearview mirror to move towards the memory position.
[0077] In some embodiments, after determining the target voltage value of the potentiometer, the control module can determine the current position of the exterior rearview mirror based on the target voltage value. If the position difference between the current position and the memory position is not within a preset difference range, the control module can continue to control the exterior rearview mirror to move towards the memory position; if the position difference between the current position and the memory position is within the preset difference range, then the current position of the exterior rearview mirror has reached or is very close to the memory position, and therefore the control module can stop controlling the movement of the exterior rearview mirror.
[0078] Based on the above technical solution, this application can proactively determine whether the voltage value of the potentiometer undergoes a sudden change, thereby identifying interference sources in advance and preventing voltage sudden changes from being misinterpreted as normal position signals, thus blocking the generation of positioning deviations at the source. In the event of a voltage sudden change, the voltage value is corrected, and based on the corrected precise voltage value, the exterior rearview mirror is controlled to move towards the memory position. This solution solves the memory position deviation problem caused by voltage sudden changes in traditional solutions, ensuring that the exterior rearview mirror can accurately return to the memory position.
[0079] In one optional implementation, the voltage change trend in S302 above may include both rising and falling. The following describes in detail the method of "determining the target AD value based on the voltage change trend, the AD value, and the first AD value" in S302, taking 1) a rising voltage change trend and 2) a falling voltage change trend as examples.
[0080] 1. The voltage change trend is upward.
[0081] In some embodiments, when the AD value is greater than or equal to the first AD value and the voltage change trend is upward, the control module can determine the sum of the first AD value and the first preset AD threshold as the target AD value.
[0082] For example, if the AD value (i.e. the AD value at the current moment) is 200, the first AD value (i.e. the AD value at the previous moment) is 150, and the first preset AD threshold is 40AD, then the target AD value is 150AD + 40AD = 190AD.
[0083] In some embodiments, when the AD value is less than a first AD value and the voltage change trend is upward, the control module can determine the sum of the first AD value and a second preset AD threshold. Then, the control module can determine the smaller of the maximum allowable AD value and the sum as the target AD value.
[0084] The second preset AD threshold can be determined based on the inherent characteristics of the potentiometer. For example, under conditions of 13.5V and 25 degrees Celsius, the voltage change rate of the potentiometer is approximately 4.8 millivolts (mV) / 10ms. After analog-to-digital conversion by a 12-bit ACD, the change rate of the AD value corresponding to the voltage value is approximately 4AD / 10ms. Based on this, the second preset AD threshold can be 2AD, 3AD, or 4AD, etc., without limitation.
[0085] The maximum permissible AD value is related to the number of bits (B) in the ACD function, meaning the maximum permissible AD value is equal to 2. B For example, with a 12-bit ACD, the maximum allowed AD value is 4095; with an 8-bit ACD, the maximum allowed AD value is 255.
[0086] For example, suppose the maximum allowed AD value is 4095 and the second preset AD threshold is 2AD. In this case, if the AD value (i.e., the AD value at the current moment) is 140 and the first AD value (i.e., the AD value at the previous moment) is 200, then the target AD value is 140AD + 2AD = 142AD; if the AD value (i.e., the AD value at the current moment) is 4034 and the first AD value (i.e., the AD value at the previous moment) is 4094, the sum of the first AD value and the second preset AD threshold is 4096, which exceeds the maximum allowed AD value of 4095. In this case, the maximum allowed AD value of 4095 is determined as the target AD value.
[0087] 2. The voltage change trend is downward.
[0088] In some embodiments, when the AD value is greater than or equal to a first AD value and the voltage change trend is decreasing, the control module can determine the difference between the first AD value and a third preset AD threshold. Then, the control module can determine the larger of the minimum allowable AD value and the difference as the target AD value.
[0089] The third preset AD threshold can be determined based on the inherent characteristics of the potentiometer. The basis for determining the third preset AD threshold can refer to the description of the second preset AD threshold above, and will not be repeated here. For example, the third preset AD threshold can be 3AD, 4AD, or 5AD, etc., without limitation.
[0090] The minimum allowed AD value is 0AD.
[0091] For example, if the AD value (i.e. the AD value at the current moment) is 200, the first AD value (i.e. the AD value at the previous moment) is 150, and the third preset AD threshold is 4AD, then the target AD value is 150AD-4AD=146AD.
[0092] In some embodiments, when the AD value is less than the first AD value and the voltage change trend is decreasing, the control module can determine the difference between the first AD value and the first preset AD threshold as the target AD value.
[0093] For example, if the AD value (i.e. the AD value at the current moment) is 200, the first AD value (i.e. the AD value at the previous moment) is 260, and the first preset AD threshold is 40AD, then the target AD value is 260AD-40AD=220AD.
[0094] Based on the above technical solution, the voltage change trend from the initial position to the memory position (e.g., rising from low to high, falling from high to low) directly reflects the movement direction of the exterior rearview mirror (e.g., up / down, left / right). Therefore, this application can clearly define the voltage correction direction through the voltage change trend, avoiding the correction direction from being opposite to the actual requirement due to voltage abrupt changes (e.g., it should move closer to the memory position, but moves further away due to incorrect correction), ensuring that the correction logic is consistent with the physical movement logic. Subsequently, by using the first AD value (the most recent normal value) and the current AD value (the abrupt change value), a reasonable target AD value corresponding to the current AD value is determined according to the voltage change trend. This can both eliminate abrupt interference and maintain the continuity of the exterior rearview mirror position change (avoiding jumps after correction).
[0095] In some embodiments, when the voltage value is the voltage value acquired at the last voltage acquisition moment of the potentiometer's voltage acquisition cycle, the control module can determine the target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle. Then, the control module can determine the mean of the target AD values corresponding to each voltage acquisition moment in the voltage acquisition cycle, and determine a descending sequence of the deviations of the target AD values from the mean for each voltage acquisition moment in the voltage acquisition cycle. Next, the control module can use the mean of the first preset number of target AD values in the descending sequence to replace the AD value corresponding to the voltage value correction, thus obtaining the target AD value. Finally, the control module can perform digital-to-analog conversion on the target AD value using a DAC to obtain the target voltage value.
[0096] Among them, the target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle is the AD value corresponding to the correction value of the voltage value acquired at each voltage acquisition moment in the voltage acquisition cycle.
[0097] Optionally, the voltage acquisition period can be set according to actual needs. For example, if the voltage acquisition frequency of the potentiometer is 10ms, the voltage acquisition period can be 50ms, 60ms, or 70ms, etc.
[0098] Optionally, the preset number can be set according to actual needs. For example, the preset number can be 1 / 2, 1 / 3, or 1 / 4 of the total number in the descending sequence, etc., and there is no limitation on this.
[0099] For example, assuming that in the first voltage acquisition cycle from 0ms to 60ms, the control module can refer to the method described in the above embodiment to determine the target AD value corresponding to each voltage acquisition moment in this voltage acquisition cycle. For example, the target AD value corresponding to voltage acquisition moment 10ms in this voltage acquisition cycle is A, the target AD value corresponding to voltage acquisition moment 20ms is B, the target AD value corresponding to voltage acquisition moment 30ms is C, the target AD value corresponding to voltage acquisition moment 40ms is D, the target AD value corresponding to voltage acquisition moment 50ms is E, and the target AD value corresponding to voltage acquisition moment 60ms is F.
[0100] Based on the above, the control module can determine the mean G of A, B, C, D, E, and F. Then, the control module can determine the deviation values between A, B, C, D, E, and F and the mean G, respectively, and arrange these deviation values in descending order to obtain a descending sequence. The higher the ranking in the descending sequence, the larger the absolute value of the difference between the target AD value and the mean G.
[0101] At this time, if the preset number is 3, and the first 3 in the descending sequence are A, B, and C, the control module can replace the AD value (i.e., F) corresponding to the voltage correction value with the average of A, B, and C to obtain the target AD value. That is, the target AD value at the voltage acquisition time of 60ms is the average of A, B, and C.
[0102] In one example, such as Figure 5 As shown in the figure, this application embodiment provides a schematic diagram of the original AD value change curve and the corrected AD value change curve of the potentiometer during the movement of the exterior rearview mirror position. Figure 5 In the diagram, the horizontal axis represents the voltage acquisition time in milliseconds (ms), and the vertical axis represents the AD value in AD.
[0103] Based on the above technical solution, multiple target AD values within the voltage acquisition cycle reflect the corrected state at different moments during the movement of the exterior rearview mirror. This application avoids the randomness of a single moment value by accumulating multiple target AD values, providing data support for subsequent statistical methods to remove outliers. Then, by calculating the mean of each target AD value within the cycle and determining the deviation of each target AD value from the mean, the degree of deviation of a single AD value from the overall trend can be directly reflected. After sorting in descending order, the sample with the largest deviation can be quickly located. This application replaces the AD value corresponding to the voltage correction value with the mean of the first preset number of target AD values in descending order. This not only filters out residual abrupt changes that were not completely eliminated in the previous correction but also suppresses high-frequency random noise (such as electromagnetic interference from circuits and mechanical vibration of potentiometers), making the final target AD value closer to the true position of the exterior rearview mirror, thus solving the problem of random deviation that may exist in a single moment correction value.
[0104] The following will describe in detail, in conjunction with the above embodiments, the specific method for correcting the voltage value in the determination S302 to obtain the target voltage value. For example... Figure 6 As shown, the method specifically includes: S601. Determine the voltage change trend based on the initial voltage value of the initial position of the exterior rearview mirror and the memory voltage value of the memory position.
[0105] If the initial voltage value is greater than the memory voltage value, the voltage change trend is decreasing; if the initial voltage value is less than the memory voltage value, the voltage change trend is increasing.
[0106] S602. Determine whether the voltage change trend is upward. If yes, proceed to S603; otherwise, proceed to S607.
[0107] S603. Determine whether the AD value is greater than or equal to the first AD value. If yes, proceed to S604; otherwise, proceed to S605.
[0108] S604. The sum of the first AD value and the first preset AD threshold is determined as the target AD value.
[0109] S605. Determine the sum of the first AD value and the second preset AD threshold.
[0110] S606. The smaller of the maximum permissible AD value and the summation value is determined as the target AD value.
[0111] S607. Determine whether the AD value is greater than or equal to the first AD value. If yes, proceed to S608; otherwise, proceed to S610.
[0112] S608. Determine the difference between the first AD value and the third preset AD threshold.
[0113] S609. The larger of the minimum allowable AD value and the difference is determined as the target AD value.
[0114] S610. The difference between the first AD value and the first preset AD threshold is determined as the target AD value.
[0115] like Figure 7 As shown in the figure, a vehicle exterior rearview mirror control device provided in this application includes: a determination unit 701, a correction unit 702, and a control unit 703.
[0116] The determining unit 701 is used to determine whether a voltage change occurs in the potentiometer based on the voltage value of the potentiometer built into the exterior rearview mirror during the process of controlling the exterior rearview mirror to move towards the memory position.
[0117] The correction unit 702 is used to correct the voltage value in the event of a voltage change in the potentiometer to obtain the target voltage value.
[0118] The control unit 703 is used to control the exterior rearview mirror to move to the memory position using the target voltage value.
[0119] In one possible embodiment, the determining unit 701 includes: a first conversion subunit, a first determining subunit, and a second determining subunit. The first conversion subunit is used to perform analog-to-digital conversion on the voltage value to obtain the corresponding AD value. The first determining subunit is used to determine the AD difference between the AD value and a first AD value corresponding to the voltage value of the potentiometer at a target time; wherein the target time is the most recent voltage acquisition time among the potentiometer's past voltage acquisition times. The second determining subunit is used to determine that a voltage surge has occurred in the potentiometer if the absolute value of the AD difference is greater than a first preset AD threshold.
[0120] In one possible embodiment, the correction unit 702 includes: a third determining subunit, a fourth determining subunit, and a second conversion subunit. The third determining subunit is used to determine a voltage change trend based on the initial voltage value of the initial position during the movement of the exterior rearview mirror towards the memory position and the memory voltage value of the memory position; wherein the voltage change trend includes both rising and falling. The fourth determining subunit is used to determine a target AD value based on the voltage change trend, the AD value, and the first AD value; wherein the target AD value is the AD value corresponding to the target voltage value after correction. The second conversion subunit is used to perform digital-to-analog conversion on the target AD value to obtain the target voltage value.
[0121] In one possible approach, the adjustment circuit type of the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, the fourth determining subunit can specifically be used to determine the sum of the first AD value and the first preset AD threshold as the target AD value when the AD value is greater than or equal to the first AD value and the voltage change trend is upward.
[0122] In one possible approach, the adjustment circuit type for the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, the fourth determining subunit can be used to determine the sum of the first AD value and the second preset AD threshold when the AD value is less than the first AD value and the voltage change trend is upward. The smaller value between the maximum allowable AD value and the sum is determined as the target AD value.
[0123] In one possible approach, the adjustment circuit type for the exterior rearview mirror is a pull-down resistor sampling circuit. Based on this, the fourth determining subunit can specifically be used to determine the difference between the first AD value and a third preset AD threshold when the AD value is greater than or equal to the first AD value and the voltage change trend is decreasing. The larger of the minimum allowable AD value and the difference is determined as the target AD value.
[0124] In one possible approach, the adjustment circuit type of the exterior rearview mirror is a pull-down resistor sampling circuit. The fourth determining subunit can specifically be used to determine the difference between the first AD value and a first preset AD threshold as the target AD value when the AD value is less than the first AD value and the voltage change trend is decreasing.
[0125] In one possible embodiment, the correction unit 702 includes: a fifth determining subunit, a sixth determining subunit, a seventh determining subunit, a correction subunit, and a second conversion subunit.
[0126] The fifth determining subunit is used to determine the target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle, given that the voltage value is the voltage value acquired at the last voltage acquisition moment of the voltage acquisition cycle of the potentiometer. The target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle is the AD value corresponding to the correction value of the voltage value acquired at each voltage acquisition moment in the voltage acquisition cycle. The sixth determining subunit is used to determine the mean of the target AD values corresponding to each voltage acquisition moment in the voltage acquisition cycle. The seventh determining subunit is used to determine a descending sequence of the deviations between the target AD values and the mean values corresponding to each voltage acquisition moment in the voltage acquisition cycle. The correction subunit is used to replace the AD value corresponding to the correction value of the voltage value with the mean of the first preset number of target AD values in the descending sequence to obtain the target AD value. The second conversion subunit is used to perform digital-to-analog conversion on the target AD value to obtain the target voltage value.
[0127] In one possible embodiment, the control unit 703 includes an eighth determining subunit and a control subunit. The eighth determining subunit is used to determine the current position of the exterior rearview mirror using a target voltage value. The control subunit is used to stop controlling the movement of the exterior rearview mirror if the position difference between the current position and the memorized position is within a preset difference range.
[0128] like Figure 8 As shown in the embodiments of this application, an electronic device includes, but is not limited to, a processor 801 and a memory 802.
[0129] The aforementioned memory 802 is used to store the executable instructions of the processor 801. It is understood that the processor 801 is configured to execute instructions to implement the vehicle exterior rearview mirror control method in the above embodiment.
[0130] It should be noted that those skilled in the art will understand that Figure 8 The electronic device structure shown does not constitute a limitation on the electronic device; the electronic device may include, but is not limited to, other electronic devices. Figure 8 This may indicate more or fewer components, or a combination of certain components, or a different arrangement of components.
[0131] The processor 801 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 802, and by calling data stored in the memory 802, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 801 may include one or more processing units. Optionally, the processor 801 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 801.
[0132] The memory 802 can be used to store software programs and various data. The memory 802 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one functional module (such as a determination unit, processing unit, etc.), etc. Furthermore, the memory 802 may include high-speed random access memory and may also include non-volatile memory. For example, the non-volatile memory may include at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.
[0133] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 802 including instructions, which can be executed by a processor 801 of an electronic device to implement the methods in the above embodiments.
[0134] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0135] In an exemplary embodiment, this application also provides a computer program product including one or more instructions, which can be executed by a processor 801 of an electronic device to perform the methods described above.
[0136] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor of an electronic device, they implement the various processes of the above method embodiments and achieve the same technical effect as the above method. To avoid repetition, they will not be described again here.
[0137] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0138] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or 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 apparatus, or some features may be ignored or not executed. Furthermore, the mutual 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.
[0139] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0140] Furthermore, the functional units in the various embodiments of this application 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 as a software functional unit.
[0141] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0142] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A vehicle outside mirror control method characterized by, The vehicle exterior rearview mirror control method includes: During the process of controlling the vehicle's exterior rearview mirror to move towards the memory position, it is determined whether the potentiometer experiences a voltage change based on the voltage value of the potentiometer built into the exterior rearview mirror; In the event of a sudden voltage change in the potentiometer, the voltage change trend is determined based on the initial voltage value at the initial position during the movement of the exterior rearview mirror toward the memory position and the memory voltage value at the memory position; wherein, the voltage change trend includes both rising and falling. Based on the voltage change trend, the AD value corresponding to the voltage value, and the first AD value, a target AD value is determined; wherein, the target AD value is the AD value corresponding to the target voltage value after correction of the voltage value; wherein, the AD value is obtained by performing analog-to-digital conversion on the voltage value; The target AD value is converted from digital to analog to obtain the target voltage value; Using the target voltage value, control the exterior rearview mirror to move towards the memory position; The process of determining whether the potentiometer experiences a voltage surge includes: The voltage value is converted from analog to digital to obtain the corresponding AD value; Determine the AD difference between the AD value and the first AD value corresponding to the voltage value of the potentiometer at the target time; wherein, the target time is the most recent voltage acquisition time among the past voltage acquisition times of the potentiometer; If the absolute value of the AD difference is greater than a first preset AD threshold, it is determined that the potentiometer has experienced a voltage change; wherein, the first preset AD threshold is determined based on the inherent characteristics of the potentiometer. The adjustment circuit of the exterior rearview mirror is a pull-down resistor sampling circuit. Determining the target AD value based on the voltage change trend, the AD value, and the first AD value includes: When the AD value is greater than or equal to the first AD value and the voltage change trend is upward, the sum of the first AD value and the first preset AD threshold is determined as the target AD value.
2. The vehicle outside mirror control method according to claim 1, characterized by, The step of determining the target AD value based on the voltage change trend, the AD value, and the first AD value further includes: If the AD value is less than the first AD value and the voltage change trend is upward, determine the sum of the first AD value and the second preset AD threshold. The smaller of the maximum allowable AD value and the summation value is determined as the target AD value.
3. The vehicle outside mirror control method according to claim 1, characterized by, The step of determining the target AD value based on the voltage change trend, the AD value, and the first AD value further includes: If the AD value is greater than or equal to the first AD value and the voltage change trend is decreasing, the difference between the first AD value and the third preset AD threshold is determined. The larger of the minimum allowable AD value and the difference is determined as the target AD value.
4. The vehicle outside mirror control method according to claim 1, characterized by The step of determining the target AD value based on the voltage change trend, the AD value, and the first AD value further includes: When the AD value is less than the first AD value and the voltage change trend is decreasing, the difference between the first AD value and the first preset AD threshold is determined as the target AD value.
5. The vehicle outside mirror control method according to claim 1, characterized by, The step of performing digital-to-analog conversion on the target AD value to obtain the target voltage value further includes: Given that the voltage value is the voltage value acquired at the last voltage acquisition moment in the voltage acquisition cycle of the potentiometer, the target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle is determined; wherein, the target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle is the AD value corresponding to the correction value of the voltage value acquired at each voltage acquisition moment in the voltage acquisition cycle; Determine the average value of the target AD value corresponding to each voltage acquisition moment in the voltage acquisition cycle; Determine a descending sequence of the deviations between the target AD value and the mean value at each voltage acquisition moment in the voltage acquisition cycle; The target AD value is obtained by replacing the AD value corresponding to the correction value of the voltage value with the mean of the first preset number of target AD values in the descending sequence; The target AD value is converted from digital to analog to obtain the target voltage value.
6. The vehicle outside mirror control method according to claim 1, characterized by The step of controlling the exterior rearview mirror to move towards the memory position using the target voltage value includes: The current position of the exterior rearview mirror is determined using the target voltage value; If the position difference between the current position and the memory position is within a preset difference range, stop controlling the movement of the exterior rearview mirror.
7. A vehicle exterior rearview mirror control device, characterized in that, The vehicle exterior rearview mirror control device includes: The determining unit is used to determine whether a voltage change occurs in the potentiometer based on the voltage value of the potentiometer built into the exterior rearview mirror during the process of controlling the vehicle's exterior rearview mirror to move towards the memory position. The correction unit is configured to determine a voltage change trend based on the initial voltage value of the initial position during the movement of the exterior rearview mirror toward the memory position and the memory voltage value of the memory position, in the event of a sudden voltage change in the potentiometer; wherein the voltage change trend includes both rising and falling. The correction unit is further configured to determine a target AD value based on the voltage change trend, the AD value corresponding to the voltage value, and a first AD value; wherein the target AD value is the AD value corresponding to the target voltage value after correction; wherein the AD value is obtained by performing analog-to-digital conversion on the voltage value; The correction unit is also used to perform digital-to-analog conversion on the target AD value to obtain the target voltage value; A control unit is used to control the exterior rearview mirror to move toward the memory position using the target voltage value; The determining unit is further configured to perform analog-to-digital conversion on the voltage value to obtain the AD value corresponding to the voltage value; The determining unit is further configured to determine the AD difference between the AD value and the first AD value corresponding to the voltage value of the potentiometer at the target time; wherein, the target time is the most recent voltage acquisition time among the past voltage acquisition times of the potentiometer; The determining unit is further configured to determine that the potentiometer has experienced a voltage change when the absolute value of the AD difference is greater than a first preset AD threshold; wherein the first preset AD threshold is determined based on the inherent characteristics of the potentiometer. The adjustment circuit of the exterior rearview mirror is a pull-down resistor sampling circuit. The correction unit is also used to determine the sum of the first AD value and the first preset AD threshold as the target AD value when the AD value is greater than or equal to the first AD value and the voltage change trend is upward.
8. A vehicle, characterized in that, The vehicle uses the vehicle exterior rearview mirror control method as described in any one of claims 1-6 to control the exterior rearview mirror.
9. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the vehicle exterior rearview mirror control method as described in any one of claims 1-6.
Citation Information
Patent Citations
Power memory seat and mirror control system
CA1262379A
Automobile rearview mirror with memory function
CN202944257U