[go: up one dir, main page]

CN111856996A - Control circuit and control switch - Google Patents

Control circuit and control switch Download PDF

Info

Publication number
CN111856996A
CN111856996A CN202010641714.6A CN202010641714A CN111856996A CN 111856996 A CN111856996 A CN 111856996A CN 202010641714 A CN202010641714 A CN 202010641714A CN 111856996 A CN111856996 A CN 111856996A
Authority
CN
China
Prior art keywords
module
control
control chip
control circuit
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010641714.6A
Other languages
Chinese (zh)
Inventor
陈亮
倪明钢
徐旭峰
黄雯雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Gongniu Electric Appliances Co Ltd
Original Assignee
Ningbo Gongniu Electric Appliances 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 Ningbo Gongniu Electric Appliances Co Ltd filed Critical Ningbo Gongniu Electric Appliances Co Ltd
Priority to CN202010641714.6A priority Critical patent/CN111856996A/en
Publication of CN111856996A publication Critical patent/CN111856996A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/88Sonar systems specially adapted for specific applications
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2612Data acquisition interface
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2613Household appliance in general
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

The application discloses control circuit and control switch relates to the technical field of switches and is used for improving the reliability of induction switches. A control circuit for controlling one or more powered devices, the control circuit comprising: the control circuit comprises a power supply module, a control chip, a relay control module, a transmitting isolation module, an ultrasonic probe and a filtering amplification circuit module; the ultrasonic probe is used for transmitting ultrasonic waves according to the detection signals of the control chip, receiving the reflected ultrasonic waves and sending the received reflected ultrasonic waves to the filtering and amplifying circuit module; the control chip is used for periodically sending detection signals, receiving reflected signals, determining the parameter difference value of at least one period, determining the input level of the relay control module according to the parameter difference value of at least one period and a preset threshold value, and the relay control module is used for controlling the power-on or power-off of one or more electric devices according to the input level. The embodiment of the application is applied to the induction type control switch.

Description

