A peak automatic power-on and power-off device
By designing a peak automatic power-on and power-off device and calculating voltage cycles using digital circuits, the problem of insufficient frequency limitation and accuracy in the prior art is solved, and voltage peak or trough power-off and peak power-on at any frequency is realized. Significantly improves detection accuracy and efficiency.
Patent Information
- Application Number
- CN202011026875.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-25
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2040-09-25
AI Technical Summary
The prior art cannot accurately cut off the voltage peaks or troughs at any frequency, and cannot achieve peak power-up, resulting in high labor intensity and inaccurate enough for testers.
设计了一种峰值自动上电断电装置,包括主控CPU、测试输出插座、测量端子组、三波段开关、两波段开关、程序下载接口、复位电路、变压电路、过零检测电路、光耦隔离电路、电源稳定电路、蜂鸣器报警电路、继电器驱动电路和继电器响应时间检测电路,通过数字电路计算电压周期,实现自动断电和上电功能。
The device can measure the frequency in the range of 0~6MHz, saving time for testers, improving detection accuracy and efficiency, and accurately reaching peak power outage and power-on in a single operation, avoiding multiple unplug-up operations.
Smart Images

Figure CN112014775B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of electrical technology, in particular to a peak automatic power-on and power-off device. Background Art
[0002] Electrical equipment such as household and similar appliances, audio and video equipment, medical equipment, lamps, information technology equipment, etc. are generally connected to the power supply through a plug, and these appliances are often equipped with capacitors greater than 0.1 UF. In the national safety standards for these appliances, it is clearly required that their structure should ensure that users cannot get electric shock when touching the plug pins when unplugging the plug. In the actual testing process such as appliance research and development, type testing, commissioned inspection, and domestic product quality supervision and spot checks at all levels, due to the limitations of the device, people can only manually unplug the plug to simulate the power-off process. In this process, there is no guarantee that the power can be accurately disconnected at the peak, and the accuracy can only be increased by repeated tests. Therefore, it is urgent to develop an auxiliary power-off test device that can improve the scientificity, accuracy and fairness of the plug discharge test and reduce the labor intensity of the test personnel.
[0003] Some safety standards for appliances also stipulate that the peak value of AC power must be reached when powered on. For example, the mains power is 220V, and its peak value is 220√2=311V. Due to the limitation of the device, the process can only be simulated by manually plugging in the plug. In this process, there is no guarantee that the power can be turned off accurately at the peak value, and the accuracy can only be increased by repeated tests. Therefore, in order to improve the scientificity, accuracy and fairness of the power-on test, an auxiliary power-on test device is needed to reduce the labor intensity of the test personnel.
[0004] The current patented technology can only cut off power at the peak or trough of two fixed frequency voltages of 50HZ and 60HZ.
[0005] The invention cannot meet the requirement of powering off the voltage at the peak or valley of any frequency. The patent also does not have the function of powering on at the peak or valley, and cannot meet the requirement that the AC power is at the highest voltage at the moment of powering on the electrical appliance. Summary of the invention
[0006] The object of the present invention is to provide a peak automatic power-on and power-off device to solve the problems raised in the above background technology.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A peak automatic power-on and power-off device comprises a main control CPU, a test output socket, a measuring terminal group, a three-band switch, a two-band switch, a program download interface, a reset circuit, a voltage conversion circuit, a zero-crossing detection circuit, an optical coupling isolation circuit, a power stabilization circuit, a buzzer alarm circuit, a relay drive circuit and a relay response time detection circuit. The main control CPU is respectively connected to the test output socket, the three-band switch, the two-band switch, the program download interface, the reset circuit, the voltage conversion circuit, the zero-crossing detection circuit, the buzzer alarm circuit, the relay drive circuit and the relay response time detection circuit. The relay drive circuit is also connected to the test output socket. The zero-crossing detection circuit is connected to the main control CPU via an optical coupling isolation circuit. The voltage conversion circuit supplies power to various circuits via a power stabilization circuit.
[0009] As a further technical solution of the present invention: the model of the main control CPU is ST15W408AS.
[0010] As a further technical solution of the present invention: the zero-crossing detection circuit includes a transformer and a CA3140 chip.
[0011] As a further technical solution of the present invention: the model of the optocoupler isolation circuit is PS2801-1.
[0012] As a further technical solution of the present invention: the output voltage of the power stabilization circuit is 12V.
[0013] As a further technical solution of the present invention: the relay drive circuit uses a triode as a drive element.
[0014] As a further technical solution of the present invention: there are multiple relay drive circuits.
[0015] Compared with the prior art, the beneficial effects of the present invention are: 1. The present invention is not limited to the frequency of the voltage (50Hz and 60Hz). According to the theoretical value of the selected single-chip crystal oscillator, the frequency of the voltage can be measured between 0 and 6MHz. The measurable frequency has been greatly improved. 2. Save the time of the tester, and no more multiple measurements are needed to capture the moment of peak power-off. In the peak power-on experiment, it is no longer necessary to use an oscilloscope for measurement. 3. It is no longer necessary to unplug the power plug multiple times to achieve the peak power-off and power-on functions, which facilitates the control operation. The work efficiency of the tester is increased. 4. The accuracy of the detection level is submitted. The existing equipment is adjusted by moving the phase of the analog circuit, and this equipment is directly calculated by the digital circuit. There is a great improvement in accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is an overall block diagram of the present invention;
[0017] Figure 2It is the circuit diagram of the main control CPU;
[0018] Figure 3 This is the relay response time detection circuit diagram;
[0019] Figure 4 This is the zero-crossing detection circuit diagram. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] Example 1: Please refer to Figure 1-4 A peak automatic power-on and power-off device comprises a main control CPU, a test output socket, a measuring terminal group, a three-band switch, a two-band switch, a program download interface, a reset circuit, a voltage transformation circuit, a zero-crossing detection circuit, an optical coupling isolation circuit, a power stabilization circuit, a buzzer alarm circuit, a relay drive circuit and a relay response time detection circuit. The main control CPU is respectively connected to the test output socket, the three-band switch, the two-band switch, the program download interface, the reset circuit, the voltage transformation circuit, the zero-crossing detection circuit, the buzzer alarm circuit, the relay drive circuit and the relay response time detection circuit. The relay drive circuit is also connected to the test output socket. The zero-crossing detection circuit is connected to the main control CPU through the optical coupling isolation circuit. The voltage transformation circuit supplies power to each circuit through the power stabilization circuit.
[0022] First, the input voltage of 110V~250V is converted into 12V AC by the transformer circuit. After the voltage is calculated by the OP07 chip, the zero point detection method is adopted, and then the optocoupler output is used as the input signal of the microcontroller. The microcontroller uses the pulse counting method to automatically calculate the cycle of this voltage. The three relays control N, L and GND respectively. The response time of the relay is calculated through the test output point of the relay and the timing function of the microcontroller.
[0023] The working principle of the zero-crossing detection circuit is to sample through the power transformer or voltage transformer, detect the power frequency, and obtain a square wave zero-crossing signal with the same frequency as the power supply. The signal is sent to the interrupt pin of the main chip CPU for zero-crossing control. At this time, the main chip can be set to fall edge trigger, and the time between the two falling edges is the frequency of the sampled power supply. Figure 4As shown in the figure, the level of the output terminal is controlled by the on-off of the transistor. When the base voltage of the transistor is higher than 0.7V, the transistor is turned on and the output terminal is low level. When the base voltage is lower than 0.7V, the output terminal is high level, thereby determining the zero crossing point.
[0024] When using a general relay, the action response time is less than 20ms. As the time of use increases, the response time will also have a certain deviation. This requires that the same relay should be able to measure the accurate response time and control the connection and disconnection of the power supply. Figure 3 In the circuit shown in the figure, a set of circuits for controlling the live wire is used for introduction. When Test1 and Test2 are both at high level. When Ctrl_N changes from high level to low level, the timer of the microcontroller is turned on to read the time when Test7 changes from high to low, which is the response time of the relay. After reading the response time of the relay, the response time is added to the cycle by calculating the voltage cycle.
[0025] Embodiment 2: Based on Embodiment 1: The model of the main control CPU is ST15W408AS. The zero-crossing detection circuit includes a transformer and a CA3140 chip. The model of the optocoupler isolation circuit is PS2801-1. The output voltage of the power stabilization circuit is 12V. The relay drive circuit uses a triode as a drive element. There are multiple relay drive circuits.
[0026] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0027] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A peak automatic power-on and power-off device, comprising a main control CPU, a test output socket, a measuring terminal group, a three-band switch, a two-band switch, a program download interface, a reset circuit, a voltage conversion circuit, a zero-crossing detection circuit, an optocoupler isolation circuit, a power stabilization circuit, a buzzer alarm circuit, a relay drive circuit and a relay response time detection circuit, characterized in that: The main control CPU is respectively connected to a test output socket, a three-band switch, a two-band switch, a program download interface, a reset circuit, a voltage conversion circuit, a zero-crossing detection circuit, a buzzer alarm circuit, a relay drive circuit and a relay response time detection circuit, the relay drive circuit is also connected to the test output socket, the zero-crossing detection circuit is connected to the main control CPU through an optical coupling isolation circuit, and the voltage conversion circuit supplies power to each circuit through a power stabilization circuit; First, the input voltage of 110V~250V is converted into 12V AC through the transformer circuit. After the voltage is calculated by the OP07 chip, the zero point detection method is adopted, and then the stable output is output by the optocoupler as the input signal of the microcontroller. The microcontroller uses the pulse counting method to automatically calculate the cycle of this voltage. The three relays control N, L and GND respectively. The response time of the relay is calculated through the test output point of the relay and the timing function of the microcontroller. The zero-crossing detection circuit works by sampling through the power transformer or voltage transformer, detecting the power frequency, and obtaining a square wave zero-crossing signal with the same frequency as the power supply. The signal is sent to the interrupt pin of the main chip CPU for zero-crossing control. At this time, the main chip is set to falling edge trigger, and the time between the two falling edges is detected to be the frequency of the sampled power supply. The level of the output end is controlled by the on and off of the transistor. When the base voltage of the transistor is higher than 0.7V, the transistor is turned on and the output end is low. When the base voltage is lower than 0.7V, the output end is high, thereby determining the zero-crossing point.
2. A peak automatic power-on and power-off device according to claim 1, characterized in that: The model of the main control CPU is ST15W408AS.
3. The peak automatic power-on and power-off device according to claim 1, characterized in that: The zero-crossing detection circuit includes a transformer and a CA3140 chip.
4. The peak automatic power-on and power-off device according to claim 1, characterized in that: The model of the optocoupler isolation circuit is PS2801-1.
5. The peak automatic power-on and power-off device according to claim 1, characterized in that: The output voltage of the power stabilization circuit is 12V.
6. The peak automatic power-on and power-off device according to claim 1, characterized in that: The relay driving circuit uses a triode as a driving element.
7. A peak automatic power-on and power-off device according to claim 6, characterized in that: There are multiple relay driving circuits.
