An interactive control circuit, method and electronic device
By using nonlinear and linear Hall elements to generate level or voltage changes in a changing magnetic field, the problem of electronic products being unable to simultaneously meet waterproofing and personalized parameter adjustment requirements has been solved, resulting in simplified operation and cost reduction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DONGGUAN LEBOND ELECTRONICS TECH CO LTD
- Filing Date
- 2021-12-09
- Publication Date
- 2026-05-26
AI Technical Summary
Existing electronic products cannot simultaneously meet the requirements of waterproofing and personalized parameter adjustment. Adding buttons will increase the cost of waterproof design and reduce product consistency and reliability.
By employing nonlinear Hall elements and linear Hall elements, changes in magnetic field are used to generate changes in level or voltage, thereby enabling adjustment of operating modes and parameters, simplifying operation and reducing waterproof performance requirements.
It achieves waterproofing requirements and personalized parameter adjustments without adding buttons, reducing implementation costs and improving product consistency and reliability.
Smart Images

Figure CN114374381B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electronic control technology, and in particular relates to an interactive control circuit, method and electronic device. Background Technology
[0002] When human-computer interaction is required, buttons are usually set on electronic products to control on / off and select working modes. However, a single button has limited functionality. If specific parameters in a certain working mode need to be adjusted in a personalized way, two or more buttons are required. For electronic products that require waterproofing, the more buttons there are, the higher the requirements for waterproofing design and the higher the implementation cost. In addition, waterproofing processes can also lead to poor product consistency and low reliability.
[0003] In summary, current electronic products have the problem of simultaneously meeting waterproofing requirements and personalized parameter adjustment requirements. Summary of the Invention
[0004] This application provides an interactive control circuit, method, and electronic device to solve the problem that existing electronic products cannot simultaneously meet waterproof requirements and personalized parameter adjustment requirements.
[0005] In a first aspect, embodiments of this application provide an interactive control circuit, including:
[0006] The power supply module is connected to the working mode adjustment module, the parameter adjustment module and the control module respectively, and is used to provide working voltage to the working mode adjustment module, the parameter adjustment module and the control module;
[0007] The working mode adjustment module is connected to the control module and includes a non-linear Hall element, which is used to generate mode adjustment commands according to user operation control and send them to the control module.
[0008] The parameter adjustment module, connected to the control module, includes a linear Hall element, used to generate parameter adjustment instructions based on user operation and send them to the control module;
[0009] The control module is used to adjust the working mode of the electronic device according to the mode adjustment command sent by the working mode adjustment module, and to adjust the preset parameters of the working mode of the electronic device according to the parameter adjustment command sent by the parameter adjustment module.
[0010] In one implementation of the first aspect, the interactive control circuit receives user operations via an operation control.
[0011] In one implementation of the first aspect, the operation control is a rotary dial type operation control, which is provided with a moving magnet and a dial knob, and the moving magnet moves with the dial knob.
[0012] In one implementation of the first aspect, the power module includes a power supply component, a power conversion component, and a switching power supply component;
[0013] The power supply component is connected to the power conversion component and is used to provide power;
[0014] The power conversion component is used to convert the power supplied by the power supply component into the operating voltage required by other modules;
[0015] The switching power supply assembly is connected to the power supply assembly and is used to turn on or off the power supply of the parameter adjustment module according to the control command of the control module.
[0016] In one implementation of the first aspect, the operating mode adjustment module includes a first capacitor, a nonlinear Hall element, and a second capacitor;
[0017] The first terminal of the first capacitor is the power supply terminal of the working mode adjustment module and is connected to the output terminal of the power conversion component. The second terminal of the first capacitor is grounded. The first terminal of the nonlinear Hall element is connected to the first terminal of the first capacitor. The second terminal of the nonlinear Hall element is connected to the first terminal of the second capacitor. The third terminal of the nonlinear Hall element is grounded. The second terminal of the second capacitor is grounded. The first terminal of the second capacitor is connected to the GPIO pin of the control chip.
[0018] In one implementation of the first aspect, the parameter adjustment module includes a third capacitor, a linear Hall element, a fourth capacitor, and an ADC filter circuit.
[0019] The first terminal of the third capacitor is the power input terminal of the parameter adjustment module, the second terminal of the third capacitor is grounded, the first terminal of the linear Hall element is connected to the first terminal of the third capacitor, the second terminal of the linear Hall element is connected to the first terminal of the fourth capacitor, the third terminal of the linear Hall element is grounded, the second terminal of the fourth capacitor is grounded, the input terminal of the ADC filter circuit is connected to the first terminal of the fourth capacitor, and the output terminal of the ADC filter circuit is connected to the ADC pin of the control chip.
[0020] In one implementation of the first aspect, the control module includes a control chip.
[0021] In a second aspect, embodiments of this application provide an interactive control method applied to the interactive control circuit described in the first aspect, the interactive control method comprising:
[0022] When a mode adjustment command sent by the working mode adjustment module is detected, the working mode of the electronic device is adjusted according to the mode adjustment command.
[0023] When a parameter adjustment command is detected from the parameter adjustment module, the preset parameters in the current working mode are adjusted according to the parameter adjustment command.
[0024] In one implementation of the second aspect, the mode adjustment command includes a power-on control command and a mode switching command; the step of adjusting the operating mode of the electronic device according to the mode adjustment command when the mode adjustment command sent by the operating mode adjustment module is detected includes:
[0025] When the magnetic field strength detected by the nonlinear Hall element in the working mode adjustment module is greater than the conduction threshold, the power-on control command is sent to the control module, and the control module controls the electronic device to enter the power-on state according to the power-on control command.
[0026] When the nonlinear Hall element in the operating mode adjustment module detects that the magnetic field strength decreases from greater than the conduction threshold to less than the cutoff threshold, and then increases from less than the cutoff threshold to greater than the conduction threshold, it sends the mode switching command to the control module. The control module then switches the current operating mode of the electronic device to the next operating mode according to the mode switching command.
[0027] In one implementation of the second aspect, the parameter adjustment command includes the voltage change generated by the linear Hall element according to the change in magnetic field strength. When the parameter adjustment command sent by the parameter adjustment module is detected, adjusting the preset parameters in the current operating mode according to the parameter adjustment command includes:
[0028] The voltage change is determined according to the parameter adjustment command;
[0029] The parameter adjustment amount is determined based on the voltage change.
[0030] The preset parameters in the current working mode are adjusted according to the parameter adjustment amount.
[0031] In one implementation of the second aspect, the interactive control method further includes: if no mode switching command sent by the working mode adjustment module is detected within a preset first time interval, and no parameter adjustment command sent by the parameter adjustment module is detected, then the electronic device is controlled to shut down.
[0032] In one implementation of the second aspect, determining the parameter adjustment amount based on the voltage change includes:
[0033] If the voltage change does not change within a preset second time interval, a corresponding parameter adjustment amount is generated based on the voltage change.
[0034] In one implementation of the second aspect, before adjusting the preset parameters in the current working mode according to the parameter adjustment command sent by the parameter adjustment module when the parameter adjustment command is detected, the method further includes:
[0035] If no repeated low-level signal is detected within the preset third time interval, the control power module supplies power to the parameter adjustment module so that the linear Hall element in the parameter adjustment module can work.
[0036] Thirdly, embodiments of this application provide an electronic device, which includes the interactive control circuit described in the first aspect.
[0037] The beneficial effects of the embodiments in this application compared with the prior art are:
[0038] The interactive control circuit, method, and electronic device provided in this application can generate corresponding level changes or voltage changes based on the change of magnetic flux in a magnetic field using nonlinear Hall elements and linear Hall elements. Based on this, the operating mode and personalized parameters of the electronic device can be adjusted. The operation is simple, the implementation cost is low, and there is no need to add control buttons, which reduces the requirements for waterproof performance. It meets the waterproof requirements and can realize personalized parameter adjustment. Compared with multiple button control, it reduces the implementation cost and improves the consistency and reliability of the product. It effectively solves the problem that current electronic products cannot simultaneously meet the requirements for waterproofing and personalized parameter adjustment. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 This is a schematic diagram of the interactive control circuit provided in the embodiments of this application;
[0041] Figure 2 This is a schematic diagram of the curve showing how the linear Hall element provided in this application converts changes in the intensity of the sensed magnetic field into voltage changes;
[0042] Figure 3This is a schematic diagram of the motion trajectory of the moving magnet provided in the embodiments of this application;
[0043] Figure 4 This is a schematic diagram of the magnetic field setup according to an embodiment of this application;
[0044] Figure 5 This is a schematic diagram of the hysteresis effect of the Hall element provided in the embodiments of this application;
[0045] Figure 6 This is a schematic diagram of the push-pull slider operation control provided in the embodiments of this application;
[0046] Figure 7 This is a schematic diagram of the structure of the rotary dial-type operation control provided in the embodiments of this application;
[0047] Figure 8 This is a schematic diagram of another rotary dial-type operation control provided in an embodiment of this application;
[0048] Figure 9 This is a schematic diagram of the structure of another rotary dial type operation control provided in the embodiments of this application;
[0049] Figure 10 This is a schematic diagram of the distribution of the rotary dial and operation controls on the PCB board provided in the embodiments of this application;
[0050] Figure 11 This application provides another embodiment of the rotary dial, which is a schematic diagram of the distribution of operation controls on the PCB board;
[0051] Figure 12 This is another schematic diagram of the distribution of operation controls on a PCB board for a rotary dial provided in this application embodiment;
[0052] Figure 13 This is a schematic diagram of the circuit structure of the interactive control circuit provided in the embodiments of this application;
[0053] Figure 14 This is a schematic diagram of the structure of an electric toothbrush provided in an embodiment of this application;
[0054] Figure 15 This is a schematic diagram illustrating the implementation process of an interactive control method provided in an embodiment of this application. Detailed Implementation
[0055] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0056] It should be understood that the term "and / or" as used in this application specification and the appended claims refers to any combination of one or more of the associated listed items, as well as all possible combinations, and includes such combinations. Furthermore, in the description of this application specification and the appended claims, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.
[0057] It should also be understood that references to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include the specific features, structures, or characteristics described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0058] Please see Figure 1 , Figure 1 A schematic diagram of an interactive control circuit according to an embodiment of this application is shown. The interactive control circuit can adjust the electronic device based on user operations, including adjusting the operating mode and customizing specific parameters within a given operating mode.
[0059] In this application embodiment, the above-mentioned electronic device can be an electronic device capable of human-computer interaction, that is, an electronic device that can perform corresponding actions based on the user's operation, including but not limited to electric toothbrushes, water flossers, facial cleansing devices and other common electronic devices in daily life. This application embodiment uses an electric toothbrush as an example to illustrate the above-mentioned electronic device.
[0060] like Figure 1 As shown, the interactive control circuit 10 provided in this application embodiment may include a power supply module 11, a working mode adjustment module 12, a parameter adjustment module 13, and a control module 14.
[0061] The power supply module 11 is connected to the working mode adjustment module 12, the parameter adjustment module 13 and the control module 13 respectively, and is used to provide working voltage to the working mode adjustment module 12, the parameter adjustment module 13 and the control module.
[0062] The aforementioned working mode adjustment module 12 is connected to the control module 14 and is used to generate mode adjustment instructions based on user operation and send them to the control module 14.
[0063] The parameter adjustment module 13 is connected to the control module 14 and is used to generate parameter adjustment instructions based on user operations and send them to the control module 14.
[0064] The control module 14 is used to adjust the working mode of the electronic device according to the mode adjustment command sent by the working mode adjustment module 12, and to adjust the preset parameters of the working mode of the electronic device according to the parameter adjustment command sent by the parameter adjustment module 13.
[0065] In this embodiment, the working mode adjustment module 12 includes a nonlinear Hall element, which includes, but is not limited to, low-power Hall elements, unipolar Hall elements, bipolar Hall elements, omnipolar Hall elements, and other Hall elements based on CMOS technology or BCD process.
[0066] When the circuit is connected, i.e., when the power module 11 supplies power to the working mode adjustment module 12, the nonlinear Hall element generates a corresponding magnetic flux based on the position of the moving magnet. When the magnetic field strength is greater than the conduction threshold, it outputs a preset level signal to the control module 14. In this embodiment, a low-level signal is used as an example. After detecting the low-level signal, the control module 14 will enable the electronic device to enter the power-on state, at which time the electronic device can operate in the default power-on mode. It should be noted that the preset level signal can be either a high-level signal or a low-level signal.
[0067] In practical applications, the working modes of the above-mentioned electronic devices include, but are not limited to, cleaning mode, sensitive mode, polishing mode, massage mode, and brightening mode. The default power-on working mode can be any of the above modes. For example, the default power-on working mode can be fixed as cleaning mode, or the working mode selected by the user when the device was last powered off can be set as the default power-on working mode.
[0068] It should be noted that when the moving magnet passes near the aforementioned nonlinear Hall element, the applied magnetic field strength will exceed the aforementioned conduction threshold (Bop threshold). This conduction threshold can be selected based on the structural volume. The conduction threshold of the nonlinear Hall element can be set to a magnetic flux of several Gaussians (Gs) to several Haustralasians (mT). When the magnetic flux meets this conduction threshold, the nonlinear Hall element will output a preset level signal (specifically, a low-level signal) to the control module 14. For example, taking the SC2032 Hall sensor as an example, the Bop threshold can be selected as 2-6 millitalas (mT).
[0069] It should also be noted that as the moving magnet approaches the nonlinear Hall element, the applied magnetic field strength increases. When the magnetic field strength is less than the cutoff threshold (Brp), the nonlinear Hall element will maintain a high-level output signal. It should be noted that the cutoff threshold can be selected based on the structural volume, and the cutoff threshold of the nonlinear Hall element can be set to a magnetic flux of several Gauss (Gs) to several Haustralas (mT). For example, taking the SC2032 Hall sensor as an example, the Brp threshold can be selected as 1-4 millitalas (mT).
[0070] It should be noted that the cutoff threshold (Brp) and turn-on threshold (Bop) mentioned above are determined based on the characteristics of the nonlinear Hall element. When the magnetic field strength of the applied magnetic field is greater than the turn-on threshold (Bop), the nonlinear Hall element is in the conducting state and will output a low-level signal. Even if the magnetic field strength continues to increase, the nonlinear Hall element will continue to output a low-level signal. Only when the magnetic field strength of the applied magnetic field decreases to the aforementioned cutoff threshold (Brp) will the nonlinear Hall element turn off and output a high-level signal. The difference between the turn-on threshold (Bop) and the cutoff threshold (Brp) is the hysteresis interval (B). HYS The existence of a hysteresis interval can improve the anti-interference capability of nonlinear Hall elements.
[0071] It should also be noted that when the magnetic field strength is less than the cutoff threshold, the electronic device will enter a sleep state. The aforementioned nonlinear Hall element can use a built-in low-frequency analog clock source to sample the magnetic field and enter sleep mode, achieving the lowest current consumption.
[0072] Based on this, the control module 14 can control the switching of the operating mode of the electronic device according to the changes in the high-level and low-level signals output by the nonlinear Hall element (i.e., mode adjustment commands).
[0073] Specifically, when the output of the nonlinear Hall element changes from a high-level signal to a low-level signal, the mode adjustment command can control the electronic device to enter the power-on state. At this time, the control module 14 can control the electronic device to power on and enter the default operating mode. When the output of the nonlinear Hall element is a repetitive low-level signal, the mode adjustment command can control the electronic device to switch the current operating mode. At this time, the control module 14 will control the electronic device to switch the current operating mode to the next operating mode.
[0074] It should be noted that the aforementioned repetitive low-level signal refers to the output of the nonlinear Hall element changing from a low-level signal to a high-level signal, and then from a high-level signal back to a low-level signal.
[0075] In a specific implementation, after the moving magnet approaches the nonlinear Hall element, causing the nonlinear Hall element to conduct and output a low level, the moving magnet needs to be moved away from the nonlinear Hall element so that the magnetic field strength of the applied magnetic field is less than the cutoff threshold of the nonlinear Hall element. At this time, the output of the nonlinear Hall element will change from a low level signal to a high level signal. Then, the moving magnet is moved closer to the nonlinear Hall element so that the magnetic field strength of the applied magnetic field is greater than the conduction threshold of the nonlinear Hall element. At this time, the output of the nonlinear Hall element will change from a high level signal to a low level signal, that is, the nonlinear Hall element outputs a repetitive low level signal.
[0076] In this embodiment, the parameter adjustment module 13 includes a linear Hall element. The linear Hall element includes, but is not limited to, a differential programmable Hall element, a linear Hall angle sensor, a programmable linear Hall element, a throttle linear Hall element, and a rail-to-rail linear Hall element.
[0077] The aforementioned linear Hall element senses changes in magnetic field strength and then converts these changes into a corresponding voltage signal (parameter adjustment command), which is output to the control module 14. (See also...) Figure 2 , Figure 2 This diagram illustrates how a linear Hall element converts changes in induced magnetic field strength into voltage changes. It should be noted that the range of voltage changes can be determined based on the size of the structure or volume.
[0078] It should be noted that the control module 14 converts the voltage change range of the linear Hall element into a control change quantity. The preset parameters to be adjusted include, but are not limited to, duty cycle, frequency, amplitude, interval time, phase, display brightness, thermal value, volume, speed, pressure, etc.
[0079] In this embodiment, the moving magnet can be fixedly disposed in the operation control, so that the moving magnet moves according to the user's operation, thereby changing the magnetic flux applied to the nonlinear Hall element and the linear Hall element. It should be noted that the operation control refers to an interactive device that can be operated by the user, such as a switch button, switch knob, switch slider, etc.
[0080] In this embodiment, the magnetic field can be selected using either N-pole magnetic field induction or S-pole magnetic field induction. The trajectory of the moving magnet can be as follows: Figure 3 As shown, the main description is of the trajectory of the moving magnet above the Hall element. This trajectory can be, but is not limited to, a circle or a polygon. The trajectory of the moving magnet can be parallel, perpendicular, intersecting or tangent to the Hall element, so that the nonlinear Hall element can sense the change in magnetic field and output a corresponding level signal, and the linear Hall element can sense the change in magnetic field and output a corresponding voltage change.
[0081] It should also be noted that the aforementioned moving magnet can be a cylinder, a multifaceted cube, or a sphere. The magnetism of the moving magnet can be unipolar or multipolar, or multipolar magnetization can be performed on a single magnet, and the direction of magnetization can be any direction symmetrical to the trajectory of the moving magnet.
[0082] For example, such as Figure 4 As shown, a certain sensing area of a moving magnet can be magnetized to become the S pole, while other areas can be magnetized to become the N pole. This allows a nonlinear Hall element to output mode adjustment commands based on changes in the magnetic field, and a linear Hall element to output parameter adjustment commands based on changes in the magnetic field. Specifically, a nonlinear Hall element can be designed to sense only the S pole, or a programmable linear Hall element can be used to lock the range of magnetic field strength changes using a pre-made mold, edit the output voltage range, and adjust the distance between the Hall element and the moving magnet, thereby controlling electronic devices.
[0083] It should be noted that the Hall element exhibits a hysteresis effect in its magnetic induction, as illustrated in the diagram below. Figure 5 As shown, by selecting the magnetic flux intensity of the moving magnet, the distance from the moving magnet to the Hall element, and the cutoff threshold (Brp) and conduction threshold (Bop) of the Hall element according to the size of the structure, the distance the moving magnet travels is greater than the hysteresis interval (Bop). HYS ).
[0084] It should also be noted that the above-mentioned operation control can be a push-pull slider type operation control, a knob type operation control, or a rotary dial type operation control, or of course, other forms of operation control. This application embodiment takes a rotary dial type operation control as an example to illustrate the distribution and working principle of the moving magnet, nonlinear Hall element, and linear Hall element.
[0085] Please see Figure 6 , Figure 6 A schematic diagram of a push-pull slider-type operation control according to an embodiment of this application is shown. Figure 6 As shown, the electronic device may include a housing 61, a push-pull slider type operation control 62 disposed on the housing, a non-linear Hall element 63 and a linear Hall element 64, wherein the push-pull slider type operation control 62 is provided with a push-pull slider 65 and a moving magnet 66 installed in the push-pull slider 65.
[0086] In practical applications, the aforementioned moving magnet 66 can move along with the push-pull slider 65, allowing the user to control the electronic device by sliding the slider 65. When the user moves the push-pull slider 65 closer to the nonlinear Hall element 63, the magnetic field strength applied to the nonlinear Hall element 63 gradually increases until the applied magnetic field strength exceeds the conduction threshold (Bop) of the nonlinear Hall element, at which point the nonlinear Hall element conducts and outputs a low level. When the user moves the push-pull slider 65 closer to the linear Hall element 64, the magnetic field strength applied to the linear Hall element 64 changes from low to high, and the linear Hall element 64 outputs a voltage change from low to high.
[0087] Please see Figure 7 , Figure 7 A schematic diagram of a rotary dial-type operation control according to an embodiment of this application is shown. Figure 7 As shown, the electronic device may include a housing 71, a rotary dial control 72 disposed on the housing, a non-linear Hall element 73 and a linear Hall element 74, wherein the rotary dial control 72 is provided with a moving magnet 75 and a dial knob 76.
[0088] In practical applications, the magnetic flux intensity of the moving magnet 75, the position of the nonlinear Hall element 73 and the linear Hall element 74, as well as the cutoff threshold and conduction threshold of the nonlinear Hall element 73, can be determined according to the structural volume of each device, so that the distance moved by the moving magnet 75 when the knob is rotated is greater than the hysteresis interval.
[0089] It should be noted that, in practical applications, in order to reduce the angle at which the user rotates the dial knob 76 and facilitate operation, multiple moving magnets 75 can be set in the aforementioned dial-type operation control 72, for example, two, three, four, etc. The number of moving magnets 75 can be set according to the actual product requirements, and this application does not limit it in this regard.
[0090] For example, such as Figure 8 and Figure 9 As shown, Figure 8 This diagram shows the structure of the rotary dial control when two moving magnets 75 are set in it. Figure 9 This diagram illustrates the structure of a rotary dial control with three moving magnets 75. It should be noted that the positional distribution of the multiple moving magnets can be adjusted according to actual product requirements, such as by adjusting the rotation angle.
[0091] The aforementioned moving magnet 75 can rotate along with the dial knob 76 of the rotary dial control. The rotation angle can be adjusted arbitrarily within 180 degrees or within 360 degrees, and this application does not limit it in this regard.
[0092] In practical applications, the aforementioned nonlinear Hall element and the aforementioned linear Hall element can be carried by a PCB board or PCBA board.
[0093] For example, please refer to Figures 10 to 12 ,in, Figure 10 This diagram shows the distribution of various components on the PCB board when a moving magnet 75 is set in the rotary dial type operation control; Figure 11 A schematic diagram of the distribution of each component on the PCB board is shown when two moving magnets 75 are set in the rotary dial type operation control; Figure 12 This diagram shows the distribution of each component on the PCB board when three moving magnets 75 are set in the rotary dial-type operation control.
[0094] Please see Figure 13 , Figure 13 A schematic diagram of the circuit structure of the interactive control circuit provided in an embodiment of this application is shown; as follows: Figure 13 As shown in one embodiment of this application, the power module includes a power supply component 111, a power conversion component 112, and a switching power supply component 113.
[0095] The aforementioned power supply component 111 is connected to the power conversion component 112 and may include a charging component, a battery, and a battery protection circuit. The charging component can be implemented via wired charging or wireless charging, and this application does not impose any limitations on this.
[0096] The power conversion component 112 includes, but is not limited to, circuit devices such as Bus, LDO, and Boost, used to convert the power provided by the power supply component 111 into the working power required by other modules.
[0097] The input terminal of the aforementioned switching power supply component 113 is connected to the power output power in interface of the power supply component 111, the output terminal of the switching power supply component 113 is connected to the power input terminal of the parameter adjustment module 13, and the control terminal of the switching power supply component 113 is connected to the Power EN pin of the control module 14, for turning on or off the working power supply of the parameter adjustment module 13 according to the control command of the control module 14.
[0098] Please continue reading. Figure 13 In one embodiment of this application, the above-mentioned operating mode adjustment module 12 includes a first capacitor C1, a nonlinear Hall element U1, and a second capacitor C2. The first end of the first capacitor C1 is the power supply terminal of the operating mode adjustment module 12 and is connected to the output terminal of the power conversion component 112. The second end of the first capacitor C1 is grounded. The first end of the nonlinear Hall element U1 is connected to the first end of the first capacitor C1. The second end of the nonlinear Hall element U1 is connected to the first end of the second capacitor C2. The third end of the nonlinear Hall element U1 is grounded. The second end of the second capacitor C2 is grounded. The first end of the second capacitor C2 is connected to the GPIO pin of the control chip U3.
[0099] In one embodiment of this application, the parameter adjustment module 13 includes a third capacitor C3, a linear Hall element U2, a fourth capacitor C4, and an ADC filter circuit. The first terminal of the third capacitor C3 is the power input terminal of the parameter adjustment module 13, and the second terminal of the third capacitor C3 is grounded. The first terminal of the linear Hall element U2 is connected to the first terminal of the third capacitor C3, and the second terminal of the linear Hall element U2 is connected to the first terminal of the fourth capacitor C4. The third terminal of the linear Hall element U2 is grounded, and the second terminal of the fourth capacitor C4 is grounded. The input terminal of the ADC filter circuit is connected to the first terminal of the fourth capacitor C4, and the output terminal of the ADC filter circuit is connected to the ADC pin of the control chip U3.
[0100] The aforementioned control module 14 includes a control chip U3.
[0101] In one embodiment of this application, the aforementioned working mode adjustment module 12 may include multiple nonlinear Hall elements, and the aforementioned parameter adjustment module 13 may include multiple linear Hall elements, so as to realize the adjustment of multiple preset parameters at the same level. This application does not limit the number of nonlinear Hall elements and linear Hall elements. The number and distribution settings of nonlinear Hall elements and linear Hall elements can be determined according to product development requirements, which will not be elaborated here.
[0102] In one embodiment of this application, the interactive control circuit may further include a display module. The display module may include, but is not limited to, LED indicator lights, LED display screens, and other display devices capable of displaying operating status and parameter adjustment status.
[0103] In one embodiment of this application, the control module 14 can communicate with the controlled object (e.g., a motor) through various communication methods such as PWM, GPIO, SPI, I2C, UART, I2S, SDIO, CAN, MPBUS, PMBus, CANBus, and MODBus, so as to adjust the working mode and parameters of the controlled object according to the control of the interactive control circuit.
[0104] The following will combine Figure 13 The working principle of the above-mentioned interactive control circuit is explained using a single moving magnet and a dial-type rotary control as an example, as detailed below:
[0105] Please refer to the following: Figure 7 When the moving magnet 75 in the dial knob 76 does not pass the nonlinear Hall element at point B (taking a low-power Hall sensor as an example), the low-power Hall sensor at point B senses that the magnetic flux density is lower than the cutoff threshold (Brp). At this time, the low-power Hall sensor maintains a high-level output signal and is in standby mode. The GPIO pin of the control chip U3 detects the high-level signal, and the control chip U3 enters deep sleep mode to turn off the power-consuming devices of the electronic device. Only the control chip U3 and the low-power Hall sensor in the electronic device operate at a frequency of several Hz, with a total power consumption of about 30-60uA, so as to make the battery or power supply more energy-efficient.
[0106] When the moving magnet 75 in the dial knob 76 (rotating dial knob 76) is rotated to near point B, the low-power Hall sensor at point B senses that the magnetic flux density of the magnet is higher than the conduction threshold (Bop). The low-power Hall sensor outputs a low-level signal, and the GPIO pin of the control chip U3 detects the low-level signal, so that the electronic device is powered on and begins to enter the working mode selection mode.
[0107] It should be noted that electronic devices can enter a default working mode when powered on.
[0108] There is no limit to the number of working modes of electronic devices. For example, they can be cleaning mode, sensitive mode, polishing mode, massage mode, brightening mode, etc.
[0109] When the dial knob 76 is repeatedly rotated to near point B, a repetitive low-level signal is generated. The control chip U3 can detect whether a repetitive low-level signal occurs within a preset first time interval. If a repetitive low-level signal occurs, it means that the user needs to switch the operating mode of the electronic device, so the current operating mode can be switched to the next operating mode. If a repetitive low-level signal is continuously detected, the operating mode can be switched cyclically, for example, from power on, operating mode 1, operating mode 2, operating mode N, power off, where N is a positive integer.
[0110] Here, repeatedly rotating the dial knob 76 to near point B means that when the user selects to switch the current working mode, after rotating the dial knob to near point B (at which time the low-power Hall sensor outputs a low-level signal), the user rotates the dial knob 76 in the opposite direction to the original rotation direction, so that the moving magnet moves away from the low-power Hall sensor and the magnetic field strength of the applied magnetic field is less than the cutoff threshold of the low-power Hall sensor, so that the low-power Hall sensor changes from outputting a low-level signal to outputting a high-level signal. Then, the dial knob 76 is rotated to near point B again, so that the low-power Hall sensor changes from outputting a high-level signal to outputting a low-level signal.
[0111] The aforementioned repetitive low-level signal refers to the signal in which the output of the low-power Hall sensor changes from a low-level signal to a high-level signal and then back to a low-level signal.
[0112] It should be noted that the above-mentioned preset first time interval can be set according to application requirements. Since the default brushing time is generally two minutes, the above-mentioned preset first time interval can be set to two minutes. Of course, the above-mentioned preset first time interval can also be set to other times, such as two and a half minutes, three minutes, etc. This application does not limit this.
[0113] After the electronic device is powered on, the control chip U3 can output a high-level signal through the Power EN pin to enable the switching power supply component 113 to conduct the power supply of the parameter adjustment module 13, thus activating the linear Hall element. If the user needs to adjust the preset parameters in the current operating mode, they can rotate the dial knob 66 towards point A. At this time, the ADC pin of the control chip U3 will begin receiving voltage changes detected by the linear Hall element, thereby generating corresponding parameter adjustment commands to adjust the preset parameters of the controlled object. It should be noted that when the dial knob 76 is rotated towards point A, the magnetic field strength changes from low to high. The linear Hall element will then output a voltage change from low to high. Based on the size of the structure, the corresponding region of magnetic field strength and voltage is extracted. The current preset parameter can be adjusted to any range between 0% and 100% based on the voltage change. Specifically, it can change arbitrarily from minimum to maximum. The control chip U3 can then determine the parameter adjustment amount based on this voltage change and adjust the preset parameters in the current operating mode of the electronic device.
[0114] To improve control accuracy, the parameter value corresponding to the current voltage can be determined as the target parameter of the preset parameter only when the ADC pin of the control chip detects that the voltage stays at a certain value for a period of time longer than a preset second time interval, and the chip will operate with that target parameter.
[0115] It should be noted that the aforementioned preset second time interval can be set according to actual application requirements. Setting the preset second time interval to 1.5-2 seconds is intended to ensure the accuracy of parameter adjustment. Only when the time spent at a certain value exceeds the preset second time interval is it confirmed that the user has selected the parameter corresponding to that voltage value, and only then will the parameter value corresponding to the current voltage be determined as the target parameter of the preset parameter, and operation will proceed based on that target parameter. Of course, the aforementioned preset second time interval can also be set to other values such as 3 seconds or 1 second; this application does not impose any restrictions on this.
[0116] In one embodiment of this application, in order to reduce the working time of the linear Hall element and reduce the power consumption of the electronic device, the Power EN pin can be controlled to output a high-level signal only when no repeated low-level signal is detected within a preset third time interval after the electronic device is powered on or the working mode is switched, so as to turn on the working power supply of the parameter adjustment module 13 of the switching power supply component 113 and make the linear Hall element work.
[0117] In practice, the aforementioned preset third time interval can also be set according to actual application requirements, and this application does not impose any restrictions on it.
[0118] It should also be noted that electronic devices can write the current parameters into the program, so that the parameters can be used to operate the next time the user selects the working mode.
[0119] It should be noted that the preset parameters for each working mode can be set according to the actual application. For example, the preset parameter adjusted in cleaning mode can be the duty cycle, the preset parameter adjusted in sensitive mode can be the vibration frequency, the preset parameter adjusted in massage mode can be the interval time, and the preset parameter adjusted in brightening mode can be the speed. This application does not limit this. When it is necessary to adjust multiple parameters in the same working mode, multiple linear Hall elements can be set to achieve this. By defining the parameters corresponding to different linear Hall elements, personalized adjustment of these parameters can be achieved.
[0120] In practical applications, if the control chip does not detect a repetitive low-level signal within a preset first time interval and the linear Hall element does not detect a voltage change, the device will shut down after operating in the default working mode for the preset first time interval.
[0121] As can be seen from the above, the interactive control circuit provided in this application generates corresponding level changes or voltage changes based on the changes in magnetic flux in a magnetic field through nonlinear Hall elements and linear Hall elements. Based on this, the operating mode and personalized parameters of the electronic device are adjusted. The operation is simple, the implementation cost is low, and there is no need to add control buttons, which reduces the requirements for waterproof performance. It meets the waterproof requirements and can realize personalized parameter adjustment. Compared with multiple button control, it reduces the implementation cost and improves the reliability of the product. It effectively solves the problem that current electronic products cannot simultaneously meet the requirements for waterproofing and personalized parameter adjustment.
[0122] This application also provides an electronic device that includes the interactive control circuit described in the above embodiments. The aforementioned electronic device includes, but is not limited to, electric toothbrushes, water flossers, facial cleansing devices, and other common everyday electronic devices.
[0123] Please see Figure 14 , Figure 14 A schematic diagram of an electric toothbrush is shown. In this embodiment, the electronic device is an electric toothbrush, which may include a brush head 141 and a grip 142. The brush head 141 and the grip 142 may be fixedly connected or detachably connected, and this application does not impose any limitations on this.
[0124] The aforementioned interactive control circuit and the controlled object (e.g., a motor) can be accommodated in the cavity of the aforementioned grip portion 142. The dial knob of the aforementioned rotary dial operation control can be provided on the outer shell of the aforementioned grip portion 142. The aforementioned linear Hall element and nonlinear Hall element can be provided in the aforementioned interactive control circuit. Based on this, the operating mode and personalized parameters of the aforementioned electric toothbrush can be adjusted by the aforementioned rotary dial operation control.
[0125] Based on the aforementioned interactive control circuit, this application embodiment also provides an interactive control method, applied to the aforementioned interactive control circuit. The executing entity can be a control module in the interactive control circuit (specifically, a control chip, such as an MCU, etc.). The following describes... Figure 15 The interactive control circuit provided in the embodiments of this application will be described in detail as follows:
[0126] Please see Figure 15 , Figure 15 This is a schematic flowchart of an interactive control method provided in an embodiment of this application.
[0127] like Figure 15 As shown, the interactive control method provided in this application embodiment may include S151 to S152, which are described in detail below:
[0128] S151: When a mode adjustment command sent by the working mode adjustment module is detected, the working mode of the electronic device is adjusted according to the mode adjustment command.
[0129] In this embodiment, the above-mentioned working mode adjustment module is provided with a nonlinear Hall element. The nonlinear Hall element can generate a corresponding mode adjustment command based on the change in the magnetic field strength of the applied magnetic field and send it to the control module. The control module will then adjust the working mode of the electronic device according to the mode adjustment command.
[0130] In one embodiment of this application, the above-mentioned mode adjustment instruction may include a power-on control instruction and a mode switching instruction. The power-on control instruction is used to control the electronic device to enter the power-on state, and the mode switching instruction is used to switch the current working mode of the electronic device to the next working mode.
[0131] In this embodiment of the application, when the magnetic field strength detected by the nonlinear Hall element in the working mode adjustment module is greater than the conduction threshold, the nonlinear Hall element will send a power-on control command to the control module. At this time, the control module will control the electronic device to enter the power-on state. After entering the power-on state, the electronic device can enter the default working mode.
[0132] The description of whether the nonlinear Hall element detects whether the magnetic field strength is greater than the conduction threshold can be found in the description of the above interactive control circuit embodiment, and will not be repeated here to avoid repetition.
[0133] In this embodiment of the application, when the nonlinear Hall element in the working mode adjustment module detects that the magnetic field strength decreases from greater than the conduction threshold to less than the cutoff threshold, and then increases from less than the cutoff threshold to greater than the conduction threshold, the nonlinear Hall element will send a mode switching command to the control module, and the control module will control the electronic device to switch the current working mode of the electronic device to the next working mode.
[0134] The operating modes of the aforementioned electronic devices and the switching between modes have been described in the interactive control circuit embodiment, and will not be repeated here to avoid repetition.
[0135] S152: When a parameter adjustment command sent by the parameter adjustment module is detected, the preset parameters in the current working mode are adjusted according to the parameter adjustment command.
[0136] In this embodiment, when the user needs to adjust the preset parameters in the current operating mode, the moving magnet is moved closer to the linear Hall element. At this time, the magnetic field strength applied to the linear Hall element changes from low to high. The linear Hall element then outputs a voltage change from low to high accordingly. By extracting the relationship between the magnetic field strength and voltage in a certain area based on the structural volume, the voltage change can be determined. The preset parameters in the current operating mode are then adjusted based on this voltage change, ranging from 0 to 100%. Specifically, the voltage change can be arbitrary, from minimum to maximum. The control module can determine the parameter adjustment amount based on this voltage change and then adjust the preset parameters in the current operating mode of the electronic device.
[0137] In one embodiment of this application, S152 may include the following steps:
[0138] The voltage change is determined according to the parameter adjustment command;
[0139] The parameter adjustment amount is determined based on the voltage change.
[0140] The preset parameters in the current working mode are adjusted according to the parameter adjustment amount.
[0141] In practical applications, the above parameter adjustment command may include the voltage change generated by the linear Hall element according to the change in magnetic field strength. For example, the linear Hall element will generate the corresponding voltage change according to the change in the rotation angle of the dial knob to determine the parameter adjustment amount in the parameter adjustment command, and then control the electronic device to adjust the preset parameter to the parameter adjustment amount.
[0142] It should be noted that the preset parameters for each working mode can be the same or different. For details, please refer to the description of the interactive control circuit embodiment. To avoid repetition, it will not be repeated here.
[0143] For details regarding the adjustment of preset parameters in the current working mode according to parameter adjustment instructions, please refer to the description of the interactive control circuit embodiment. To avoid repetition, it will not be repeated here.
[0144] In one embodiment of this application, the above-described interactive control method may further include the following steps:
[0145] If no mode switching command is detected from the working mode adjustment module and no parameter adjustment command is detected from the parameter adjustment module within the preset first time interval, the electronic device will be powered off.
[0146] In this embodiment, if no mode adjustment command is received from the working mode adjustment module within a preset first time interval, it indicates that the user has selected the current working mode and does not intend to switch working modes. At this time, the control module will supply power to the parameter adjustment module through the power supply module. The linear Hall element in the parameter adjustment module can then generate a corresponding parameter adjustment command based on the user's operation and send the parameter adjustment command to the control module. If no parameter adjustment command is detected from the parameter adjustment module within the preset first time interval, it indicates that the user does not want to adjust the preset parameters of the current working mode. Therefore, after the electronic device has been in operation for the preset first time interval, the electronic device is powered off.
[0147] It should be noted that the above-mentioned preset first time interval can be set according to application requirements. Since the default brushing time is generally two minutes, the above-mentioned preset first time interval can be set to two minutes. Of course, the above-mentioned preset first time interval can also be set to other times, such as two and a half minutes, three minutes, etc. This application does not limit this.
[0148] In one embodiment of this application, the control module generates a corresponding parameter adjustment amount based on the voltage change amount in the parameter adjustment command sent by the parameter adjustment module within a preset second time interval only when the control module detects that the voltage change amount has not changed within the preset second time interval, and controls the electronic device to adjust the preset parameters in the current working mode based on the parameter adjustment amount.
[0149] It should be noted that the aforementioned preset second time interval can be set according to actual application requirements. For example, it can be set to 1.5 seconds to 2 seconds. The purpose of setting the preset second time interval is to ensure the accuracy of parameter adjustment. Only when the voltage change remains at a certain value for a period of time longer than the preset second time interval is it confirmed that the user has selected the parameter corresponding to this voltage value, and only then will the parameter value corresponding to the current voltage be determined as the target parameter of the preset parameter, and the operation be performed with this target parameter. Of course, the aforementioned preset second time interval can also be set to other values such as 3 seconds or 1 second, and this application does not impose any restrictions on this.
[0150] In one embodiment of this application, in order to reduce the working time of the linear Hall element and reduce the power consumption of the electronic device, the Power EN pin can be controlled to output a high-level signal only when no repeated low-level signal is detected within a preset third time interval after the electronic device is powered on or the working mode is switched, so as to turn on the working power supply of the parameter adjustment module 13 of the switching power supply component 113 and make the linear Hall element work.
[0151] In practice, the aforementioned preset third time interval can also be set according to actual application requirements, and this application does not impose any restrictions on it.
[0152] As can be seen from the above, the interactive control method provided in this application embodiment can also generate corresponding level changes or voltage changes based on the changes in magnetic flux in a magnetic field through nonlinear Hall elements and linear Hall elements, and adjust the working mode and personalized parameters of electronic devices accordingly. It is simple to operate, has low implementation cost, and does not require additional control buttons, thus reducing the requirements for waterproof performance. It meets the waterproof requirements and can also achieve personalized parameter adjustment. Compared with multiple button control, it reduces the implementation cost and improves the consistency and reliability of the product, effectively solving the problem that current electronic products cannot simultaneously meet the requirements for waterproofing and personalized parameter adjustment.
[0153] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the terminal device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0154] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
[0155] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0156] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. An interactive control circuit, characterized in that, include: The power supply module is connected to the working mode adjustment module, the parameter adjustment module and the control module respectively, and is used to provide working voltage to the working mode adjustment module, the parameter adjustment module and the control module; The working mode adjustment module is connected to the control module and includes a non-linear Hall element, which is used to generate mode adjustment commands according to user operation control and send them to the control module. The parameter adjustment module, connected to the control module, includes a linear Hall element for generating parameter adjustment commands based on user operations and sending them to the control module; the linear Hall element is used to sense changes in magnetic field strength and convert them into corresponding parameter adjustment commands based on the changes in magnetic field strength. The control module is used to adjust the working mode of the electronic device according to the mode adjustment command sent by the working mode adjustment module, and to adjust the preset parameters of the working mode of the electronic device according to the parameter adjustment command sent by the parameter adjustment module. When the nonlinear Hall element in the working mode adjustment module detects a magnetic field strength greater than the conduction threshold, it sends a power-on control command to the control module. The control module then controls the electronic device to enter the power-on state according to the power-on control command. When the nonlinear Hall element in the working mode adjustment module detects a magnetic field strength that decreases from greater than the conduction threshold to less than the cutoff threshold, and then increases from less than the cutoff threshold to greater than the conduction threshold, it sends a mode switching command to the control module. The control module then switches the current working mode of the electronic device to the next working mode according to the mode switching command. The magnetic field strength detected by the nonlinear Hall element varies depending on the distance between the moving magnet and the nonlinear Hall element. The moving magnet is fixedly installed in the operation control and moves according to the user's operation.
2. The interactive control circuit according to claim 1, characterized in that, The power module includes a power supply component, a power conversion component, and a switching power supply component; The power supply component is connected to the power conversion component and is used to provide power; The power conversion component is used to convert the power supplied by the power supply component into the operating voltage required by other modules; The switching power supply assembly is connected to the power supply assembly and is used to turn on or off the power supply of the parameter adjustment module according to the control command of the control module.
3. The interactive control circuit according to claim 2, characterized in that, The working mode adjustment module includes a first capacitor, a nonlinear Hall element, and a second capacitor. The first terminal of the first capacitor is the power supply terminal of the working mode adjustment module and is connected to the output terminal of the power conversion component. The second terminal of the first capacitor is grounded. The first terminal of the nonlinear Hall element is connected to the first terminal of the first capacitor. The second terminal of the nonlinear Hall element is connected to the first terminal of the second capacitor. The third terminal of the nonlinear Hall element is grounded. The second terminal of the second capacitor is grounded. The first terminal of the second capacitor is connected to the GPIO pin of the control chip.
4. The interactive control circuit according to claim 2, characterized in that, The parameter adjustment module includes a third capacitor, a linear Hall element, a fourth capacitor, and an ADC filter circuit. The first terminal of the third capacitor is the power input terminal of the parameter adjustment module, the second terminal of the third capacitor is grounded, the first terminal of the linear Hall element is connected to the first terminal of the third capacitor, the second terminal of the linear Hall element is connected to the first terminal of the fourth capacitor, the third terminal of the linear Hall element is grounded, the second terminal of the fourth capacitor is grounded, the input terminal of the ADC filter circuit is connected to the first terminal of the fourth capacitor, and the output terminal of the ADC filter circuit is connected to the ADC pin of the control chip.
5. An interactive control method, characterized in that, The interactive control method, applied to the interactive control circuit as described in any one of claims 1 to 4, comprises: When a mode adjustment command sent by the working mode adjustment module is detected, the working mode of the electronic device is adjusted according to the mode adjustment command. When a parameter adjustment command is detected from the parameter adjustment module, the preset parameters in the current working mode are adjusted according to the parameter adjustment command.
6. The interactive control method according to claim 5, characterized in that, The parameter adjustment command includes the voltage change generated by the linear Hall element according to the change in magnetic field strength. When the parameter adjustment command sent by the parameter adjustment module is detected, the preset parameters in the current working mode are adjusted according to the parameter adjustment command, including: The voltage change is determined according to the parameter adjustment command; The parameter adjustment amount is determined based on the voltage change. The preset parameters in the current working mode are adjusted according to the parameter adjustment amount.
7. The interactive control method according to claim 6, characterized in that, The parameter adjustment amount is determined based on the voltage change, including: If the voltage change does not change within a preset second time interval, a corresponding parameter adjustment amount is generated based on the voltage change.
8. The interactive control method according to claim 5, characterized in that, Before adjusting the preset parameters in the current working mode according to the parameter adjustment command sent by the parameter adjustment module when the parameter adjustment command is detected, the method further includes: If no repeated low-level signal is detected within the preset third time interval, the control power module supplies power to the parameter adjustment module so that the linear Hall element in the parameter adjustment module can work.
9. An electronic device, characterized in that, The electronic device includes the interactive control circuitry as described in any one of claims 1 to 4.