Control circuit and control switch
Technical Field
The application relates to the technical field of switches, in particular to a control circuit and a control switch.
Background
The inductive control switch (such as a voice-operated inductive switch and an infrared human body inductive switch) is generally used for passively controlling the power-off or power-on of the lamp. For example, when receiving the voice of a person, the voice-controlled inductive switch controls the lamp to be electrified; when the voice of a person is not received, the voice-controlled inductive switch controls the lamp to be powered off. For another example, when the temperature of the human body is detected, the infrared human body inductive switch controls the lamp to be electrified; when the temperature of the human body is not detected, the infrared human body inductive switch controls the lamp to be powered off.
However, in some cases, the inductive control switch is susceptible to environmental influences, and the induction is not reliable. For example, in a noisy situation (such as a thunderstorm weather), the sound control switch may have a problem of mistakenly recognizing the thunderstorm sound as human sound, so that the lamp is turned on when no one passes through the switch. For another example, in hot weather, the infrared human body inductive switch may generate self-excitation phenomenon, thereby causing a problem in controlling the electric lamp. Therefore, how to improve the reliability of the inductive control switch is an urgent problem to be solved.
Disclosure of Invention
The application provides a control circuit and a control switch, which are used for improving the sensitivity and the induction reliability of an induction control switch.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, there is provided a control circuit for controlling one or more powered devices, the control circuit comprising: the device comprises a power module, a control chip, a relay control module, an emission isolation module, an ultrasonic probe and a filtering and amplifying circuit module.
The first pin of the control chip is connected with the power module, the second pin of the control chip is connected with the first end of the emission isolation module, the third pin of the control chip is connected with the relay control module, the fourth pin of the control chip is connected with the first end of the filtering and amplifying circuit module, the second end of the filtering and amplifying circuit module is connected with the first end of the ultrasonic probe, and the second end of the ultrasonic probe is connected with the second end of the emission isolation module.
And the power supply module is used for providing power supply for the control circuit. And the transmitting isolation module is used for receiving the detection signal from the control chip and transmitting the detection signal to the ultrasonic probe so as to trigger the ultrasonic probe to transmit the first ultrasonic wave.
And the control chip is used for periodically sending a detection signal to the emission isolation module.
The ultrasonic probe is used for receiving the detection signal transmitted by the emission isolation module, emitting a first ultrasonic wave according to the detection signal, receiving a second ultrasonic wave emitted by the first ultrasonic wave, and transmitting the second ultrasonic wave to the filtering and amplifying circuit module.
And the filtering and amplifying circuit module is used for receiving the second ultrasonic wave from the ultrasonic probe, amplifying and filtering the second ultrasonic wave to obtain a reflection signal, and transmitting the reflection signal to the control chip.
And the control chip is further used for receiving the reflection signal from the filtering and amplifying circuit module, determining a parameter difference value of at least one period, and determining an input level of the relay control module according to the parameter difference value of at least one period and a preset threshold, wherein the parameter difference value comprises at least one of a time difference value between the sending time of the detection signal and the receiving time of the reflection signal, and an amplitude difference value between the amplitude of the emitted detection signal and the amplitude of the received reflection signal.
And the relay control module is used for controlling one or more electric devices to be powered on or powered off according to the input level.
With the control circuit provided in the first aspect, the control circuit may transmit the ultrasonic wave through the ultrasonic probe. The ultrasonic waves can be reflected back after encountering people or shelters. And after the ultrasonic probe receives the reflected ultrasonic waves, the reflected ultrasonic waves are processed by the filtering and amplifying circuit module to obtain reflected signals corresponding to the detection signals. Because the reflected signal is the signal that will ultrasonic wave transmission come back through people or shelter, therefore control chip can be according to the transmission signal, judges whether someone passes through this control switch. Compare in whether the passive detection of current response class control switch is someone through, receive external environment's influence easily, among the technical scheme that this application provided, control circuit can initiatively send the ultrasonic wave to whether the detection is someone through, be difficult to receive external environment's influence, consequently, have the reliability.
In another possible implementation manner, the relay control module is specifically configured to: when the input level is the first level, the relay control module is in the first state and controls one or more electric devices to be electrified. When the input level is the second level, the relay control module is in the second state and controls one or more electric devices to be powered off.
Based on the possible implementation manner, when the control chip detects that a person passes through the control switch, the control chip can determine that the input level of the relay control module is the first level, and one or more controlled electric devices are powered on for the user to use. When the control circuit switch determines that no person passes through, the control chip can determine that the input level of the relay control module is the second level, and the controlled one or more electric devices are powered off to save electric energy. Therefore, the control circuit can flexibly control the power-on or power-off of the electric equipment.
In another possible implementation manner, the control circuit provided in the present application further includes a temperature and humidity acquisition module connected to a fifth pin of the control chip and configured to acquire environmental parameter information of the control circuit, where the environmental parameter information includes at least one of an environmental temperature and an environmental humidity. The control chip is also used for adjusting the parameter difference value of the detection signal and the reflection signal according to the environmental parameter information of the control circuit.
Based on the possible implementation manner, since the propagation speed and amplitude of the ultrasonic wave are easily affected by the ambient temperature and the ambient humidity, when the ambient temperature and the ambient humidity of the control circuit change, the amplitude and the propagation speed of the ultrasonic wave received by the control circuit and reflected back change accordingly, so that the receiving time and the amplitude of the reflected signal are inaccurate. In this application, through the ambient temperature and the ambient humidity of gathering control circuit to adjust emission signal's reception time and amplitude according to ambient temperature and ambient humidity, with the reduction because the error that the change of ambient temperature and ambient humidity brought. Therefore, the accuracy of detecting whether a person passes through by the control circuit can be improved.
In another possible implementation manner, the transmission isolation module of the control circuit provided in the present application is further configured to isolate the second ultrasonic wave and the first ultrasonic wave in the ultrasonic probe.
Based on this possible implementation, the control circuit provided by the present application can prevent the received ultrasonic waves from interfering with the emitted ultrasonic waves.
In another possible implementation manner, the emission isolation module of the control circuit provided by the present application may be an optical coupling isolation module or a transformer isolation module, which increases the diversity of the control circuit.
In another possible implementation manner, the detection signal is periodically emitted, and the control chip is specifically configured to: and determining the input level of the relay control module according to the parameter difference value of the current period and a preset threshold, or determining the input level of the relay control module according to the parameter difference value of the current period, the difference value of the target period and the preset threshold, wherein the target period is a period in which the periphery of a last control circuit of the current period is in an unmanned passing state.
Based on the possible implementation mode, the control chip can determine the input level of the relay control module in various modes, and the flexibility of determining the input level of the relay control module by the control chip is improved.
In a second aspect, a control switch is provided, which includes the control circuit of the first aspect and any one of the possible implementations of the first aspect.
In a third aspect, a control method is provided, where the control method is applied to the control circuit in any one of the first aspect and possible implementation manners of the first aspect, and the method includes:
periodically sending a detection signal; receiving a reflected signal corresponding to the detection signal; determining at least one parameter difference value, and determining an input level of a relay control module of the control circuit according to the at least one parameter difference value and a preset threshold value, wherein the parameter difference value comprises at least one of a time difference value between a sending time of a detection signal and a receiving time of a reflection signal, and an amplitude difference value between an amplitude of the emitted detection signal and an amplitude of the received reflection signal, and the relay control module is used for controlling the power-on or power-off of one or more electric devices.
In a possible implementation manner, in the control method provided by the present application, when an input level of the relay control module is a first level, the relay control module is in a first state, and controls the one or more electric devices to be powered on; when the input level of the relay control module is a second level, the relay control module is in a second state and controls the one or more electric devices to be powered off.
In another possible implementation manner, the control method provided by the present application further includes: collecting environmental parameter information of a control circuit; and adjusting the parameter difference value according to environment parameter information, wherein the environment parameter information comprises at least one of environment temperature and environment humidity.
In another possible implementation manner, the control method provided by the present application further includes: determining the input level of the relay control module according to the parameter difference value of the current period and a preset threshold; or determining the input level of the relay control module according to the parameter difference value of the current period, the difference value of a target period and a preset threshold, wherein the target period is a period in which the periphery of a last control circuit of the current period is in an unmanned state.
The control switch or the control method provided above are all applied to execute the corresponding control circuit provided above, and therefore, the beneficial effects that can be achieved by the control switch or the control method can refer to the beneficial effects of the corresponding scheme in the corresponding control circuit provided above, and are not described herein again.
Drawings
Fig. 1 is a schematic structural diagram of a control circuit 100 according to an embodiment of the present disclosure;
fig. 2 is a schematic circuit diagram of a power module 102 according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a control circuit 100 according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of another control circuit 100 according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a control method according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating an operation of a control switch according to an embodiment of the present disclosure;
fig. 7 is a flowchart illustrating another control method according to an embodiment of the present application.
Detailed Description
With the development of technology, induction type control switches are widely used in families, residential building corridors and emergency channels at present. The induction type control switch can control the power-off or power-on of the lamp according to whether a person is in the lamp, so that the induction type control switch is convenient for a resident to use and can save electric energy. However, the conventional inductive control switch is generally passive to control the lamp to be turned off or on. In some cases, inductive control switches are susceptible to external environmental influences, and unreliable sensing may occur. Therefore, how to improve the reliability of the inductive control switch is an urgent problem to be solved.
In view of this, the present application provides a control circuit, which can be applied to an inductive control switch, and is used to improve the reliability of the inductive control switch. The control circuit may transmit ultrasonic waves for detecting whether a person passes by and receive ultrasonic waves reflected back by the person or the obstruction. The control circuit can detect whether a person passes through according to the transmitted ultrasonic waves and the received reflected ultrasonic waves. And further can control the power-on or power-off of the electric equipment. Compared with the prior sensing control switch which passively detects whether a person passes through the switch or not and is easily influenced by the external environment, the control circuit provided by the embodiment of the application can actively send ultrasonic waves to detect whether a person passes through the switch or not and is not easily influenced by the external environment, so that the control circuit has reliability.
The electric equipment related to the embodiment of the application can comprise lighting equipment, disinfection equipment, blowing equipment and the like. For example, the lighting device may be an electric lamp, the sterilizing device may be an ultraviolet sterilizing device, and the blowing device may be an electric fan, a dryer, or the like.
In an example, as shown in fig. 1, a control circuit 100 provided in an embodiment of the present application may include a control chip 101, a power supply module 102, a transmission isolation module 103, an ultrasonic probe 104, a filtering and amplifying circuit module 105, and a relay control module 106.
A first pin of the control chip 101 is connected to the power module 102, a second pin of the control chip 101 is connected to a first end of the emission isolation module 103, a third pin of the control chip 101 is connected to the relay control module 106, a fourth pin of the control chip 101 is connected to a first end of the filtering and amplifying circuit module 105, a second end of the filtering and amplifying circuit module 105 is connected to the ultrasonic probe 104, and the ultrasonic probe 104 is further connected to a second end of the emission isolation module 103.
The control chip 101 may be configured to periodically send a probe signal to the emission isolation module 103. For example, the control chip 101 may be a single chip with a plurality of pins. The type of the singlechip can be selected according to the needs without limitation.
For example, the control chip 101 may send a probe signal to the emission isolation module 103 according to a preset time period. The preset time period may be set as required, for example, may be 1 second. The detection signal may be a signal with a preset frequency and a preset duty ratio. For example, the detection signal may be a continuous 10-cycle square wave signal with a frequency of 40KHz and a duty cycle of 0.5. The transmit isolation module 103, after receiving the probe signal from the control chip 101, may transmit the probe signal to the ultrasonic probe 104 to trigger the ultrasonic probe 104 to transmit the ultrasonic wave.
The control chip 101 may be further configured to receive the reflection signal from the filtering and amplifying circuit module 105, determine a parameter difference value of at least one period, and determine an input level of the relay control module 106 according to the parameter difference value of at least one period and a preset threshold.
It should be noted that a cycle means that the detection signal and the reflection signal are in the same cycle, that is, there is a corresponding relationship between the detection signal and the reflection signal, or the sending time of the detection signal and the time of receiving the reflection signal are within a preset time period.
For example, when the control chip 101 sends the probe signal to the transmission isolation module 103, the probe signal may carry an identifier, which is used to uniquely represent one period of the probe signal. If the control chip 101 can determine that the received reflection signal and the sent detection signal are in the same period according to the identifier carried by the received reflection signal, the control chip 101 may determine that the received reflection signal and the sent detection signal are in the same period.
For another example, the sending time of the probe signal is a first time, the receiving time of the reflection signal is a second time, and if the time difference between the second time and the first time is not greater than the preset time period, the control chip 101 may determine that the probe signal and the reflection signal are in the same period.
The method for determining the input level of the relay control module 106 by the control chip 101 according to the parameter difference of at least one cycle and the preset threshold may refer to the method shown in fig. 5, which is described below and is not described herein.
If the control chip 101 detects that someone passes through the control switch, the control chip 101 may output a first level, that is, the input level of the relay control module 106 is the first level. If the control chip 101 detects that no one passes through the control switch, the control chip 101 may output a second level, that is, the input level of the relay control module 106 is the second level. The first level is different from the second level. For example, the first level may be a high level, and the second level may be a low level; alternatively, the first level may be a low level and the second level may be a high level. Without limitation.
The relay control module 106 may be configured to control the powering on or powering off of one or more electrical devices according to the input level.
In one example, the relay control module 106 is in a first state when the input level is a first level, and the control circuit 100 can control one or more powered devices to be powered on. When the input level is the second level, the relay control module 106 is in the second state, and the control circuit 100 may control one or more power consumers to be powered off.
For example, as shown in fig. 3 or fig. 4, a schematic diagram of a control circuit 100 according to an embodiment of the present application is provided. In fig. 3 or 4, the relay control module 106 may include a transistor Q1, a diode D2, a resistor R4, a resistor R5, a capacitor C9, a capacitor C10, and an on/off switch K1. The triode, the diode, the resistor and the capacitor can be arranged according to needs and are not limited.
When the level output by the control chip 101 is the first level, the transistor Q1 of the relay control module 106 is turned on, and the switch key K1 is closed. At this point, the circuit path, one or more powered devices, is energized. When the level output by the control chip 101 is the second level, the transistor Q1 is turned on and off, and the switch key K1 is turned off. At this point, the circuit is open and one or more of the powered devices is powered down.
The power module 102 may be used to provide power to the control circuit 100.
For example, the power module 102 may convert 220V ac power to a plurality of dc power that may be used to power a plurality of components of the control circuit 100. For example, the power module 102 may convert 220V ac power to a first dc power and a second dc power. The first direct current may supply power to the relay control module 106, the transmission isolation module 103, the ultrasonic probe 104, and the filtering and amplifying circuit module 105 of the control circuit 100. The second direct current may power the control chip 101. For example, the first direct current may be 10V and the second direct current may be 5V. The magnitude of the first direct current and the second direct current can also be set as required. Without limitation.
The specific structure of the power module 102, for example, the number of components and the connection relationship may be set as required, and is not limited.
For example, as shown in fig. 2, a schematic circuit diagram of a power module 102 according to an embodiment of the present application is provided. The power module 102 may include a power line terminal L, a ground line terminal N, a plurality of resistors, a rectifier bridge BR1, a plurality of capacitors, an inductor L1, a diode D1, a plurality of chips, and a plurality of ground terminals. The connection relationship between the live line connection segment L, the ground line connection segment N, the resistors, the rectifier bridge BR1, the capacitors, the inductor L1, the chips, and the ground terminals is shown in fig. 2, and is not described herein.
For example, the plurality of resistors may include a flow sensing resistor RA1, a voltage dependent resistor RV1, a resistor R1, a resistor R2, and a resistor R3. The plurality of capacitors may include: a capacitor EC1, a capacitor EC2, and capacitors C1-C8. The plurality of chips may include chip U1 and chip U2. The resistance values of the resistors can be set according to needs without limitation. The values of the plurality of capacitors may be set as desired without limitation. The types of the chip U1 and the chip U2 may be set as needed, and are not limited. The size of the diode D1 may be set as desired, and is not limited.
It should be noted that the circuit diagram of the power module 102 in fig. 2, the circuit diagrams shown in fig. 3 and fig. 4 are only exemplary, and do not limit the specific structures of the power module 102 and the control circuit 100 in the embodiment of the present application.
The transmission isolation module 103 may be configured to isolate the ultrasonic waves received by the ultrasonic probe 104, so as to prevent reflected signals generated by the received ultrasonic waves from interfering with the detection signals.
For example, the transmission isolation module 103 may be a light coupling isolation module or a transformer isolation module.
In one example, fig. 3 shows a schematic diagram of the control circuit 100 in which the emission isolation module 103 (for convenience of distinguishing from fig. 4, 103a is used to denote the emission isolation module 103 in fig. 3) is an optical coupling isolation module.
As shown in fig. 3, the optical coupling isolation module 103a may include a resistor R8, a transistor Q2, a resistor R9, a power interface, and an optical coupling secondary transistor T1. The resistances of the resistor R8 and the resistor R9 may be set as required, and are not limited. The types of the tertiary tube Q2 and the optical coupling secondary tube T1 can be set according to the needs, and are not limited.
The connection relationship among the resistor R8, the triode Q2, the resistor R9, the power interface, and the optocoupler secondary T1 can be shown in fig. 3, and is not described herein.
As shown in fig. 3, the control chip 101 may send a detection signal, and trigger the ultrasonic probe 104 to emit an ultrasonic wave after amplification processing by the optical coupling isolation module 103 a. After being reflected, the ultrasonic wave is received by the ultrasonic probe 104, and by utilizing the characteristic that the optical coupler is reverse to be non-conductive to the weak signal, the ultrasonic wave can be isolated to prevent the reflected signal from interfering the detection signal, and the ultrasonic wave is amplified and isolated by the optical coupler isolation module 103a, and the processed reflected signal is sent to the control chip 101. Accordingly, the control chip 101 receives the reflected signal from the optical coupling isolation module 103 a.
In another example, as shown in fig. 4, a schematic diagram of a control circuit 100 in which a transmission isolation module 103 (the transmission isolation module 103 is denoted by 103b in fig. 4) provided for the embodiment of the present application is a transformer isolation module is shown.
The transformer isolation module 103b may include a plurality of resistors (e.g., R19 to R21), a transistor Q4, and a chip U3. The connection relationship among the resistors, the transistor Q4, and the chip U3 can be shown in fig. 4, and will not be described in detail.
The working principle of the transformer isolation module 103b may refer to the prior art, and is not described herein.
It should be noted that the control circuit 100 shown in fig. 4 can utilize the principle that the primary and secondary sides of the transformer are coupled with each other and are not conducted in the reverse direction, so as to achieve transmission of the reflected signal and isolation of the reflected signal from the detection signal, and prevent the reflected signal from interfering with the detection signal.
The ultrasonic probe 104 may be configured to receive a probe signal transmitted from the transmission isolation module 103, and transmit a first ultrasonic wave according to the probe signal; and receives the second ultrasonic wave reflected by the first ultrasonic wave, and transmits the second ultrasonic wave to the filtering and amplifying circuit module 105.
The filtering and amplifying circuit module 105 is configured to receive the second ultrasonic wave from the ultrasonic probe 104, perform signal amplification and filtering processing on the received second ultrasonic wave, obtain a reflection signal corresponding to the detection signal, and transmit the reflection signal to the control chip 101.
For example, after the ultrasonic probe 104 receives the reflected ultrasonic wave, the ultrasonic wave may be lost during the propagation process, so that the intensity of the generated reflected signal is relatively small. The reflected signal is amplified by the triode of the filtering and amplifying circuit module 105, and an amplified reflected signal can be obtained. In addition, since there may be interference signals in the reflected signals, the filtering and amplifying circuit module 105 may also perform filtering processing on the reflected signals to eliminate the interference signals. For example, the filtering and amplifying circuit module 105 may include a high pass filter and a band pass filter. Wherein the high-pass filter is used for filtering the interference signal of the low-frequency part in the reflected signal. The band pass filter may allow the reflected signal to pass in accordance with the frequency of the probe signal. For example, when the frequency of the probe signal is 40KHz, the band pass filter may allow the reflected signal having the frequency of 40KHz to pass through. In this way, the filtering and amplifying circuit module 105 can eliminate the interference signal in the reflected signal.
Further, since both the high-pass filter and the band-pass filter have the function of amplifying and filtering, the filter amplifying circuit module 105 may further be provided with a slide rheostat in order to accurately amplify and filter the reflected signal. The amplification factor of the reflected signal is adjusted by adjusting the resistance value of the slide rheostat, so that the reflected signal meets a preset threshold. The resistance value of the slide rheostat and the preset threshold can be set according to needs and are not limited.
For example, the circuit diagram of the filtering and amplifying circuit module 105 may be as shown in fig. 3 or fig. 4. The filtering and amplifying circuit module 105 may include a plurality of resistors (R10 to R18), a plurality of capacitors (C13 to C20), a diode D3, a transistor Q3, an operational amplifier AR1, an operational amplifier AR2, and the like. The resistance values of the resistors and the types of the capacitors, the types of the diodes, the triodes and the operational amplifiers can be set according to the requirements without limitation. The connection manner of the components of the filtering and amplifying circuit module 105 can be shown in fig. 3 or fig. 4, and is not described in detail.
Based on the control circuit 100 provided in the embodiment of the present application, the control circuit 100 may control the ultrasonic probe 104 to emit ultrasonic waves. The ultrasonic waves can be reflected back after encountering people or shelters. After the ultrasonic probe 104 receives the reflected ultrasonic waves, the signals are amplified and filtered by the filtering and amplifying circuit module 105 to obtain reflected signals corresponding to the detection signals. Since the reflected signal is a signal that is transmitted back by a person or a blocking object, the control circuit 100 can determine whether a person passes through the control switch according to the transmitted signal. Compared with the conventional inductive control switch, the inductive control switch has the advantages that whether a person passes through the inductive control switch or not is passively detected, and the inductive control switch is easily influenced by an external environment, in the technical scheme provided by the embodiment of the application, the control circuit 100 can actively send ultrasonic waves to detect whether a person passes through the inductive control switch or not and is not easily influenced by the external environment, so that the control circuit 100 provided by the embodiment of the application has reliability.
In a possible implementation manner, as shown in fig. 1, the control circuit 100 may further include a temperature and humidity acquisition module 107. The temperature and humidity acquisition module 107 is connected with a fifth pin of the control chip 101.
The temperature and humidity acquisition module 107 may be configured to acquire environmental parameter information of the control circuit 100. For example, the environmental parameter information may include at least one of an ambient temperature, an ambient humidity.
As shown in the circuit diagram of fig. 3 or fig. 4, the temperature and humidity acquiring module 107 may include a negative temperature coefficient thermal (NTC) resistor, a humidity sensitive resistor, a resistor R6, a resistor R7, a capacitor C11, a capacitor C12, and a component Y1. The connection method of the multiple components can be shown in fig. 3 or fig. 4, and is not described in detail. The component Y1 may be a piezoelectric ceramic or a crystal component. For example, a ceramic filter, a resonant crystal, a piezoelectric buzzer, a piezoelectric pickup, or the like may be used.
The temperature and humidity acquisition module 107 may detect the ambient temperature by using a characteristic that the NTC resistor divides the voltage of the resistor R6, and a characteristic that the humidity sensitive resistor divides the voltage of the resistor R7.
For example, when the ambient temperature changes, the resistance of the NTC resistor may also change, and thus the voltage of the resistor R6 may also change, and the control chip 101 may detect the ambient temperature according to the voltage of the resistor R6. In contrast, the control chip 101 may be configured with a correspondence of the voltage of the resistor R6 with the ambient temperature, from which the control chip 101 may determine the ambient temperature.
For another example, when the ambient humidity changes, the resistance of the humidity sensitive resistor may also change, and thus the voltage of the resistor R7 also changes, and the control chip 101 may detect the ambient humidity according to the voltage of the resistor R7. For example, the control chip 101 may be configured with a correspondence between the voltage of the resistor R7 and the ambient humidity, and the control chip 101 may determine the ambient humidity according to the correspondence.
The control chip 101 may also adjust the detection signal and the reflection signal according to the environmental parameter information of the control circuit 100. Specifically, the method for the control chip 101 to adjust the detection signal and the reflection signal according to the environmental parameter information of the control circuit 100 may refer to the method shown in fig. 6 described below, and will not be described here.
Since the propagation speed and amplitude of the ultrasonic wave are easily affected by the ambient temperature and the ambient humidity, when the ambient temperature and the ambient humidity of the control circuit 100 change, the amplitude and the propagation speed of the ultrasonic wave reflected by the control circuit 100 change, which results in inaccurate receiving time and amplitude of the reflected signal. In this application, through the ambient temperature and the ambient humidity of collection control circuit 100 to adjust transmission signal's reception time and amplitude according to ambient temperature and ambient humidity, reduce the error that brings because ambient temperature and ambient humidity's change. Therefore, the accuracy of detecting whether a person passes through the control switch can be improved.
It should be noted that the structure of the control circuit 100 shown in fig. 1 is merely an example, and the control circuit 100 may also have other modules or components. Without limitation.
For example, the control circuit 100 may further have a power key having a first terminal connected to a power source and a second terminal connected to the control circuit 100. The power key is used to control the power on or off of the power supply of the circuit 100. For example, when the power key is in the first state, the power of the control circuit 100 may be powered on; when the power key is in the second state, the power of the control circuit 100 may be powered off. Thus, the manager can control the power-on or power-off of the control circuit 100 by controlling the state of the power key, thereby increasing the flexibility of the use of the control switch. For example, when no person passes through the area where the control switch is located for a long time, the control switch can be turned off through the power key, and energy consumption is saved.
For another example, the control circuit 100 provided in the embodiment of the present application may further be configured with a photo resistor. The photoresistor is used for detecting the light intensity of the environment. For example, when the photo resistor detects that the light intensity of the environment is greater than a preset intensity (such as daytime) and the duration that the light intensity is greater than the preset intensity is greater than a preset duration, the control circuit 100 may be powered off to prevent one or more electric devices from being powered on; the control switch may be energized when the light sensitive resistor detects that the ambient light intensity is less than a predetermined intensity (e.g., at night), and controls one or more circuits to be energized or de-energized according to the method of fig. 5. The preset intensity and the preset duration can be set according to needs and are not limited.
For another example, the control circuit switch 100 provided in the embodiment of the present application may further configure a timer. The timer is used to control the power-on and power-off of the control circuit 100. For example, during a first time period (e.g., 6: 00 to 18: 00), the timer may control the control circuit 100 to power down; for a second period of time (e.g., 18:01 to 5: 59). A timer may control the control circuit 100 to power on.
Based on the implementation manner, the power-on or power-off of the control circuit 100 can be controlled according to needs, and the application scene of the control circuit 100 is improved.
The embodiment of the present application also provides a control switch, which may include the control circuit 100 shown in fig. 1. The function of the control switch can be referred to the description of the control circuit 100, and is not described herein. The installation place of the control switch can be determined as required, for example, the control switch can be installed in a basement, a corridor, an automatic sterilizing room, and the like.
The following describes a control method provided in the embodiment of the present application with reference to the control circuit 100 shown in fig. 1.
As shown in fig. 5, an embodiment of the present application provides a control method, which is applied to the control circuit 100 shown in fig. 1, and the control method includes:
Step 501, the control chip 101 periodically sends a detection signal.
The control chip 101 may be the control chip 101 in fig. 1. The detection signal may be used to trigger the ultrasonic probe 104 of the control circuit 100 to emit an ultrasonic wave for detecting whether a person passes through.
For example, the control chip 101 may send a detection signal according to a preset period to trigger the ultrasonic probe to emit the ultrasonic wave. The detailed description of the detection signal can refer to the description of the control chip 101 in fig. 1, and is not repeated.
Step 502, the control chip 101 receives a reflection signal corresponding to the detection signal.
The reflected signal is a signal obtained by the control circuit 100 performing signal amplification and filtering processing on the ultrasonic wave reflected by the person or the blocking object.
The reflection signal corresponding to the detection signal means that the reflection signal and the detection signal are in the same period. For example, if the control chip 101 sends the probe signal 1 in the first cycle, the reflection signal corresponding to the probe signal is the reflection signal corresponding to the ultrasonic wave received by the control chip 101 in the first cycle.
For example, as shown in fig. 6, the control chip 101 emits an ultrasonic wave 1 in a first preset period, and the ultrasonic wave reflected by the ultrasonic wave 1 through a person or a shelter is an ultrasonic wave 2. After receiving the ultrasonic wave 2, the ultrasonic probe obtains a reflection signal corresponding to the ultrasonic wave 2 through conversion, and sends the reflection signal corresponding to the ultrasonic wave 2 to the filtering and amplifying circuit module 105. The filtering and amplifying circuit module 105 processes the reflected signal corresponding to the ultrasonic wave 2 and transmits the processed reflected signal to the control chip 101. Accordingly, the control chip 101 may receive the reflected signal from the filtering and amplifying circuit module 105. Therefore, the control chip 101 can control power on or power off of one or more electric devices (e.g., the electric device 1 and the electric device 2 in fig. 6) according to the detection signal and the reflection signal.
For another example, after the control chip 101 sends the probing signal at the first time of the preset period, the sending of the probing signal is stopped; after the control chip 101 receives the transmission signal at a second time after the first time, the probe signal may be continuously transmitted at a third time after the second time.
Step 503, the control chip 101 determines the parameter difference value of at least one period, and determines the input level of the relay control module 106 according to the parameter difference value of at least one period and the preset threshold value.
The relay control module 106 is the relay control module 106 in fig. 1. The functions of the relay control module 106 can refer to the above description and are not repeated.
In the embodiment of the present application, the control chip 101 may determine the input level of the relay control module 106 by using at least one of the following implementation I and implementation II.
The implementation mode I: the control chip 101 may determine the parameter difference and determine the input level of the relay control module 106 according to the parameter difference between the detection signal and the received reflection signal and a preset threshold.
The parameter difference may include at least one of a time difference between a transmission time of the probe signal and a time of the received reflection signal, and an amplitude difference between an amplitude of the probe signal transmitted by the control chip 101 and an amplitude of the received reflection signal. The preset threshold is set according to needs and is not limited.
Next, the control chip 101 determines the input level of the relay control module 106 according to the parameter difference between the detection signal and the received reflection signal and the preset threshold.
In the method 1, the control chip 101 determines the input level of the relay control module 106 according to the time difference between the sending time of the detection signal and the time of the received reflection signal and a preset threshold.
Here, the transmission time of the probe signal refers to the time of the control chip 101 for transmitting the probe signal. The time of receiving the reflected signal refers to the time when the control chip 101 receives the transmitted signal.
For example, the control circuit 100 may be provided with a timer. The control chip 101 may determine a difference between the transmission time of the probe signal and the time of receiving the reflected signal according to a timer. For example, when the control chip 101 sends a probe signal, a timer may be triggered to start timing (denoted as t)1) (ii) a When the control chip 101 receives the reflected signal, it can trigger the timer to stop timing (denoted as t)2). The time difference between the transmission time of the probe signal and the time of receiving the reflected signal is t2-t1
Specifically, when the time difference between the sending time of the detection signal and the time of receiving the reflection signal is smaller than the first preset threshold, the control chip 101 may determine that a person passes through the control switch. At this time, the control chip 101 may determine that the input level of the relay control module 106 is a first level to control the one or more electric devices to be powered on, and conversely, the control chip 101 may determine that the input level of the relay control module 106 is a second level to control the one or more electric devices to be powered off. Wherein, the preset value can be set according to the requirement. For example, the preset value may be a time difference between a transmission time of the probe signal and a time of receiving the reflected signal when no person passes after the control switch is installed.
Further, in order to prevent the control switch from making a judgment error, for example, a shielding object is added to a detection region of the control switch (for example, an electric vehicle is parked newly), if the number of times that the difference between the sending time of the detection signal and the time of receiving the reflection signal exceeds the preset threshold is greater than the preset number of times within the preset time period, the control chip 101 may determine that the input level of the relay control module 106 is the second level, so as to control the one or more electric devices to be powered off.
In the method 2, the control chip 101 may determine the input level of the relay control module 106 according to an amplitude difference between the amplitude of the detection signal and the amplitude of the received reflection signal and a second preset threshold.
When the difference between the amplitude of the detection signal and the amplitude of the received reflected signal is smaller than a second preset threshold, the input level of the relay control module 106 may be determined to be a first level, so as to control one or more electric devices to be powered on. The second preset threshold may be set as desired. For example, the first predetermined amplitude may be an amplitude difference between an amplitude of the probe signal and an amplitude of the reflected signal when no one passes the control switch.
The amplitude of the ultrasonic wave reflected by the human body is not equal to the amplitude of the ultrasonic wave not reflected by the human body. For example, when no one passes through, the amplitude of the reflected ultrasonic wave is 1; when a person passes by, the amplitude of the ultrasonic wave emitted back by the person passing by is amplitude 2. Amplitude 1 and amplitude 2 are different. Therefore, the amplitudes of the detection signal and the reflection signal are different, and the control chip 101 can detect whether a person passes through according to the amplitude difference value of the detection signal and the reflection signal, so that the power-on and power-off of one or more electric devices can be controlled.
Implementation mode II: when the control chip 101 determines that no person passes through (the control chip 101 may determine that no person passes through by using the implementation manner I, or may determine that a preset initial state is a state in which no person passes through), the control chip 101 periodically acquires the detection signal and the reflection signal, and acquires the transmission time of the detection signal and the reception time of the reflection signal in each period. In this way, the control chip 101 may determine the parameter difference value (i.e., the time difference value/the amplitude difference value, the time difference value, and the amplitude difference value) in each period, and determine the input level of the relay control module 106 according to the parameter difference value of the current period, the parameter difference value of the previous target period (the period in which no person passes), and the preset threshold.
For example, the control chip determines that the current status is that no person passes through by using the above implementation manner I, and the control chip 101 determines that the parameter difference value of the ith period is Δ T1The difference value of the parameters of the (i + 1) th period is Delta T2. If Δ T1And Δ T2If the difference between the first and second levels is greater than the preset difference, it indicates that someone passes through the control chip 101, and the control chip 101 may determine that the input level of the relay control module 106 is the first level, so as to control one or more electric devices to be powered on. If Δ T 1And Δ T2The difference between them is smallIf the difference is equal to or greater than the preset difference, it indicates that no one passes through, the control chip 101 may determine that the input level of the relay control module 106 is the second level, so as to control the one or more power consuming devices to power off.
Further, in a case where the difference between Δ T1 and Δ T2 is less than or equal to a preset difference, that is, in a case where no person passes through the (i + 1) th cycle, if the control chip 101 determines that the parameter difference of the (i + 2) th cycle is Δ T3Then Δ T2Is DeltaT3The control chip 101 determines the delta T according to the parameter difference of the previous target period2And Δ T3The difference between them. In the same way, if Δ T2And Δ T3If the difference between the first and second predetermined threshold values is greater than the third predetermined threshold value, the control chip 101 may determine that the input level of the relay control module 106 is the first level, so as to control the one or more electric devices to be powered on. If Δ T2And Δ T3If the difference between the first and second levels is less than or equal to the preset difference, the control chip 101 may determine that the input level of the relay control module 106 is the second level, so as to control the one or more power devices to be powered off.
At Δ T1And Δ T2If the difference between the first and second predetermined threshold values is greater than the third predetermined threshold value, that is, if the control chip 101 determines that the parameter difference of the (i + 2) th cycle is Δ T when a person passes through the (i + 1) th cycle 3Then Δ T1Is DeltaT3The control chip 101 determines the delta T according to the parameter difference of the previous target period1And Δ T3The difference between them. If Δ T1And Δ T3If the difference between the first and second predetermined threshold values is less than or equal to the third predetermined threshold value, the control chip 101 may determine that the input level of the relay control module 106 is the first level, so as to control the one or more electric devices to be powered on. If Δ T1And Δ T3If the difference between the first and second predetermined threshold values is less than or equal to the third predetermined threshold value, the control chip 101 may determine that the input level of the relay control module 106 is the second level, so as to control the one or more power devices to be powered off.
Wherein i is a positive integer. The preset difference value can be set according to needs and is not limited.
It should be noted that the parameter difference value of the i-th cycle in the above example is the parameter difference value when no person passes through. The preset thresholds (e.g., the first preset threshold, the second preset threshold, and the third threshold) in the above implementation manners may be the same threshold, or may be different thresholds, which is not limited.
Based on this possible implementation manner, the control chip 101 may determine whether a person passes through according to the parameter difference of the adjacent period. Since the variation range of the environmental parameter in a short time is small, the received ultrasonic waves of adjacent cycles are less affected by environmental factors. Therefore, the influence of environmental factors on the judgment of whether a person passes by the control chip 101 can be reduced.
Based on the technical solution shown in fig. 5, the control chip 101 may determine the input level of the relay control module 106 according to the detection signal and the reflection signal, and further control the power-on or power-off of one or more electric devices. In the present application, the control circuit 100 can actively transmit the ultrasonic wave for detecting whether a person passes through, so that interference of external factors is reduced. Therefore, reliability is provided.
In a possible implementation manner of fig. 5, the control method provided in the embodiment of the present application may further include: the control chip 101 obtains the environmental parameter information of the control circuit 100, and adjusts the parameter difference between the detection signal and the reflection signal according to the environmental parameter information.
The environmental parameter information and the parameter difference may refer to the above description, and are not repeated.
The control chip 101 may acquire the environmental parameter information of the control circuit 100 through the temperature and humidity control module 107.
When the environmental parameter information includes the environmental temperature and the environmental humidity, the control chip 101 adjusts the parameter difference between the detection signal and the reflection signal according to the environmental parameter information, which includes the following situations:
in case 1, the control chip 101 adjusts the time difference according to the ambient temperature.
Based on this case 1, when the control chip 101 detects a change in the ambient temperature, the time difference value can be adjusted.
For example, when an increase in the ambient temperature is detected, for example, the control chip 101 stores an initial ambient temperature. The initial environment refers to the environment temperature when the control switch is installed, or the environment temperature set according to the requirement. When the environmental temperature collected by the control chip 101 is greater than the initial environmental temperature, the control chip 101 may determine that the environmental temperature is increased; when the ambient temperature collected by the control chip 101 is less than the initial ambient temperature, the control chip 101 may determine that the ambient temperature decreases.
Since the ambient temperature increases, the transmission speed of the ultrasonic wave decreases, and the time for receiving the reflected signal increases. Therefore, the time difference between the transmission time of the probe signal and the time of the received reflected signal also becomes large. Affecting the accuracy of the control switch. In this case, the control chip 101 may reduce the time difference to reduce the time error.
In one example, in the embodiment of the present application, the control chip 101 may be configured with transmission speeds of the ultrasonic waves at different environmental temperatures. The control chip 101 may adjust the time difference according to the transmission speed of the ultrasonic wave corresponding to the current ambient temperature, so as to obtain an accurate time difference.
For example, the transmission speed corresponding to the initial environment temperature of the control circuit 100 is V1. The control chip 101 detects that the current ambient temperature is T1. The control chip 101 can determine T according to the transmission speed of the configured ultrasonic wave at different environmental temperatures1Corresponding to a transmission speed of V2. At the current ambient temperature, the time difference between the emission time of the detection signal and the time of receiving the reflection signal is t. The control chip 101 is based on the time difference T and T1Corresponding transmission speed V2Determining the distance between the control switch and the person or the shade
Figure BDA0002571725520000171
The adjusted time difference may be 2L/V2
Case 2, the control chip 101 adjusts the amplitude difference according to the ambient temperature.
Based on this case 2, when the control chip 101 detects a change in the ambient humidity, the amplitude difference value can be adjusted.
In one example, the control chip 101 is configured with a plurality of amplitude error values corresponding to different ambient humidities. The control chip 101 may adjust the amplitude difference value according to the amplitude error value corresponding to the current ambient humidity.
For example, the amplitude of the ultrasonic wave corresponding to the initial environmental humidity of the control chip 101 is D1. The amplitude corresponding to the current environmental humidity of the control chip 101 is D 2And the corresponding amplitude error value is Deltad1. If the current environment humidity is greater than the initial environment humidity, the adjusted amplitude difference value can be D1-D2+△d1(ii) a If the current environment humidity is less than the initial environment humidity, the adjusted amplitude difference value can be D1-D2-△d1
And in case 3, the control chip 101 adjusts the time difference according to the environmental humidity.
The implementation method of the case 3 can refer to the description of the case 1, and is not described in detail.
Case 4, the control chip 101 adjusts the amplitude difference according to the ambient temperature.
The implementation method of the case 4 can refer to the description of the case 2, and is not described in detail.
Case 5, the control chip 101 adjusts the time difference according to the ambient temperature and the ambient humidity.
Case 6, the control chip 101 adjusts the amplitude difference according to the ambient temperature and the ambient humidity.
Case 7, the control chip 101 adjusts the time difference and the amplitude difference according to the ambient temperature and the ambient humidity.
And in case 8, the control chip 101 adjusts the time difference and the amplitude difference according to the ambient temperature.
In case 9, the control chip 101 adjusts the time difference and the amplitude difference according to the ambient humidity.
The implementation methods of cases 5 to 9 can refer to the descriptions of cases 1 and 2, and are not described in detail.
Based on this possible implementation, since the propagation speed and amplitude of the ultrasonic wave are easily affected by the ambient temperature and the ambient humidity, when the ambient temperature and the ambient humidity of the control circuit 100 change, the amplitude and the propagation speed of the ultrasonic wave reflected by the control circuit 100 may change accordingly, thereby causing inaccuracy in the reception time and the amplitude of the reflected signal. In this application, through the ambient temperature and the ambient humidity of collection control circuit 100 to adjust transmission signal's reception time and amplitude according to ambient temperature and ambient humidity, with the reduction because ambient temperature and ambient humidity's change, the error that causes. Thus, the accuracy of the control switch can be improved.
Optionally, the control chip 101 may also determine the input level of the relay control module 106 according to the amplitude of the received reflected signal.
In this embodiment, the control chip 101 may determine the input level of the relay control module 106 by using at least one of the following implementation iv and the following implementation v.
Implementation IV: if the control chip 101 detects that the amplitude of the reflected signal is smaller than the first preset amplitude, it may be determined that the input level of the relay control module 106 is the first level, so as to control one or more electric devices to be powered on. If the control chip 101 detects that the amplitude of the reflected signal is greater than or equal to the first preset amplitude, it may be determined that the input level of the relay control module 106 is the second level, so as to control the one or more power devices to be powered off.
Wherein, the first preset amplitude can be set according to the requirement. For example, the first predetermined amplitude may be an amplitude of a reflected signal when no one passes the control switch.
Based on the above implementation mode iv, the calculation amount of the control chip 101 can be reduced, and then the control chip 101 can more quickly determine whether a person passes through.
In the implementation v, when the control chip 101 determines that no person passes through (the control chip may determine that no person passes through by using the implementation iv, or may determine that the preset initial state is a state in which no person passes through), the control chip 101 periodically obtains the amplitude of the reflected signal, and determines the input level of the relay control module 106 according to the amplitude of the reflected signal in the current period and the amplitude of the reflected signal in the previous target period (the period in which no person passes through).
For example, the control chip determines that the current state is the state without passing by the person by using the implementation iv, and the control chip 101 determines that the amplitude of the received reflection signal in the i-th period is a1 and the amplitude of the received reflection signal in the i + 1-th period is a 2. If the difference between A1 and A2 is less than or equal to the fourth preset threshold, it indicates that the (i + 1) th cycle is not passed by people. The control chip 101 may determine that the input level of the relay control module 106 is the second level to control the one or more electrical devices to be powered off. If the difference value between A1 and A2 is greater than the fourth preset threshold value, it indicates that someone passes through the (i + 1) th cycle. The control chip 101 may determine that the input level of the relay control module 106 is the first level to control the one or more powered devices to be powered on.
Further, in a case where the difference between a1 and a2 is less than or equal to the fourth preset threshold, that is, in a case where no person passes through the (i + 1) th cycle, if the control chip 101 determines that the amplitude of the received reflection signal of the (i + 2) th cycle is A3, a2 is the amplitude of the reflection signal of the last target cycle of A3, and the control chip 101 determines the difference between a2 and A3. Similarly, if the difference between a2 and A3 is greater than the fourth preset threshold, the control chip 101 may determine that the input level of the relay control module 106 is the first level to control the one or more electrical devices to be powered on. If the difference between a2 and A3 is less than or equal to the fourth preset threshold, the control chip 101 may determine that the input level of the relay control module 106 is the second level to control the one or more electrical devices to be powered off.
In the case where the difference between a1 and a2 is greater than the fourth preset threshold, that is, in the case where a person passes through the i +1 th cycle, if the control chip 101 determines that the amplitude of the received reflection signal of the i +2 th cycle is A3, a1 is the amplitude of the reflection signal of the last target cycle of A3, and the control chip 101 determines the difference between a1 and A3. Similarly, if the difference between a1 and A3 is greater than the fourth preset threshold, the control chip 101 may determine that the input level of the relay control module 106 is the first level to control the one or more electrical devices to be powered on. If the difference between a1 and A3 is less than or equal to the preset threshold, the control chip 101 may determine that the input level of the relay control module 106 is the second level to control the one or more power consumers to be powered off.
It should be noted that, in the above example, the amplitude of the reflection signal received in the i-th period is the amplitude of the reflection signal when no person passes through the reflection signal.
Based on the above implementation mode v, the control chip 101 may determine whether a person passes through according to the amplitude difference of the received reflected signals in the adjacent periods. Since the variation range of the environmental parameter in a short time is small, the received ultrasonic waves of adjacent cycles are less affected by environmental factors. Therefore, the influence of environmental factors on the judgment of whether a person passes by the control chip 101 can be reduced.
In another possible implementation manner of fig. 5, the control method provided in the embodiment of the present application may further include: the control chip 101 initializes.
The initialization of the control chip 101 means that the control chip 101 calculates a time difference and an amplitude difference between the detection signal and the reflection signal when no person passes after the control switch is installed and powered on. The time difference and the amplitude difference can be used as reference values for the subsequent control chip 101 to determine whether a person passes through.
For example, after the control chip 101 is powered on, the control chip 101 may perform self-test according to a preset instruction to obtain a time difference value and an amplitude difference value of the detection signal and the reflection signal. In this way, the control chip 101 may determine the reference value according to the current environment to adapt to different environments.
In one example, the control chip 101 may send a plurality of detection signals at time intervals, receive a plurality of emission signals corresponding to the detection signals, and use an average value of time differences and an average value of amplitude differences of time differences between the plurality of detection signals and corresponding reflection signals as reference values, so that the subsequent control chip 101 can accurately detect whether a person passes through the subsequent control chip according to the reference values.
For ease of understanding, the control method provided in the embodiment of the present application is described below with reference to the control circuit 100 shown in fig. 1.
As shown in fig. 7, a control method provided for an embodiment of the present application includes:
step 701 (optional), the control chip 101 initializes.
Wherein, step 701 may refer to the third implementation manner of fig. 5.
Step 702, the control chip 101 periodically sends a detection signal.
Step 703, the control chip 101 receives the reflected signal corresponding to the detection signal.
Step 702 and step 703 may refer to step 501 and step 502 in fig. 5.
Step 704, the control chip 101 determines the parameter difference value of at least one period.
Step 704 may refer to step 503 in fig. 5.
Step 705 (optional), the control chip 101 collects environmental parameter information of the control circuit 100.
Step 706 (optional), the control chip 101 adjusts the parameter difference according to the environmental parameter information.
Step 705 and step 706 may refer to the first implementation of fig. 5.
And step 707, the control chip 101 determines the input level of the relay control module 106 according to the parameter difference value of at least one period and a preset threshold.
Step 707 may refer to step 503 in fig. 5.
Based on the technical solution shown in fig. 7, the control chip 101 can determine whether a person passes through the control switch according to the transmission signal. In view of this, the control chip 101 may determine the input level of the relay control module 106 according to the detection signal and the reflection signal, so as to control the power on or off of one or more electric devices. In the present application, the control circuit 100 can actively transmit the ultrasonic wave for detecting whether a person passes through, so that interference of external factors is reduced. Therefore, the technical scheme provided by the embodiment of the application has reliability.
Acts, terms, etc. referred to between the embodiments of the present application may be mutually referenced and are not limiting. In the embodiment of the present application, the name of the message exchanged between the devices or the name of the parameter in the message, etc. are only an example, and other names may also be used in the specific implementation, which is not limited.
In the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same or similar items having substantially the same function and action. For example, the first preset amplitude and the second preset amplitude are only for distinguishing different preset amplitudes, and the sequence thereof is not limited. Those skilled in the art will appreciate that "first" - "and" first "-, respectively,
The terms "second" and the like do not necessarily limit the number and execution order, and the terms "first" and "second" and the like do not necessarily differ.
It is noted that, in the present application, words such as "exemplary" or "for example" are used to mean exemplary, illustrative, or descriptive. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
In this application, the actions, terms, and the like referred to in the embodiments are all mutually referred to, and are not limited. In the embodiment of the present application, the name of the message exchanged between the devices or the name of the parameter in the message, etc. are only an example, and other names may also be used in the specific implementation, which is not limited. The actions involved in the embodiments of the present application are only examples, and other names may be used in specific implementations.
All the schemes in the above embodiments of the present application can be combined without contradiction.
It should be noted that the terms "first" and "second" and the like in the description, claims and drawings of the present application are used for distinguishing different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. For example, the integrated unit may be implemented in the form of hardware.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (7)

