The signal detection circuit is shown in Figure 3 (a), and the waveform is shown in Figure 3 (b):
In Figure 3 (a), LM393 and other components form two Schmitt voltage comparators, which are used to detect the zero
points of two AC signals respectively. The two voltage signals that are approximately sinusoidal are converted into square wave signals, as shown in waveforms A, B, C, and D in Figure 3 (b).
The circuit composed of D1 and D2 triggers (a 74HC74) completes the detection of periodic signals under the control of microcontrollers P1.0 and P1.1. When P1.0 = 0, Q1 = Q2 = 0; when P1.0 changes from 0 to 1, and the signal at point B changes from 0 to 1, D1 flips, Q1 = 1, and Q2 is still 0 at this time. When the signal at point B changes from 0 to 1 for the second time, D1 flips again, Q1 = 0, and D2 also flips, Q2 = 1. When 80C31 finds P1.1 = 1, it sets P1.0 = 0 and completes a detection. Its waveform is shown in Figure 3 (b) B, P1.0, T, Q2. This circuit detects the rising edge and improves the detection accuracy.
The circuit composed of D3 and D4 triggers (a 74HC74) completes the time difference signal detection under the control of the single-chip microcomputer P1. 0.
When P1. 0 = 0, the circuit does not work, Q3 = Q4 = 0; when the signal at point B changes from 0 to 1, Q3 = 1, Q4 is still 0; when the signal at point D changes from 0 to 1, Q4 = 1, and Q3 is cleared at the same time, thereby detecting the time difference between the two signals.
The waveforms are shown in B, D, P1.0, Δt in Figure 3 (b).
According to the definition of phase difference and the staggered half-tooth installation of the sensor,
the relationship between the phase difference Δ< of the two signals and the period T and time difference Δt is: Δ< = (360°/ T) Δt - 180°. Using the T0 and T1 timers inside the 80C31, T and Δt can be calculated more accurately. Specifically: set T0 and T1 to the internal counter form (C/ T = 0), work in mode 2 state, GA TE = 1, TR = 1, so that when TN T0 and TN T1 = 1, T0 and T1 count, using a 12MHz crystal oscillator, each count time is 1μs. In the interrupt service, use R7 and R5 to record the number of T0 and T1 interrupts to expand the counting range, and finally obtain T and Δt:
Δt = R7 ×28 + (TL 0)
T = R5 ×28 + (TL)
Previous article:Micro Solar Inverter Testing and Related Certification
Next article:Design of sensing system based on light intensity sensor TSL256x
Recommended ReadingLatest update time:2024-11-16 16:20
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Send Chip Coins: #What to do when you encounter problems with Guoxin#, technical support is rubbed on the ground?
- 【RPi PICO】MicroPython firmware with encryption support
- I want to use a 3.3v microcontroller to share power to control a relay, but the microcontroller stops working after grounding.
- Welfare is coming! The recommended chip list for the TI Cup is freshly released!
- Based on RT-Thread open source works show - rice field environmental information monitoring system
- A brief introduction and configuration of 28335 external interrupt
- Analyze the relationship between J-link hardware, firmware, and drivers
- [ST NUCLEO-G071RB Review]_05_System clock configuration and Tetris game implemented on the serial port
- stm32F429 uses analog IIC to drive AD5933 to measure human body impedance (small impedance). After writing to the register, all the results read are FF.
- Based on FM33LC0xxN series BLDC solution information (schematic diagram + routine)