CN117054116A - Rearview mirror testing method, device, equipment and storage medium - Google Patents

Rearview mirror testing method, device, equipment and storage medium Download PDF

Info

Publication number
CN117054116A
CN117054116A CN202311035293.2A CN202311035293A CN117054116A CN 117054116 A CN117054116 A CN 117054116A CN 202311035293 A CN202311035293 A CN 202311035293A CN 117054116 A CN117054116 A CN 117054116A
Authority
CN
China
Prior art keywords
target
rearview mirror
controller
load box
radio frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311035293.2A
Other languages
Chinese (zh)
Inventor
宗会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202311035293.2A priority Critical patent/CN117054116A/en
Publication of CN117054116A publication Critical patent/CN117054116A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/005Testing of electric installations on transport means
    • G01R31/006Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring

Abstract

The application relates to a method, a device, equipment and a storage medium for testing a rearview mirror, and relates to the technical field of vehicle detection. The method is applied to a load box, and the load box is connected with a controller. The method comprises the following steps: and acquiring a target operation instruction, wherein the target operation instruction is used for indicating the load box to adjust the rearview mirror. And in response to the target operation instruction, sending a target adjustment instruction to the controller, wherein the target adjustment instruction is used for instructing the controller to adjust the rearview mirror. An output voltage from the controller is received. If the output voltage meets a preset voltage threshold, determining first test information, wherein the first test information is used for indicating that the rearview mirror can be adjusted. Therefore, when the rearview mirror is not installed, whether the rearview mirror can be adjusted or not is detected through the load box, so that whether the function of the rearview mirror can be realized or not is determined, and the period and cost of vehicle development are reduced.

Description