1. A control circuit is used for controlling one or more electric devices, and comprises a control chip (101), a power supply module (102), a transmitting and isolating module (103), an ultrasonic probe (104), a filtering and amplifying circuit module (105) and a relay control module (106);
A first pin of the control chip (101) is connected with the power supply module (102), a second pin of the control chip (101) is connected with a first end of the emission isolation module (103), a third pin of the control chip (101) is connected with the relay control module (106), a fourth pin of the control chip (101) is connected with a first end of the filtering and amplifying circuit module (105), a second end of the filtering and amplifying circuit module (105) is connected with the ultrasonic probe (104), and the ultrasonic probe (104) is further connected with a second end of the emission isolation module (103);
the power supply module (102) is used for supplying power to the control circuit;
the control chip (101) is used for periodically sending a detection signal to the emission isolation module (103);
the emission isolation module (103) is used for receiving a detection signal from the control chip (101) and transmitting the detection signal to the ultrasonic probe (104) so as to trigger the ultrasonic probe (104) to emit a first ultrasonic wave;
the ultrasonic probe (104) is configured to receive the probe signal transmitted from the transmission isolation module (103), transmit a first ultrasonic wave according to the probe signal, receive a second ultrasonic wave, and transmit the second ultrasonic wave to the filtering and amplifying circuit module (105), where the second ultrasonic wave is an ultrasonic wave reflected by the first ultrasonic wave;
The filtering and amplifying circuit module (105) is configured to receive the second ultrasonic wave from the ultrasonic probe (104), perform signal amplification and filtering processing on the second ultrasonic wave to obtain a reflection signal, and transmit the reflection signal to the control chip (101);
the control chip (101) is further configured to receive the reflection signal from the filtering and amplifying circuit module (105), determine a parameter difference of at least one period, and determine an input level of the relay control module (106) according to the parameter difference of the at least one period and a preset threshold, where the parameter difference is at least one of a time difference between a sending time of a detection signal sent in one period and a receiving time of the received reflection signal, and an amplitude difference between an amplitude of the detection signal sent in one period and an amplitude of the received reflection signal;
the relay control module (106) is used for controlling the power-on or power-off of the one or more electric devices according to the input level.
2. The control circuit according to claim 1, wherein the relay control module (106) is specifically configured to:
When the input level is a first level, the relay control module (106) is in a first state and controls the one or more electric devices to be electrified;
when the input level is a second level, the relay control module (106) is in a second state and controls the one or more electric devices to be powered off.
3. The control circuit according to claim 1 or 2, further comprising a temperature and humidity acquisition module (107), wherein a fifth pin of the control chip (101) is connected to the temperature and humidity acquisition module (107);
the temperature and humidity acquisition module (107) is used for acquiring environmental parameter information of the control circuit, wherein the environmental parameter information comprises at least one of environmental temperature and environmental humidity;
the control chip (101) is further configured to adjust the parameter difference according to the environmental parameter information.
4. The control circuit of claim 1, wherein the transmit isolation module (103) is further configured to isolate the second ultrasound wave in the ultrasound probe (104).
5. The control circuit according to any of claims 1, 2, 4, wherein the transmission isolation module (103) is an opto-coupler isolation module or a transformer isolation module.
6. The control circuit according to claim 1, wherein the control chip (101) is configured to: determining the input level of the relay control module (106) according to the parameter difference value of the current period and the preset threshold;
or,
and determining the input level of the relay control module (106) according to the parameter difference of the current period, the parameter difference of a target period and the preset threshold, wherein the target period is a period in which the periphery of the control circuit in the previous period is in an unmanned state.
7. A control switch, characterized in that it comprises a control circuit according to any of claims 1-6.
CN202010641714.6A 2020-07-06 2020-07-06 Control circuit and control switch Pending CN111856996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010641714.6A CN111856996A (en) 2020-07-06 2020-07-06 Control circuit and control switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010641714.6A CN111856996A (en) 2020-07-06 2020-07-06 Control circuit and control switch

