A device, method and medium for improving terminal equipment performance
By designing a combination of controller, switch and temperature compensation paths in terminal equipment, the problem of equipment performance degradation caused by sensor temperature drift is solved, and equipment performance improvement and cost reduction is achieved.
Patent Information
- Application Number
- CN202111565354.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2041-12-20
AI Technical Summary
In existing terminal equipment, the temperature drifting problems caused by electronic devices' heating, temperature changes and user heart rate changes during use, resulting in equipment performance degradation.
A device is designed, including a controller, a first switch, a second switch, a third switch and a temperature compensation path. Through these components, each antenna corresponds to a temperature compensation path, thereby solving the temperature drift problem, and two paths connecting the controller are realized through the first switch and the second switch, saving the pin position of the controller.
It effectively solves the temperature drift problem, improves the performance of the terminal equipment, and reduces the number of pins of the sensor and reduces the cost.
Smart Images

Figure CN114221645B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an apparatus, method and medium for improving the performance of terminal equipment. Background Art
[0002] With the introduction of the concept of 5G Internet of Things for mobile terminals and the popularization of related technologies, intelligent communication technology is increasingly being used in household appliances, automobile transportation, wearable products, and data acquisition equipment. At the same time, mobile terminal devices are becoming more and more functional, and the antenna space is getting smaller and smaller. With the increasing number of 5G frequency bands and higher frequencies, the radiation of mobile terminal devices to the human body will also increase. In order to reduce radiation, it is necessary to reduce the transmission power, but this will reduce the network coverage and affect call performance. Therefore, the industry currently has sensors that can sense the distance between objects and the human body, thereby adjusting the transmission power. However, there are many problems in the application of this sensor. Among them, due to the heating of electronic devices during the use of the sensor, temperature changes, changes in the user's myocardial infarction, etc. will cause serious temperature drift problems, greatly reducing the performance of the terminal equipment.
[0003] In order to compensate for the influence of heat sources of devices on a printed circuit board (PCB), the existing sensors in the industry need a separate channel for temperature compensation. Figure 1 This is a diagram of the traditional sensor sensing scheme. The usual temperature compensation scheme is, for example, Figure 1 There are two paths including antenna 2 and one temperature compensation path 3, wherein the temperature compensation path 3 includes resistors and capacitors, and all three paths are connected to the controller 1. One path is used as the main signal 1 of the sensor, another path is used as the main signal 2, and the third path is used as the temperature compensation path 3. The temperature compensation path 3 is grounded through resistors and capacitors, and is not connected to the antenna. The first path and the second path share a temperature compensation path 3. Such a disadvantage is obvious. The principle of temperature compensation is to use the same temperature change of the temperature compensation path 3 and the first path and the second path, and to make a difference to offset the influence of temperature. It is necessary to require the temperature compensation path 3 and the first path and the second path to have differential routing (equidistant, equal length, parallel routing), but in fact, the antenna positions of the first path and the second path are different, and the routing is also different. The routing of the temperature compensation path 3 can only choose one path between the first path and the second path to go differential routing, sacrificing the other path, which leads to the limitation of the sensor detection scene. If there are 8 paths, the temperature compensation path 3 is basically invalid, thereby greatly reducing the performance of the terminal device. Therefore, in order to better compensate for the temperature, it is necessary to add a temperature compensation path for each path, but it will also cause the channel to double and increase the pins occupied by the controller.
[0004] It can be seen that how to improve the performance of terminal equipment is an urgent problem to be solved by those skilled in the art. Summary of the invention
[0005] The purpose of this application is to provide an apparatus, method and medium for improving the performance of terminal equipment, so as to improve the performance of terminal equipment.
[0006] In order to solve the above technical problems, the present application provides a device for improving the performance of a terminal device, comprising: a controller, a first switch, a second switch, a third switch, and a temperature compensation path;
[0007] The controller is connected to the fixed end of the first switch, the movable end of the first switch is connected to the first fixed end of the third switch, and the first movable end of the third switch is connected to the antenna;
[0008] The controller is connected to the fixed end of the second switch, the movable end of the second switch is connected to the second fixed end of the third switch, and the second movable end of the third switch is connected to the temperature compensation path.
[0009] Preferably, the temperature compensation path includes: a resistor and a capacitor;
[0010] The first end of the resistor is connected to the second moving end of the third switch, the second end of the resistor is connected to the first end of the capacitor, and the second end of the capacitor is grounded.
[0011] Preferably, the number of the movable ends of the first switches is equal to the number of the antennas; and the number of the movable ends of the second switches is equal to the number of the temperature compensation paths.
[0012] Preferably, the third switch is a double-pole double-throw switch.
[0013] Preferably, it also includes: a prompt device, which is connected to the controller.
[0014] Preferably, the controller is used to connect the temperature compensation path within a preset time starting from when the antenna is turned on.
[0015] In order to solve the above technical problems, the present application also provides a method for improving the performance of a terminal device, which is applied to the above-mentioned device for improving the performance of a terminal device, and the method comprises:
[0016] Obtain the antenna to be controlled in the next stage;
[0017] Controlling the first switch and the third switch to turn on the antenna;
[0018] The second switch and the third switch are controlled to connect the temperature compensation path corresponding to the antenna.
[0019] In order to solve the above technical problems, the present application also provides a device for improving the performance of a terminal device, which is applied to the above device for improving the performance of a terminal device, including:
[0020] An acquisition module, used to acquire the antenna to be controlled in the next stage;
[0021] A first control module, used for controlling the first switch and the third switch to turn on the antenna;
[0022] The second control module is used to control the second switch and the third switch to connect the temperature compensation path corresponding to the antenna.
[0023] In order to solve the above technical problems, the present application also provides a device for improving the performance of a terminal device, comprising:
[0024] Memory for storing computer programs;
[0025] The processor is used to implement the steps of the above-mentioned method for improving the performance of the terminal device when executing the computer program.
[0026] In order to solve the above technical problems, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method for improving the performance of a terminal device are implemented.
[0027] The device for improving the performance of terminal equipment provided by the present application includes: a controller, a first switch, a second switch, a third switch, and a temperature compensation path; the controller is connected to the fixed end of the first switch, the movable end of the first switch is connected to the first fixed end of the third switch, and the first movable end of the third switch is connected to the antenna; the controller is connected to the fixed end of the second switch, the movable end of the second switch is connected to the second fixed end of the third switch, and the second movable end of the third switch is connected to the temperature compensation path. The device ensures that each antenna corresponds to a temperature compensation path through the first switch, the second switch, and the third switch, thereby solving the problem of temperature drift. In addition, two paths connecting the controller are realized through the first switch and the second switch, saving the pin position of the controller, thereby improving the performance of the terminal equipment.
[0028] In addition, the present application also provides a method and apparatus for improving the performance of terminal equipment, which are applied to the above-mentioned apparatus for improving the performance of terminal equipment, and the effect is the same as above.
[0029] In addition, the present application also provides an apparatus for improving the performance of a terminal device and a computer-readable storage medium including the above-mentioned method for improving the performance of a terminal device, and the effects are the same as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0031] Figure 1 This is a diagram of a traditional sensor sensing scheme;
[0032] Figure 2 A structural diagram of an apparatus for improving terminal device performance provided in this embodiment;
[0033] Figure 3 is the connection diagram of the SP4T switch when the number of antennas is 4;
[0034] Figure 4 This is the connection diagram of the DPDT switch;
[0035] Figure 5 A structural diagram of a device for improving the performance of a terminal device when there are four antennas;
[0036] Figure 6 A flowchart of a method for improving terminal device performance provided by this application;
[0037] Figure 7 A structural diagram of a device for improving terminal device performance provided by an embodiment of the present application;
[0038] Figure 8 A structural diagram of an apparatus for improving terminal device performance provided in another embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0040] The core of this application is to provide an apparatus, method and medium for improving the performance of terminal equipment, which are used to improve the performance of terminal equipment.
[0041] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0042] In terminal devices, especially 5G mobile terminal devices, antennas are arranged in different directions. Antennas are used to transmit or receive electromagnetic waves, and electromagnetic waves are used to transmit information. Sensors are also arranged in the terminal devices to sense the distance between objects and the human body.
[0043] Figure 2 This is a structural diagram of a device for improving the performance of a terminal device provided in this embodiment. Figure 2 The structure of the device for improving the performance of the terminal equipment shown in the figure is described. The device includes: a controller 1, a first switch 4, a second switch 5, a third switch 6, and a temperature compensation path 3; the controller 1 is connected to the fixed end of the first switch 4, the movable end of the first switch 4 is connected to the first fixed end of the third switch 6, and the first movable end of the third switch 6 is connected to the antenna 2; the controller 1 is connected to the fixed end of the second switch 5, the movable end of the second switch 5 is connected to the second fixed end of the third switch 6, and the second movable end of the third switch 6 is connected to the temperature compensation path 3.
[0044] When the terminal device uses a sensor to sense the distance between an object and a human body, it is easily affected by the heat source of the device on the PCB and causes temperature drift. In order to solve the temperature drift, a corresponding temperature compensation path can be set for each antenna. However, when each antenna corresponds to a temperature compensation path, the pins of the sensor will be increased, which greatly increases the cost. It should be noted that the temperature compensation path can be a capacitor connected after the thermistor, or it can be connected to the op amp circuit through an adjustable potentiometer after the thermistor, and the negative end of the amplifier circuit is connected to the output end of the circuit to form a temperature compensation path, which is not limited here. In the present application, the temperature compensation path 3 is as follows: Figure 1 , Figure 2 As shown in , it usually includes a resistor and a capacitor, one end of the resistor is connected to the first end of the capacitor, and the second end of the capacitor is grounded. There is no limit on the number of resistors and capacitors in the temperature compensation path 3, as long as temperature compensation can be achieved through the path. Table 1 is a comparison table of the total number of sensor channels when taking 8 antennas as an example.
[0045] Table 1 Comparison of the total number of sensor channels when taking 8 antennas as an example
[0046] Traditional solution (one-channel temperature compensation) Each channel has a separate temperature compensation channel 9 16
[0047] It can be seen from Table 1 that when there are 8 antennas, when a temperature compensation path is added to each antenna, 16 pins need to be set at the sensor end. Therefore, in order to reduce the number of sensor pins and reduce costs, and to set a corresponding temperature compensation path for each antenna, a switch that can be switched in multiple directions can be used to reduce the number of sensor pins. Therefore, Figure 2The first switch 4 and the second switch 5 in the circuit can select a single-pole multi-throw switch. There is no limitation on the models of the first switch and the second switch. Usually, the first switch 4 and the second switch 5 use radio frequency switches, which include single-pole double-throw switches (SPDT) and double-pole multi-throw switches (DPXT), etc. The number of switches and switch channels can be freely selected. The first switch 4 and the second switch 5 can be selected of the same model or different models. In implementation, since the first switch 4 controls the antenna 2 path, the second switch controls the temperature compensation path 3, and each antenna 2 corresponds to one temperature compensation path 3, therefore, as a preferred implementation, the first switch 4 and the second switch 5 use the same model of switch, and the number of the first switch moving ends and the number of the second switch moving ends are greater than or equal to the number of antennas, ensuring that each antenna corresponds to one path. In the present application, when the number of antennas 2 is X, the switch model used by the first switch 4 and the second switch 5 is SPXT. Figure 3 When the number of antennas 2 is 4, the connection diagram of the SP4T switch is shown in FIG. Figure 3 It can be seen that the fixed end of the switch is a, the first moving end of the switch is b, the second moving end of the switch is c, the third moving end of the switch is d, and the fourth moving end of the switch is e. Table 2 is the SP4T switch logic table. It can be seen from Table 2 that when the path is ab, the control logic is 00, when the path is ac, the control logic is 01, when the path is ad, the control logic is 10, and when the path is ae, the control logic is 11.
[0048] Table 2 SP4T switch logic table
[0049] path ab ac ad ae Control Logic 00 01 10 11
[0050] There is no limitation on the model of the third switch 6 and the number of the third switches 6. Since the temperature compensation path 3 is used for temperature compensation when the antenna 2 is working, two single-pole single-throw switches, one double-pole double-throw switch, or even more than two single-pole single-throw switches, double-pole multi-throw switches (multi-throw here means that the number of moving ends of the switch is greater than two), etc. can be selected for the third switch 6, as long as it can ensure that one path is connected to the antenna 2 and the other path is connected to the temperature compensation path 3. In this application, the model of the third switch 6 selected is a double-pole double-throw (DPDT) switch. When the number of antennas 2 is 4, the antenna end switches the antenna path and the temperature compensation path 3 through four DPDT switches. The principle of DPDT is as follows Figure 4 , Figure 4is the connection diagram of the DPDT switch. The switch has two states: state 1: 1 through 3, 2 through 4, state 2: 1 through 4, 2 through 3; Table 3 is the DPDT switch logic table. It can be seen from Table 3 that when 1 through 3, 2 through 4, the corresponding logic is 0; when 1 through 4, 2 through 3, the corresponding logic is 1.
[0051] Table 3 DPDT switch logic table
[0052] logic 0 1 Path status 1-3 1-4 Path status 2-4 2-3
[0053] The controller 1 is connected to the fixed end of the first switch 4, the moving end of the first switch 4 is connected to the first fixed end of the third switch 6, and the first moving end of the third switch 6 is connected to the antenna 2; the controller 1 is connected to the fixed end of the second switch 5, the moving end of the second switch 5 is connected to the second fixed end of the third switch 6, and the second moving end of the third switch 6 is connected to the temperature compensation path 3. Figure 5 A structural diagram of a device for improving the performance of a terminal device when there are four antennas. Figure 5 In the figure, for four antennas, namely antenna one 10, antenna two 11, antenna three 12 and antenna four 13, two SP4T switches are set, namely the first switch 4 and the second switch 5, and four DPDT switches are set at the antenna end, namely the third switch 6, the fourth switch 7, the fifth switch 8 and the sixth switch 9. When antenna one 10 is working, controller 1 is connected to the fixed end of the first switch 4, the movable end of the first switch 4 is connected to the first fixed end of the third switch 6, and the first movable end of the third switch 6 is connected to antenna one 10; controller 1 is connected to the fixed end of the second switch 5, the movable end of the second switch 5 is connected to the second fixed end of the third switch 6, and the second movable end of the third switch 6 is connected to the corresponding temperature compensation path 3; similarly, when antenna two 11 is working, controller 1 is connected to the fixed end of the first switch 4, the movable end of the first switch 4 is connected to the first fixed end of the fourth switch 7, and the first movable end of the fourth switch 7 is connected to antenna two 11; controller 1 is connected to the fixed end of the second switch 5, the movable end of the second switch 5 is connected to the second fixed end of the fourth switch 7, and the second movable end of the fourth switch 7 is connected to the corresponding temperature compensation path 3, and so on. When each antenna is working, the corresponding temperature compensation path 3 will also be connected, thereby realizing temperature compensation. Figure 5The first switch 4 and the second switch 5 are SP4T switches, and the third switch 6 is a DPDT switch. Combined with the SP4T switch logic table and the DPDT switch logic table mentioned above, when the terminal device starts working, the overall control logic is shown in the following table. Table 4 is the overall control logic table. It can be seen from Table 4 that when the first switch 4 polls the four antennas, the corresponding codes are 00, 01, 10, and 11 respectively, and when the second switch 5 polls the temperature compensation path 3 corresponding to the four antennas, the corresponding codes are 00, 01, 10, and 11 respectively. When the third switch 6 is connected to antenna one 10, the fourth switch 7 is connected to antenna two 11, the fifth switch 8 is connected to antenna three 12, and the sixth switch 9 is connected to antenna four 13, the corresponding codes are all 0.
[0054] In addition, in order to solve the temperature compensation problem, each antenna corresponds to a temperature compensation path. However, in implementation, the number of antennas can be greater than the number of temperature compensation paths, which is not limited here, as long as each antenna can have a corresponding temperature compensation path. When connecting the antenna and the temperature compensation path corresponding to the antenna, it is necessary to pre-judge the antenna to be worked. When pre-judging the antenna to be worked, the appropriate antenna to be worked can be selected according to the scene to be detected. Combined with the logic in the above text, when the code is detected as 00, it means that antenna one 10 is working; when the code is detected as 01, it means that antenna two 11 is working, when the code is detected as 10, it means that antenna three 12 is working, and when the code is detected as 11, it means that antenna four 13 is working.
[0055] It should be noted that this embodiment lists the structural diagram of the device for improving the performance of the terminal device corresponding to four antennas. In implementation, the number of switches and switch channels can be freely selected, and the principle is the same.
[0056] Table 4 Overall control logic table
[0057]
[0058]
[0059] The device for improving the performance of terminal equipment provided in this embodiment includes: a controller, a first switch, a second switch, a third switch, and a temperature compensation path; the controller is connected to the fixed end of the first switch, the movable end of the first switch is connected to the first fixed end of the third switch, and the first movable end of the third switch is connected to the antenna; the controller is connected to the fixed end of the second switch, the movable end of the second switch is connected to the second fixed end of the third switch, and the second movable end of the third switch is connected to the temperature compensation path. The device ensures that each antenna corresponds to a temperature compensation path through the first switch, the second switch, and the third switch, thereby solving the problem of temperature drift. In addition, two paths connecting the controller are realized through the first switch and the second switch, saving the pin position of the controller, thereby improving the performance of the terminal equipment.
[0060] In the process of using the sensor, in order to solve the problem of temperature drift, a temperature compensation path is usually used to compensate for the temperature drift. As a preferred implementation, the temperature compensation path 3 in the above embodiment includes: a resistor, a capacitor, such as Figure 1 , Figure 2 , Figure 5 The temperature compensation path shown in 3,
[0061] The first end of the resistor is connected to the second moving end of the third switch, the second end of the resistor is connected to the first end of the capacitor, and the second end of the capacitor is grounded.
[0062] In some terminal devices, the temperature compensation path will use some electronic components with positive temperature coefficients and negative temperature coefficients. Take resistors as an example. The resistance value of the positive temperature coefficient increases with the temperature, while the opposite is true for the negative temperature coefficient. Usually, the temperature compensation path includes the Zener diodes and thermistors used in the circuit. For example, after the thermistor, it is connected to the op amp circuit through an adjustable potentiometer, and the negative end of the amplifier circuit is connected to the output end of the circuit. There is no limit to the components in the temperature compensation path, as long as they can play a role in temperature compensation. In order to make the temperature compensation path simpler and reduce costs, resistors and capacitors are usually connected in series as the temperature compensation path. Figure 5 For example, in the temperature compensation path 3 corresponding to antenna 10, the first end of the resistor is connected to the second moving end of the third switch, the second end of the resistor is connected to the first end of the capacitor, and the second end of the capacitor is grounded; in the temperature compensation path 3 corresponding to antenna 2 11, the first end of the resistor is connected to the second moving end of the fourth switch 7, the second end of the resistor is connected to the first end of the capacitor, and the second end of the capacitor is grounded. Similarly, antenna 3 12 and antenna 4 13 also have corresponding temperature compensation paths 3. The temperature compensation paths corresponding to different antennas here are different, and the capacitors and resistors can be the same or different. It should be noted that the number and model of capacitors and resistors in any temperature compensation path are not limited.
[0063] This embodiment uses capacitors and resistors as components of the temperature compensation path, the first end of the resistor is connected to the second moving end of the third switch, the second end of the resistor is connected to the first end of the capacitor, and the second end of the capacitor is grounded to form a temperature compensation path. Since resistors and capacitors are common components in circuits, using resistors and capacitors as temperature compensation paths makes the circuit simpler and reduces costs.
[0064] In the above embodiment, in order to solve the problem of temperature compensation, one antenna usually corresponds to one temperature compensation path. The number of moving ends of the first switch connected to the controller is greater than or equal to the number of antennas, and the number of moving ends of the second switch connected to the controller is greater than or equal to the number of temperature compensation paths. In order to allow different moving ends of the first switch and different moving ends of the second switch in the path to be connected to the path, as a preferred implementation, the number of moving ends of the first switch is equal to the number of antennas; the number of moving ends of the second switch is equal to the number of temperature compensation paths.
[0065] Since antennas are usually used in terminal devices to receive electromagnetic wave signals, it is necessary to ensure that each antenna can be connected. Therefore, without adding a corresponding temperature compensation path to each antenna, the number of antennas is equal to the number of paths. The first switch connects the antenna. Since the fixed end of the first switch is connected to the controller and the movable end of the first switch is connected to the antenna, the number of movable ends of the first switch is equal to the number of antennas; the second switch connects the temperature compensation path corresponding to the antenna. Since the fixed end of the second switch is connected to the controller and the movable end of the second switch is connected to the temperature compensation path, the number of movable ends of the second switch is equal to the number of temperature compensation paths. Since each antenna corresponds to one temperature compensation path, in a preferred embodiment, the number of antennas is equal to the number of temperature compensation paths. Therefore, the number of movable ends of the first switch and the number of movable ends of the second switch are equal to the number of antennas, or the number of movable ends of the first switch and the number of movable ends of the second switch are equal to the number of temperature compensation paths. However, in implementation, the number of temperature compensation paths may also be greater than the number of antennas, as long as it can be ensured that each antenna corresponds to a temperature compensation path. At this time, the number of movable ends of the first switch is equal to the number of antennas, and the number of movable ends of the second switch is equal to the number of temperature compensation paths.
[0066] The number of moving ends of the first switch provided in this embodiment is equal to the number of antennas; the number of moving ends of the second switch is equal to the number of temperature compensation paths, ensuring that each moving end of the first switch is connected to an antenna, and each moving end of the second switch is connected to a temperature compensation path, so that different moving ends of the first switch and different moving ends of the second switch can be connected to the path, preventing the existence of switches that are idle for a long time and affecting the performance of the switches.
[0067] In the above embodiment, the first switch is connected to the antenna, and the second switch is connected to the temperature compensation path. It should be noted that the connection here can be a direct connection or an indirect connection. The indirect connection can be to connect the first switch to the antenna and the second switch to the temperature compensation path through a third switch. The third switch here can be two single-pole single-throw switches, or a double-pole double-throw switch, etc. As long as the number of fixed ends of the third switch is greater than or equal to two, and the number of moving ends is greater than or equal to two, it is ensured that the fixed end of the third switch can be connected to a moving end of the first switch, a moving end of the second switch, and the antenna and the temperature compensation path can be connected to the path. In implementation, as a preferred embodiment, the third switch is a double-pole double-throw switch.
[0068] The third switch provided in this embodiment adopts a double-pole double-throw switch, which can reduce the number of switches compared to using a single-pole single-throw switch for each antenna and each temperature compensation path. For a device for improving the performance of a terminal device with a large number of antennas, the use of a double-pole double-throw switch can greatly reduce the number of switches, and thus the structure of the entire device will become simple.
[0069] On the basis of the above embodiment, in order to determine the antenna that is working, as a preferred implementation mode, the above device for improving the performance of the terminal device further includes a prompt device, and the prompt device is connected to the controller.
[0070] There is no limitation on the type, quantity, prompting method, and prompting content of the prompting device, as long as it can play the role of prompting. For example, the prompting device can be an indicator light, a display, a buzzer, etc. When the prompting device uses multiple LEDs, the multiple LEDs are connected to the controller respectively, the number of LEDs can be the same as the number of antennas, and each antenna corresponds to an LED. If the first LED is on, it means that antenna one is working, and if the second LED is on, it means that antenna two is working; when a display is used as a prompting device, the display is connected to the controller, and when the antenna is working, the working antenna is displayed on the display.
[0071] The device for improving the performance of the terminal device provided in this embodiment further includes a prompting device, which is connected to the controller. The prompting function of the prompting device can enable the user to understand the working status of the antenna.
[0072] In implementation, when the terminal device is just turned on or just starts working, the temperature of the components in the terminal device is low and is not enough to cause temperature drift of the sensor. Therefore, when the terminal device is just turned on or just starts working, temperature compensation is not required, that is, it is irrelevant to the second switch at this time, so the second switch can be opened. When temperature compensation is needed, the second switch is closed again. If the antenna is working, the corresponding temperature compensation path is connected. At this time, the number of paths increases, which will cause the power consumption of the terminal device to increase. Therefore, as a preferred implementation, the controller starts from turning on the antenna and connects the temperature compensation path within a preset time.
[0073] When the terminal device is just turned on or just starts working, the first switch is closed and the antenna is polled to detect the scene. After a period of operation, the temperature of the components in the terminal device rises. In order to avoid the influence of temperature drift, the temperature compensation path needs to be connected. At this time, the second switch needs to be closed to connect the temperature compensation path. The controller starts from connecting the antenna and connects the temperature compensation path within the preset time. The preset time here is related to the number of working components in the terminal device. When the more working components, the faster the temperature rises, and a shorter preset time can be set; when the fewer working components, the slower the temperature rises, and a longer preset time can be set.
[0074] The controller provided in this embodiment connects the temperature compensation path within a preset time starting from when the antenna is turned on. Setting the preset time can avoid connecting the temperature compensation path corresponding to the antenna as soon as the antenna starts working, which eventually increases the number of paths and causes the problem of increased power consumption of the terminal device.
[0075] On the basis of the above-mentioned embodiment, this embodiment provides a method for improving the performance of a terminal device, which is applied to the above-mentioned apparatus for improving the performance of a terminal device. Figure 6 A flowchart of a method for improving terminal device performance provided by this application, such as Figure 6 As shown, the method includes:
[0076] S10: Obtain the antenna to be controlled in the next stage.
[0077] When performing scene detection, you can select a suitable antenna to work according to the scene to be detected. At this time, the antenna used to detect the scene is called the antenna to be controlled. The number of antennas with control in the next stage is not limited, and can be one or more. The appropriate antenna is selected according to the actual detection scene.
[0078] S11: Control the first switch and the third switch to turn on the antenna.
[0079] In order to use the antenna to detect the scene, it is necessary to make the antenna to be controlled in the next stage obtained in step S10 work, so the antenna needs to be turned on. In the above device for improving the performance of the terminal device, the controller is connected to the fixed end of the first switch, the movable end of the first switch is connected to the first fixed end of the third switch, and the first movable end of the third switch is connected to the antenna. Therefore, by controlling the first end of the first switch to be connected to the first fixed end of the third switch, and the first movable end of the third switch to connect to the antenna, it is possible to control the first switch and the third switch to connect to the antenna.
[0080] S12: Control the second switch and the third switch to connect the temperature compensation path corresponding to the antenna.
[0081] After the terminal device has been working for a period of time, the temperature of the components in the terminal device rises. In order to avoid the influence of temperature drift, a corresponding temperature compensation path needs to be set for each antenna. In the above device for improving the performance of the terminal device, the controller is connected to the fixed end of the second switch, the movable end of the second switch is connected to the second fixed end of the third switch, and the second movable end of the third switch is connected to the temperature compensation path. Therefore, by controlling the movable end of the second switch to be connected to the second fixed end of the third switch, and the second movable end of the third switch to be connected to the temperature compensation path, temperature compensation can be achieved.
[0082] The method for improving the performance of the terminal device provided in this embodiment first obtains the antenna to be controlled in the next stage, then controls the first switch and the third switch to connect the antenna to be controlled so that the antenna works, and finally controls the second switch and the third switch to connect the temperature compensation path corresponding to the antenna. The method ensures that each antenna corresponds to a temperature compensation path through the first switch, the second switch, and the third switch, thereby solving the problem of temperature drift. In addition, the two paths connecting the controller are realized through the first switch and the second switch, saving the pin position of the controller, thereby improving the performance of the terminal device.
[0083] In the above embodiments, the method for improving the performance of the terminal device is described in detail, and the present application also provides an embodiment corresponding to the device for improving the performance of the terminal device. It should be noted that the present application describes the embodiments of the device part from two perspectives, one is based on the perspective of the functional module, and the other is based on the perspective of the hardware.
[0084] Figure 7 A structural diagram of a device for improving terminal device performance provided in an embodiment of the present application. This embodiment is based on the perspective of functional modules and includes:
[0085] An acquisition module 15 is used to acquire an antenna to be controlled in the next stage;
[0086] A first control module 16, used to control the first switch and the third switch to turn on the antenna;
[0087] The second control module 17 is used to control the second switch and the third switch to connect the temperature compensation path corresponding to the antenna.
[0088] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.
[0089] The device for improving the performance of the terminal device provided in this embodiment first obtains the antenna to be controlled in the next stage through the acquisition module, then controls the first switch and the third switch to turn on the antenna through the first control module, and finally controls the second switch and the third switch to turn on the temperature compensation path corresponding to the antenna through the second control module. The device ensures that each antenna corresponds to a temperature compensation path through the first switch, the second switch, and the third switch, thereby solving the problem of temperature drift. In addition, two paths connecting the controller are realized through the first switch and the second switch, saving the pin position of the controller, thereby improving the performance of the terminal device.
[0090] Figure 8 This is a structural diagram of an apparatus for improving terminal device performance provided by another embodiment of the present application. This embodiment is based on the hardware perspective, such as Figure 8 As shown, the device for improving the performance of the terminal device includes:
[0091] A memory 20, used for storing computer programs;
[0092] The processor 21 is used to implement the steps of the method for improving the performance of the terminal device mentioned in the above embodiment when executing the computer program.
[0093] The terminal device performance improvement device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.
[0094] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0095] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the method for improving the performance of the terminal device disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the above-mentioned method for improving the performance of the terminal device, etc.
[0096] In some embodiments, the device for improving the performance of the terminal device may also include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .
[0097] Those skilled in the art will understand that Figure 8 The structure shown in the figure does not constitute a limitation on the apparatus for improving the performance of the terminal device, and may include more or fewer components than those shown in the figure.
[0098] The apparatus for improving the performance of a terminal device provided in an embodiment of the present application includes a memory and a processor. When the processor executes a program stored in the memory, it can implement the following method: a method for improving the performance of a terminal device, with the same effect as above.
[0099] It should be noted that the device for improving the performance of terminal equipment provided in this application can be applied to terminal equipment such as home appliances, automobile transportation, wearable products and data acquisition equipment to improve the performance of the terminal equipment.
[0100] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.
[0101] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0102] The computer-readable storage medium provided in the present application includes the above-mentioned method for improving the performance of the terminal device, and the effect is the same as above.
[0103] The above is a detailed introduction to the device, method and medium for improving the performance of terminal equipment provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
[0104] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A device for improving the performance of a terminal device, characterized in that: include: A controller, a first switch, a second switch, a third switch, and a temperature compensation path; The controller is connected to the fixed end of the first switch, the movable end of the first switch is connected to the first fixed end of the third switch, and the first movable end of the third switch is connected to the antenna; The controller is connected to the fixed end of the second switch, the movable end of the second switch is connected to the second fixed end of the third switch, and the second movable end of the third switch is connected to the temperature compensation path; The number of the movable ends of the first switch is equal to the number of the antennas; the number of the movable ends of the second switch is equal to the number of the temperature compensation paths.
2. The device for improving terminal equipment performance according to claim 1, characterized in that: The temperature compensation path includes: a resistor and a capacitor; The first end of the resistor is connected to the second moving end of the third switch, the second end of the resistor is connected to the first end of the capacitor, and the second end of the capacitor is grounded.
3. The device for improving terminal equipment performance according to claim 1, characterized in that: The third switch is a double-pole double-throw switch.
4. The device for improving terminal equipment performance according to claim 1, characterized in that: Also includes: A prompting device is connected to the controller.
5. The method for improving terminal equipment performance according to claim 1, characterized in that: The controller is used to connect the temperature compensation path within a preset time starting from connecting the antenna.
6. A method for improving the performance of a terminal device, characterized in that: The device for improving terminal equipment performance as claimed in any one of claims 1 to 5 comprises: Obtain the antenna to be controlled in the next stage; Controlling the first switch and the third switch to turn on the antenna; The second switch and the third switch are controlled to connect the temperature compensation path corresponding to the antenna.
7. A device for improving the performance of a terminal device, characterized in that: The device for improving the performance of a terminal device as claimed in any one of claims 1 to 5 comprises: An acquisition module, used to acquire the antenna to be controlled in the next stage; A first control module, used for controlling the first switch and the third switch to turn on the antenna; The second control module is used to control the second switch and the third switch to connect the temperature compensation path corresponding to the antenna.
8. A device for improving the performance of a terminal device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the method for improving the performance of a terminal device as claimed in claim 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the method for improving the performance of the terminal device as claimed in claim 6 are implemented.
Citation Information
Patent Citations
Radio frequency front-end circuit and terminal
CN111082816A
Radio frequency front-end circuit and terminal
CN111082833A