Rearview mirror synchronous control method and device, vehicle and medium
By determining the network channel status upon receiving a rearview mirror control command and sending the control command while the communication bus is operational, synchronous control of the car's rearview mirrors is achieved, solving the synchronization problem of the left and right rearview mirrors and improving the convenience and practicality of control.
Patent Information
- Application Number
- CN202511268320.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-05
- Publication Date
- 2025-11-18
AI Technical Summary
In existing technology, the left and right sides of a car's rearview mirror cannot be folded or unfolded synchronously when the bus is in a dormant state, resulting in inconsistent control.
When the first controller receives a rearview mirror control command, it determines the network channel status and sends the control command to the second controller when the communication bus is in working condition, so as to achieve synchronous control of the left and right rearview mirrors.
It improves the convenience and practicality of synchronized control of rearview mirrors and solves the technical problem that the left and right rearview mirrors cannot be synchronized when folding or unfolding.
Smart Images

Figure CN120963533A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive technology, specifically to a rearview mirror synchronization control method, device, vehicle, and medium. Background Technology
[0002] With the increasing prevalence of electronic devices in automobiles, rearview mirror adjustment functions have been incorporated into more and more vehicles. Currently, cars typically have a left-side controller and a right-side controller to implement the rearview mirror adjustment function. Specifically, the left-side controller can control the folding or unfolding of the left rearview mirror. The main control is located in the left-side controller, which sends folding or unfolding commands to the right-side controller via a bus. After receiving the folding or unfolding command, the right-side controller can control the folding or unfolding of the right rearview mirror.
[0003] However, in practice, it was found that when the bus is in sleep mode, the right domain controller cannot obtain the folding or unfolding command of the rearview mirror, while the left domain controller is not affected by the bus sleep mode, resulting in the problem that the folding or unfolding of the left and right rearview mirrors cannot be synchronized. Summary of the Invention
[0004] In view of this, the embodiments of this application aim to provide a rearview mirror synchronization control method, device, equipment and medium, which can solve the technical problem that the left and right rearview mirrors cannot be synchronized when folding or unfolding in the prior art.
[0005] In a first aspect, this application provides a rearview mirror synchronization control method, applied to a first controller, the method comprising: Upon receiving a control command from the rearview mirror, the network channel status corresponding to the first controller is determined; When the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, the control command is sent to the second controller to synchronously control the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command.
[0006] In this embodiment, when the network channel status indicates that the communication bus between the first controller and the second controller is in operation, the first controller can synchronously send the control command for the rearview mirror to the second controller. Based on this control command, the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller are synchronously controlled, thus achieving synchronous control of different side rearview mirrors. For example, the first controller can be a left-side controller, used to control the folding or unfolding of the left rearview mirror; the second controller can be a right-side controller, used to control the folding or unfolding of the right rearview mirror. This embodiment achieves synchronous control of the left and right rearview mirrors, improving the convenience and practicality of synchronous rearview mirror control while solving the technical problem of asynchronous folding or unfolding of left and right rearview mirrors in the prior art.
[0007] In some embodiments, before sending the first control command to the second controller, the method further includes: Determine whether the network communication status is a preset status within a preset time period; When the network communication state is a preset state, it is determined that the network communication state indicates that the communication bus between the first controller and the second controller is in a working state.
[0008] In this embodiment, the network channel status can be continuously checked within a preset time period to determine whether it is in a preset state. If the network communication status is in a preset state, it can be determined that the network communication status indicates that the communication bus between the first controller and the second controller is in a working state; otherwise, it can be determined that the network communication status indicates that the communication between the first controller and the second controller is in a non-working state, such as a sleep state. By determining whether the network communication status is in a preset state, it is determined whether the network communication status indicates that the communication between the first controller and the second controller is in a working state. This allows for a simple status check to determine whether the two controllers can communicate normally, which is beneficial to improving the convenience of subsequent rearview mirror synchronization control. Furthermore, continuously and repeatedly detecting and determining the network channel status within the preset time period helps to improve the success rate and reliability of subsequent rearview mirror synchronization control.
[0009] In some embodiments, the first controller is used to control the folding or unfolding of the first side rearview mirror by controlling the rotation information of the first motor, and the second controller is used to control the folding or unfolding of the second side rearview mirror by controlling the rotation information of the second motor. The synchronous control further includes: The second motor is received from the second controller, and the rotation information includes at least one of rotation angle, rotation speed and rotation time. When the rotation information of the first motor and the rotation information of the second motor are inconsistent, the rotation information of the first motor is adjusted based on the rotation information of the second motor to achieve synchronous control of the first side rearview mirror and the second side rearview mirror.
[0010] In this embodiment, the first controller adjusts the rotation information of the first motor by using the rotation information of the second motor, so that the first motor and the second motor have the same rotation information, thereby realizing the synchronous control of the first side rearview mirror and the second side rearview mirror, which can improve the accuracy and reliability of the rearview mirror synchronous control.
[0011] In some embodiments, the rotation information includes rotation speed, and adjusting the rotation information of the first motor based on the rotation information of the second motor includes: When the rotational speed of the first motor is greater than that of the second motor, the rotational speed of the first motor is reduced by decreasing the duty cycle of the pulse width modulation (PWM) signal of the first motor, thereby making the first motor and the second motor have the same rotational speed; or, When the rotational speed of the first motor is less than that of the second motor, the rotational speed of the first motor is increased by increasing the duty cycle of the pulse width modulation (PWM) signal of the first motor, so that the first motor and the second motor have the same rotational speed.
[0012] In this embodiment, when the rotational speed of the first motor is greater than that of the second motor, the PWM duty cycle of the first motor can be reduced to decrease the rotational speed of the first motor; when the rotational speed of the first motor is less than that of the second motor, the PWM duty cycle of the first motor can be increased to increase the rotational speed of the first motor, so that the first motor and the second motor have the same rotational speed, thereby realizing the synchronous control of the first side rearview mirror and the second side rearview mirror, which can improve the accuracy and reliability of the rearview mirror synchronous control.
[0013] In some embodiments, the method further includes: The vehicle voltage of the vehicle where the first controller is located is obtained, and the vehicle voltage is used to affect the rotation information of the first motor and the second motor respectively; The rotation information of the first motor and the second motor is synchronously controlled based on the vehicle voltage.
[0014] In this embodiment, the first controller can synchronize the rotation information of the first motor and the second motor based on the vehicle voltage, so that the first motor and the second motor have the same rotation information, thereby realizing the synchronized control of the first side rearview mirror and the second side rearview mirror. This helps to improve the accuracy and reliability of the synchronized control of the rearview mirror.
[0015] In some embodiments, the synchronous control of the rotation information of the first motor and the second motor based on the vehicle voltage includes: When the vehicle voltage increases, the rotational speeds of the first motor and the second motor are increased simultaneously; or, When the vehicle voltage decreases, the rotational speeds of the first motor and the second motor are reduced simultaneously.
[0016] In this embodiment, when the vehicle voltage increases, the rotation speeds of the first motor and the second motor can be increased simultaneously; conversely, when the vehicle voltage decreases, the rotation speeds of the first motor and the second motor can be decreased simultaneously, so that the two motors have the same rotation speed, thereby achieving synchronous control of the rearview mirrors on both sides. This also improves the accuracy and reliability of the synchronous control of the rearview mirrors.
[0017] In some embodiments, the method further includes: When the rotation time of the target motor is detected to reach the corresponding preset safety threshold, the target motor is controlled to stop rotating. The target motor includes the first motor and / or the second motor.
[0018] In this embodiment, when the rotation time of the target motor reaches the corresponding preset safety threshold, the target motor can be controlled to stop rotating to ensure the safety of the target motor, not affect the service life of the target motor, and also improve the practicality of the rearview mirror synchronous control.
[0019] Secondly, this application provides a rearview mirror synchronization control device, comprising: The processing module is used to determine the network channel status corresponding to the first controller when it receives the control command of the rearview mirror; The communication module is used to send the control command to the second controller when the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, so as to perform synchronous control on the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command.
[0020] For any content not introduced or described in the embodiments of this application, please refer to the relevant descriptions in the foregoing method embodiments; they will not be repeated here.
[0021] Thirdly, this application provides a vehicle, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the above-described rearview mirror synchronization control method.
[0022] Fourthly, this application provides a computer-readable storage medium storing computer program instructions thereon, which, when executed by a processor, implement the steps of the above-described rearview mirror synchronization control method.
[0023] The technical solution provided in this application embodiment can include the following beneficial effects: When receiving a control command for the rearview mirror, this application determines the network channel status corresponding to the first controller; when the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, the control command is sent to the second controller to synchronously control the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command. Thus, when the first controller determines that the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, it can send the control command for the rearview mirror to the second controller, thereby synchronously controlling the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command, such as synchronously controlling the folding or unfolding of the first and second side rearview mirrors respectively. This not only improves the convenience and practicality of rearview mirror synchronous control, but also solves the technical problem in the prior art that the folding or unfolding of the left and right rearview mirrors cannot be synchronized.
[0024] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0025] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings.
[0026] Figure 1 This is a partial structural diagram of a vehicle provided in an embodiment of this application.
[0027] Figure 2 This is a flowchart illustrating a rearview mirror synchronization control method provided in an embodiment of this application.
[0028] Figure 3This is a schematic diagram of a rearview mirror synchronization control device provided in an embodiment of this application.
[0029] Figure 4 This is a schematic diagram of another rearview mirror synchronization control device provided in an embodiment of this application.
[0030] Figure 5 This is a structural schematic diagram of a vehicle provided in an embodiment of this application. Detailed Implementation
[0031] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0032] Unless otherwise defined, the technical or scientific terms used in the embodiments of this specification shall have the ordinary meaning understood by one of ordinary skill in the art to which this specification pertains. The terms "first," "second," and similar terms used in the embodiments of this specification do not indicate any order, quantity, or importance, but are merely used to avoid confusion of constituent elements.
[0033] Unless the context otherwise requires, throughout this specification, "a plurality of" means "at least two," and "including" is interpreted as open-ended or encompassing, that is, "including, but not limited to." In the description of this specification, terms such as "one embodiment," "some embodiments," "exemplary embodiment," "example," "specific example," or "some examples" are intended to indicate that a particular feature, structure, material, or characteristic associated with that embodiment or example is included in at least one embodiment or example of this specification. The illustrative representations of the above terms do not necessarily refer to the same embodiment or example.
[0034] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of the present application to those skilled in the art.
[0035] In existing technologies, for example, when the bus is in a sleep state, the left domain controller continues to execute the folding or unfolding command for the left rearview mirror regardless of the bus sleep state, while the right domain controller, affected by the bus sleep state, cannot receive the folding or unfolding command for the rearview mirror, resulting in the left and right rearview mirrors not folding or unfolding synchronously. To solve the above problem, this application proposes a rearview mirror synchronization control method, device, vehicle, and medium. The method may include: when the first controller receives the control command for the rearview mirror, it can determine the network channel status corresponding to the first controller. When the network channel status indicates that the communication bus between the first controller and the second controller (e.g., the first controller is a left domain controller and the second controller is a right domain controller) is in working condition, the first controller and the second controller can communicate with each other. At this time, the control command of the rearview mirror can be sent to the second controller to synchronize the control of the first side rearview mirror (e.g., the left rearview mirror corresponding to the first controller, such as the left rearview mirror corresponding to the left domain controller) and the second rearview mirror (e.g., the right rearview mirror corresponding to the right domain controller) based on the control command. In this way, the network communication status between the first controller and the second controller determines whether the control command of the rearview mirror can be transmitted normally between the first controller and the second controller. If the control command can be transmitted normally, the synchronized control of the two side rearview mirrors can be achieved based on the control command, thereby solving the problem of the inability to synchronize the control of the left and right rearview mirrors in the prior art.
[0036] Please see Figure 1 This is a partial structural schematic diagram of a vehicle provided in an embodiment of this application. For example... Figure 1 The vehicle 10 shown may include a first controller 101, a first motor 102, a first side rearview mirror 103, a second controller 104, a second motor 105, and a second side rearview mirror 106. It should be noted that the illustration only shows some components of the vehicle; these components can be arbitrarily combined or disassembled according to actual needs, and this application does not constitute a limitation. The vehicle may also have corresponding components added or removed according to actual needs, and this application will not impose further limitations or details in this regard.
[0037] The aforementioned first controller 101 can be the vehicle's main controller, primarily responsible for controlling the folding or unfolding of the first side rearview mirror 103. For example, the first controller 101 can be the vehicle's left-side controller, responsible for controlling the folding or unfolding of the left rearview mirror. In specific implementations, the first controller 101 can be connected to the first side rearview mirror 103 via the first motor 102. The first controller 101 is mainly used to control the folding or unfolding of the first side rearview mirror 103 by controlling the rotation information of the first motor 102. This rotation information can refer to relevant information describing the motor's rotation, which may include, but is not limited to, rotation angle, rotation speed, rotation time (such as rotation duration, rotation start time, or stop time), or other information. Specifically, for example, the first controller can control the first motor 102 to fold the first side rearview mirror 103 inward at a certain angle or speed, etc., which will not be further limited or detailed in this application.
[0038] The second controller 104 can be a slave controller of the vehicle, mainly responsible for receiving control commands for the rearview mirror sent by the first controller 101, and then controlling the folding or unfolding of the second side rearview mirror 106 according to the control commands. Since the master controller is located on the side of the first controller 101, the first controller 101 can send control commands for the rearview mirror to the second controller 104 through a communication bus (such as a CAN bus). These control commands are used to control the folding or unfolding of the rearview mirror, and therefore can also be called folding or unfolding commands. After receiving the control commands, the second controller 104 can control the folding or unfolding of the second side rearview mirror 106. For example, the second controller 104 can be the right-side controller of the vehicle, responsible for controlling the folding or unfolding of the right rearview mirror based on the control commands. In specific implementations, the second controller 104 can be connected to the second side rearview mirror 106 through the second motor 105. The second controller 104 is mainly used to control the folding or unfolding of the second side rearview mirror 106 by controlling the rotation information of the second motor 105. For example, the second controller can control the second motor 105 to extend the second side rearview mirror 106 outward at a certain angle or speed, etc. This application will not make any further limitations or details in this regard.
[0039] The first controller 101 and the second controller 104 described above may be the same or different; in practical applications, they are usually controllers of the same model. The first motor 102 and the second motor 105 described above may be the same or different; in practical applications, they are usually motors of the same model. The left rearview mirror 103 and the right rearview mirror 106 described above may also be the same or different; in practical applications, they are usually rearview mirrors of the same model, etc.
[0040] Please see Figure 2 This is a schematic flowchart of a rearview mirror synchronization control method provided in an embodiment of this application. Figure 2 The method shown can be applied to a vehicle, specifically to the first controller 101 within the vehicle. The method may include the following implementation steps: S101. Upon receiving a control command from the rearview mirror, determine the network channel status corresponding to the first controller.
[0041] In this application, the aforementioned control commands refer to commands used to control the folding or unfolding of rearview mirrors (specifically, the left and / or right rearview mirrors). This application does not limit the implementation method for receiving these control commands. For example, a user may manually adjust the folding or unfolding of the rearview mirrors; when this application detects such folding or unfolding, it can generate corresponding control commands. Similarly, when this application detects that the change in vehicle speed within a preset time exceeds a preset speed threshold, it can automatically generate control commands for adjusting the folding or unfolding of the rearview mirrors, etc. This application does not impose further limitations in these aspects.
[0042] When this application receives a control command for the rearview mirror, it can acquire / determine the network channel status corresponding to the first controller 101. The network channel status can be used to indicate whether the communication bus between the first controller 101 and the second controller 104 is in a working state.
[0043] S102. When the network channel status indicates that the communication bus between the first controller and the second controller is in working condition, the control command is sent to the second controller to synchronously control the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command.
[0044] When this application determines that the network communication status indicates that the communication bus between the first controller 101 and the second controller 104 is in a working state, it can synchronously send the control command of the rearview mirror to the second controller 104. Accordingly, the first controller 101 and the second controller 104 can synchronously fold or unfold the first side rearview mirror 103 and the second side rearview mirror 106 based on the control command, thereby realizing synchronous control of the first side rearview mirror and the second side rearview mirror.
[0045] By implementing the embodiments of this application, when receiving a control command for the rearview mirror, this application determines the network channel status corresponding to the first controller; when the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, the control command is sent to the second controller to synchronously control the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command. Thus, when the first controller determines that the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, it can send the control command for the rearview mirror to the second controller, thereby synchronously controlling the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command, such as synchronously controlling the folding or unfolding of the first and second side rearview mirrors respectively. This improves the convenience and practicality of rearview mirror synchronous control, and also solves the technical problem in the prior art where the folding or unfolding of the left and right rearview mirrors cannot be synchronized.
[0046] The following describes some specific embodiments related to this application.
[0047] In one specific embodiment, after determining the network communication state in step S101, this application can further detect / determine whether the network communication state is used to indicate that the communication bus between the first controller 101 and the second controller 104 is in a working state. This application does not limit its specific implementation; for example, it can determine whether the network communication state is a preset state. When the network communication state is a preset state, it can be determined that the network communication state is used to indicate that the communication bus between the first controller 101 and the second controller 104 is in a working state. Conversely, when the network communication state is not a preset state, this application can determine that the network communication state is used to indicate that the communication bus between the first controller 101 and the second controller 104 is not in a working state or is in a non-working state, such as a sleep state.
[0048] In specific implementations, the aforementioned network channel status can be a channel status or flag provided by the Basic Software (BSW) layer to indicate whether the network can send messages, such as CANNetworkSlpStsBd4CANSts. This application does not limit the specific form of the aforementioned network channel status or preset status; for example, it can be represented by numbers, characters, strings, or combinations thereof. For instance, when the aforementioned network channel status CANNetworkSlpStsBd4CANSts is 0x02, this application can determine that the aforementioned network channel status is a preset status, and thus determine that the aforementioned network communication status is used to indicate that the communication bus between the first controller 101 and the second controller 104 is in a working state. That is, the first controller 101 can communicate normally with the second controller 104 through the communication bus, and in this case, the communication bus is not in a sleep state. Specifically, for example, the first controller 101 can send the control command of the rearview mirror to the bus in the form of a message, and then transmit it to the second controller 104, etc. Conversely, when the aforementioned network channel state CANNetworkSlpStsBd4CANSts is not 0x02, this application can determine that the aforementioned network channel state is not a preset state, and thus determine that the aforementioned network communication state is used to indicate that the communication bus between the aforementioned first controller 101 and the aforementioned second controller 104 is in a non-working state, such as a sleep state. That is, the aforementioned first controller 101 cannot communicate normally with the aforementioned second controller 104 through the communication bus, for example, due to factors such as the communication bus being in a sleep state, which prevents normal communication. This application does not impose further limitations on this.
[0049] In another specific embodiment, this application does not limit the specific implementation of whether the above-mentioned network communication state is a preset state. For example, this application can continuously and repeatedly detect and determine whether the above-mentioned network communication state is a preset state within a preset first duration. If the above-mentioned network communication state is determined to be a preset state within the above-mentioned preset first duration, it can be determined that the above-mentioned network communication state is used to indicate that the communication bus between the above-mentioned first controller 101 and the above-mentioned second controller 104 is in a working state, and step S102 can continue to be executed. Conversely, if the above-mentioned network communication state is not determined to be a preset state within the above-mentioned preset first duration, it can be determined that the above-mentioned network communication state is used to indicate that the communication bus between the above-mentioned first controller 101 and the second controller 104 is in a non-working state, and the process can be terminated in this case. The above-mentioned preset first duration can also be customized by the system according to actual needs. It can be an empirical value set according to user experience, or a statistical value calculated based on a series of experimental data, such as the above-mentioned preset first duration being 500ms, etc. This application does not impose too many limitations on this.
[0050] In another specific embodiment, after receiving the control command for the rearview mirror again, this application can repeat the above steps S101 and S102 to achieve synchronous control of the first side rearview mirror 103 and the second side rearview mirror 106. Optionally, if this application receives other control commands for the rearview mirror (e.g., other folding or unfolding commands for the rearview mirror) within a preset second time period, this application can still repeat the above steps S101 and S102. After receiving other control commands, the time can be extended by the above preset first time period (e.g., 500ms) to determine the network communication status, thereby achieving synchronous control of the first side rearview mirror 103 and the second side rearview mirror 106. This can be referred to in the relevant descriptions in the foregoing embodiments, and will not be repeated here. The above preset second time period is also a time period customized by the system according to actual needs. The above preset second time period and the above preset first time period can be the same or different, and can be determined according to the actual situation; this application does not limit this. For example, the preset first duration and the preset second duration can be the same, such as both being 500ms.
[0051] The following describes some optional embodiments related to this application.
[0052] In some optional embodiments, the first controller 101 controls the folding or unfolding of the first side rearview mirror 103 by driving the first motor 102, and the second controller 104 controls the folding or unfolding of the second side rearview mirror 106 by driving the second motor 105. Specifically, for example, when the first controller 101 is a left-domain controller, the left-domain controller can control the folding or unfolding of the left rearview mirror (i.e., the first side rearview mirror 103) by controlling the rotation information of the left-domain motor (i.e., the first motor 102). When the second controller 104 is a right-domain controller, the right-domain controller can control the folding or unfolding of the right rearview mirror (i.e., the second motor 105) by controlling the rotation information of the right-domain motor (i.e., the second motor 105). During the above-mentioned synchronous control of the rearview mirrors, the first controller 101, as the master controller, can synchronously adjust the rotation information of the first motor 106 according to the rotation information of the second motor 105, thereby achieving synchronous control of the first side rearview mirror 103 and the second side rearview mirror 106. In specific implementation, the second controller 104 can collect or acquire the rotation information of the second motor 105 and send the rotation information of the second motor 105 to the first controller 101. Correspondingly, the first controller 101 can receive the rotation information of the second motor 105. Further, the first controller 101 can detect / determine whether the rotation information of the second motor 105 and the rotation information of the first motor 102 are the same / consistent. If the rotation information of the first motor 102 and the rotation information of the second motor 105 are consistent, the process can end; otherwise, if the rotation information of the first motor 102 and the rotation information of the second motor 105 are inconsistent, the rotation information of the first motor 102 can be adjusted based on the rotation information of the second motor 105, so that the first motor 102 and the second motor 105 have the same rotation information, thereby realizing the synchronous control of the left and right rearview mirrors. Specifically, for example, when the rotation information of the first motor 102 is greater than the rotation information of the second motor 105, the rotation information of the first motor 102 can be decreased; conversely, when the rotation information of the first motor 102 is less than the rotation information of the second motor 105, the rotation information of the first motor 102 can be increased, so that the rotation information of the first motor 102 and the rotation information of the second motor 105 are the same. The aforementioned rotation information can refer to relevant information used to describe the rotation of the motor, which may include, but is not limited to, rotation angle, rotation speed, rotation time, or other information, etc., and this application does not impose further limitations on this.
[0053] For example, taking the rotational information mentioned above as the rotational speed of the motor as an example. When the rotational speed of the first motor 102 is greater than the rotational speed of the second motor 105, this application can reduce the rotational speed of the first motor 102 by decreasing the duty cycle of the pulse width modulation (PWM) signal of the first motor 102, thereby making the first motor 102 and the second motor 105 have the same rotational speed, and realizing the synchronous control of the first side rearview mirror 103 and the second side rearview mirror 106. Conversely, when the rotational speed of the first motor 102 is less than the rotational speed of the second motor 105, this application can increase the rotational speed of the first motor 102 by increasing the PWM duty cycle of the first motor 102, thereby making the first motor 102 and the second motor 105 have the same rotational speed, and realizing the synchronous control of the first side rearview mirror 103 and the second side rearview mirror 106, etc.
[0054] It should be noted that when the first controller 101 drives the first motor 102 to control the folding or unfolding of the first side rearview mirror 103, the rotation information of the first motor 102 can be adjusted based on the rotation information of the second motor 105 to achieve synchronous control of the two side rearview mirrors. Similarly, when the second controller 104 drives the second motor 105 to control the folding or unfolding of the second side rearview mirror 106, the rotation information of the second motor 105 can also be adjusted based on the rotation information of the first motor 102 to achieve synchronous control of the two side rearview mirrors. This can be referred to in the description of the aforementioned embodiments related to rotation information adjustment, and will not be repeated here.
[0055] In some alternative embodiments, the vehicle voltage also influences the aforementioned rearview mirror synchronization control. This application can obtain the vehicle voltage of the vehicle where the first controller 101 is located. This vehicle voltage can refer to the voltage of the vehicle system, such as the power supply voltage. This vehicle voltage is used to influence the rotation of the first motor 102 and the second motor 105, specifically affecting the rotation information of each motor, thereby influencing the synchronization control of the first side rearview mirror 103 and the second side rearview mirror 106. Furthermore, this application can synchronize the rotation information of the first motor 102 and the second motor 105 based on the aforementioned vehicle voltage, thereby achieving synchronized control of the first side rearview mirror 103 and the second side rearview mirror 106. In specific implementations, the first controller 101 can control the rotation information of the first motor 102 based on the aforementioned vehicle voltage, for example, controlling the rotation speed, rotation time, or rotation angle of the first motor 102 based on the vehicle voltage. The first controller 101 can also synchronously send the vehicle voltage to the second controller 104, which then controls the rotation information of the second motor 105 based on the vehicle voltage. This ensures that the first motor 102 and the second motor 105 have the same rotation information, thereby synchronously controlling the folding or unfolding of the first side rearview mirror 103 and the second side rearview mirror 106, achieving synchronous control of the first side rearview mirror 103 and the second side rearview mirror 106. The rotation information can be found in the descriptions in the preceding embodiments, and will not be repeated here. In practical applications, for example, when the vehicle voltage increases, this application can synchronously increase the rotation speed of the first motor 102 and the second motor 105, ensuring they have the same rotation speed, thus also achieving synchronous control of the first side rearview mirror 103 and the second side rearview mirror 106. Conversely, when the vehicle voltage increases, this application can simultaneously reduce the rotation speed of the first motor 102 and the second motor 105, so that the first motor 102 and the second motor 105 have the same rotation speed, thereby also realizing the synchronous control of the first side rearview mirror 103 and the second side rearview mirror 106.
[0056] In some alternative embodiments, this application may also record the rotation time of the target motor, which may include the first motor 102 and / or the second motor 105 described above. If the rotation time of the target motor reaches a corresponding preset safety threshold, this application may control the target motor to stop rotating to ensure motor safety. The preset safety threshold is a time threshold for safe motor operation that is customized by the system according to actual needs. Different motors may have different preset safety thresholds. The preset safety threshold may be an empirical value set based on user experience, or a statistical value calculated based on a series of experimental data, etc., and this application does not limit this.
[0057] In some alternative embodiments, this application may also record the stop time of the target motor. If the stop time of the target motor reaches the corresponding motor cooling threshold, the target motor can be restarted / run to control the folding or unfolding of the corresponding rearview mirror, etc. The aforementioned motor cooling threshold may be a time threshold for motor cooling that is customized by the system according to actual needs. Different motors may also have different click cooling thresholds set, etc., which is not limited in this application. The motor cooling threshold may also be an empirical value set based on user experience, or a statistical value calculated based on a series of experimental data, etc.
[0058] By implementing the embodiments of this application, when receiving a control command for the rearview mirror, this application determines the network channel status corresponding to the first controller; when the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, the control command is sent to the second controller to synchronously control the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command. Thus, when the first controller determines that the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, it can send the control command for the rearview mirror to the second controller, thereby synchronously controlling the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command, such as synchronously controlling the folding or unfolding of the first and second side rearview mirrors respectively. This improves the convenience and practicality of rearview mirror synchronous control, and also solves the technical problem in the prior art where the folding or unfolding of the left and right rearview mirrors cannot be synchronized.
[0059] Based on the foregoing embodiments, please refer to Figure 3 This is a schematic diagram of the structure of a rearview mirror synchronization control device provided in an embodiment of this application. Figure 3 The illustrated device can be applied to a vehicle (specifically, to a first controller of the vehicle), and the device 300 may include a processing module 301 and a communication module 302. The processing module 301 is used to determine the network channel status corresponding to the first controller when it receives the control command of the rearview mirror. The communication module 302 is used to send the control command to the second controller when the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, so as to perform synchronous control on the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command.
[0060] In some embodiments, before sending the first control command to the second controller, the processing module 301 is further configured to: Determine whether the network communication status is a preset status within a preset time period; When the network communication state is a preset state, it is determined that the network communication state indicates that the communication bus between the first controller and the second controller is in a working state.
[0061] In some embodiments, the first controller is used to control the folding or unfolding of the first side rearview mirror by controlling the rotation information of the first motor, and the second controller is used to control the folding or unfolding of the second side rearview mirror by controlling the rotation information of the second motor. The communication module 302 is also used to receive rotation information of the second motor sent by the second controller, wherein the rotation information includes at least one of rotation angle, rotation speed and rotation time; The processing module 301 is further configured to adjust the rotation information of the first motor based on the rotation information of the second motor when the rotation information of the first motor and the rotation information of the second motor are inconsistent, so as to achieve synchronous control of the first side rearview mirror and the second side rearview mirror.
[0062] In some instances, the rotation information includes rotation speed, and the processing module 301 is specifically used for: When the rotational speed of the first motor is greater than that of the second motor, the rotational speed of the first motor is reduced by decreasing the duty cycle of the pulse width modulation (PWM) signal of the first motor, thereby making the first motor and the second motor have the same rotational speed; or, When the rotational speed of the first motor is less than that of the second motor, the rotational speed of the first motor is increased by increasing the duty cycle of the pulse width modulation (PWM) signal of the first motor, so that the first motor and the second motor have the same rotational speed.
[0063] In some embodiments, the processing module 301 is further configured to: The vehicle voltage of the vehicle where the first controller is located is obtained, and the vehicle voltage is used to affect the rotation information of the first motor and the second motor respectively; The rotation information of the first motor and the second motor is synchronously controlled based on the vehicle voltage.
[0064] In some embodiments, the processing module 301 is specifically used for: When the vehicle voltage increases, the rotational speeds of the first motor and the second motor are increased simultaneously; or, When the vehicle voltage decreases, the rotational speeds of the first motor and the second motor are reduced simultaneously.
[0065] In some embodiments, the processing module 301 is further configured to: When the rotation time of the target motor is detected to reach the corresponding preset safety threshold, the target motor is controlled to stop rotating. The target motor includes the first motor and / or the second motor.
[0066] For any content not introduced or described in the embodiments of this application, please refer to the relevant descriptions in the foregoing method embodiments; they will not be repeated here.
[0067] By implementing the embodiments of this application, when the above-mentioned device receives a control command for the rearview mirror, it determines the network channel status corresponding to the first controller; when the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, it sends the control command to the second controller to synchronously control the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command. Thus, when the first controller determines that the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, it can send the control command for the rearview mirror to the second controller, thereby synchronously controlling the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command, such as synchronously controlling the folding or unfolding of the first and second side rearview mirrors respectively. This improves the convenience and practicality of rearview mirror synchronous control, and also solves the technical problem in the prior art that the folding or unfolding of the left and right rearview mirrors cannot be synchronized.
[0068] Please see Figure 4 This is a schematic diagram of the structure of a rearview mirror synchronization control device provided in another embodiment of this application. Figure 4 The device shown can be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc. This electronic device can be used in various types of vehicles, etc.
[0069] Reference Figure 4 The device 400 may include one or more of the following components: processing component 402, memory 404, power supply component 406, multimedia component 408, audio component 410, input / output interface 412, sensor component 414, and communication component 416.
[0070] Processing component 402 typically controls the overall operation of device 400, including operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the aforementioned rearview mirror synchronization control method. Furthermore, processing component 402 may include one or more modules to facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402.
[0071] Memory 404 is configured to store various types of data to support the operation of device 400. Examples of such data include instructions for any application or method operating on device 400, contact data, phonebook data, messages, pictures, videos, etc. Memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0072] Power supply component 406 provides power to various components of device 400. Power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 400.
[0073] Multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 408 includes a front-facing camera and / or a rear-facing camera. When the device 400 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0074] Audio component 410 is configured to output and / or input audio signals. For example, audio component 410 includes a microphone (MIC) configured to receive external audio signals when device 400 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 404 or transmitted via communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
[0075] Input / output interface 412 provides an interface between processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, start buttons, and lock buttons.
[0076] Sensor assembly 414 includes one or more sensors for providing status assessments of various aspects of device 400. For example, sensor assembly 414 may detect the on / off state of device 400, the relative positioning of components such as the display and keypad of device 400, changes in the position of device 400 or a component of device 400, the presence or absence of user contact with device 400, the orientation or acceleration / deceleration of device 400, and temperature changes of device 400. Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 414 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0077] Communication component 416 is configured to facilitate wired or wireless communication between device 400 and other devices. Device 400 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 416 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0078] In an exemplary embodiment, the device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described rearview mirror synchronization control method.
[0079] Understandably, the processor 420 in this application embodiment can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0080] Understandably, the memory 404 in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0081] By implementing the embodiments of this application, when the above-mentioned device receives a control command for the rearview mirror, it determines the network channel status corresponding to the first controller; when the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, it sends the control command to the second controller to synchronously control the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command. Thus, when the first controller determines that the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, it can send the control command for the rearview mirror to the second controller, thereby synchronously controlling the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command, such as synchronously controlling the folding or unfolding of the first and second side rearview mirrors respectively. This improves the convenience and practicality of rearview mirror synchronous control, and also solves the technical problem in the prior art that the folding or unfolding of the left and right rearview mirrors cannot be synchronized.
[0082] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, which can be executed by the processor 420 of the device 400 to complete the aforementioned upper-level rearview mirror synchronization control method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0083] The aforementioned device can be a standalone electronic device or a part of a standalone electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be a single IC or a collection of multiple ICs. The chip can include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), and SoC (System on Chip). The aforementioned integrated circuit or chip can be used to execute executable instructions (or code) to implement the aforementioned rearview mirror synchronization control method. The executable instructions can be stored in the integrated circuit or chip or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, memory, and an interface for communicating with other devices. The executable instructions can be stored in the memory, and when the executable instructions are executed by the processor, the above-mentioned rearview mirror synchronization control method is implemented; or, the integrated circuit or chip can receive the executable instructions through the interface and transmit them to the processor for execution to implement the above-mentioned rearview mirror synchronization control method.
[0084] Please see Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. For example, as shown... Figure 5 As shown, the vehicle 500 includes a memory 501 and a processor 502. The memory 501 stores executable program code 5011, and the processor 502 is used to call and execute the executable program code 5011 to perform the rearview mirror synchronization control method.
[0085] This application embodiment can divide the vehicle into functional modules according to the above method embodiment. For example, each function can be assigned to a separate module, or two or more functions can be integrated into a processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. When dividing each functional module according to its corresponding function, the vehicle may include a processing module and a communication module, etc.
[0086] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here. The vehicle provided in this embodiment is used to execute the above-described rearview mirror synchronization control method, and therefore can achieve the same effect as the above implementation method.
[0087] In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable device, the computer program having a code portion for performing the aforementioned rearview mirror synchronization control method when executed by the programmable device.
[0088] It should be noted that the descriptions of the above embodiments of storage media, devices, and equipment are similar to the descriptions of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the embodiments of storage media, devices, and equipment of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0089] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of this application. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed in this application. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0090] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications or equivalent substitutions made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for synchronous control of a rearview mirror, characterized in that, Applied to a first controller, the method includes: Upon receiving a control command from the rearview mirror, the network channel status corresponding to the first controller is determined; When the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, the control command is sent to the second controller to synchronously control the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command.
2. The method according to claim 1, characterized in that, Before sending the first control command to the second controller, the method further includes: Determine whether the network communication status is a preset status within a preset time period; When the network communication state is a preset state, it is determined that the network communication state indicates that the communication bus between the first controller and the second controller is in a working state.
3. The method according to claim 1, characterized in that, The first controller is used to control the folding or unfolding of the first side rearview mirror by controlling the rotation information of the first motor, and the second controller is used to control the folding or unfolding of the second side rearview mirror by controlling the rotation information of the second motor. The synchronous control further includes: The second motor is received from the second controller, and the rotation information includes at least one of rotation angle, rotation speed and rotation time. When the rotation information of the first motor and the rotation information of the second motor are inconsistent, the rotation information of the first motor is adjusted based on the rotation information of the second motor to achieve synchronous control of the first side rearview mirror and the second side rearview mirror.
4. The method according to claim 3, characterized in that, The rotation information includes rotation speed, and the adjustment of the rotation information of the first motor based on the rotation information of the second motor includes: When the rotational speed of the first motor is greater than that of the second motor, the rotational speed of the first motor is reduced by decreasing the duty cycle of the pulse width modulation (PWM) signal of the first motor, so that the first motor and the second motor have the same rotational speed; or, When the rotational speed of the first motor is less than that of the second motor, the rotational speed of the first motor is increased by increasing the duty cycle of the pulse width modulation (PWM) signal of the first motor, so that the first motor and the second motor have the same rotational speed.
5. The method according to claim 4, characterized in that, The method further includes: The vehicle voltage of the vehicle where the first controller is located is obtained, and the vehicle voltage is used to affect the rotation information of the first motor and the second motor respectively; The rotation information of the first motor and the second motor is synchronously controlled based on the vehicle voltage.
6. The method according to claim 5, characterized in that, The method of synchronously controlling the rotation information of the first motor and the second motor based on the vehicle voltage includes: When the vehicle voltage increases, the rotational speeds of the first motor and the second motor are increased simultaneously; or, When the vehicle voltage decreases, the rotational speeds of the first motor and the second motor are reduced simultaneously.
7. The method according to any one of claims 3-6, characterized in that, The method further includes: When the rotation time of the target motor is detected to reach the corresponding preset safety threshold, the target motor is controlled to stop rotating. The target motor includes the first motor and / or the second motor.
8. A rearview mirror synchronization control device, characterized in that, include: The processing module is used to determine the network channel status corresponding to the first controller when it receives the control command of the rearview mirror; The communication module is used to send the control command to the second controller when the network channel status indicates that the communication bus between the first controller and the second controller is in a working state, so as to perform synchronous control on the first side rearview mirror corresponding to the first controller and the second side rearview mirror corresponding to the second controller based on the control command.
9. A vehicle, characterized in that, include: processor; A memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Rearview mirror adjusting method and device, equipment and storage medium
CN113895357A
Folding synchronization system for outside rear-view mirror
CN117207886A
JP1988109238U
Motor driven inclining side view mirror
JP1996175266A
Door mirror device for vehicle
JP2001158295A