Publications (1)

Publication Number Publication Date
CN111856996A true CN111856996A (en) 2020-10-30

Family

ID=73153742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010641714.6A Pending CN111856996A (en) 2020-07-06 2020-07-06 Control circuit and control switch

Country Status (1)

Country Link
CN (1) CN111856996A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200148A (en) * 1993-12-28 1995-08-04 Dowa Mining Co Ltd Ultrasonic detection device
CN2582273Y (en) * 2002-09-24 2003-10-22 李世雄 Door switch monitoring device
TWM240384U (en) * 2002-09-11 2004-08-11 Shr-Shiung Li Open/close monitoring apparatus for door of automobile
CN101078766A (en) * 2007-06-29 2007-11-28 厦门吉致电子有限公司 Two-line three-state parking assistant system
CN201107408Y (en) * 2007-11-26 2008-08-27 武光杰 Ultrasonic induction module
CN201383085Y (en) * 2009-03-25 2010-01-13 温州市麦特力克电器有限公司 Ultrasonic power control switch
CN201557294U (en) * 2009-12-11 2010-08-18 占志彪 An intelligent scene switch
CN201654229U (en) * 2009-04-21 2010-11-24 深圳市华士精成科技有限公司 Vehicle detector
CN104698450A (en) * 2013-12-06 2015-06-10 大连市沙河口区中小微企业服务中心 Vehicle overspeed ultrasonic monitoring and recording system
CN106404128A (en) * 2016-11-28 2017-02-15 中环天仪股份有限公司 High-precision ultrasonic level meter and measuring method
CN109633200A (en) * 2019-02-27 2019-04-16 吉林大学 Wind measuring device and method based on multiple-input multiple-output ultrasonic sensor

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200148A (en) * 1993-12-28 1995-08-04 Dowa Mining Co Ltd Ultrasonic detection device
TWM240384U (en) * 2002-09-11 2004-08-11 Shr-Shiung Li Open/close monitoring apparatus for door of automobile
CN2582273Y (en) * 2002-09-24 2003-10-22 李世雄 Door switch monitoring device
CN101078766A (en) * 2007-06-29 2007-11-28 厦门吉致电子有限公司 Two-line three-state parking assistant system
CN201107408Y (en) * 2007-11-26 2008-08-27 武光杰 Ultrasonic induction module
CN201383085Y (en) * 2009-03-25 2010-01-13 温州市麦特力克电器有限公司 Ultrasonic power control switch
CN201654229U (en) * 2009-04-21 2010-11-24 深圳市华士精成科技有限公司 Vehicle detector
CN201557294U (en) * 2009-12-11 2010-08-18 占志彪 An intelligent scene switch
CN104698450A (en) * 2013-12-06 2015-06-10 大连市沙河口区中小微企业服务中心 Vehicle overspeed ultrasonic monitoring and recording system
CN106404128A (en) * 2016-11-28 2017-02-15 中环天仪股份有限公司 High-precision ultrasonic level meter and measuring method
CN109633200A (en) * 2019-02-27 2019-04-16 吉林大学 Wind measuring device and method based on multiple-input multiple-output ultrasonic sensor