Rearview mirror testing method, device, equipment and storage medium
Technical Field
The application relates to the technical field of vehicle detection, in particular to a method, a device, equipment and a storage medium for testing a rearview mirror.
Background
With the rapid development of automobile technology, users have increasingly high requirements on convenience of automobiles, and external rearview mirrors have become general configurations of automobiles. The outside rear-view mirror of the vehicle is positioned at two sides of the vehicle, so that a driver can observe road conditions behind, on the side surface and below the vehicle conveniently, and the outside rear-view mirror has very important effects on safe driving and parking of the driver.
The driver can adjust the rear view mirror via the vehicle control or remote control buttons to obtain a good view. Therefore, it is necessary to ensure that the function of the vehicle mirror is normal. If the rearview mirror is installed on the vehicle during development of the vehicle, the function of the rearview mirror is tested to determine whether the rearview mirror can be adjusted normally. If the rearview mirror is not properly adjusted, it may be necessary to reinstall the rearview mirror, which may increase the period and cost of vehicle development.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for testing a rearview mirror, which at least solve the technical problems that the rearview mirror in the related art can not be regulated normally, and the rearview mirror is possibly required to be reinstalled, so that the development period and the development cost of a vehicle are increased. The technical scheme of the application is as follows:
according to a first aspect of the present application there is provided a method of testing a rear view mirror, the method comprising: and acquiring a target operation instruction, wherein the target operation instruction is used for indicating the load box to adjust the rearview mirror. And in response to the target operation instruction, sending a target adjustment instruction to the controller, wherein the target adjustment instruction is used for instructing the controller to adjust the rearview mirror. An output voltage from the controller is received. If the output voltage meets a preset voltage threshold, determining first test information, wherein the first test information is used for indicating that the rearview mirror can be adjusted.
According to the technical means, the load box is connected with the controller, and the working condition of the rearview mirror is detected through the load box rack. Thus, when the rearview mirror is not installed, the function of the rearview mirror is tested through the load box, and the period and cost of vehicle development can be reduced.
In one possible embodiment, the load box is fitted with a plurality of adjustment buttons for controlling the resistance of the load box; the "acquire target operation instruction" includes: a target operation is received that acts on a target button, the target button being any one of a plurality of adjustment buttons. In response to the target operation, a target operation instruction is generated, the target operation instruction being specifically for instructing to adjust the resistance of the load tank to a target resistance. The above-described "send the target adjustment instruction to the controller in response to the target operation instruction" includes: and responding to the target operation instruction, adjusting the resistance of the load box to a target resistance, and generating a target analog signal, wherein the target analog signal is used for indicating the controller to adjust the position of the rearview mirror, and is the target adjustment instruction. And sending a target analog signal to the controller.
According to the technical means, the resistor on the load box is regulated, different operation instructions are sent to the controller, so that the controller can perform different regulation operations on the rearview mirror, whether various functions of the rearview mirror are normal or not is detected, and the development period and cost of a vehicle are reduced.
In one possible embodiment, the plurality of adjustment buttons includes: a first button and a second button. And under the condition that the target button is a first button and the target resistance is larger than a first preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror upwards. And under the condition that the target button is a first button and the target resistance is smaller than a first preset resistance threshold, the target simulation information is specifically used for indicating to adjust the rearview mirror downwards. And under the condition that the target button is a second button and the target resistance is larger than a second preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror leftwards. And under the condition that the target button is a second button and the target resistance is smaller than a second preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror to the right.
According to the technical means, the load box is enabled to reach different resistance values by operating different adjusting buttons so as to output different analog signals. And the corresponding relation between the adjusting button and the resistance value and the analog signal is limited, so that the adjusting operation of the rearview mirror is more accurate, and the accuracy of the function test of the rearview mirror is improved.
In one possible embodiment, the load box is connected to a radio frequency receiver. The above "get target operation instruction" further includes: and receiving a first radio frequency signal from the radio frequency receiver, wherein the first radio frequency signal is a target operation instruction. The above-described "send the target adjustment instruction to the controller in response to the target operation instruction" includes: the first radio frequency signal is converted into a second radio frequency signal, the second radio frequency signal is used for indicating to adjust the closing state of the rearview mirror, and the second radio frequency signal is a target adjusting instruction. And sending a second radio frequency signal to the controller.
According to the technical means, the application sends different operation instructions to the controller by receiving different radio frequency signals, so that the controller can adjust the rearview mirror differently, thereby detecting whether various functions of the rearview mirror are normal or not, and reducing the period and cost of vehicle development.
In one possible embodiment, the first radio frequency signal is a vehicle unlock signal or a vehicle lock signal, and the closed state is an extended state or a folded state. The second radio frequency signal is specifically used for indicating that the closed state of the rearview mirror is an unfolded state when the first radio frequency signal is a vehicle unlocking signal. In the case that the first radio frequency signal is a vehicle locking signal, the second radio frequency signal is specifically configured to indicate that the closed state of the rearview mirror is a folded state.
According to the technical means, the adjusting operation of the rearview mirror is more accurate by limiting the corresponding relation between the received radio frequency signal and the converted radio frequency signal, so that the accuracy of the function test of the rearview mirror is improved.
According to a second aspect of the present application, there is provided a testing device for a rearview mirror, applied to a load box, where the load box is connected to a controller. The device comprises: the device comprises an acquisition unit, a sending unit and a processing unit.
And the acquisition unit is used for acquiring a target operation instruction, wherein the target operation instruction is used for indicating the load box to adjust the rearview mirror. And the sending unit is used for responding to the target operation instruction and sending a target adjustment instruction to the controller, wherein the target adjustment instruction is used for instructing the controller to adjust the rearview mirror. The acquisition unit is also used for receiving the output voltage from the controller. And the processing unit is used for determining first test information if the output voltage meets a preset voltage threshold value, wherein the first test information is used for indicating that the rearview mirror can be adjusted.
In one possible embodiment, the load box is fitted with a plurality of adjustment buttons for controlling the resistance of the load box. And an acquisition unit specifically configured to receive a target operation acting on a target button, the target button being any one of a plurality of adjustment buttons. The processing unit is specifically used for responding to target operation and generating a target operation instruction, and the target operation instruction is specifically used for indicating to adjust the resistance of the load box to the target resistance. The processing unit is specifically used for responding to the target operation instruction, adjusting the resistance of the load box to the target resistance, and generating a target analog signal, wherein the target analog signal is used for indicating the controller to adjust the position of the rearview mirror, and the target analog signal is a target adjustment instruction. And the transmitting unit is specifically used for transmitting the target analog signal to the controller.
In one possible embodiment, the plurality of adjustment buttons includes: a first button and a second button. And under the condition that the target button is a first button and the target resistance is larger than a first preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror upwards. And under the condition that the target button is a first button and the target resistance is smaller than a first preset resistance threshold, the target simulation information is specifically used for indicating to adjust the rearview mirror downwards. And under the condition that the target button is a second button and the target resistance is larger than a second preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror leftwards. And under the condition that the target button is a second button and the target resistance is smaller than a second preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror to the right.
In one possible embodiment, the load box is connected to a radio frequency receiver. The acquisition unit is specifically configured to receive a first radio frequency signal from the radio frequency receiver, where the first radio frequency signal is a target operation instruction. The processing unit is specifically configured to convert the first radio frequency signal into a second radio frequency signal, where the second radio frequency signal is used to indicate to adjust the closed state of the rearview mirror, and the second radio frequency signal is a target adjustment instruction. And the transmitting unit is specifically used for transmitting the second radio frequency signal to the controller.
In one possible embodiment, the first radio frequency signal is a vehicle unlock signal or a vehicle lock signal, and the closed state is an extended state or a folded state. The second radio frequency signal is specifically used for indicating that the closed state of the rearview mirror is an unfolded state when the first radio frequency signal is a vehicle unlocking signal. In the case that the first radio frequency signal is a vehicle locking signal, the second radio frequency signal is specifically configured to indicate that the closed state of the rearview mirror is a folded state.
According to a third aspect of the present application, there is provided an electronic apparatus comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the method of the first aspect and any of its possible embodiments described above.
According to a fourth aspect of the present application there is provided a computer readable storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the method of the first aspect and any of its possible embodiments.
According to a fifth aspect of the present application there is provided a computer program product comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of the first aspect and any of its possible embodiments.
Therefore, the technical characteristics of the application have the following beneficial effects:
(1) The load box is connected with the controller, and the working condition of the rearview mirror is detected through the load box rack. Thus, when the rearview mirror is not installed, the function of the rearview mirror is tested through the load box, and the period and cost of vehicle development can be reduced.
(2) The resistance on the load box can be adjusted, different operation instructions are sent to the controller, so that the controller can carry out different adjustment operations on the rearview mirror, whether various functions of the rearview mirror are normal or not is detected, and the period and cost of vehicle development are reduced. And the corresponding relation between the resistance value and the operation instruction is limited, so that the adjustment operation of the rearview mirror is more accurate, and the accuracy of the rearview mirror function test is improved.
(3) Different radio frequency signals can be received, different operation instructions are sent to the controller, so that the controller can adjust the rearview mirror differently, whether various functions of the rearview mirror are normal or not is detected, and the development period and cost of the vehicle are reduced. And the corresponding relation between the radio frequency signal and the operation instruction is limited, so that the adjustment operation of the rearview mirror is more accurate, and the accuracy of the rearview mirror function test is improved.
It should be noted that, the technical effects caused by any implementation manner of the second aspect to the fifth aspect may refer to the technical effects caused by the corresponding implementation manner in the first aspect, which are not described herein.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application and do not constitute a undue limitation on the application.
FIG. 1 is a schematic architecture diagram of a test system for a rearview mirror, according to an example embodiment;
FIG. 2 is a flow chart illustrating a method of testing a rearview mirror in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of testing a rearview mirror in accordance with an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of testing a rearview mirror in accordance with an exemplary embodiment;
FIG. 5 is a block diagram of a test device for a rearview mirror as shown in accordance with an exemplary embodiment;
fig. 6 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions of the present application, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
Before describing the method for testing the rearview mirror according to the embodiment of the application in detail, the implementation environment and application field Jing Jinhang of the embodiment of the application are described.
The outside rear-view mirror of the vehicle is positioned at two sides of the vehicle, so that a driver can observe road conditions behind, on the side surface and below the vehicle conveniently, and the outside rear-view mirror has very important effects on safe driving and parking of the driver. The driver can adjust the rear view mirror via the vehicle control or remote control buttons to obtain a good view. Therefore, it is necessary to ensure that the function of the vehicle mirror is normal. If the rearview mirror is installed on the vehicle during development of the vehicle, the function of the rearview mirror is tested to determine whether the rearview mirror can be adjusted normally. If the rearview mirror is not properly adjusted, it may be necessary to reinstall the rearview mirror, which may increase the period and cost of vehicle development.
In order to solve the above problems, an embodiment of the present application provides a method for testing a rearview mirror, including: the load box may obtain a target operating instruction for instructing the load box to adjust the rearview mirror. In response to the target operating command, the load box may send a target adjustment command to the controller, the target adjustment command being for instructing the controller to adjust the rearview mirror. The load box may receive an output voltage of the controller. If the output voltage meets a preset voltage threshold, the load box can determine first test information, and the first test information is used for indicating that the rearview mirror can be adjusted. So, the load case is connected with the controller, detects the rear-view mirror behavior through the load case rack, and the other pilot lamp that has of output interface of load case only need observe the bright condition of turning on and off of pilot lamp just can confirm the test condition of rear-view mirror during the test. Thus, when the rearview mirror is not installed, the function of the rearview mirror is tested through the load box, and the period and cost of vehicle development can be reduced.
The following describes an implementation environment of an embodiment of the present application.
Fig. 1 is a schematic architecture diagram of a test system for a rear view mirror according to an exemplary embodiment, and as shown in fig. 1, the test system for a rear view mirror includes: load box 101, controller 102, radio frequency receiver 103, host computer 104. The load box 101 is in wired/wireless communication with the controller 102. The load box 101 is in wired/wireless communication with a radio frequency receiver 103. The controller 102 performs wired/wireless communication with the host computer 104.
Wherein the load box 101 can simulate the input and output of a real rearview mirror load. The input pins of the rearview mirror module on the controller are connected to the load box through the wire harness, and input signals can be provided for the controller through the load box. The output pins of the rearview mirror module on the controller are connected to the load box through the wire harness, and the working state of the rearview mirror can be detected through the load box.
A plurality of indicator lamps (such as indicator lamp 105, indicator lamp 106 and indicator lamp 107) are arranged beside the output interface of the load box 101, and when the rearview mirror module is tested, the states of the indicator lamps can be observed to determine the working state of the rearview mirror. For example, the indicator light 105 is connected with the rearview mirror folding and unfolding output module, and the indicator light 105 presents a lighting state, so that the rearview mirror is unfolded or folded; the indicator lamp 105 assumes an off state, indicating that the rearview mirror does not perform the unfolding operation or the folding operation.
In the embodiment of the application, the rearview mirror adjusting switch signal pin is connected with an analog input switch of the load box, and the input of the rearview mirror adjusting switch is an analog signal. The load box 101 is provided with a plurality of variable resistors (e.g., variable resistor 108, variable resistor 109) and adjusts the input signal by adjusting the magnitude of the resistors. A variable resistor may correspond to a set of adjustment commands. For example, the variable resistor 108 is used for controlling the up-and-down adjustment of the rearview mirror, and is connected with the up-and-down adjustment input module of the rearview mirror; the variable resistor 109 is used for controlling the left and right adjustment of the rearview mirror, and is connected with the left and right adjustment input module of the rearview mirror. The load box 101 may further be provided with a variable resistor 1010, where the variable resistor 1010 is connected to a common terminal module, and the resistance value of the common terminal is a preset resistance threshold.
The controller 102 is a vehicle body controller for controlling an electronic control unit of an electric vehicle body system. The controller 102 may adjust the rearview mirror. The output pins of the rear view mirror on the controller 102 interface with the output high level bridge (output high level bridge, OHB) of the load box. The radio frequency signal input pin of the controller 102 is connected to the LIN channel of the load box.
The radio frequency receiver 103 is connected to the LIN channel of the load box. The load box 101 may also power the radio frequency receiver 103.
The host computer 104 and the controller 102 may communicate via ethernet. The upper computer 104 is connected with a network switching module of the controller 102 through a network cable. The controller 102 provides a rearview mirror service interface, and the upper computer 104 calls the rearview mirror service interface to control the rearview mirror.
The upper computer 104 may invoke the controller rearview mirror service interface to simulate the console to control rearview mirror operation. The host computer 104 may also run signaling software to configure preconditions for rearview mirror operation. Wherein the signaling software is used to send controller area network (controller area network, CAN) signals.
For example, the signaling software may be bus development environment (CAN open environment, CANOE) software.
In an embodiment of the present application, the preconditions may include: the vehicle power supply gear is in an opening gear; the vehicle speed is less than or equal to 60 km per hour, and the vehicle speed is effective.
For easy understanding, the test method of the rearview mirror provided by the application is specifically described below with reference to the accompanying drawings. Fig. 2 is a flowchart illustrating a method of testing a rear view mirror according to an exemplary embodiment, the method including the steps of:
s201, the load box acquires a target operation instruction.
The target operation instruction is used for instructing the load box to adjust the rearview mirror.
In an embodiment of the present application, in response to the target operation instruction, the load box may perform S202.
S202, the load box sends a target adjustment instruction to the controller.
The target adjusting instruction is used for instructing the controller to adjust the rearview mirror.
In one possible implementation, the load box may send a target adjustment instruction to the controller in response to a target operation instruction.
In an embodiment of the present application, after the load box sends the target adjustment instruction to the controller, the controller may receive the target adjustment instruction from the load box. In response to the target adjustment command, the controller may drive the power adjustment rearview mirror to generate an output voltage. The controller may send an output voltage to the load box.
It should be noted that, in the embodiment of the present application, the output pin of the rearview mirror on the controller is connected to the OHB interface of the load box, so that the controller may send the output voltage to the load box.
In some embodiments, the load box may perform S203-S204 after the controller sends the output voltage to the load box.
S203, the load box receives output voltage from the controller.
S204, the load box determines whether the output voltage meets a preset voltage threshold.
In the embodiment of the application, the load box is provided with the indicator lamp, and the output voltage is used for making the indicator lamp emit light. Typically, the preset voltage threshold may be [9 volts (V), 16V ].
In one possible implementation, the load box may compare the output voltage to a preset voltage threshold to determine whether the output voltage meets the preset voltage threshold.
In one possible design, if the output voltage meets the preset voltage threshold, the load box may perform S205.
For example, if the preset voltage threshold is [9V,16V ], the output voltage is 12V, the output voltage satisfies the preset voltage threshold.
In another possible design, if the output voltage does not meet the preset voltage threshold, the load box may perform S206.
For example, if the preset voltage threshold is [9V,16V ], the output voltage is 7V, the output voltage does not satisfy the preset voltage threshold. If the preset voltage threshold is [9V,16V ], and the output voltage is 18V, the output voltage does not meet the preset voltage threshold.
S205, the load box determines first test information.
Wherein the first test information is used to indicate that the rearview mirror can be adjusted.
In one possible implementation, the load box is fitted with an indicator light, which has a lighted state and a extinguished state. If the output voltage meets a preset voltage threshold, the indicator lamp on the load box is in a luminous state, and the load box can determine first test information.
It should be noted that, in the embodiment of the present application, if the indicator light on the load box presents a light emitting state, the controller is described as being capable of adjusting the rearview mirror.
S206, the load box determines second test information.
The second test information is used for indicating that the rearview mirror cannot be adjusted.
In one possible implementation, if the output voltage does not meet the preset voltage threshold, the indicator light on the load box is turned off, and the load box can determine the second test information.
It should be noted that, in the embodiment of the present application, if the indicator light on the load box is turned off, it is indicated that the controller cannot adjust the rearview mirror.
It will be appreciated that the load box may obtain a target operating instruction that instructs the load box to adjust the rearview mirror. In response to the target operating command, the load box may send a target adjustment command to the controller, the target adjustment command being for instructing the controller to adjust the rearview mirror. The load box may receive an output voltage of the controller. If the output voltage meets a preset voltage threshold, the load box can determine first test information, and the first test information is used for indicating that the rearview mirror can be adjusted. Thus, the load box is connected with the controller, and the working condition of the rearview mirror is detected through the load box rack. Thus, when the rearview mirror is not installed, the function of the rearview mirror is tested through the load box, and the period and cost of vehicle development can be reduced.
In some embodiments, to determine how the controller can adjust the rearview mirror, as shown in fig. 3, the load box obtains a target operation instruction (S201), the following steps may be included: S301-S302.
S301, the load box receives target operation acting on a target button.
Wherein, load case installs a plurality of adjustment button, and adjustment button is used for controlling load case's resistance. The target button is any one of a plurality of adjustment buttons.
In one possible implementation, a worker may perform a target operation on a target button. The load box may receive a target operation that acts on the target button.
In an embodiment of the present application, the load box may perform S302 in response to the target operation.
S302, the load box generates a target operation instruction.
The target operation instruction is used for indicating to adjust the resistance of the load box to the target resistance.
In one possible implementation, the target operation may be a rotation to a target angle. The operator may rotate the target button by the target angle. In response to the target operation, the load box may generate a target operation instruction.
In some embodiments, in response to the target operation instruction, the load box sends a target adjustment instruction to the controller (S202), including: S303-S304.
S303, responding to a target operation instruction, adjusting the resistance of the load box to a target resistance by the load box, and generating a target analog signal.
The target analog signal is used for indicating the controller to adjust the position of the rearview mirror, and the target analog signal is a target adjusting instruction.
In an embodiment of the present application, the plurality of adjustment buttons includes: the first button is specifically used for controlling up-and-down adjustment of the rearview mirror, and the second button is specifically used for controlling left-and-right adjustment of the rearview mirror. The target operation instruction includes: button identification and target resistance, a button identification corresponds to an adjustment button.
In one possible implementation, in response to a target operating instruction, the load box may determine a target button based on the button identification and adjust the resistance of the load box to a target resistance. The load box may generate a target analog signal based on the button identification and the target resistance.
In one possible design, the target analog signal is specifically used to adjust the rearview mirror upward in the event that the target button is the first button and the target resistance is greater than a first preset resistance threshold. And under the condition that the target button is a first button and the target resistance is larger than a first preset resistance threshold, the target analog signal is specifically used for adjusting the rearview mirror downwards.
In another possible design, the target analog signal is specifically used to adjust the rear view mirror to the left in case the target button is the second button and the target resistance is greater than the second preset resistance threshold. And under the condition that the target button is a second button and the target resistance is smaller than a second preset resistance threshold, the target analog signal is particularly used for adjusting the rearview mirror to the right.
It should be noted that, in the embodiment of the present application, the priority of up-down adjustment of the rearview mirror is higher than the priority of left-right adjustment of the rearview mirror. Therefore, before making the mirror-side adjustment, the mirror adjustment needs to be deactivated. In the embodiment of the application, when the target button is the first button and the target resistance is equal to the first preset resistance threshold, the up-and-down adjustment of the rearview mirror is not effective.
In an embodiment of the present application, the plurality of adjustment buttons may further include a third button, and the third button may be a common terminal button. The load box may adjust the third button to a preset resistance threshold before the load box adjusts the resistance of the load box to the target resistance.
In the embodiment of the present application, the preset resistance threshold is not limited. For example, the preset resistance threshold may be 50. For another example, the preset resistance threshold may be 0. For another example, the preset resistance threshold may be 100. In the embodiment of the application, the first preset resistance threshold and the second preset resistance threshold may be the same, and the first preset resistance threshold and the second preset resistance threshold are equal to the preset resistance threshold. The first preset resistance threshold and the second preset resistance threshold may also be different.
S304, the load box sends a target analog signal to the controller.
In one possible implementation, after the load tank generates the target analog signal, the load tank may send the target analog signal to the controller.
It will be appreciated that the load box is provided with a plurality of adjustment buttons for controlling the resistance of the load box. The load box may receive a target operation on a target button, the target button being any one of a plurality of adjustment buttons. In response to the target operation, the load box generates a target operation instruction. In response to the target operating command, the load tank may adjust the resistance of the load tank to a target resistance and generate a target analog signal. The load box may send a target analog signal to the controller. Therefore, by adjusting the resistor on the load box, different operation instructions are sent to the controller, so that the controller can adjust the rearview mirror differently, whether various functions of the rearview mirror are normal or not is detected, and the period and cost of vehicle development are reduced.
In some embodiments, to determine how the controller can adjust the rearview mirror, as shown in fig. 4, the load box obtains a target operation instruction (S201), the method may further include the steps of: s401.
S401, a load box receives a first radio frequency signal from a radio frequency receiver.
The first radio frequency signal is a target operation instruction.
In one possible implementation, the radio frequency receiver is connected to a load box. The radio frequency receiver may receive an initial radio frequency signal from the key fob. The radio frequency receiver may convert the initial radio frequency signal to a first radio frequency signal and transmit the first radio frequency signal to the load box.
For example, the radio frequency receiver may convert the first radio frequency signal to a LIN signal and transmit the LIN signal to the load box.
In an embodiment of the present application, in response to a target operation instruction, a load box transmits a target adjustment instruction to a controller (S202), including the steps of: S402-S403.
S402, the load box converts the first radio frequency signal into a second radio frequency signal.
The second radio frequency signal is used for indicating and adjusting the closing state of the rearview mirror, and the second radio frequency signal is a target adjusting instruction.
In the embodiment of the application, the first radio frequency signal is a vehicle unlocking signal or a vehicle locking signal, and the closed state is an unfolding state or a folding state.
Optionally, the first radio frequency signal may be any one of the following: adjusting the rearview mirror signal upward, adjusting the rearview mirror signal downward, adjusting the rearview mirror signal leftward, adjusting the rearview mirror signal rightward, heating the rearview mirror signal, and reversing the vehicle.
In one possible design, the second radio frequency signal is specifically used to indicate that the closed state of the regulated rearview mirror is the unfolded state, in case the first radio frequency signal is a vehicle unlock signal.
In another possible design, the second radio frequency signal is used in particular to indicate a folded state for adjusting the closed state of the wing mirror, in case the first radio frequency signal is a vehicle blocking signal.
S403, the load box sends a second radio frequency signal to the controller.
It will be appreciated that the radio frequency receiver is connected to the load box. The load box receives a first radio frequency signal from the radio frequency receiver, wherein the first radio frequency signal is a target operation instruction. The load box can convert the first radio frequency signal into a second radio frequency signal, the second radio frequency signal is used for adjusting the closing state of the rearview mirror, and the second radio frequency signal is a target adjusting instruction. The load box may send a second radio frequency signal to the controller. In this way, different operation instructions are sent to the controller by receiving different radio frequency signals, so that the controller can adjust the rearview mirror differently, whether various functions of the rearview mirror are normal or not is detected, and the period and cost of vehicle development are reduced.
In some embodiments, the host computer is connected to the controller. The controller is provided with a plurality of service interfaces, and the service interfaces are interfaces for adjusting the rearview mirrors. The upper computer can receive the operation acting on the target interface, and send a target adjusting instruction to the controller, wherein the target interface is any one of a plurality of service interfaces. The controller can receive a target adjusting instruction sent by the upper computer and drive the electric energy to adjust the rearview mirror so as to generate output voltage. The controller may send an output voltage to the load box. The load box may perform S203-S206.
In an embodiment of the present application, the plurality of service interfaces includes at least one of: folding interface, expansion interface, upward regulation interface, downward regulation interface, left regulation interface, right regulation interface, auxiliary interface of backing a car, heating interface.
In one possible design, the target call instruction is specifically for instructing the controller to fold the rearview mirror in the case where the target interface is a folding interface. And under the condition that the target interface is a unfolding interface, the target calling instruction is specifically used for instructing the controller to unfold the rearview mirror. And under the condition that the target interface is an upward adjusting interface, the target calling instruction is specifically used for indicating the controller to adjust the rearview mirror upward. In the case that the target interface is a down adjustment interface, the target call instruction is specifically configured to instruct the controller to adjust the rearview mirror down. And under the condition that the target interface is a left adjusting interface, the target calling instruction is specifically used for instructing the controller to adjust the rearview mirror leftwards. And under the condition that the target interface is a right adjustment interface, the target calling instruction is specifically used for indicating the controller to adjust the rearview mirror to the right. And under the condition that the target interface is a reversing auxiliary interface, the target calling instruction is specifically used for indicating the controller to turn down the rearview mirror. And under the condition that the target interface is a heating interface, the target calling instruction is specifically used for instructing the controller to heat the rearview mirror.
It should be noted that, in the embodiment of the present application, the load box may be provided with a plurality of indicator lamps, and different target calling instructions correspond to different indicator lamps. That is, for different target call instructions, the controller drives the power to adjust the output voltage generated by the rearview mirror to enable different indicator lights on the load box to illuminate, so as to determine that the controller can adjust the rearview mirror.
Illustratively, if the plurality of indicator lights includes: the first indicator lamp, the second indicator lamp, the third indicator lamp and the fourth indicator lamp. In the case where the target call instruction is specifically used to instruct the controller to adjust the rearview mirror upward or the controller to adjust the rearview mirror downward, the target call instruction may correspond to the first indicator light. In the case where the target call instruction is specifically used to instruct the controller to adjust the rearview mirror to the left or the controller to adjust the rearview mirror to the right, the target call instruction may correspond to the second indicator light. In the case where the target call instruction is specifically used to instruct the controller to turn down the rearview mirror, the target call instruction may correspond to the indicator light three. In the case where the target call instruction is specifically used to instruct the controller to heat the rearview mirror, the target call instruction may correspond to the indicator light four.
It is understood that the upper computer is connected with the controller. The controller is provided with a plurality of service interfaces, and the service interfaces are interfaces for adjusting the rearview mirrors. The upper computer can receive the operation acting on the target interface, and send a target adjusting instruction to the controller, wherein the target interface is any one of a plurality of service interfaces. Therefore, the upper computer is used for simulating the center console, and a target adjusting instruction is sent to the controller through the upper computer, so that the controller adjusts the rearview mirror, the on-off of the indicator light on the load box is observed, whether the controller adjusts the rearview mirror is determined, whether various functions of the rearview mirror are normal is detected, and the period and cost of vehicle development are reduced.
The foregoing description of the solution provided by the embodiments of the present application has been mainly presented in terms of a method. In order to achieve the above functions, the test device or apparatus of the rear view mirror comprises a hardware structure and/or a software module for performing the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
According to the method, the functional modules of the testing device or the equipment of the rearview mirror can be divided, for example, the testing device or the equipment of the rearview mirror can comprise each functional module corresponding to each functional division, and two or more functions can be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 5 is a block diagram illustrating a test apparatus for a rear view mirror according to an exemplary embodiment. Referring to fig. 5, the test device of the rear view mirror is used to perform the methods shown in fig. 2, 3 and 4. The rear view mirror testing device comprises: an acquisition unit 501, a transmission unit 502, and a processing unit 503.
An obtaining unit 501, configured to obtain a target operation instruction, where the target operation instruction is used to instruct the load box to adjust the rearview mirror. And a transmitting unit 502 for transmitting a target adjustment instruction to the controller in response to the target operation instruction, the target adjustment instruction being for instructing the controller to adjust the rear view mirror. The obtaining unit 501 is further configured to receive an output voltage from the controller. The processing unit 503 is configured to determine first test information if the output voltage meets a preset voltage threshold, where the first test information is used to indicate that the rearview mirror can be adjusted.
In one possible embodiment, the load box is fitted with a plurality of adjustment buttons for controlling the resistance of the load box. The obtaining unit 501 is specifically configured to receive a target operation acting on a target button, where the target button is any one of a plurality of adjustment buttons. The processing unit 503 is specifically configured to generate a target operation instruction in response to a target operation, the target operation instruction being specifically configured to instruct to adjust the resistance of the load tank to a target resistance. The processing unit 503 is specifically configured to adjust the resistance of the load box to a target resistance in response to a target operation instruction, and generate a target analog signal, where the target analog signal is used to instruct the controller to adjust the position of the rearview mirror, and the target analog signal is a target adjustment instruction. The transmitting unit 502 is specifically configured to transmit the target analog signal to the controller.
In one possible embodiment, the plurality of adjustment buttons includes: a first button and a second button. And under the condition that the target button is a first button and the target resistance is larger than a first preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror upwards. And under the condition that the target button is a first button and the target resistance is smaller than a first preset resistance threshold, the target simulation information is specifically used for indicating to adjust the rearview mirror downwards. And under the condition that the target button is a second button and the target resistance is larger than a second preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror leftwards. And under the condition that the target button is a second button and the target resistance is smaller than a second preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror to the right.
In one possible embodiment, the load box is connected to a radio frequency receiver. The acquiring unit 501 is specifically configured to receive a first rf signal from an rf receiver, where the first rf signal is a target operation instruction. The processing unit 503 is specifically configured to convert the first radio frequency signal into a second radio frequency signal, where the second radio frequency signal is used to indicate to adjust the closed state of the rearview mirror, and the second radio frequency signal is a target adjustment instruction. The transmitting unit 502 is specifically configured to transmit the second radio frequency signal to the controller.
In one possible embodiment, the first radio frequency signal is a vehicle unlock signal or a vehicle lock signal, and the closed state is an extended state or a folded state. The second radio frequency signal is specifically used for indicating that the closed state of the rearview mirror is an unfolded state when the first radio frequency signal is a vehicle unlocking signal. In the case that the first radio frequency signal is a vehicle locking signal, the second radio frequency signal is specifically configured to indicate that the closed state of the rearview mirror is a folded state.
The specific manner in which the individual units perform the operations in relation to the apparatus of the above embodiments has been described in detail in relation to the embodiments of the method and will not be described in detail here.
Fig. 6 is a block diagram of an electronic device, according to an example embodiment. As shown in fig. 6, electronic device 600 includes, but is not limited to: a processor 601 and a memory 602.
The memory 602 is used for storing executable instructions of the processor 601. It will be appreciated that the processor 601 is configured to execute instructions to implement the method of testing a rear view mirror in the above embodiment.
It should be noted that the electronic device structure shown in fig. 6 is not limited to the electronic device, and the electronic device may include more or less components than those shown in fig. 6, or may combine some components, or may have different arrangements of components, as will be appreciated by those skilled in the art.
The processor 601 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby performing overall monitoring of the electronic device. The processor 601 may include one or more processing units. Alternatively, the processor 601 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., and a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs as well as various data. The memory 602 may include primarily a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs (such as a processing unit) required for at least one functional module, and the like. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
In an exemplary embodiment, a computer readable storage medium is also provided, e.g. a memory 602, comprising instructions executable by the processor 601 of the electronic device 600 to implement the method of testing a rear view mirror in the above embodiments.
In actual implementation, the functions of the acquisition unit 501, the transmission unit 502, and the processing unit 503 in fig. 5 may be implemented by the processor 601 in fig. 6 calling a computer program stored in the memory 602. For specific implementation, reference may be made to the description of the test method section of the rearview mirror in the above embodiment, and details are not repeated here.
Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, embodiments of the application also provide a computer program product comprising one or more instructions executable by a processor of an electronic device to perform the method of testing a rearview mirror of the above-described embodiments.
It should be noted that, when the instructions in the computer readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the respective processes of the embodiment of the method for testing a rearview mirror are implemented, and the technical effects same as those of the method for testing a rearview mirror can be achieved, so that repetition is avoided, and no description is repeated here.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The present application is not limited to the above embodiments, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (8)

