Deflection device control method, deflection device, vehicle central control screen, vehicle and medium
By acquiring ambient temperature and sampling voltage, and using a preset correspondence to control the deflection device to stop rotating, the problem of the deflection device being damaged due to motor overheating is solved, and the safe and reliable operation of the deflection device is achieved.
Patent Information
- Application Number
- CN202311641638.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2043-11-30
AI Technical Summary
The deflection device of the vehicle's central control screen is prone to damage due to overheating of the motor during rotation, affecting user experience.
By acquiring the ambient temperature and the sampling voltage of the sampling resistor, and using a preset correspondence to determine the target sampling voltage threshold, the deflection device is controlled to stop rotating when there is abnormal stall or the ambient temperature is too high, thus preventing the motor from overheating.
This effectively avoids damage to the deflection device caused by abnormal stalling or high temperature, thus improving the service life and safety of the deflection device.
Smart Images

Figure CN118232290B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle technology, specifically to a deflection device control method, a deflection device, an in-vehicle central control screen, a vehicle, and a medium. Background Technology
[0002] The in-vehicle central control screen is an important device in a vehicle, typically used to display and control various vehicle functions and information. With the gradual development of in-vehicle central control screens, they have transitioned from being fixed in a certain position inside the vehicle to being able to be deflected at a corresponding angle by a deflection device controlled by deflection commands.
[0003] However, due to external environmental factors, the deflection device is prone to motor overheating during rotation, which can lead to damage to the deflection device and affect user experience. Summary of the Invention
[0004] The purpose of this disclosure is to provide a deflection device control method, a deflection device, an in-vehicle central control screen, a vehicle, and a medium to solve the aforementioned technical problems.
[0005] To achieve the above objectives, the first aspect of this disclosure provides a deflection device control method, the method comprising:
[0006] During the rotation of the deflection device, the ambient temperature and the sampling voltage of the sampling resistor are acquired, wherein the sampling resistor is a resistor connected in series with the motor of the deflection device;
[0007] Based on the ambient temperature and a preset correspondence, a target sampling voltage threshold is determined, wherein the preset correspondence is used to characterize the correspondence between temperature and sampling voltage threshold, and the target sampling voltage threshold is used to characterize the sampling voltage of the sampling resistor when the motor is in a stall state at the ambient temperature;
[0008] The deflection device is controlled to stop rotating based on the ambient temperature or based on the sampling voltage and the target sampling voltage threshold.
[0009] Optionally, determining the target sampling voltage threshold based on the ambient temperature and a preset correspondence includes:
[0010] Determine the target temperature range corresponding to the ambient temperature based on the ambient temperature and the preset temperature range;
[0011] Based on the target temperature range and the preset correspondence between the preset temperature range and the sampling voltage threshold, the target sampling voltage threshold corresponding to the ambient temperature is determined.
[0012] Optionally, controlling the deflection device to stop rotating based on the sampled voltage and the target sampled voltage threshold includes:
[0013] When the sampling voltage continuously exceeds the target sampling voltage threshold, the deflection device is controlled to stop rotating.
[0014] Optionally, controlling the deflection device to stop rotating based on the ambient temperature includes:
[0015] When the ambient temperature continuously exceeds a preset ambient temperature threshold, the deflection device is controlled to stop rotating.
[0016] Optionally, it also includes:
[0017] While controlling the deflection device to stop rotating, the deflection device is locked until the ambient temperature is lower than the ambient temperature threshold.
[0018] Optionally, it also includes:
[0019] When the ambient temperature is greater than a preset ambient temperature threshold, the detection frequency of the ambient temperature is increased.
[0020] Optionally, before the deflection device rotates, the method further includes:
[0021] In response to receiving a deflection request, a first target deflection angle of the deflection device is determined;
[0022] Based on the first target deflection angle and the current deflection angle of the deflection device, the deflection device is controlled to rotate until the deflection angle of the deflection device is equal to the first target deflection angle.
[0023] Optionally, controlling the deflection device to rotate based on the first target deflection angle and the current deflection angle of the deflection device includes:
[0024] When the current deflection angle is greater than the first target deflection angle, the deflection device is controlled to rotate in the first direction;
[0025] When the current deflection angle is less than the first target deflection angle, the deflection device is controlled to rotate in a second direction, wherein the first direction and the second direction are opposite.
[0026] Optionally, before the deflection device rotates, the method further includes:
[0027] In response to receiving a calibration request, the target rotation path of the deflection device is determined;
[0028] The deflection device is controlled to rotate according to the target rotation path.
[0029] Optionally, the target rotation path includes a first rotation path, a second rotation path, and a third rotation path, and controlling the deflection device to rotate according to the target rotation path includes:
[0030] Based on the first rotation path, the deflection device is controlled to rotate to a first extreme position in a third direction, and the first extreme deflection angle of the deflection device at the first extreme position is determined.
[0031] According to the second rotation path, the deflection device is controlled to rotate from the first extreme position to the second extreme position in the fourth direction, and the second extreme deflection angle of the deflection device at the second extreme position is determined, wherein the third direction is opposite to the fourth direction;
[0032] According to the third rotation path, the deflection device is controlled to rotate from the second extreme position to the first extreme position, and the first deflection angle of the deflection device during the rotation process is determined;
[0033] When the first deflection angle is equal to the second target deflection angle, the deflection device is controlled to stop rotating, wherein the second target deflection angle is determined by the first limit deflection angle and the second limit deflection angle.
[0034] Optionally, determining the first limit deflection angle of the deflection device at the first limit position includes:
[0035] The operating state of the deflection device is determined, and the operating state is used to characterize whether the deflection device is in a conducting state;
[0036] When the operating state indicates that the deflection device is in a non-conductive state, the second deflection angle of the deflection device is obtained, and the second deflection angle is determined as the first limit deflection angle.
[0037] Optionally, obtaining the sampling voltage of the deflection device includes:
[0038] The motor rotation current of the deflection device is collected based on a preset sampling frequency;
[0039] The sampling voltage is determined based on the motor rotation current and the preset sampling resistor.
[0040] A second aspect of this disclosure provides a deflection device, the deflection device comprising:
[0041] The deflection device body includes a motor;
[0042] The first on / off switch includes a first limit switch and a first diode connected in parallel, and the cathode of the first diode is connected to the positive terminal of the motor.
[0043] The second on / off switch includes a second limit switch and a second diode connected in parallel, and the cathode of the second diode is connected to the negative terminal of the motor.
[0044] Angle detection unit is connected to the motor;
[0045] A controller is connected to the motor, the angle detection unit, the first on / off switch, and the second on / off switch, and the controller is configured to perform the steps of the method as described in any one of the first aspects.
[0046] This disclosure provides a third aspect of an in-vehicle central control screen, including a display screen and the deflection device described in the second aspect, wherein the display screen is disposed on the deflection device.
[0047] This disclosure provides a fourth aspect of a vehicle, including the in-vehicle central control screen described in the third aspect.
[0048] The fifth aspect of this disclosure provides a non-transitory computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the method as described in any of the first aspects.
[0049] Through the above technical solution, the ambient temperature and the sampling voltage of the sampling resistor can be acquired during the rotation of the deflection device. The deflection device can then be stopped based on the ambient temperature, or based on the sampling voltage and a target sampling voltage threshold. Therefore, during the rotation of the deflection device, on the one hand, the ambient temperature can be used to control the device's stoppage, preventing overheating of the motor due to excessively high ambient temperatures, which could damage the deflection device. On the other hand, since the target sampling voltage threshold characterizes the sampling voltage of the sampling resistor when the motor is in a stalled state at ambient temperature, controlling the deflection device's stoppage using this threshold can promptly stop the device's rotation if abnormal stalling causes motor overheating, thus preventing damage caused by abnormal stalling. Furthermore, since different sampling voltage thresholds are set for different ambient temperatures, this also avoids the problem of excessive mechanical resistance in the deflection device at low temperatures, which could be mistakenly interpreted as abnormal motor stalling.
[0050] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description
[0051] The accompanying drawings are provided to further illustrate the present disclosure and form part of the specification. They are used together with the following detailed description to explain the present disclosure, but do not constitute a limitation thereof. In the drawings:
[0052] Figure 1 This is a flowchart illustrating a deflection device control method according to an exemplary embodiment;
[0053] Figure 2 This is a flowchart illustrating a method for controlling a deflection device to stop rotating, according to an exemplary embodiment.
[0054] Figure 3 This is a flowchart illustrating another control deflection device to stop rotation according to an exemplary embodiment;
[0055] Figure 4 This is a flowchart illustrating another control deflection device to stop rotation according to an exemplary embodiment;
[0056] Figure 5 This is a flowchart illustrating another control deflection device to stop rotation according to an exemplary embodiment;
[0057] Figure 6 This is a flowchart illustrating the rotation of a deflection device according to an exemplary embodiment;
[0058] Figure 7 This is a calibration flowchart of a deflection device according to an exemplary embodiment;
[0059] Figure 8 This is a calibration flowchart for the deflection device in related technologies;
[0060] Figure 9 This is a schematic diagram of the circuit structure of a deflection device according to an exemplary embodiment;
[0061] Figure 10 This is a schematic block diagram of the circuit structure of a deflection device according to an exemplary embodiment;
[0062] Figure 11 This is a schematic block diagram of the circuit structure of the deflection device in related technologies.
[0063] Explanation of reference numerals in the attached figures
[0064] 1. Deflection device body; 2. Motor; 3. First limit switch; 4. First diode; 5. Second limit switch; 6. Second diode. Detailed Implementation
[0065] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0066] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0067] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0068] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0069] As mentioned in the background section, the in-vehicle central control screen is an important device in a vehicle, typically used to display and control various vehicle functions and information. With the gradual development of in-vehicle central control screens, they have transitioned from being fixed in a certain position inside the vehicle to having a deflection device that can be controlled by deflection commands to deflect at a corresponding angle.
[0070] However, due to the influence of external environmental factors, the deflection device is prone to abnormal stalling or motor overheating due to ambient temperature during rotation, which can lead to damage to the deflection device and affect user operation.
[0071] Specifically, after responding to the deflection command, the controller in the deflection device controls the motor in the deflection device to drive the deflection device to deflect to the corresponding deflection angle. If the deflection device experiences abnormal stalling during the deflection process, in order to overcome the abnormal stalling, the controller will continuously increase the motor rotation current, thereby causing the motor to heat up. If the motor cannot overcome the abnormal stalling even when it is running at the maximum motor rotation current, the motor is likely to burn out, resulting in damage to the deflection device.
[0072] In view of the above, this disclosure provides a deflection device control method, a deflection device, an in-vehicle central control screen, a vehicle, and a medium to solve the above-mentioned technical problems.
[0073] The specific embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.
[0074] Figure 1 This is a flowchart illustrating a deflection device control method according to an exemplary embodiment of the present disclosure, with reference to... Figure 1 The method may include the following steps:
[0075] Step S101: During the rotation of the deflection device, the ambient temperature and the sampling voltage of the sampling resistor are acquired, wherein the sampling resistor is a resistor connected in series with the motor of the deflection device.
[0076] The ambient temperature can be acquired in real time or periodically using a temperature detection device, such as a temperature sensor, and this disclosure does not impose any limitations on this. In a possible implementation, to avoid acquiring a large number of repetitive ambient temperatures, the ambient temperature can be detected periodically using a temperature sensor, for example, every 30 seconds, 1 minute, or 5 minutes.
[0077] In a possible implementation, obtaining the sampling voltage of the sampling resistor may include:
[0078] The motor rotation current of the deflection device is collected based on a preset sampling frequency; the sampling voltage is determined based on the motor rotation current and the sampling resistor.
[0079] It should be understood that the sampling frequency can be set according to actual conditions, and this disclosure does not impose any limitations on it. In possible implementations, the sampling frequency can be set to a fixed value, for example, 5 ms / time, 10 ms / time, or 30 ms / time. Alternatively, the sampling frequency can be set to a variable value, and the sampling frequency varies according to the ambient temperature. For example, at a first temperature value or a first temperature range, the sampling frequency is set to 5 ms / time; at a second temperature value or a second temperature range, the sampling frequency is set to 10 ms / time; and at a third temperature value or a third temperature range, the sampling frequency is set to 20 ms / time. Here, the first temperature value, the second temperature value, and the third temperature value are different, and the first temperature range, the second temperature range, and the third temperature range are different.
[0080] After collecting the motor rotation current, the sampling voltage of the sampling resistor is obtained by calculating the product between the resistance value of the sampling resistor and the motor rotation current.
[0081] Step S102: Determine the target sampling voltage threshold according to the ambient temperature and the preset correspondence, wherein the preset correspondence is used to characterize the correspondence between temperature and sampling voltage threshold, and the target sampling voltage threshold is used to characterize the sampling voltage of the sampling resistor when the motor is in a stall state at the ambient temperature.
[0082] It should be understood that the correspondence between temperature and sampling voltage threshold can be set according to actual conditions. For example, the correspondence between temperature and sampling voltage threshold can be one temperature value corresponding to one sampling voltage threshold, or a temperature range corresponding to one sampling voltage threshold. This disclosure does not impose any limitations on this.
[0083] When a temperature corresponds to a sampling voltage threshold, determining the target sampling voltage threshold based on the ambient temperature and a preset correspondence may include:
[0084] Based on the ambient temperature and the preset correspondence between the ambient temperature and the rotational current threshold, the target rotational current threshold corresponding to the ambient temperature is determined.
[0085] When a temperature range corresponds to a sampling voltage threshold, determining the target rotational current threshold based on the ambient temperature and a preset correspondence may include:
[0086] A target temperature range corresponding to the ambient temperature is determined based on the ambient temperature and a preset temperature range; a target sampling voltage threshold corresponding to the ambient temperature is determined based on the target temperature range and a preset correspondence between the preset temperature range and the sampling voltage threshold.
[0087] For example, the preset correspondence between the preset temperature range and the sampling voltage threshold can be shown in Table 1.
[0088] Table 1. Correspondence between temperature range and sampling voltage threshold
[0089] Serial Number Temperature range (°C) Sampling voltage threshold (V) 1 T<-15 1 2 -15≤T<0 0.8 3 0≤T 0.5
[0090] As shown in Table 1, the correspondence between temperature ranges and sampling voltage thresholds includes three temperature ranges, each with a corresponding sampling voltage threshold. When the ambient temperature T is in temperature range 1 (T < -15), the sampling voltage threshold is set to 1V. When the ambient temperature T is in temperature range 2 (-15 ≤ T < 0), the sampling voltage threshold is set to 0.8V. When the ambient temperature T is in temperature range 3 (0 ≤ T), the sampling voltage threshold is set to 0.5V.
[0091] In this embodiment, by setting different sampling voltage thresholds for different ambient temperatures, it is possible to avoid the problem that the mechanical resistance of the deflection device is too large due to the low temperature environment, which may be mistakenly judged as abnormal motor stall, causing the motor to shut down directly after starting.
[0092] Step S103: Control the deflection device to stop rotating based on the ambient temperature or based on the sampling voltage and the target sampling voltage threshold.
[0093] In a possible implementation, controlling the deflection device to stop rotating based on the target sampling voltage threshold may include:
[0094] When the sampling voltage continuously exceeds the target sampling voltage threshold, the deflection device is controlled to stop rotating.
[0095] It should be understood that the sampling voltage being continuously greater than the target sampling voltage threshold can be either multiple consecutive sampling voltages being greater than the target sampling voltage threshold, or a single instance of the sampling voltage being greater than the target sampling voltage threshold lasting for a duration exceeding a first preset duration. This disclosure does not impose any restrictions on this.
[0096] When the sampled voltage is continuously greater than the target sampled voltage threshold (meaning that the sampled voltage is greater than the target sampled voltage threshold multiple times consecutively), the process of controlling the deflection device to stop rotating can be as follows: Figure 2 As shown, during the rotation of the deflection device, a sampling voltage is collected and compared with a target sampling voltage threshold. When the sampling voltage is less than the target sampling voltage threshold, the first counter is set to zero. When the sampling voltage is greater than the target sampling voltage threshold, the first counter is incremented by one, and it is determined whether the value in the first counter is greater than a first preset value. If the value in the first counter is less than the first preset value, the above process is repeated. If the value in the first counter is greater than the first preset value, the deflection device is controlled to stop rotating.
[0097] When the sampled voltage is continuously greater than the target sampled voltage threshold (meaning the duration of a single instance of the sampled voltage being greater than the target sampled voltage threshold exceeds a first preset duration), the process of controlling the deflection device to stop rotating can be as follows: Figure 3As shown, during the rotation of the deflection device, a sampling voltage is collected and compared with a target sampling voltage threshold. If the sampling voltage is less than the target sampling voltage threshold, the timing function of the first timer is turned off. If the sampling voltage is greater than the target sampling voltage threshold, it is determined whether the timing function of the first timer is turned off. If the timing function of the first timer is turned off, it is turned on, and it is determined whether the value in the first timer is greater than a first preset duration. If the value in the first counter is less than the first preset duration, the above process is repeated. If the value in the first counter is greater than the first preset duration, the deflection device is controlled to stop rotating. When the timing function of the first timer is turned on, it is determined whether the value in the first timer is greater than the first preset duration. If the value in the first counter is less than the first preset duration, the above process is repeated. If the value in the first counter is greater than the first preset duration, the deflection device is controlled to stop rotating.
[0098] In this embodiment, by controlling the deflection device to stop rotating when the sampling voltage is continuously greater than the target sampling voltage threshold, the problem of the vehicle generating reverse resistance due to vehicle vibration when driving on rugged mountain roads can be prevented from being mistakenly judged as an abnormal stall of the motor.
[0099] In a possible implementation, controlling the deflection device to stop rotating based on the ambient temperature may include:
[0100] When the ambient temperature continuously exceeds a preset ambient temperature threshold, the deflection device is controlled to stop rotating.
[0101] It should be understood that the continuous ambient temperature being greater than the preset ambient temperature threshold can be either multiple consecutive ambient temperature measurements that are greater than the ambient temperature threshold, or a single instance of the ambient temperature being greater than the ambient temperature threshold lasting for a duration exceeding a second preset duration. This disclosure does not impose any restrictions on this.
[0102] When the ambient temperature continuously exceeds the preset ambient temperature threshold (meaning the ambient temperature is repeatedly exceeded by multiple consecutive data points), the process of controlling the deflection device to stop rotating can be described as follows: Figure 4 As shown, during the rotation of the deflection device, the ambient temperature is collected and compared with the ambient temperature threshold. When the ambient temperature is lower than the ambient temperature threshold, the second counter is set to zero; when the ambient temperature is higher than the ambient temperature threshold, the second counter is incremented by one, and it is determined whether the value in the second counter is greater than the second preset value. If the value in the second counter is less than the second preset value, the above process is repeated; if the value in the second counter is greater than the second preset value, the deflection device is controlled to stop rotating.
[0103] When the ambient temperature continuously exceeds the preset ambient temperature threshold (meaning the duration of a single instance where the ambient temperature exceeds the threshold exceeds a second preset duration), the process of controlling the deflection device to stop rotating can be as follows: Figure 5 As shown, during the rotation of the deflection device, the ambient temperature is collected and compared with an ambient temperature threshold. If the ambient temperature is lower than the threshold, the timing function of the second timer is turned off. If the ambient temperature is higher than the threshold, it is determined whether the timing function of the second timer is turned off. If the timing function of the second timer is off, it is turned on, and it is determined whether the value in the second timer is greater than a second preset duration. If the value in the second timer is less than the second preset duration, the above process is repeated. If the value in the second timer is greater than the second preset duration, the deflection device is controlled to stop rotating. Similarly, if the timing function of the second timer is on, it is determined whether the value in the second timer is greater than the second preset duration. If the value in the second timer is less than the second preset duration, the above process is repeated. If the value in the second timer is greater than the second preset duration, the deflection device is controlled to stop rotating.
[0104] In this embodiment, by controlling the deflection device to stop rotating when the ambient temperature is continuously higher than the ambient temperature threshold, the problem of motor 2 burning out due to prolonged operation under high temperature conditions can be avoided.
[0105] In a possible implementation, to further prevent motor 2 from burning out or experiencing excessive wear due to high temperatures, the detection frequency of ambient temperature can be increased when the ambient temperature exceeds a threshold value. This reduces the operating time of motor 2 in high-temperature environments and extends its service life. For example, the detection frequency can be increased from 2 times / min to 10 times / min.
[0106] In a possible implementation, in order to further reduce the working time of motor 2 in high-temperature environment and improve the service life of motor 2, when the ambient temperature is continuously greater than the ambient temperature threshold, the deflection device is controlled to stop rotating while the motor 2 is locked until the ambient temperature is less than the ambient temperature threshold, or the single locking time reaches the preset locking time.
[0107] The ambient temperature threshold and preset lock duration can be set according to actual conditions, and this embodiment does not impose any limitations on them. In a possible implementation, the ambient temperature threshold can be set to 70°C, and the preset lock duration can be set to 3 minutes.
[0108] Through the above technical solution, the ambient temperature and the sampling voltage of the sampling resistor can be acquired during the rotation of the deflection device. The deflection device can then be stopped based on the ambient temperature, or based on the sampling voltage and a target sampling voltage threshold. Therefore, during the rotation of the deflection device, on the one hand, the ambient temperature can be used to control the device's stoppage, preventing overheating of the motor due to excessively high ambient temperatures, which could damage the deflection device. On the other hand, since the target sampling voltage threshold characterizes the sampling voltage of the sampling resistor when the motor is in a stalled state at ambient temperature, controlling the deflection device's stoppage using this threshold can promptly stop the device's rotation if abnormal stalling causes motor overheating, thus preventing damage caused by abnormal stalling. Furthermore, since different sampling voltage thresholds are set for different ambient temperatures, this also avoids the problem of excessive mechanical resistance in the deflection device at low temperatures, which could be mistakenly interpreted as abnormal motor stalling.
[0109] In a possible implementation, before the deflection device rotates, the method may further include:
[0110] In response to receiving a deflection request, a first target deflection angle of the deflection device is determined; based on the first target deflection angle and the current deflection angle of the deflection device, the deflection device is controlled to rotate until the deflection angle of the deflection device is equal to the first target deflection angle.
[0111] It should be understood that a deflection request can include a deflection command and a corresponding deflection angle. Thus, by parsing the deflection request, the deflection angle of the deflection device, i.e., the first target deflection angle, can be obtained.
[0112] It should also be understood that the current deflection angle can be obtained by an angle sensor or by detecting the current voltage of a potentiometer, and this disclosure does not impose any limitations on this.
[0113] When the current deflection angle is obtained through an angle sensor, the current deflection angle of the deflection device can be detected in real time during the rotation of the deflection device, and it can be determined whether the current deflection angle is equal to the first target deflection angle. When the current deflection angle is equal to the first target deflection angle, the deflection device is controlled to stop rotating.
[0114] When the current deflection angle is obtained by detecting the current voltage of the potentiometer, the first target deflection angle can be converted into the target voltage of the potentiometer. Then, during the rotation of the deflection device, the current voltage of the potentiometer is detected in real time, and it is determined whether the current voltage is equal to the target voltage. When the current voltage is equal to the target voltage, the deflection device is controlled to stop rotating.
[0115] In a possible implementation, the first target deflection angle can be converted into the target voltage using the following formula:
[0116]
[0117] Where U represents the target voltage, U0 represents the voltage when the deflection device deflects to the left limit position, U1 represents the voltage when the deflection device deflects to the right limit position, α represents the maximum deflection angle from the left limit position to the right limit position, and β represents the first target deflection angle.
[0118] In a possible implementation, controlling the deflection device to rotate based on the first target deflection angle and the current deflection angle of the deflection device may include:
[0119] When the current deflection angle is greater than the first target deflection angle, the deflection device is controlled to rotate in a first direction; when the current deflection angle is less than the first target deflection angle, the deflection device is controlled to rotate in a second direction, wherein the first direction and the second direction are opposite.
[0120] It should be understood that the first and second directions can be set according to actual conditions, and this embodiment does not impose any restrictions on them. For example, controlling the deflection device to rotate in the first direction can mean controlling the deflection device to rotate to the left, right, up, down, or southeast, etc. Correspondingly, controlling the deflection device to rotate in the second direction can mean controlling the deflection device to rotate to the right, left, down, up, or northwest, etc.
[0121] It should also be understood that the above-described method of controlling the deflection device to deflect based on the first target deflection angle and the current deflection angle is merely illustrative and does not constitute a limitation on the solution. In a possible implementation, it may also be necessary to first determine whether the current deflection angle is greater than the first target deflection angle. If the current deflection angle is greater than the first target deflection angle, then the deflection device is controlled to rotate in the first direction; otherwise, it may be determined whether the current deflection angle is equal to the first target deflection angle. If the current deflection angle is equal to the first target deflection angle, then the deflection device is controlled to stop rotating; otherwise, the deflection device is controlled to rotate in the second direction, and it is determined whether the current deflection angle is greater than the first target deflection angle.
[0122] To facilitate understanding of the rotation process of the deflection device in this embodiment, the rotation process of the deflection device will be further explained below with reference to the accompanying drawings. Figure 6 As shown, the rotation process of the deflection device may include the following steps:
[0123] Step 601: Respond to the user's deflection request and determine the first target deflection angle;
[0124] Step 602: Convert the first target deflection angle into the target voltage;
[0125] Step 603: Determine whether the target voltage is greater than the current voltage. If the target voltage is greater than the current voltage, proceed to step 604; otherwise, proceed to step 607.
[0126] Step 604: Control the deflection device to deflect to the right;
[0127] Step 605: Determine whether the deflection device is in a stalled state, that is, whether the sampling voltage is continuously greater than the target sampling voltage threshold. If the deflection device is in a stalled state, proceed to step 606; otherwise, proceed to step 603.
[0128] Step 606: Trigger the anti-pinch function, control the deflection device to stop rotating, indicate that the deflection device is abnormal, and execute step S201;
[0129] Step 607: Determine whether the target voltage is equal to the current voltage. If the target voltage is equal to the current voltage, control the deflection device to stop rotating; otherwise, proceed to step 608.
[0130] Step 605: Control the deflection device to deflect to the left, and execute step 605.
[0131] In possible implementations, it is also possible to... Figure 6 During the rotation process shown, the ambient temperature is continuously detected to see if it is continuously greater than the preset ambient temperature threshold. When the ambient temperature is continuously greater than the preset ambient temperature threshold, the deflection device is controlled to stop rotating.
[0132] In a possible implementation, before the deflection device rotates, the method may further include:
[0133] In response to receiving a calibration request, a target rotation path for the deflection device is determined; and the deflection device is controlled to rotate according to the target rotation path.
[0134] It should be understood that during the rotation of the deflection device, there may be deviations in deflection accuracy, resulting in a discrepancy between the actual and expected deflection angles. This can cause the deflection device to fail to center itself, affecting user operation. To overcome these technical problems, this embodiment pre-sets a target rotation path for calibrating the deflection device. Upon receiving a calibration request from the user, the deflection device can be controlled to rotate according to the target rotation path to calibrate it.
[0135] In a possible implementation, the target rotation path includes a first rotation path, a second rotation path, and a third rotation path, and controlling the deflection device to rotate according to the target rotation path may include:
[0136] According to the first rotation path, the deflection device is controlled to rotate towards a first extreme position in a third direction, and a first extreme deflection angle of the deflection device at the first extreme position is determined; according to the second rotation path, the deflection device is controlled to rotate from the first extreme position to a second extreme position in a fourth direction, and a second extreme deflection angle of the deflection device at the second extreme position is determined, wherein the third direction and the fourth direction are opposite; according to the third rotation path, the deflection device is controlled to rotate from the second extreme position to the first extreme position, and a first deflection angle of the deflection device during the rotation process is determined; when the first deflection angle is equal to the second target deflection angle, the deflection device is controlled to stop rotating, wherein the second target deflection angle is determined by the first extreme deflection angle and the second extreme deflection angle.
[0137] It should be understood that the third direction can be the same as the first direction or the second direction, and this disclosure does not impose any restrictions on this. When the third direction is the same as the first direction, the fourth direction is the same as the second direction; when the third direction is the same as the second direction, the fourth direction is the same as the first direction.
[0138] It should also be understood that when the deflection device is centered, its maximum deflection angles in the third and fourth directions should be equal, that is, the first limit deflection angle and the second limit deflection angle should be equal. Therefore, by calculating the average of the first limit deflection angle and the second limit deflection angle, the second target deflection angle when the deflection device is in the middle position can be obtained. After obtaining the second target deflection angle, the deflection device is calibrated by rotating it to the second target deflection angle.
[0139] In a possible implementation, determining the first limiting deflection angle of the deflection device at the first limiting position may include:
[0140] The working state of the deflection device is determined, and the working state is used to characterize whether the deflection device is in a conducting state; when the working state characterizes that the deflection device is in a non-conducting state, the second deflection angle of the deflection device is obtained, and the second deflection angle is determined as the first limit deflection angle.
[0141] It should be understood that when the deflection device deflects to the first limit position, although the deflection device will not continue to rotate, the motor 2 used to drive the deflection device to rotate is still in a high-speed rotation state. In order to avoid damage to the deflection device, the power to the deflection device is cut off when the deflection device deflects to the first limit position. Thus, the working status of the deflection device can be detected to determine whether the deflection device has deflected to the first limit position.
[0142] The method for determining the second limit deflection angle is the same as the method for determining the first limit deflection angle, and will not be repeated here.
[0143] To facilitate understanding of the calibration process of the deflection device in this embodiment, the calibration process of the deflection device will be further explained below with reference to the accompanying drawings. Figure 7 As shown, the calibration process for the deflection device may include the following steps:
[0144] Step 701: Control the deflection device to deflect to the left;
[0145] Step 702: Determine whether the deflection device is in a stalled state, that is, whether the sampling voltage is continuously greater than the target sampling voltage threshold. If the deflection device is in a stalled state, proceed to step 703; otherwise, proceed to step 705.
[0146] Step 703: Trigger the anti-pinch operation, control the deflection device to stop rotating and prompt the user that the deflection device is abnormal;
[0147] Step 704: Determine whether recalibration is triggered. If yes, proceed to step 701; otherwise, control the deflection device to stop rotating.
[0148] Step 705: Determine whether the deflection device is in a non-conductive state. If the deflection device is in a non-conductive state, proceed to step 706; otherwise, proceed to step 701.
[0149] Step 706: Read and record the current voltage U0 of the potentiometer;
[0150] Step 707: Control the deflection device to deflect to the right;
[0151] Step 708: Determine whether the deflection device is in a stalled state. If the deflection device is in a stalled state, proceed to step 703; otherwise, proceed to step 709.
[0152] Step 709: Determine whether the deflection device is in a non-conductive state. If the deflection device is in a non-conductive state, proceed to step 710; otherwise, proceed to step 707.
[0153] Step 710: Read and record the current voltage U1 of the potentiometer;
[0154] Step 711: Control the deflection device to deflect to the left;
[0155] Step 712: Determine whether the deflection device is in a stalled state. If the deflection device is in a stalled state, proceed to step S103; otherwise, proceed to step 713.
[0156] Step 713: Read the current voltage U of the potentiometer and determine whether the current voltage U is equal to the second target deflection angle. If the current voltage U is equal to the second target deflection angle, control the deflection device to stop rotating; otherwise, execute step 711.
[0157] Compared to the calibration process in related technologies, such as Figure 8 As shown, the calibration process provided in this embodiment can determine potential stalling situations during the calibration of the deflection device, thereby improving user safety.
[0158] In possible implementations, it is also possible to... Figure 7 During the calibration process shown, the ambient temperature is continuously monitored to see if it is continuously greater than the preset ambient temperature threshold. When the ambient temperature is continuously greater than the preset ambient temperature threshold, the deflection device is controlled to stop rotating.
[0159] Based on the same technical concept, this disclosure also provides a deflection device, which can be as follows: Figure 9 and Figure 10 As shown, it may include:
[0160] The deflection device body 1 includes a motor 2;
[0161] The first on / off switch includes a first limit switch 3 and a first diode 4 connected in parallel, and the cathode of the first diode 4 is connected to the positive terminal of the motor 2.
[0162] The second on / off switch includes a second limit switch 5 and a second diode 6 connected in parallel, and the cathode of the second diode 6 is connected to the negative terminal of the motor 2.
[0163] Angle detection unit is connected to the motor 2;
[0164] A controller is connected to the motor 2, the angle detection unit, the first on / off switch, and the second on / off switch, and the controller is configured to perform the steps of the method described in any one of the first aspects.
[0165] It should be understood that the first limit switch 3 and the second limit switch 5 are used to limit the maximum deflection angle of the deflection device. Therefore, the limiting positions of the first limit switch 3 and the second limit switch 5 should be opposite. For example, when the deflection direction of the deflection device is left or right, the first limit switch 3 can be set as the left limit switch and the second limit switch 5 can be set as the right limit switch. Thus, when the deflection device deflects to the left limit position, the first limit switch 3 can be triggered to open, so that the deflection device is in a non-conductive state; when the deflection device deflects to the right limit position, the second limit switch 5 can be triggered to open, so that the deflection device is in a non-conductive state.
[0166] It should also be understood that the angle detection unit can be configured as an angle sensor or a potentiometer, and this disclosure does not impose any limitations on this embodiment. In possible implementations, the angle detection unit can be configured as a potentiometer, such as... Figure 10 As shown, the detected rotation angle can be converted into a voltage signal by a potentiometer and input to the controller, so that the controller can control the deflection device to rotate according to the voltage signal.
[0167] To facilitate understanding of the deflection device in this embodiment, the working process of the deflection device is described below:
[0168] When terminal A is high and terminal B is low, current flows from terminal A through the normally closed switch S1 of the first limit switch 3, through the motor, and then through the normally closed switch S2 of the second limit switch 5 to terminal B. This causes the motor to drive the deflection device to deflect to the right until the normally closed switch S2 of the second limit switch 5 is triggered and disconnected. Since the second diode 6 is in the reverse cutoff state, the deflection device is not conducting at this time, and the motor is de-energized. Because the normally closed switch S2 is open when the deflection device deflects to the far right, when terminal B is high and terminal A is low, current flows from terminal B through the second diode 6, through the motor, and then through the normally closed switch S1 to terminal A. This causes the motor to drive the deflection device to deflect to the left until the normally closed switch S1 is triggered and disconnected. Since the first diode 4 is in the reverse cutoff state, the deflection device is not conducting at this time, and the motor is de-energized.
[0169] In this embodiment, a time-delay automatic on / off circuit is formed using two normally closed limit switches, two diodes, and the motor 2 of the deflection device. This allows the circuit to be automatically disconnected when the deflection device reaches its limit position, preventing overheating from motor 2 stalling and extending the lifespan of the deflection device. Furthermore, compared to related technologies where the deflection device requires additional detection of limit switches to determine whether to stop motor 2, the solution provided in this embodiment reduces the controller's control logic for the deflection device, improving control efficiency.
[0170] Among them, the deflection device in the related technology, such as Figure 11 As shown, it includes a controller, a motor, a potentiometer, a left limit switch, and a right limit switch, wherein the controller is connected to the motor, the potentiometer, the left limit switch, and the right limit switch.
[0171] Based on the same technical concept, this disclosure also provides an in-vehicle central control screen, including a display screen and the deflection device described in the second aspect, wherein the display screen is disposed on the deflection device.
[0172] Based on the same technical concept, this disclosure also provides a vehicle, including the in-vehicle central control screen described in the third aspect.
[0173] Based on the same technical concept, embodiments of this disclosure also provide a non-transitory computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the method as described in any of the first aspects.
[0174] The preferred embodiments of this disclosure have been described in detail above with reference to the accompanying drawings. However, this disclosure is not limited to the specific details of the above embodiments. Within the scope of the technical concept of this disclosure, various simple modifications can be made to the technical solutions of this disclosure, and these simple modifications all fall within the protection scope of this disclosure.
[0175] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, this disclosure will not describe the various possible combinations separately.
[0176] Furthermore, various different embodiments of this disclosure can be combined in any way, as long as they do not violate the spirit of this disclosure, they should also be regarded as the content disclosed in this disclosure.
Claims
1. A deflection device control method, characterized in that, The method includes: In response to receiving a deflection request, the first target deflection angle of the deflection device is determined; Based on the first target deflection angle and the current deflection angle of the deflection device, the deflection device is controlled to rotate until the deflection angle of the deflection device equals the first target deflection angle; and During the rotation of the deflection device, the ambient temperature and the sampling voltage of the sampling resistor are acquired, wherein the sampling resistor is a resistor connected in series with the motor of the deflection device; Based on the ambient temperature and a preset correspondence, a target sampling voltage threshold is determined, wherein the preset correspondence is used to characterize the correspondence between temperature and sampling voltage threshold, and the target sampling voltage threshold is used to characterize the sampling voltage of the sampling resistor when the motor is in a stall state at the ambient temperature; The deflection device is controlled to stop rotating based on the ambient temperature, or based on the sampling voltage and the target sampling voltage threshold.
2. The method according to claim 1, characterized in that, The step of determining the target sampling voltage threshold based on the ambient temperature and a preset correspondence includes: Determine the target temperature range corresponding to the ambient temperature based on the ambient temperature and the preset temperature range; Based on the target temperature range and the preset correspondence between the preset temperature range and the sampling voltage threshold, the target sampling voltage threshold corresponding to the ambient temperature is determined.
3. The method according to claim 1, characterized in that, The step of controlling the deflection device to stop rotating based on the sampled voltage and the target sampled voltage threshold includes: When the sampling voltage continuously exceeds the target sampling voltage threshold, the deflection device is controlled to stop rotating.
4. The method according to claim 1, characterized in that, The step of controlling the deflection device to stop rotating based on the ambient temperature includes: When the ambient temperature continuously exceeds a preset ambient temperature threshold, the deflection device is controlled to stop rotating.
5. The method according to claim 4, characterized in that, Also includes: While controlling the deflection device to stop rotating, the deflection device is locked until the ambient temperature is lower than the ambient temperature threshold.
6. The method according to claim 1, characterized in that, Also includes: When the ambient temperature is greater than a preset ambient temperature threshold, the detection frequency of the ambient temperature is increased.
7. The method according to any one of claims 1-6, characterized in that, The step of controlling the deflection device to rotate based on the first target deflection angle and the current deflection angle of the deflection device includes: When the current deflection angle is greater than the first target deflection angle, the deflection device is controlled to rotate in the first direction; When the current deflection angle is less than the first target deflection angle, the deflection device is controlled to rotate in a second direction, wherein the first direction and the second direction are opposite.
8. The method according to any one of claims 1-6, characterized in that, Before the deflection device rotates, the method further includes: In response to receiving a calibration request, the target rotation path of the deflection device is determined; The deflection device is controlled to rotate according to the target rotation path.
9. The method according to claim 8, characterized in that, The target rotation path includes a first rotation path, a second rotation path, and a third rotation path. Controlling the deflection device to rotate according to the target rotation path includes: Based on the first rotation path, the deflection device is controlled to rotate to a first extreme position in a third direction, and the first extreme deflection angle of the deflection device at the first extreme position is determined. According to the second rotation path, the deflection device is controlled to rotate from the first extreme position to the second extreme position in the fourth direction, and the second extreme deflection angle of the deflection device at the second extreme position is determined, wherein the third direction is opposite to the fourth direction; According to the third rotation path, the deflection device is controlled to rotate from the second extreme position to the first extreme position, and the first deflection angle of the deflection device during the rotation process is determined; When the first deflection angle is equal to the second target deflection angle, the deflection device is controlled to stop rotating, wherein the second target deflection angle is determined by the first limit deflection angle and the second limit deflection angle.
10. The method according to claim 9, characterized in that, Determining the first limit deflection angle of the deflection device at the first limit position includes: The operating state of the deflection device is determined, and the operating state is used to characterize whether the deflection device is in a conducting state; When the operating state indicates that the deflection device is in a non-conductive state, the second deflection angle of the deflection device is obtained, and the second deflection angle is determined as the first limit deflection angle.
11. The method according to any one of claims 1-6, characterized in that, The process of obtaining the sampling voltage of the sampling resistor includes: The motor rotation current of the deflection device is collected based on a preset sampling frequency; The sampling voltage is determined based on the motor rotation current and the sampling resistor.
12. A deflection device, characterized in that, The deflection device includes: The deflection device body includes a motor; The first on / off switch includes a first limit switch and a first diode connected in parallel, and the cathode of the first diode is connected to the positive terminal of the motor. The second on / off switch includes a second limit switch and a second diode connected in parallel, and the cathode of the second diode is connected to the negative terminal of the motor. Angle detection unit is connected to the motor; A controller is connected to the motor, the angle detection unit, the first on / off switch, and the second on / off switch, and the controller is configured to perform the steps of the method as described in any one of claims 1-11.
13. A vehicle-mounted central control screen, characterized in that, It includes a display screen and a deflection device as described in claim 12, wherein the display screen is disposed on the deflection device.
14. A vehicle, characterized in that, Including the in-vehicle central control screen as described in claim 13.
15. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the method described in any one of claims 1-11.
Citation Information
Patent Citations
Overheat and overcurrent protection device, motor and overheat and overcurrent protection method thereof
CN109149520A
Control method of vehicle central control screen, vehicle control device, vehicle and storage medium
CN117068058A