Similar Documents

Publication Publication Date Title
CN101785366B (en) Use the system and method for Existing detector, Existing detector and radio receiver
US6850159B1 (en) Self-powered long-life occupancy sensors and sensor circuits
CN102918571B (en) Theft detection and prevention in a power generation system
CN101013522A (en) Intelligent air conditioner control method and system
CN102109600B (en) Method for detecting moving object based on ultrasonic waves
KR20090029688A (en) Treatment method and apparatus for energy saving of active infrared induction device driven by battery
US20190148984A1 (en) Indoor to Outdoor Wireless Power Delivery
MX2011004310A (en) Occupancy sensing with selective emission.
CN104540305A (en) Induction illumination device
CN111929318A (en) Dust detection device and apparatus
CN111856996A (en) Control circuit and control switch
CN201364390Y (en) Composite detection sensor
US11102457B1 (en) Audio/video recording and communication doorbell devices
JP2012016104A (en) Power generation apparatus
CN209787150U (en) Microwave induction control device
CN109298277B (en) Zero line and live line detection circuit and method and electric equipment
CN205490916U (en) Power saving camera device , intelligent cat eye and network camera
CN201878120U (en) Microwave inductive switch
CN205485400U (en) Sound control lamp and sound control lamp system comprising same
CN210075659U (en) Pyroelectric infrared human body induction lamp
JP3867965B2 (en) Flame detector
CN107911905B (en) Human infrared receiving and processing circuit and processing method thereof
CN109085658B (en) An indoor human body sensing device
CN206948677U (en) A kind of intelligent-induction lamp control system based on Doppler effect
JP4134125B2 (en) Automatic switch with 2-wire human body detection sensor

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030