1. The method for testing the rearview mirror is characterized by being applied to a load box, wherein the load box is connected with a controller; the method comprises the following steps:
acquiring a target operation instruction, wherein the target operation instruction is used for indicating the load box to adjust a rearview mirror;
in response to the target operation instruction, sending a target adjustment instruction to the controller, wherein the target adjustment instruction is used for instructing the controller to adjust the rearview mirror;
receiving an output voltage from the controller;
and if the output voltage meets a preset voltage threshold, determining first test information, wherein the first test information is used for indicating that the rearview mirror can be adjusted.
2. The method of claim 1, wherein the load box is fitted with a plurality of adjustment buttons for controlling the resistance of the load box; the obtaining the target operation instruction includes:
Receiving a target operation acting on a target button, wherein the target button is any one of the plurality of adjusting buttons;
generating a target operation instruction in response to the target operation, wherein the target operation instruction is specifically used for indicating to adjust the resistance of the load box to a target resistance;
the sending, in response to the target operation instruction, a target adjustment instruction to the controller, including:
responding to the target operation instruction, adjusting the resistance of the load box to the target resistance, and generating a target analog signal, wherein the target analog signal is used for indicating the controller to adjust the position of the rearview mirror, and is the target adjustment instruction;
and sending the target analog signal to the controller.
3. The method of claim 2, wherein the plurality of adjustment buttons comprises: a first button and a second button;
the target analog signal is specifically used for indicating to adjust the rearview mirror upwards when the target button is the first button and the target resistance is larger than a first preset resistance threshold;
the target simulation information is specifically used for indicating to adjust the rearview mirror downwards when the target button is the first button and the target resistance is smaller than the first preset resistance threshold;
The target analog signal is specifically used for indicating to adjust the rearview mirror leftwards when the target button is the second button and the target resistance is larger than a second preset resistance threshold;
and under the condition that the target button is the second button and the target resistance is smaller than the second preset resistance threshold, the target analog signal is specifically used for indicating to adjust the rearview mirror rightwards.
4. The method of claim 1, wherein the load box is connected to a radio frequency receiver; the obtaining the target operation instruction further includes:
receiving a first radio frequency signal from the radio frequency receiver, wherein the first radio frequency signal is the target operation instruction;
the sending, in response to the target operation instruction, a target adjustment instruction to the controller, including:
converting the first radio frequency signal into a second radio frequency signal, wherein the second radio frequency signal is used for indicating and adjusting the closing state of the rearview mirror, and the second radio frequency signal is the target adjusting instruction;
and sending the second radio frequency signal to the controller.
5. The method of claim 4, wherein the first radio frequency signal is a vehicle unlock signal or a vehicle lock signal, and the closed state is an extended state or a collapsed state;
Wherein, when the first radio frequency signal is the vehicle unlocking signal, the second radio frequency signal is specifically used for indicating and adjusting the closed state of the rearview mirror to be the unfolding state;
and under the condition that the first radio frequency signal is the vehicle locking signal, the second radio frequency signal is specifically used for indicating and adjusting the closing state of the rearview mirror to be the folding state.
6. The testing device of the rearview mirror is characterized by being applied to a load box, wherein the load box is connected with a controller; the device comprises:
the acquisition unit is used for acquiring a target operation instruction, wherein the target operation instruction is used for indicating the load box to adjust the rearview mirror;
a transmitting unit configured to transmit a target adjustment instruction to the controller in response to the target operation instruction, the target adjustment instruction being configured to instruct the controller to adjust the rearview mirror;
the acquisition unit is also used for receiving the output voltage from the controller;
and the processing unit is used for determining first test information if the output voltage meets a preset voltage threshold value, wherein the first test information is used for indicating that the rearview mirror can be adjusted.
7. An electronic device, comprising: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any one of claims 1 to 5.
8. A computer readable storage medium, characterized in that, when computer-executable instructions stored in the computer readable storage medium are executed by a processor of an electronic device, the electronic device is capable of performing the method of any one of claims 1 to 5.
CN202311035293.2A 2023-08-16 2023-08-16 Rearview mirror testing method, device, equipment and storage medium Pending CN117054116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311035293.2A CN117054116A (en) 2023-08-16 2023-08-16 Rearview mirror testing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311035293.2A CN117054116A (en) 2023-08-16 2023-08-16 Rearview mirror testing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117054116A true CN117054116A (en) 2023-11-14

