CN116149499B - Multi-mode switching control circuit and switching control method for mouse - Google Patents

Multi-mode switching control circuit and switching control method for mouse Download PDF

Info

Publication number
CN116149499B
CN116149499B CN202310411448.1A CN202310411448A CN116149499B CN 116149499 B CN116149499 B CN 116149499B CN 202310411448 A CN202310411448 A CN 202310411448A CN 116149499 B CN116149499 B CN 116149499B
Authority
CN
China
Prior art keywords
circuit
signal
connection
pin
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310411448.1A
Other languages
Chinese (zh)
Other versions
CN116149499A (en
Inventor
曾浩
赖科元
邓民坤
郑贤成
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Rapoo Technology Co Ltd
Original Assignee
Shenzhen Rapoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Rapoo Technology Co Ltd filed Critical Shenzhen Rapoo Technology Co Ltd
Priority to CN202310411448.1A priority Critical patent/CN116149499B/en
Publication of CN116149499A publication Critical patent/CN116149499A/en
Application granted granted Critical
Publication of CN116149499B publication Critical patent/CN116149499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application discloses a multimode switching control circuit and a switching control method for a mouse. According to the technical method, the working mode can be determined according to the input connection signal and the self-adaptive switching can be performed, so that the working mode can be flexibly switched according to the firmware connected with the mouse, the efficiency of switching the working mode is greatly improved, and meanwhile, the cost of performing function transformation on the mouse is reduced.

Description

Multi-mode switching control circuit and switching control method for mouse
Technical Field
The application relates to the technical field of control circuits, in particular to a multi-mode switching control circuit and a switching control method for a mouse.
Background
The mouse is widely used as an indispensable control device of a computer, and after the existing mouse is produced and shaped, the internally configured components are fixed and cannot be changed any more, so that the mouse is limited in use function. In the prior art, if the use function of the mouse needs to be expanded, the mouse needs to be disassembled and corresponding firmware such as buttons, rollers, indicator lamps and the like needs to be added, and meanwhile, the circuit module in the mouse needs to be replaced to change the working mode of the mouse. Therefore, the mouse in the prior art has the problem that the working mode can not be flexibly switched.
Disclosure of Invention
The embodiment of the application provides a multi-mode switching control circuit and a multi-mode switching control method for a mouse, which aim to solve the problem that the mouse in the prior art cannot flexibly switch working modes.
In a first aspect, an embodiment of the present application discloses a method for controlling multi-mode switching of a mouse, where the method is applied to a control chip of a multi-mode switching control circuit, and the method includes:
acquiring an input connection signal;
determining a corresponding working mode from a preset configuration table according to the connection signal;
and processing the connection signal according to the working mode and outputting a control signal corresponding to the connection signal.
In a second aspect, the embodiment of the application also discloses a multimode switching control circuit for a mouse, wherein a control chip in the multimode switching control circuit applies the multimode switching control method according to the first aspect, and the circuit comprises a power supply circuit, a master socket circuit, a control circuit, a sensor circuit, a key circuit and an adapter;
the tenth pin of the adapter seat and the power supply end of the power supply circuit are connected with a power supply at the same time, the voltage stabilizing output end of the power supply circuit is connected with the power supply input end of the control circuit and the sixteenth pin of the adapter seat, and the female seat connecting end of the female seat circuit is connected with the thirteenth pin of the adapter seat;
the battery voltage output end of the power supply circuit is connected with the power supply input end of the sensor circuit through a voltage reduction circuit; the battery voltage output end of the power supply circuit is also connected with the battery voltage input end of the control circuit;
the positive electrode output end of the master seat circuit is connected with the positive electrode access end of the control circuit, and the negative electrode output end of the master seat circuit is connected with the negative electrode access end of the control circuit;
the Bluetooth signal output end of the master seat circuit is connected with the Bluetooth control end of the power supply circuit;
a plurality of key signal output ends in the key circuit are connected with corresponding key signal input pins in the adapter;
the key signal input end of the control circuit is simultaneously connected with the signal output pin of the adapter and the signal transmission end in the key circuit;
and a sensing signal input end of the control circuit is connected with a sensing signal output end of the sensor circuit.
The embodiment of the application discloses a multimode switching control circuit and a multimode switching control method for a mouse. According to the technical method, the working mode can be determined according to the input connection signal and the self-adaptive switching can be performed, so that the working mode can be flexibly switched according to the firmware connected with the mouse, the efficiency of switching the working mode is greatly improved, and meanwhile, the cost of performing function transformation on the mouse is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for controlling multi-mode switching of a mouse according to an embodiment of the present application;
FIG. 2 is a circuit diagram of a multi-mode switching control circuit for a mouse according to an embodiment of the present application;
FIG. 3 is a circuit diagram of a power supply circuit according to an embodiment of the present application;
FIG. 4 is a circuit diagram of a step-down circuit according to an embodiment of the present application
FIG. 5 is a circuit diagram of a female socket circuit according to an embodiment of the present application;
FIG. 6 is a circuit diagram of a control circuit according to an embodiment of the present application;
fig. 7 is a circuit diagram of an interposer according to an embodiment of the present application;
FIG. 8 is a circuit diagram of a sensor circuit according to an embodiment of the present application;
FIG. 9 is a partial circuit diagram of a key circuit according to an embodiment of the present application;
FIG. 10 is another partial circuit diagram of a key circuit according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a key circuit according to an embodiment of the present application;
FIG. 12 is a circuit diagram of an encoder circuit provided by an embodiment of the present application;
fig. 13 is a circuit diagram of an LED circuit according to an embodiment of the present application;
fig. 14 is a circuit diagram of a roller circuit according to an embodiment of the present application;
fig. 15 is a partial circuit diagram of a multimode switching control circuit for a mouse according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the application also discloses a multi-mode switching control method for the mouse, which is applied to a control chip of a multi-mode switching control circuit, as shown in fig. 1, and comprises steps S110-S130.
S110, acquiring the input connection signal.
The control chip can receive the input connection signals, and after other components are inserted into the corresponding ports and are electrically connected, the control chip can receive the input connection signals. The component can be directly and electrically connected with the pin of the control chip, and can be indirectly and electrically connected with the pin of the control chip through the adapter or other circuits, whether the component is directly and electrically connected with the pin of the control chip or indirectly connected with the pin of the control chip, and after the component is electrically connected, the control chip can certainly receive the input connection signal.
S120, determining a corresponding working mode from a preset configuration table according to the connection signal.
And then, determining the working mode corresponding to the connection signal from a preset configuration table in the control chip according to the received connection signal, wherein the signal type contained in the connection signal and the number of various types of signals are required to be matched with different working modes, and the configuration table contains a plurality of working modes, the signal type corresponding to each working mode and the number of various types of signals.
In a specific embodiment, step S120 specifically includes the sub-steps of: classifying the connection signals to determine the number of signals corresponding to each classification; the classification comprises a key connection signal, a roller connection signal, a light connection signal and a sensor connection signal; and acquiring working modes matched with the number of signals corresponding to each category from the configuration table.
Specifically, the connection signals may be classified, so as to determine the number of signals corresponding to each classification, where the signal classification may include a key connection signal, a roller connection signal, a light connection signal, and a sensor connection signal, where the key connection signal corresponds to a key configured in the mouse, the roller connection signal corresponds to a roller configured in the mouse, the light connection signal corresponds to a display lamp configured in the mouse, and the sensor signal corresponds to a sensor configured in the mouse. After the connection signals are classified, the number of signal paths corresponding to each signal classification can be determined, namely the number of signals corresponding to each signal classification is determined.
In a more specific embodiment, each signal classification may be further subdivided according to specific type information such as connection protocol type, connection pin number, etc. of the connection signal. If the number of signals respectively corresponding to the connection protocol types in the same signal classification is determined, the number of signals respectively corresponding to the connection pins in the same signal classification is determined.
In a specific embodiment, the classifying the connection signals to determine the number of signals corresponding to each classification specifically includes: preliminary classification is carried out on the connection signals so as to determine the number of signals corresponding to each classification; the signals corresponding to each category are subdivided to determine the number of signals corresponding to the sub-categories included in each category.
In the practical application process, firstly, the connection signals are initially classified, so that the number of signals corresponding to each classification is determined, and the specific implementation process is shown in the steps. Then, each signal classification can be further subdivided, so that the number of signals corresponding to the sub-classifications contained in each classification is determined, for example, key connection signals are further subdivided into main key connection signals, side key connection signals and the like, and roller connection signals are further subdivided into main roller connection signals, side roller connection signals and the like; the lamplight connection signal is further subdivided into a monochromatic lamplight connection signal, a color lamplight connection signal and the like; the sensor signals are further subdivided into mouse cursor sensor signals, life sensor signals (e.g., heartbeat sensor signals, blood pressure sensor signals), operation sensors (e.g., level detection sensors), and the like.
According to the number of signals corresponding to each signal class, a matched working mode can be obtained from the configuration table in a matching way.
In a specific embodiment, step S120 specifically further includes the sub-steps of: judging whether the connection signal contains a power supply connection signal and a data transmission connection signal or not to obtain a judging result; and determining a corresponding power supply mode and a data receiving and transmitting mode according to the judging result.
In the process of determining the corresponding working mode, whether the connection signal contains the power supply connection signal and the data transmission connection signal or not can be judged, and corresponding judging results are obtained, and whether the connection signal contains the power supply connection signal and whether the connection signal contains the data transmission connection signal or not is two independent judging processes. For example, if the power supply port of the mouse is plugged into the USB interface of the external device (such as a computer), the external device (such as a computer) can supply power to the mouse through the USB interface, so that the connection signal detected by the control chip includes a power supply connection signal; if the data transmission port of the mouse is plugged into the USB interface of the external device (such as a computer), the external device (such as the computer) can transmit data between the USB interface and the mouse, so that a control signal generated by a user operating the mouse is sent to the external device (such as the computer).
The corresponding power supply mode and data receiving and transmitting mode can be determined according to the judging result, specifically, if the connecting signal is judged to contain the power supply connecting signal, the mouse can be powered through the external equipment, and the power supply mode is determined to be the external power supply mode; if the connection signal does not contain the power supply connection signal, the mouse can be powered by a battery (a rechargeable battery or a non-rechargeable battery) arranged in the mouse, and the power supply mode is determined to be an internal power supply mode. If the connection signal is judged to contain the data transmission connection signal, data transmission can be carried out between the connection line and the external equipment, and the data receiving and transmitting mode is determined to be a wired receiving and transmitting mode; if the connection signal is determined to not include the data transmission connection signal, data transmission can be performed between the antenna (E1 shown in fig. 6) disposed in the mouse and the external device, and the data transmission/reception mode is determined to be the wireless transmission/reception mode.
S130, processing the connection signal according to the working mode and outputting a control signal corresponding to the connection signal.
After the working mode is determined, the control chip can execute signal processing logic corresponding to the working mode to process the connection signal and output the control signal obtained after the processing. The control signal may include only an operation control signal for controlling the external device, and the control signal may also include an operation control signal for controlling the external device and a feedback control signal for controlling a component disposed in the mouse.
In a specific embodiment, step S130 specifically includes the sub-steps of: processing the connection signal according to a control signal processing rule in the working mode to obtain a corresponding operation control signal; the operation control signal is output to an external device connected with the mouse so as to control the external device; processing the connection signal according to a feedback control rule in the working mode to obtain a corresponding feedback control signal; and the feedback control signal is output to components configured in the mouse so as to control the components.
The working mode comprises a control signal processing rule, the connection signals can be processed according to the control signal processing rule, and specifically, multipath signals used for controlling external equipment in the connection signals can be integrated according to the control signal processing rule. For example, the main key connection signal and the mouse cursor sensor signal need to be integrated correspondingly, so as to determine a specific position and a specific action for operating the external device, and then the main key connection signal and the mouse cursor sensor signal can be integrated according to a control signal processing rule in a corresponding working mode, so that a corresponding operation control signal is obtained, and the operation control signal can be sent to the external device to control the external device.
The connection signal can also be processed according to the feedback control rule in the working mode to obtain a corresponding feedback control signal. For example, when the display lamp is assembled with the mouse, the display lamp can be controlled to flash according to the connection information of the main key, and the feedback control rule includes: the display lamp flashes once when the user clicks the left button of the mouse, and the display lamp flashes twice when the user clicks the right button of the mouse, so that the command for controlling the display lamp to flash is a feedback control signal; the control display lamp correspondingly adjusts the brightness according to the side roller connection signals, and then the instruction for controlling the display lamp to adjust the brightness is also another feedback control signal, and the feedback control signal can be sent to components configured in the mouse so as to control the internal components.
Referring to fig. 2 to 15, the embodiment of the application further discloses a multimode switching control circuit for a mouse, wherein a control chip in the multimode switching control circuit applies the multimode switching control method described in the above embodiment. Specifically, as shown in fig. 2, the multimode switching control circuit includes a power supply circuit 1, a master seat circuit 2, a control circuit 3, a sensor circuit 4, a key circuit 5 and an adapter seat J5; the tenth pin J5_11 of the adapter seat J5 and the power supply end 1_BAT of the power supply circuit 1 are simultaneously connected with a power supply, the voltage stabilizing output end 1_VBUS-C of the power supply circuit 1 is connected with the power supply input end 3_VBUS-C of the control circuit 3 and the sixteenth pin J5_16 of the adapter seat J5, and the female seat connecting end 2_SDA of the female seat circuit 2 is connected with the thirteenth pin J5_13 of the adapter seat J5; the battery voltage output terminal 1_vabt of the power supply circuit 1 is connected with the power supply input terminal 4_vdd2v0 of the sensor circuit 4 through a voltage reduction circuit 6; the battery voltage output terminal 1_vabt of the power supply circuit 1 is also connected with the battery voltage input terminal 3_vabt of the control circuit 3; the positive electrode output end 2_D+ of the master seat circuit 2 is connected with the positive electrode access end 3_D+ of the control circuit 3, and the negative electrode output end 2_D-of the master seat circuit 2 is connected with the negative electrode access end 3_D-of the control circuit 3; the Bluetooth signal output end 2_BLUE of the master seat circuit 2 is connected with the Bluetooth control end 1_BLUE of the power supply circuit 1; a plurality of key signal output ends in the key circuit 5 are connected with corresponding key signal input pins in the adapter J5; the key signal input end of the control circuit 3 is simultaneously connected with the signal output pin of the adapter J5 and the signal transmission end in the key circuit 5; the sensing signal input end of the control circuit 3 is connected with the sensing signal output end of the sensor circuit 4.
As shown in fig. 4, the voltage-reducing circuit 6 includes a voltage-reducing chip U1, an eighth capacitor C8, a ninth capacitor C9, and a tenth capacitor C10. The first pin u1_1 of the buck chip U1 is connected to one end of the eighth capacitor C8, one end of the ninth capacitor C9, and one end of the tenth capacitor C10, and is grounded, the other end of the eighth capacitor C8 is connected to the other end of the ninth capacitor C9 and the third pin u1_3 of the buck chip U1, and the other end of the tenth capacitor C10 is connected to the second pin u1_2 of the buck chip U1. The connection point (the connection point is 6_vbat) between the tenth capacitor C10 and the second pin u1_2 of the buck chip U1 is connected to the battery voltage output terminal 1_vbat of the power supply circuit 1, and the connection point (the connection point is 6_vdd2v0) between the eighth capacitor C8, the ninth capacitor C9 and the third pin u1_3 of the buck chip U1 is connected to the power supply input terminal 4_vdd2v0 of the sensor circuit 4.
As shown in fig. 7, the adapter board J5 includes eighteen pins, wherein the seventeenth pin j5_17 and the eighteenth pin j5_18 are grounded.
In a more specific embodiment, as shown in fig. 3, the power circuit 1 includes a power chip U8, a sixth resistor R6, a twenty-third resistor R23, a twenty-fourth resistor R24, a twenty-fifth resistor R25, a twenty-sixth resistor R26, a first capacitor C1, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, a MOS transistor Q4, a fourth light emitting diode D4, a first switch SW1, an eighth diode D8, a twelfth diode D12, a fourteenth diode D14, and a connection terminal J15; a fifth pin u8_5 of the power chip U8 is used as a power supply terminal 1_bat of the power supply circuit 1 and is simultaneously connected with a power supply, a first pin j15_1 of the connection terminal J15, a second pin sw1_2 of the first change-over switch SW1, one end of the fourth capacitor C4 and one end of the fifth capacitor C5; the other end of the fourth capacitor C4 is connected with the other end of the fifth capacitor C5 and grounded; an eighth pin u8_8 of the power chip U8 is used as a voltage stabilizing output terminal 1_vbus-C of the power circuit 1 and is simultaneously connected with the positive electrode of the fourth light emitting diode D4 and one end of the twenty-fifth resistor R25; the negative electrode of the fourth light-emitting diode D4 is connected with one end of the twenty-third resistor R23, and the other end of the twenty-third resistor R23 is connected with a seventh pin U8-7 of the power chip U8; the other end of the twenty-fifth resistor R25 is connected with the first pin U8-1 of the power chip U8 and one end of the twenty-sixth resistor R26; the other end of the twenty-sixth resistor R26 is connected with one end of the sixth resistor R6 and the third pin U8-3 of the power chip U8 and grounded; the other end of the sixth resistor R6 is connected with a second pin U8-2 of the power chip U8; the fourth pin U8-4 of the power chip U8 is connected with one end of the first capacitor C1, one end of the third capacitor C3 and the voltage stabilizing output end 1_VBUS-C at the same time; the other end of the first capacitor C1 is connected with the other end of the third capacitor C3 and then grounded; the voltage stabilizing output end 1_VBUS-C of the power circuit 1 is also connected with one end of the twenty-fourth resistor R24 and the source electrode of the MOS tube Q4, and the other end of the twenty-fourth resistor R24 is connected with the grid electrode of the MOS tube Q4; a first pin sw1_1 of the first switch SW1 is used as a bluetooth control terminal 1_blue of the power supply circuit 1 and is connected with the positive electrode of the fourteenth diode D14; the fourth pin sw1_4 of the first switch SW1 is connected to the positive electrode of the twelfth diode D12, the negative electrode of the twelfth diode D12 is connected to the negative electrode of the fourteenth diode D14, the negative electrode of the eighth diode D8 and the battery voltage output terminal 1_vbat of the power supply circuit 1, and the positive electrode of the eighth diode D8 is connected to the voltage stabilizing output terminal 1_vbus-C of the power supply circuit 1.
In a more specific embodiment, as shown in fig. 5 and 15, the mother board circuit 2 includes a mother board chip J3, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, an eleventh capacitor C11, a twelfth capacitor C12, a thirty-first resistor C30, and a thirty-first resistor C31; a1 pins J3_A1 and B12 pins J3_B12 of the mother seat chip J3 are grounded; the A4 pin J3_A4, the A9 pin J3_A9, the B4 pin J3_B4 and the B9 pin J3_B9 of the mother seat chip J3 are connected with the voltage stabilizing output end of the power circuit 1, and the voltage of the voltage stabilizing output end is VBUS-C; the pin A5 of the mother seat chip J3 is connected with the pin J3_A5 of the first resistor R1, and the other end of the first resistor R1 is connected with the pin A12 of the mother seat chip J3, namely the pin J3_A12 and grounded; the B5 pin J3_B5 of the mother seat chip J3 is connected with one end of the second resistor R2, and the other end of the second resistor R2 is connected with the B1 pin J3_B1 of the mother seat chip J3 and grounded; the pin a8 of the mother socket chip J3, namely, j3_a8, is connected with one end of the thirty-th resistor R30, and the other end of the thirty-th resistor R30 is used as a mother socket connection end 2_sda of the mother socket circuit 2; the B8 pin j3_b8 of the mother socket chip J3 is connected to one end of the thirty-first resistor R31, and the other end of the thirty-first resistor R31 is used as the bluetooth signal output end 2_blue of the mother socket circuit 2; the pin a7J 3_a7 of the socket chip J3 is connected with the pin b7J 3_b7 and one end of the fourth resistor R4, the other end of the fourth resistor R4 is used as the negative output end 2_d of the socket circuit 2 and is connected with one end of the twelfth capacitor C12, and the other end of the twelfth capacitor C12 is grounded; the B6 pin of the mother socket chip J3 is connected to the B6 pin J3_b6 and one end of the third resistor R3, the other end of the third resistor R3 is used as the positive output end 2_d+ of the mother socket circuit 2 and is connected to one end of the eleventh capacitor C11, and the other end of the eleventh capacitor C11 is grounded.
In a more specific embodiment, as shown in fig. 6, the control circuit 3 includes a control chip U3, a twentieth resistor R20, a twentieth capacitor C20, and a twenty-second capacitor C22; a tenth pin u3_10 of the control chip U3 is connected to one end of the twentieth resistor R20 and one end of the twentieth capacitor C20, and the other end of the twentieth resistor R20 is used as a power input end 3_vbus-C of the control circuit 3; the other end of the twentieth capacitor C20 is connected to one end of the twenty-second capacitor C22 and grounded, the other end of the twentieth capacitor C22 is connected to the ninth pin u3_9 of the control chip U3, and the connection point is used as the battery voltage input end 3_vbat of the control circuit 3; the thirteenth pin U3-13 of the control chip U3 is used as an anode access terminal 3_D+ and the twelfth pin U3-12 of the control circuit 3 is used as a cathode access terminal 3_D-; the key signal input end of the control circuit 3 comprises a second pin U3_2, a third pin U3_3 and a fifth pin U3_5 of the control chip U3. The twenty-fourth pin u3_24 of the control chip U3 is sequentially connected in series with the fifth inductor L5, the sixth inductor L6 and the transmitting antenna E1, and the transmitting antenna E1 can be used for wireless transmission of data with external equipment.
In a more specific embodiment, as shown in fig. 8, the sensor circuit 4 includes a sensor chip U5, a twelfth resistor R12, a tenth light emitting diode D11, a thirteenth resistor R13, a thirteenth capacitor C13, a fourteenth capacitor C14, a sixteenth capacitor C16, a thirty-ninth capacitor C39, and a fortieth capacitor C40; the sensing signal output end comprises a first sensing signal output end 4_S_SCLK/KC2, a second sensing signal output end 4_S_MOSI/KC3, a third sensing signal output end 4_S_MISO and a fourth sensing signal output end 4_S_NCS; a first pin u5_1 of the sensor chip U5 is connected to the negative electrode of the tenth light emitting diode D11, the positive electrode of the tenth light emitting diode D11 is connected to one end of the twelfth resistor R12, the other end of the twelfth resistor R12 is connected to one end of the sixteenth capacitor C16 and a third pin u5_3 of the sensor chip U5, and a connection point is used as a power input end 4_vdd2v0 of the sensor circuit 4; the other end of the sixteenth capacitor C16 is grounded; the second pin u5_2 of the sensor chip U5 is connected to one end of the thirteenth capacitor C13 and one end of the fourteenth capacitor C14, and the other end of the thirteenth capacitor C13 and the other end of the fourteenth capacitor C14 are connected to ground; the third pin u5_3 of the sensor chip U5 is further connected to one end of the thirty-ninth capacitor C39 and one end of the fortieth capacitor C40, and the other end of the thirty-ninth capacitor C39 and the other end of the fortieth capacitor C40 are connected to ground; the fourth pin U5_4 of the sensor chip U5 is used as a first sensing signal output end 4_S_SCLK/KC2 and is connected with the third pin U3_3 of the control chip U3; the sixth pin U3-6 of the sensor chip U5 is grounded; the seventh pin u5_7 of the sensor chip U5 is connected to one end of the thirteenth resistor R13 as a third sensing signal output end and is connected to the sixth pin u3_6 of the control chip U3; the other end of the thirteenth resistor R13 is used as a second sensing signal output end 4_S_MOSI/KC3 and is connected with a fifth pin U3_5 of the control chip U3; the eighth pin u5_8 of the sensor chip U5 is used as the fourth sensing signal output terminal 4_s_ncs to connect with the seventh pin u3_7 of the control chip U3, and the sensor circuit 4 is used for plugging a cursor sensor, and other additional sensors, such as a blood pressure sensor, a heartbeat sensor, etc., can be plugged in during the actual application process.
In a more specific embodiment, as shown in fig. 9 to 11, the key circuit 5 includes a fifth diode D5, a sixth diode D6, a seventh diode D7, a ninth diode D9, a tenth diode D10, a second switch SW2, a third switch SW3, a fourth switch SW4, and a first wiring chip J9; the signal transmission end of the key circuit 5 comprises a first signal transmission end 5_SPI/KC1, a second signal transmission end 5_SCL/KC2 and a third signal transmission end 5_MOSI/KC3; the first pin j5_1, the second pin j5_2 and the third pin j5_3 of the adaptor J5 are used as key signal input pins of the adaptor J5, and the fourth pin j5_4, the fifth pin j5_5 and the sixth pin j5_6 of the adaptor J5 are used as signal output pins of the adaptor J5; the sixth pin J9_6 and the seventh pin J9_7 of the first wiring chip J9 are grounded; the second pin sw2_2 of the second switch SW2 is used as a first signal transmission end 5_spi/KC1 to be connected with the fourth pin j9_4 of the first wiring chip J9, the second pin u3_2 of the control chip U3 and the fourth pin j5_4 of the adaptor J5, the first pin sw2_1 of the second switch SW2 is connected with the negative electrode of the fifth diode D5, and the positive electrode of the fifth diode D5 is connected with the first pin j5_1 of the adaptor J5 and the first pin j9_1 of the first wiring chip J9; the second pin sw3_2 of the third switch SW3 is used as a second signal transmission end 5_scl/KC2 to connect the fifth pin j9_5 of the first wiring chip J9, the third pin u3_3 of the control chip U3 and the fifth pin j5_5 of the adaptor J5, the first pin sw3_1 of the third switch SW3 is connected to the negative electrode of the sixth diode D6, the positive electrode of the sixth diode D6 is connected to the positive electrode of the ninth diode D9, the second pin j9_2 of the first wiring chip J9 and the second pin j5_2 of the adaptor J5; the negative electrode of the ninth diode D9 is connected with a first connection point J4_1 of the key port; the second pin sw4_2 of the fourth switch SW4 is used as a third signal transmission end 5_mosi/KC3 to connect the third connection point j10_1 of the key port, the fifth pin u3_5 of the control chip U3 and the sixth pin j5_6 of the adaptor J5, the first pin sw4_1 of the fourth switch SW4 is connected to the negative electrode of the seventh diode D7, and the positive electrode of the seventh diode D7 is connected to the positive electrode of the tenth diode D10, the third pin j5_3 of the adaptor J5 and the third pin j9_3 of the first wiring chip J9; the negative electrode of the twelfth polar tube D12 is connected to the second connection point j10_2 of the key port, where the key port is used for plugging in a key and electrically connecting.
The multimode switching control circuit may further include an encoder circuit, as shown in fig. 12, where the encoder circuit includes an encoding chip U2, a first pin u2_1 and a second pin u2_2 of the encoding chip U2 are simultaneously connected to a twenty-second pin u3_22 of the control chip U3, and a third pin u2_3 of the encoding chip U2 is grounded.
The above multi-mode switching control circuit may further include an LED circuit, where the LED circuit includes a display lamp that is additionally plugged by a user, as shown in fig. 13, where the LED circuit includes a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, a nineteenth resistor R19, a first triode Q1, a second triode Q2, a third triode Q3, a twenty seventh resistor R27, a twenty eighth resistor R28, a twenty ninth resistor R29, a first light emitting diode D1, a thirteenth light emitting diode D13, a fifteenth light emitting diode D15, and a sixteenth light emitting diode D16. The positive electrode of the first light emitting diode D1, the positive electrode of the thirteenth light emitting diode D13, the positive electrode of the fifteenth light emitting diode D15 and the positive electrode of the sixteenth light emitting diode D16 are all connected with the battery voltage output terminal 1_vbat, the negative electrode of the thirteenth light emitting diode D13 is connected with one end of a twenty-seventh resistor R27, the other end of the twenty-seventh resistor R27 is connected with one end of a seventeenth resistor R17 and the collector of the first triode Q1, the emitter of the first triode Q1 is grounded, the collector of the first triode Q1 is connected with one end of a fourteenth resistor R14, the other end of the seventeenth resistor R17 is connected with a fourth pin j2_4 of the second wiring chip J2 and a fourth pin j8_4 of the third wiring chip J8, and the other end of the fourteenth resistor R14 is connected with a sixteenth pin u3_16 of the control chip U3. The negative electrode of the fifteenth light emitting diode D15 is connected with one end of a twenty-eighth resistor R28, the other end of the twenty-eighth resistor R28 is connected with one end of an eighteenth resistor R18 and the collector of a second triode Q2, the emitter of the second triode Q2 is grounded, the collector of the second triode Q2 is connected with one end of the fifteenth resistor R15, the other end of the fifteenth resistor R15 is connected with a seventeenth pin U3-17 of a control chip U3, and the other end of the eighteenth resistor R18 is connected with a fifth pin J2-5 of a second wiring chip J2 and a fifth pin J8-5 of a third wiring chip J8. The negative electrode of the sixteenth light emitting diode D16 is connected with the negative electrode of the first light emitting diode D1 and one end of a twenty-ninth resistor R29, the other end of the twenty-ninth resistor R29 is connected with one end of a nineteenth resistor R19 and the collector of a third triode Q3, the emitter of the third triode Q3 is grounded, the collector of the third triode Q3 is connected with one end of a sixteenth resistor R16, the other end of the sixteenth resistor R16 is connected with a fifteenth pin U3-15 of a control chip U3, and the other end of the nineteenth resistor R19 is connected with a third pin J2-3 of a second wiring chip J2 and a third pin J8-3 of a third wiring chip J8. The first pin J2_1 of the second wiring chip J2 is connected with the second pin J2_2, and the connection point is connected with the battery voltage output end 1_VBAT; the first pin j8_1 of the third wiring chip J8 is connected to the second pin j8_2, and the connection point is connected to the battery voltage output terminal 1_vbat.
The above-mentioned multimode switching control circuit may further include a roller circuit, as shown in fig. 14, where the roller circuit includes a second diode D2 and a third diode D3, the positive electrode of the second diode D2 is connected with the positive electrode of the third diode D3, the connection point of the second diode D2 is connected with a fourth pin u3_4 of the control chip U3, the negative electrode of the second diode D2 is connected with a fifteenth pin j5_15 of the adapter J5, the negative electrode of the third diode D3 is connected with a fifth pin u5_5 of the sensor chip U5, and the roller circuit corresponds to a roller inserted by a user.
According to the multi-mode switching control circuit, one or more keys can be inserted into the multi-mode switching control circuit to be electrically connected, one or more rollers can be inserted into the multi-mode switching control circuit to be electrically connected, display lamps can be inserted into the multi-mode switching control circuit to be electrically connected, and sensors (such as a mouse cursor sensor and a heartbeat sensor) can be inserted into the multi-mode switching control circuit to be electrically connected, so that the quick switching of various different working modes can be realized, and the convenience of use of a user can be improved.
The application discloses a multimode switching control circuit and a switching control method for a mouse. According to the technical method, the working mode can be determined according to the input connection signal and the self-adaptive switching can be performed, so that the working mode can be flexibly switched according to the firmware connected with the mouse, the efficiency of switching the working mode is greatly improved, and meanwhile, the cost of performing function transformation on the mouse is reduced.
The present application is not limited to the above embodiments, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the present application, and these modifications and substitutions are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (3)

1. A multi-mode switching control method for a mouse, the method being applied to a control chip of a multi-mode switching control circuit, the method comprising:
acquiring an input connection signal;
determining a corresponding working mode from a preset configuration table according to the connection signal;
processing the connection signal according to the working mode and outputting a control signal corresponding to the connection signal;
the determining a corresponding working mode from a preset configuration table according to the connection signal comprises the following steps:
classifying the connection signals to determine the number of signals corresponding to each classification; the classification comprises a key connection signal, a roller connection signal, a light connection signal and a sensor connection signal;
acquiring working modes matched with the number of signals corresponding to each category from the configuration table;
the step of classifying the connection signals to determine the number of signals corresponding to each classification includes:
preliminary classification is carried out on the connection signals so as to determine the number of signals corresponding to each classification;
subdividing signals corresponding to each category to determine the number of signals corresponding to the sub-categories included in each category; the subdivision of the signals corresponding to each category comprises the following steps: the signals contained in each signal classification are further subdivided according to the connection protocol type and the connection pin number of the connection signals;
the determining a corresponding working mode from a preset configuration table according to the connection signal comprises the following steps:
judging whether the connection signal contains a power supply connection signal and a data transmission connection signal or not to obtain a judging result;
and determining a corresponding power supply mode and a data receiving and transmitting mode according to the judging result.
2. The method according to claim 1, wherein the control signal includes an output control signal and a feedback control signal, the processing the connection signal according to the operation mode, and outputting a control signal corresponding to the connection signal, includes:
processing the connection signal according to a control signal processing rule in the working mode to obtain a corresponding operation control signal; the operation control signal is output to an external device connected with the mouse so as to control the external device;
processing the connection signal according to a feedback control rule in the working mode to obtain a corresponding feedback control signal; and the feedback control signal is output to components configured in the mouse so as to control the components.
3. A multi-mode switching control circuit for a mouse, wherein a control chip in the multi-mode switching control circuit applies the multi-mode switching control method according to any one of claims 1 to 2, and the circuit comprises a power supply circuit, a master socket circuit, a control circuit, a sensor circuit, a key circuit and an adapter;
the tenth pin of the adapter seat and the power supply end of the power supply circuit are connected with a power supply at the same time, the voltage stabilizing output end of the power supply circuit is connected with the power supply input end of the control circuit and the sixteenth pin of the adapter seat, and the female seat connecting end of the female seat circuit is connected with the thirteenth pin of the adapter seat;
the battery voltage output end of the power supply circuit is connected with the power supply input end of the sensor circuit through a voltage reduction circuit; the battery voltage output end of the power supply circuit is also connected with the battery voltage input end of the control circuit;
the positive electrode output end of the master seat circuit is connected with the positive electrode access end of the control circuit, and the negative electrode output end of the master seat circuit is connected with the negative electrode access end of the control circuit;
the Bluetooth signal output end of the master seat circuit is connected with the Bluetooth control end of the power supply circuit;
a plurality of key signal output ends in the key circuit are connected with corresponding key signal input pins in the adapter;
the key signal input end of the control circuit is simultaneously connected with the signal output pin of the adapter and the signal transmission end in the key circuit;
and a sensing signal input end of the control circuit is connected with a sensing signal output end of the sensor circuit.
CN202310411448.1A 2023-04-18 2023-04-18 Multi-mode switching control circuit and switching control method for mouse Active CN116149499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310411448.1A CN116149499B (en) 2023-04-18 2023-04-18 Multi-mode switching control circuit and switching control method for mouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310411448.1A CN116149499B (en) 2023-04-18 2023-04-18 Multi-mode switching control circuit and switching control method for mouse

Publications (2)

Publication Number Publication Date
CN116149499A CN116149499A (en) 2023-05-23
CN116149499B true CN116149499B (en) 2023-08-11

Family

ID=86350958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310411448.1A Active CN116149499B (en) 2023-04-18 2023-04-18 Multi-mode switching control circuit and switching control method for mouse

Country Status (1)

Country Link
CN (1) CN116149499B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1912815A (en) * 2005-08-10 2007-02-14 华硕电脑股份有限公司 Input device for data transmission of using radio or wired transmission mode
CN101458165A (en) * 2008-12-30 2009-06-17 深圳市元征软件开发有限公司 Automobile diagnosis test joint and implementing method thereof
CN102006820A (en) * 2008-04-18 2011-04-06 W.I.N.-无线综合网络公司 Support device for sensors and/or actuators that can be part of a wireless network of sensors/actuators
CN104040626A (en) * 2012-01-13 2014-09-10 高通股份有限公司 Multiple coding mode signal classification
CN104423644A (en) * 2013-09-06 2015-03-18 致伸科技股份有限公司 Multifunctional mouse device
CN108733232A (en) * 2018-03-30 2018-11-02 联想(北京)有限公司 Input equipment and its input method
CN111065989A (en) * 2017-09-05 2020-04-24 雷蛇(亚太)私人有限公司 User input device, panel for use with user input device, and computer peripheral device
TW202029007A (en) * 2019-01-30 2020-08-01 大陸商東莞寶德電子有限公司 Peripheral device with accessory identification capability
CN113434048A (en) * 2020-03-23 2021-09-24 北京凌宇智控科技有限公司 Multifunctional input equipment and working mode switching method and switching device thereof
CN113918035A (en) * 2020-07-09 2022-01-11 百特五科技有限公司 Computer mouse with enhanced functionality
TW202219707A (en) * 2020-11-06 2022-05-16 寶德科技股份有限公司 Mouse device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070132733A1 (en) * 2004-06-08 2007-06-14 Pranil Ram Computer Apparatus with added functionality
GB2417107A (en) * 2004-06-08 2006-02-15 Pranil Ram Computer apparatus with added functionality
WO2008066521A1 (en) * 2006-11-29 2008-06-05 Razer (Asia-Pacific) Pte Ltd Customizable computer input device
US9401153B2 (en) * 2012-10-15 2016-07-26 Digimarc Corporation Multi-mode audio recognition and auxiliary data encoding and decoding
BR112019004408A8 (en) * 2016-09-05 2023-02-14 Iot Nxt Bv SOFTWARE DEFINED DEVICE INTERFACE SYSTEM AND METHOD
TWI697814B (en) * 2018-07-16 2020-07-01 禾瑞亞科技股份有限公司 Functional modular touch pen
TW202134839A (en) * 2020-01-04 2021-09-16 美商百特五科技有限公司 Computer mouse with enhanced functionality

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1912815A (en) * 2005-08-10 2007-02-14 华硕电脑股份有限公司 Input device for data transmission of using radio or wired transmission mode
CN102006820A (en) * 2008-04-18 2011-04-06 W.I.N.-无线综合网络公司 Support device for sensors and/or actuators that can be part of a wireless network of sensors/actuators
CN101458165A (en) * 2008-12-30 2009-06-17 深圳市元征软件开发有限公司 Automobile diagnosis test joint and implementing method thereof
CN104040626A (en) * 2012-01-13 2014-09-10 高通股份有限公司 Multiple coding mode signal classification
CN104423644A (en) * 2013-09-06 2015-03-18 致伸科技股份有限公司 Multifunctional mouse device
CN111065989A (en) * 2017-09-05 2020-04-24 雷蛇(亚太)私人有限公司 User input device, panel for use with user input device, and computer peripheral device
CN108733232A (en) * 2018-03-30 2018-11-02 联想(北京)有限公司 Input equipment and its input method
TW202029007A (en) * 2019-01-30 2020-08-01 大陸商東莞寶德電子有限公司 Peripheral device with accessory identification capability
CN113434048A (en) * 2020-03-23 2021-09-24 北京凌宇智控科技有限公司 Multifunctional input equipment and working mode switching method and switching device thereof
CN113918035A (en) * 2020-07-09 2022-01-11 百特五科技有限公司 Computer mouse with enhanced functionality
TW202219707A (en) * 2020-11-06 2022-05-16 寶德科技股份有限公司 Mouse device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"游刃有余——模块化鼠标导购";ALONG;《电脑知识与技术》(第2018年第1期);第64-66页 *

Also Published As

Publication number Publication date
CN116149499A (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US20060035621A1 (en) Measurement device with modular communication interface
CN107658916A (en) Cue circuit and electronic equipment
CN116149499B (en) Multi-mode switching control circuit and switching control method for mouse
US20170060214A1 (en) Indication system and electronic device utilizing the same
CN112859488A (en) Electronic equipment and color correction system of external flash lamp
CN112731733A (en) Color correction processing device and color correction system of external flash lamp
US8050416B2 (en) Sound channel detection circuit
WO2020233575A1 (en) Method for realizing usb otg function
TWI655536B (en) Device and method for functional use with C-type universal serial bus (USB-C), and related non-transitory computer readable storage media
US10996276B2 (en) Host illumination of indicators of an AC adapter
US20230152871A1 (en) Electronic device and connecting device
CN217442594U (en) Detection device and system of nitrogen oxygen sensor
CN110727239A (en) Portable electric tool control program updating device and updating method
US7327002B2 (en) Industrial control circuit using a single-chip microprocessor
CN110380719A (en) Data transmission circuit, control system and the control device of chip
CN110323941A (en) Low-power consumption standby circuit
CN210721443U (en) Data interface switching circuit and device
CN109118910B (en) Direct current direction detection device
US8732348B2 (en) Electronic device performance level indicator and method
US9768861B2 (en) Input device and short-range wireless communication converter thereof
CN210225417U (en) Bluetooth serial port debugger
CN112164368A (en) Display driving device and electronic apparatus
CN219246065U (en) Off-line burner
CN216286250U (en) Industrial control system based on iMX8MN treater
KR200352806Y1 (en) Multi-functional usb connector

Legal Events

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