Family

ID=88660433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311035293.2A Pending CN117054116A (en) 2023-08-16 2023-08-16 Rearview mirror testing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117054116A (en)

Similar Documents

Publication Publication Date Title
KR102370464B1 (en) Reinforcement of vehicle emergency system
CN110949242B (en) Enhanced communication system for vehicle hazard lamps
CA2502885C (en) System for remotely starting the engine of a vehicle that has a manual transmission
US5406270A (en) Dead switch vehicle operator identification
US20100023198A1 (en) System and method for emulating vehicle ignition-switched power
CN105246740A (en) Vehicle interior lighting system
CN106660487B (en) Outside rearview mirror system
CN110040061A (en) Vehicle light control method and system
CN108749709B (en) Steering lamp control system and method capable of being matched with different light sources
CN117054116A (en) Rearview mirror testing method, device, equipment and storage medium
CN215935141U (en) Vehicle-mounted lighting equipment and vehicle
US20200238893A1 (en) Device and method for controlling light sources in motor vehicles
CN107054233A (en) Luminous sign system for motor vehicles
CN113119855A (en) Control method and device for vehicle switch backlight module
CN114326651B (en) TCU test system and method
KR101646370B1 (en) Power window device
WO2023058615A1 (en) Vehicular lamp, control device and control method for vehicular lamp, vehicular lamp system, and setting device and setting method for vehicular lamp
KR101611203B1 (en) Light control apparatus, Vehicle having the same and method for controlling the same
US20240123925A1 (en) Wireless control of automotive features
US20230226990A1 (en) Electronic control for vehicle devices
US20230150432A1 (en) Electronic control for vehicle mirror
CA2568114C (en) Multi-platform data communication interface with self-recognizing and self-learning of the host vehicle
CN116424192A (en) Control method and system of vehicle-mounted cosmetic mirror, storage medium and vehicle
WO2024077332A1 (en) Vehicle driving light with internal voltage sensor receiving hi-beam signal
KR20230132847A (en) Control of high-visibility vehicle light communication systems

Legal Events

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